Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(web): 统一收藏入口与身份信息行

longmeidaob5cab142a6e1
diff --git a/README.en.md b/README.en.md
index e02a66e6b..efa76c5c7 100644
--- a/README.en.md
+++ b/README.en.md
@@ -62,7 +62,7 @@ Want to look around before installing? The [live demo](https://demo.peach.video)
## What it does
- **Search**: type a few characters and performers, codes and videos show up together.
-- **Favorites and filters**: favorite people, studios, series and tags; name your current library filter to open or delete it later.
+- **My Favorites**: use the star beside a profile name to favorite people, makers, labels, series and tags; a solid yellow star shows a favorite. My Favorites manages saved favorites and filters, with links to Marked and Watch Later lists. On library pages, name the current filter to open or delete it later.
- **Source checks**: choose direct access or the Peach proxy per source, and inspect failure reasons, elapsed time and cooldowns. Configure, preview and enable public JSON metadata APIs on the sources page; see [custom sources](docs/CUSTOM_SOURCES.md). Review images load when requested and can be retried.
- **External players and VR**: generate a temporary network playback link from a work's detail, download an M3U playlist, or open VLC on iPhone/iPad and IINA on Mac; see [external players](docs/EXTERNAL_PLAYERS.md).
- **Identity categories**: performers are grouped by identity and release market into JAV performers, amateurs, Western performers, adult bloggers and animation authors. Amateurs are performers with trusted evidence of non-professional appearances, or whose every video is an amateur release (an FC2-PPV code, or a 素人 tag that does not come from the vision model); JAV and Western performers are never filed as amateurs, and other genres only filter videos. The roster has three side-by-side entries, Performers, Sellers and Online, and sellers are matched to their works by source account. The filter bar only shows categories that have entries, and profile pages show the category with an icon left of the video count.
diff --git a/README.md b/README.md
index 9e7a02787..3161f2a7c 100644
--- a/README.md
+++ b/README.md
@@ -62,7 +62,7 @@ https://github.com/user-attachments/assets/a5610874-e611-41bb-be22-7d99f0d64b62
## 能做什么
- **搜索**:输入几个字,女优、番号和影片一起出来。
-- **收藏与筛选**:收藏常用人物、厂牌、系列和标签;给当前馆藏筛选起个名字,随时打开或删除。
+- **我的收藏**:资料页名字旁的星星收藏常用人物、片商、厂牌、系列和标签,黄色实心表示已收藏。「我的收藏」集中管理收藏内容和保存的筛选,也可打开已标记作品与稍后看清单;馆藏页可给当前筛选起个名字,随时打开或删除。
- **来源检查**:逐站选择直连或 Peach 代理,查看连接失败原因、耗时与冷却状态;公开 JSON 接口可在来源页配置、试查和启停,见[自定义来源](docs/CUSTOM_SOURCES.md)。复核来源图片点击后才加载,失败可重试。
- **外部播放器与 VR**:作品详情可生成限时网络播放链接,下载 M3U,或在 VLC(iPhone / iPad)、IINA(Mac)打开;使用方式见[外部播放器](docs/EXTERNAL_PLAYERS.md)。
- **身份分类**:艺人按身份与发行范围分为女优、素人、西方、网黄博主和动画作者。素人指有可信非职业出演证据,或全部出演作品都是素人发行(FC2-PPV 番号,或带非视觉模型来源的「素人」标签)的艺人,女优与西方出演者不归为素人;其他作品题材只用于作品筛选。名册使用「艺人、卖家、在线」三个并列入口,卖家按来源账号与作品对应。筛选条只显示有内容的分类,资料页在视频数量左侧显示分类与图标。
diff --git a/docs/STATUS.md b/docs/STATUS.md
index f21f59934..1564fa34b 100644
--- a/docs/STATUS.md
+++ b/docs/STATUS.md
@@ -18,7 +18,7 @@
- Windows 托盘自动恢复,重启用 `restart_windows_tray.py --source`;代码与数据在内置盘,媒体在外置盘。
- 托盘须普通权限启动:提权令牌看不到 CloudDrive 的 `A:`/`B:`,误报脱盘。
- Windows:80→HTTPS、LAN:443;`peach-win`、`0.38.0`。CA、健康通过。
-- 配置、活动、续播;[JAV 缓存与浏览](JAV_DISCOVERY.md)。
+- 收藏、配置、活动、续播;[JAV 缓存与浏览](JAV_DISCOVERY.md)。
- `/healthz` 报 `configurable=true`;配置与选目录共用连接判据,托盘管理 HTTPS 地址、端口及重载。
- 首启、配置页列缺失依赖(CloudDrive、挂载驱动、FFmpeg/ffprobe、OpenSSL);Windows 识别 CloudDrive、WinFsp。
- 访问密码未开,局域网匿名可读;首启可跳过密码,配置页可改可关,登录可记住设备。
diff --git a/frontend/e2e/entity-favorites.test.ts b/frontend/e2e/entity-favorites.test.ts
new file mode 100644
index 000000000..eddbf3d91
--- /dev/null
+++ b/frontend/e2e/entity-favorites.test.ts
@@ -0,0 +1,72 @@
+import assert from 'node:assert/strict';
+import { resolve } from 'node:path';
+import { after, before, describe, it } from 'node:test';
+import type { Browser } from 'playwright-core';
+import { launch, layout, settle, visit, VIEWPORTS } from './harness.ts';
+
+describe('资料页收藏与别名布局', () => {
+ let browser: Browser;
+ before(async () => { browser = await launch() });
+ after(async () => { await browser.close() });
+ for (const viewport of VIEWPORTS) {
+ it(`${viewport.name} 收藏紧邻别名下拉,同尺寸,回执后显示黄色实心星星`, { timeout: 60_000 }, async () => {
+ const opened = await visit(browser, '/', viewport);
+ const { page } = opened;
+ let selected = false;
+ await page.route(/\/api\/entity\?/, route => route.fulfill({ json: {
+ id: 90701, kind: 'studio', canonical_name: 'Prestige', aliases: ['プレステージ'],
+ display_aliases: ['プレステージ'], asset_count: 330, labels: [],
+ tags: [], related_performers: [], links: [], has_image: false, has_logo: false, favorite: false,
+ } }));
+ await page.route(url => url.pathname === '/api/items', route => route.fulfill({ json: { items: [], total: 0, has_more: false } }));
+ await page.route(url => url.pathname === '/api/photos', route => route.fulfill({ json: { items: [], sets: [], total: 0, sample_total: 0, has_more: false } }));
+ await page.route(url => url.pathname === '/api/library-shortcuts', async route => {
+ if (route.request().method() === 'POST') selected = route.request().postDataJSON().on;
+ await route.fulfill({ json: { favorites: selected ? [{ entity_id: 90701, key: 'entity:90701', kind: 'studio', name: 'Prestige' }] : [], filters: [] } });
+ });
+ try {
+ await page.goto(new URL('/studios/Prestige', page.url()).href);
+ const favorite = page.getByRole('button', { name: '收藏Prestige', exact: true });
+ await favorite.waitFor();
+ await settle(page);
+ const geometry = await page.evaluate(() => {
+ const name = document.querySelector('[data-namepick-toggle]')!;
+ const star = document.querySelector('[aria-label="收藏Prestige"]')!;
+ const a = name.getBoundingClientRect(), b = star.getBoundingClientRect();
+ const alias = document.querySelector('[data-meta-item="names"]')!;
+ const count = document.querySelector('[data-meta-item][title="视频"]')!;
+ return { title: !!star.closest('[data-entity-title]'), size: [a.width, a.height, b.width, b.height],
+ gap: b.left - a.right, row: Math.abs(a.top - b.top), text: star.textContent?.trim(),
+ aliasesTogether: Math.abs(alias.getBoundingClientRect().top - count.getBoundingClientRect().top) < 2 };
+ });
+ assert.equal(geometry.title, true);
+ assert.deepEqual(geometry.size, [32, 32, 32, 32]);
+ assert.equal(geometry.row, 0);
+ assert.equal(geometry.gap, 8);
+ assert.equal(geometry.text, '');
+ if (!viewport.mobile) assert.equal(geometry.aliasesTogether, true);
+ await favorite.click();
+ const active = page.getByRole('button', { name: '取消收藏Prestige', exact: true });
+ await active.waitFor();
+ assert.equal(await active.getAttribute('aria-pressed'), 'true');
+ const paint = await active.locator('svg').evaluate(node => {
+ const style = getComputedStyle(node);
+ const probe = document.createElement('span');
+ probe.style.color = 'var(--color-yellow-500)'; node.append(probe);
+ const yellow = getComputedStyle(probe).color; probe.remove();
+ return { fill: style.fill, color: style.color, yellow };
+ });
+ assert.equal(paint.fill, paint.color);
+ assert.equal(paint.color, paint.yellow);
+ await page.screenshot({ path: resolve('../build', `favorites-${viewport.name}.png`) });
+ await active.click();
+ await favorite.waitFor();
+ assert.equal(await favorite.getAttribute('aria-pressed'), 'false');
+ const size = await layout(page);
+ assert(size.scrollWidth <= size.viewportWidth + 1, JSON.stringify(size));
+ assert.deepEqual(size.offenders, []);
+ assert.deepEqual(opened.problems, []);
+ } finally { await opened.close() }
+ });
+ }
+});
diff --git a/frontend/e2e/library-shortcuts.test.ts b/frontend/e2e/library-shortcuts.test.ts
index db0fe790b..b3f5dabd5 100644
--- a/frontend/e2e/library-shortcuts.test.ts
+++ b/frontend/e2e/library-shortcuts.test.ts
@@ -1,10 +1,11 @@
import assert from 'node:assert/strict';
+import { resolve } from 'node:path';
import { after, before, describe, it } from 'node:test';
import type { Browser } from 'playwright-core';
import { launch, layout, VIEWPORTS } from './harness.ts';
import { openItemPage } from './item-fixture.ts';
-describe('收藏与筛选弹层', () => {
+describe('我的收藏弹层', () => {
let browser: Browser;
before(async () => { browser = await launch() });
after(async () => { await browser.close() });
@@ -24,13 +25,17 @@ describe('收藏与筛选弹层', () => {
await route.fulfill({ json: { favorites, filters } });
});
try {
- await page.getByRole('button', { name: '收藏与筛选', exact: true }).click();
- const dialog = page.getByRole('dialog', { name: '收藏与筛选', exact: true });
- await dialog.getByRole('button', { name: '厂牌', exact: true }).click();
+ await page.getByRole('button', { name: '我的收藏', exact: true }).click();
+ const dialog = page.getByRole('dialog', { name: '我的收藏', exact: true });
+ assert.equal(await dialog.getByRole('link', { name: '已标记', exact: true }).getAttribute('href'), '/flagged');
+ assert.equal(await dialog.getByRole('link', { name: '稍后看', exact: true }).getAttribute('href'), '/watch-later');
+ await dialog.getByRole('button', { name: '片商与厂牌', exact: true }).click();
await dialog.getByRole('link', { name: favorites[0].name, exact: true }).waitFor();
const size = await layout(page);
+ assert.equal(size.viewportWidth, viewport.width);
assert(size.scrollWidth <= size.viewportWidth + 1, JSON.stringify(size));
assert.deepEqual(size.offenders, []);
+ await page.screenshot({ path: resolve('../build', `shortcuts-${viewport.name}.png`) });
await dialog.getByRole('textbox', { name: '筛选名称' }).fill('VR 待看');
await dialog.getByRole('button', { name: '保存当前筛选', exact: true }).click();
const link = dialog.getByRole('link', { name: 'VR 待看', exact: true });
@@ -43,13 +48,19 @@ describe('收藏与筛选弹层', () => {
assert.equal(address.searchParams.get('jav'), '1');
await link.click();
await page.waitForURL(url => url.pathname === '/watch-later' && url.searchParams.get('tag') === 'VR');
- await page.getByRole('button', { name: '收藏与筛选', exact: true }).click();
+ await page.getByRole('button', { name: '我的收藏', exact: true }).click();
await dialog.getByRole('button', { name: '删除筛选VR 待看', exact: true }).click();
await link.waitFor({ state: 'detached' });
await dialog.getByRole('button', { name: /^取消收藏/ }).click();
await dialog.getByRole('heading', { name: '还没有收藏', exact: true }).waitFor();
await dialog.getByRole('button', { name: '关闭', exact: true }).click();
await dialog.waitFor({ state: 'hidden' });
+ for (const [label, path] of [['已标记', '/flagged'], ['稍后看', '/watch-later']]) {
+ await page.getByRole('button', { name: '我的收藏', exact: true }).click();
+ await dialog.getByRole('link', { name: label, exact: true }).click();
+ await page.waitForURL(url => url.pathname === path);
+ await dialog.waitFor({ state: 'hidden' });
+ }
assert.deepEqual(opened.problems, []);
} finally { await opened.close() }
});
diff --git a/frontend/e2e/media-byline.test.ts b/frontend/e2e/media-byline.test.ts
new file mode 100644
index 000000000..c674c1184
--- /dev/null
+++ b/frontend/e2e/media-byline.test.ts
@@ -0,0 +1,43 @@
+import assert from 'node:assert/strict';
+import { resolve } from 'node:path';
+import { describe, it } from 'node:test';
+import type { Browser } from 'playwright-core';
+import { layout, settle, VIEWPORTS } from './harness.ts';
+import { installDesignBrowser, openCatalogFixture } from './design-fixture.ts';
+
+describe('作品卡片署名信息行', () => {
+ let browser: Browser;
+ installDesignBrowser(next => { browser = next });
+ for (const viewport of VIEWPORTS) {
+ it(`${viewport.name} 姓名靠左,与日期大小自然排列`, { timeout: 60_000 }, async () => {
+ const opened = await openCatalogFixture(browser, payload => {
+ Object.assign(payload.items[0], { is_jav: true, code: 'MIAA-155', name: '演示作品',
+ performers: ['篠田优'], performer_total: 1, release_date: '2019-09-13', size: 6549825126 });
+ });
+ try {
+ await opened.page.setViewportSize({ width: viewport.width, height: viewport.height });
+ await settle(opened.page);
+ const card = opened.page.locator('#grid [data-media-card]').first();
+ const geometry = await card.evaluate(element => {
+ const who = element.querySelector('[data-media-who]')!;
+ const byline = element.querySelector('[data-media-byline]')!;
+ const date = element.querySelector('[data-media-release]')!;
+ const style = getComputedStyle(who);
+ const a = who.getBoundingClientRect(), b = date.getBoundingClientRect();
+ return { align: style.textAlign, width: a.width, available: byline.getBoundingClientRect().width,
+ together: Math.abs(a.top - b.top) < 2, height: byline.clientHeight, content: byline.scrollHeight };
+ });
+ assert.equal(geometry.align, 'left');
+ assert(geometry.width < geometry.available / 2);
+ if (!viewport.mobile) assert.equal(geometry.together, true);
+ assert(geometry.content <= geometry.height + 1, JSON.stringify(geometry));
+ const size = await layout(opened.page);
+ assert.equal(size.viewportWidth, viewport.width);
+ assert(size.scrollWidth <= size.viewportWidth + 1, JSON.stringify(size));
+ assert.deepEqual(size.offenders, []);
+ await opened.page.screenshot({ path: resolve('../build', `byline-${viewport.name}.png`) });
+ assert.deepEqual(opened.problems, []);
+ } finally { await opened.close() }
+ });
+ }
+});
diff --git a/frontend/src/index-skeleton.ts b/frontend/src/index-skeleton.ts
index 1fca4b2f9..e58f8ae32 100644
--- a/frontend/src/index-skeleton.ts
+++ b/frontend/src/index-skeleton.ts
@@ -64,11 +64,11 @@ export function indexPlaceholderHtml({ kind, q, scope, view, category }: IndexPa
const title = INDEX_TITLES[kind] || '标签', people = kind !== 'tags', company = kind === 'studios' || kind === 'agencies';
const switcher = people
? iconSwitchHtml('people-layout', title + '索引版式', company ? COMPANY_LAYOUTS : PEOPLE_LAYOUTS, layout) : '';
- return `<div class="ihead peach-react">
+ return `<div class="ihead peach-react" data-index-head>
<h2 class="disp indexheading">${title}</h2>
${people ? '<span class="mono" id="indexCount"><span class="countskeleton"></span></span>' : ''}${switcher}
- ${islandButton({ variant: 'secondary', size: 'small', glyph: 'star', label: '收藏与筛选',
- attrs: 'aria-disabled="true" tabindex="-1"' })}
+ ${islandButton({ variant: 'secondary', size: 'small', label: '我的收藏',
+ attrs: 'data-shortcuts-trigger aria-disabled="true" tabindex="-1"' })}
<div data-index-search class="ml-auto min-w-35 max-w-80 flex-1 max-board-narrow:order-1 max-board-narrow:basis-40">${islandSearchInput('', q, '过滤' + title)}</div>
</div>
${kind === 'tags' ? tabs(INDEX_SCOPES, scope, '词表') : kind === 'performers' || kind === 'creators'
diff --git a/frontend/src/react/components/media-card.css b/frontend/src/react/components/media-card.css
index 0b3cce9f5..10a5f6f9b 100644
--- a/frontend/src/react/components/media-card.css
+++ b/frontend/src/react/components/media-card.css
@@ -549,8 +549,6 @@ body[data-surface="/trash"] .peach-react [data-media-card] [data-media-title] {
font-variant-numeric: tabular-nums;
}
.peach-react [data-jav-item]:not([data-variant="next"]) [data-media-meta] { --card-meta-byline: calc(2lh + 2px); }
-.peach-react [data-jav-item]:not([data-variant="next"]) [data-media-byline] { height: calc(2lh + 2px); row-gap: 2px; overflow: hidden; }
-.peach-react [data-jav-item]:not([data-variant="next"]) [data-media-who] { flex-basis: 100%; }
.peach-react [data-media-who] {
display: inline-block;
min-width: 0;
@@ -560,6 +558,7 @@ body[data-surface="/trash"] .peach-react [data-media-card] [data-media-title] {
border: 0;
background: none;
color: var(--ink-2);
+ text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
vertical-align: bottom;
diff --git a/frontend/src/react/entity-hero/entity-hero-page.tsx b/frontend/src/react/entity-hero/entity-hero-page.tsx
index 2b64c4fe7..8ccff6dbb 100644
--- a/frontend/src/react/entity-hero/entity-hero-page.tsx
+++ b/frontend/src/react/entity-hero/entity-hero-page.tsx
@@ -17,7 +17,7 @@ import { Button } from '@/components/base/buttons/button';
import { AvatarPicker } from '../avatar-picker/avatar-picker-page';
import { Note } from '../components/note';
-import { FavoriteButton, LibraryShortcuts } from '../library-shortcuts/shortcut-controls';
+import { FavoriteButton } from '../library-shortcuts/shortcut-controls';
import { busyProps } from '../settings/busy-props';
import { FeedNewRow } from '../feed-new/feed-new-row';
import { Glyph } from './glyph';
@@ -69,12 +69,9 @@ export function EntityHeroPage({ kind, name, entity, feedNew, feedHost, actions,
<h2>{entity.canonical_name}</h2>
<NamePicker current={entity.canonical_name} choices={nameChoices(entity)}
onChoose={actions.chooseName} onAddAlias={actions.addAlias} />
+ {entity.id ? <FavoriteButton item={{ entity_id: Number(entity.id), kind, name: entity.canonical_name || name, favorite: entity.favorite }} /> : null}
</div>
<AliasLine kind={kind} entity={entity} actions={actions} />
- {entity.id ? <div className="flex flex-wrap gap-2">
- <FavoriteButton item={{ entity_id: Number(entity.id), kind, name: entity.canonical_name || name, favorite: entity.favorite }} />
- <LibraryShortcuts kind={kind} />
- </div> : null}
{entity.related_identities?.length ? (
<div className="flex min-w-0 flex-wrap gap-2 text-caption-1-regular text-text-secondary">
{/* 账号名常是一长串无空格的英文,窄屏下得能在任意处折行。 */}
@@ -197,17 +194,17 @@ function AliasLine({ kind, entity, actions }: { kind: string; entity: EntityHero
{agencyNode ? <span data-meta-item="" title="事务所"><Glyph name="briefcase" /><span>{agencyNode}</span></span> : null}
{maker ? <span data-meta-item="" title="片商"><Glyph name="clapperboard" /><a href={entityPath('studio', maker.name)} data-studio-link={maker.name}
onClick={go('studio', maker.name)}>{maker.name}</a></span> : null}
- {aliases.length ? <CompanyAliases aliases={aliases} wide={kind === 'studio' || kind === 'agency'} /> : null}
+ {aliases.length ? <CompanyAliases aliases={aliases} /> : null}
</div>
);
}
/** 公司别名:先列几个,余下的收进「+N」,浮层里一个名字一行。片商改过几轮名、挂过一串
* label 时别名能有三十多个,全摊开会占掉资料卡十几行。 */
-function CompanyAliases({ aliases, wide }: { aliases: string[]; wide: boolean }) {
+function CompanyAliases({ aliases }: { aliases: string[] }) {
const { shown, rest } = shownTags(aliases, COMPANY_ALIASES_SHOWN);
return (
- <div data-meta-item="names" data-company-names={wide ? '' : undefined}>
+ <div data-meta-item="names" data-company-names="">
<Glyph name="id-card" />
<span data-alias-names="" title="别名">{shown.map((name, at) => <span key={at}>{name}</span>)}</span>
{rest ? (
diff --git a/frontend/src/react/entity-hero/entity-hero.css b/frontend/src/react/entity-hero/entity-hero.css
index de98f2fbc..cf3e582c5 100644
--- a/frontend/src/react/entity-hero/entity-hero.css
+++ b/frontend/src/react/entity-hero/entity-hero.css
@@ -142,20 +142,6 @@
letter-spacing: 0;
overflow-wrap: anywhere;
}
-.peach-react [data-namepick-toggle] {
- display: grid;
- flex: none;
- place-items: center;
- width: 32px;
- height: 32px;
- padding: 0;
- border: 1px solid var(--border-10);
- border-radius: var(--control-radius);
- background: var(--overlay-5);
- color: var(--muted);
- cursor: pointer;
-}
-.peach-react [data-namepick-toggle][data-hovered] { background: var(--hover); color: var(--ink); }
.peach-react [data-namepick-toggle] svg,
.peach-react [data-namepick-menu] svg {
width: 16px;
@@ -186,7 +172,6 @@
.peach-react [data-meta-item] { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.peach-react [data-meta-item="classification"] { white-space: nowrap; flex: none; }
.peach-react [data-meta-item="names"] { flex-wrap: wrap; }
-.peach-react [data-company-names] { flex-basis: 100%; }
.peach-react [data-meta-item] > svg,
.peach-react [data-entity-facts] dt svg {
width: 16px;
diff --git a/frontend/src/react/library-shortcuts/shortcut-controls.tsx b/frontend/src/react/library-shortcuts/shortcut-controls.tsx
index 63aa79d60..2e160704c 100644
--- a/frontend/src/react/library-shortcuts/shortcut-controls.tsx
+++ b/frontend/src/react/library-shortcuts/shortcut-controls.tsx
@@ -1,4 +1,5 @@
import { useRef, useState, type FormEvent } from 'react';
+import { spinnerHtml } from '@peach/legacy/ui';
import { Button, ButtonLink } from '@/components/base/buttons/button';
import { Input } from '@/components/base/input/input';
import { errorMessage } from '../../api';
@@ -8,9 +9,10 @@ import { EmptyState } from '../components/empty-state';
import { spriteGlyph } from '../components/sprite-glyph';
import { busyProps } from '../settings/busy-props';
import { favoriteHref, isFavorite, useShortcuts, useShortcutWrite, type Favorite } from './library-shortcuts';
+import './shortcuts.css';
const Star = spriteGlyph('star');
-const LABELS: Record<string, string> = { performer: '艺人', creator: '创作者', studio: '厂牌', series: '系列', agency: '事务所', tag: '标签' };
+const LABELS: Record<string, string> = { performer: '艺人', creator: '创作者', studio: '片商与厂牌', series: '系列', agency: '事务所', tag: '标签' };
export function FavoriteButton({ item }: { item: Favorite }) {
return <FavoriteChoice key={`${item.kind}:${item.entity_id}:${item.name}`} item={item} />;
@@ -24,22 +26,23 @@ function FavoriteChoice({ item }: { item: Favorite }) {
? isFavorite(query.data.favorites || [], item)
: item.favorite ?? (query.data ? isFavorite(query.data.favorites || [], item) : false);
return <span className="inline-flex min-w-0 flex-col gap-1">
- <Button variant="secondary" size="small" leadingIcon={Star} aria-pressed={selected}
+ <button type="button" data-favorite="" aria-pressed={!!selected}
aria-label={`${selected ? '取消收藏' : '收藏'}${item.name}`}
+ title={`${selected ? '取消收藏' : '收藏'}${item.name}`}
{...busyProps(write.isPending)} onClick={() => {
if (!write.isPending) write.mutate({ action: 'favorite', ...item, on: !selected });
- }}>{selected ? '已收藏' : '收藏'}</Button>
+ }}>{write.isPending ? <span aria-hidden dangerouslySetInnerHTML={{ __html: spinnerHtml('') }} /> : <Star />}</button>
{write.isError ? <Note tone="error">{errorMessage(write.error)}</Note> : null}
{query.isError ? <Button variant="secondary" size="small" onClick={() => void query.refetch()}>重试读取收藏</Button> : null}
</span>;
}
-/** 收藏名册与保存的馆藏筛选共用入口;只有打开时才读取完整列表。 */
+/** 实体收藏、作品清单与保存筛选的管理入口。 */
export function LibraryShortcuts({ currentHref, kind }: { currentHref?: () => string; kind?: string }) {
const [open, setOpen] = useState(false);
return <>
- <Button variant="secondary" size="small" leadingIcon={Star} onClick={() => setOpen(true)}>收藏与筛选</Button>
- <ModalFrame isOpen={open} onOpenChange={setOpen} width="form" label="收藏与筛选">
+ <Button variant="secondary" size="small" data-shortcuts-trigger="" onClick={() => setOpen(true)}>我的收藏</Button>
+ <ModalFrame isOpen={open} onOpenChange={setOpen} width="form" label="我的收藏">
{open ? <ShortcutContents currentHref={currentHref} kind={kind} close={() => setOpen(false)} /> : null}
</ModalFrame>
</>;
@@ -62,15 +65,19 @@ function ShortcutContents({ currentHref, kind, close }: { currentHref?: () => st
const rows = (data?.favorites || []).filter((row) => scope === 'all' || row.kind === scope);
return <div className="flex min-h-0 min-w-0 flex-col">
<div className="flex shrink-0 items-center justify-between gap-3 border-b border-separator-border p-5">
- <h2 className="text-title-2-semibold text-text-primary">收藏与筛选</h2>
+ <h2 className="text-title-2-semibold text-text-primary">我的收藏</h2>
<Button variant="secondary" size="small" onClick={close}>关闭</Button>
</div>
<div className="flex min-h-0 flex-col gap-4 overflow-y-auto overscroll-contain p-5">
+ <nav aria-label="收藏作品清单" className="flex flex-wrap gap-2">
+ <ButtonLink variant="secondary" size="small" href="/flagged" onClick={close}>已标记</ButtonLink>
+ <ButtonLink variant="secondary" size="small" href="/watch-later" onClick={close}>稍后看</ButtonLink>
+ </nav>
{query.isPending ? <div aria-busy="true" data-skeleton="" className="h-12 animate-pulse rounded-lg bg-background-secondary-default" /> : null}
{query.isError ? <Note tone="error" action={<Button variant="secondary" onClick={() => void query.refetch()}>重试</Button>}>{errorMessage(query.error)}</Note> : null}
{write.isError ? <Note tone="error">{errorMessage(write.error)}</Note> : null}
{data ? <>
- <h3 className="text-body-medium text-text-primary">收藏</h3>
+ <h3 className="text-body-medium text-text-primary">实体收藏</h3>
<div className="flex flex-wrap gap-2" role="group" aria-label="收藏类型">
{[['all', '全部'], ...Object.entries(LABELS)].map(([value, label]) =>
<Button key={value} variant="secondary" size="small" aria-pressed={scope === value}
@@ -85,7 +92,7 @@ function ShortcutContents({ currentHref, kind, close }: { currentHref?: () => st
<h3 className="text-body-medium text-text-primary">保存的筛选</h3>
{!data.filters.length ? <EmptyState shell="plain" icon={spriteGlyph('filter')} title="还没有保存的筛选">在馆藏页保存当前条件,随时打开。</EmptyState> : null}
{data.filters.map((row) => <div key={row.id} className="flex min-w-0 items-center justify-between gap-2">
- <span className="min-w-0 flex-1 overflow-hidden"><ButtonLink variant="secondary" href={row.href} title={row.name}>{row.name}</ButtonLink></span>
+ <a href={row.href} title={row.name} onClick={close} className="min-w-0 flex-1 break-all text-body-regular text-text-primary underline">{row.name}</a>
<Button variant="secondary" size="small" aria-label={`删除筛选${row.name}`} {...busyProps(write.isPending)}
onClick={() => { if (!write.isPending) write.mutate({ action: 'delete_filter', id: row.id }) }}>删除</Button>
</div>)}
diff --git a/frontend/src/react/library-shortcuts/shortcuts.css b/frontend/src/react/library-shortcuts/shortcuts.css
new file mode 100644
index 000000000..2a1dbf3e8
--- /dev/null
+++ b/frontend/src/react/library-shortcuts/shortcuts.css
@@ -0,0 +1,22 @@
+.peach-react :is([data-namepick-toggle], [data-favorite]) {
+ display: grid;
+ flex: none;
+ place-items: center;
+ width: 32px;
+ height: 32px;
+ padding: 0;
+ border: 1px solid var(--border-10);
+ border-radius: var(--control-radius);
+ background: var(--overlay-5);
+ color: var(--muted);
+ cursor: pointer;
+}
+.peach-react :is([data-namepick-toggle], [data-favorite]):is(:hover, [data-hovered]) { background: var(--hover); color: var(--ink); }
+.peach-react :is([data-namepick-toggle], [data-favorite]):focus-visible { outline: 2px solid var(--tungsten); outline-offset: 2px; }
+.peach-react :is([data-namepick-toggle], [data-favorite]) svg { width: 16px; height: 16px; fill: none; stroke: currentColor; }
+.peach-react [data-favorite][aria-pressed="true"] { color: var(--color-yellow-500); }
+.peach-react [data-favorite][aria-pressed="true"] svg { fill: currentColor; }
+.peach-react [data-favorite][aria-busy="true"] { color: var(--muted); cursor: wait; }
+@media (width <= 640px) {
+ :is(.peach-react[data-index-head], .peach-react [data-index-head]) [data-shortcuts-trigger] { order: 3; }
+}
diff --git a/frontend/test/react/follow-feed.test.tsx b/frontend/test/react/follow-feed.test.tsx
index d7dbf1df6..940a818b5 100644
--- a/frontend/test/react/follow-feed.test.tsx
+++ b/frontend/test/react/follow-feed.test.tsx
@@ -368,16 +368,20 @@ describe('页面', () => {
it(`摆满 ${FOLLOW_AUTO_LOAD_LIMIT} 组以后「加载更多」要点一下才接下一页`, async () => {
const groups = Array.from({ length: FOLLOW_AUTO_LOAD_LIMIT }, (_, index) => group(item(index + 1)));
- const fetcher = serve(feed(groups, { has_more: true }));
+ const page = feed(groups, { has_more: true });
+ const fetcher = serve(page);
const host = await open(props());
const more = host.querySelector('[data-follow-pagination] button[data-entity-more]');
expect(more?.textContent).toBe('加载更多');
const before = fetcher.mock.calls.filter(([url]) => String(url).startsWith('/api/follow?')).length;
+ page.groups = [group(item(FOLLOW_AUTO_LOAD_LIMIT + 1))];
+ page.has_more = false;
await click(more);
await settle();
const pages = fetcher.mock.calls.filter(([url]) => String(url).startsWith('/api/follow?'));
expect(pages).toHaveLength(before + 1);
expect(new URL(String(pages.at(-1)![0]), 'http://peach.test').searchParams.get('offset')).toBe('100');
+ expect(host.querySelector(`[data-follow-item="${FOLLOW_AUTO_LOAD_LIMIT + 1}"]`)).not.toBeNull();
});
it('没有关注任何来源时指到添加关注', async () => {
diff --git a/frontend/test/react/library-shortcuts.test.tsx b/frontend/test/react/library-shortcuts.test.tsx
index 84aa63ca9..f826c6c6a 100644
--- a/frontend/test/react/library-shortcuts.test.tsx
+++ b/frontend/test/react/library-shortcuts.test.tsx
@@ -9,7 +9,7 @@ notifyManager.setScheduler((notify) => notify());
afterEach(() => { queryClient.clear() });
const empty: Shortcuts = { favorites: [], filters: [] };
-describe('收藏与筛选', () => {
+describe('我的收藏', () => {
it('资料页的规范收藏状态不受旧身份缓存影响', async () => {
queryClient.setQueryData(SHORTCUTS_KEY, { favorites: [
{ entity_id: 2, kind: 'performer', name: '旧人物' },
@@ -37,7 +37,7 @@ describe('收藏与筛选', () => {
const host = await mount(<QueryClientProvider client={queryClient}>
<FavoriteButton item={{ entity_id: 1, kind: 'studio', name: '厂牌' }} />
</QueryClientProvider>);
- await click(buttonNamed('收藏', host));
+ await click(host.querySelector('[aria-label="收藏厂牌"]'));
const button = host.querySelector('button')!;
expect(button.disabled).toBe(false);
expect(button.getAttribute('aria-busy')).toBe('true');
@@ -46,7 +46,7 @@ describe('收藏与筛选', () => {
await answer.release({ favorites: [{ key: 'entity:1', entity_id: 1, kind: 'studio', name: '厂牌' }], filters: [] });
await settle();
expect(button.getAttribute('aria-pressed')).toBe('true');
- await click(buttonNamed('已收藏', host));
+ await click(host.querySelector('[aria-label="取消收藏厂牌"]'));
await settle();
expect(calls[1]).toMatchObject({ action: 'favorite', entity_id: 1, on: false });
expect(button.getAttribute('aria-pressed')).toBe('false');
@@ -65,16 +65,18 @@ describe('收藏与筛选', () => {
await mount(<QueryClientProvider client={queryClient}>
<LibraryShortcuts currentHref={() => '/watch-later?loc=&tag=VR&jav=1'} />
</QueryClientProvider>);
- await click(buttonNamed('收藏与筛选'));
+ await click(buttonNamed('我的收藏'));
await settle();
+ expect(document.querySelector('nav[aria-label="收藏作品清单"] a[href="/flagged"]')?.textContent).toBe('已标记');
+ expect(document.querySelector('nav[aria-label="收藏作品清单"] a[href="/watch-later"]')?.textContent).toBe('稍后看');
await type(document.querySelector('input'), 'VR 待看');
await submit(document.querySelector('form'));
await settle();
expect(writes[0]).toEqual({ action: 'save_filter', name: 'VR 待看', href: '/watch-later?loc=&tag=VR&jav=1' });
- expect(document.querySelector('a')?.getAttribute('href')).toBe('/watch-later?loc=&tag=VR&jav=1');
+ expect(document.querySelector('a[title="VR 待看"]')?.getAttribute('href')).toBe('/watch-later?loc=&tag=VR&jav=1');
await click(document.querySelector('[aria-label="删除筛选VR 待看"]'));
await settle();
- expect(document.querySelector('a')).toBeNull();
+ expect(document.querySelector('a[title="VR 待看"]')).toBeNull();
});
it('收藏链接使用现有实体路由和编码后的标签', () => {
diff --git a/web/dist/peach-app.css b/web/dist/peach-app.css
index 97667d33f..63c40010e 100644
--- a/web/dist/peach-app.css
+++ b/web/dist/peach-app.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-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;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-24{height:calc(var(--spacing) * 24)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-1\/2{max-width:50%}.max-w-56{max-width:calc(var(--spacing) * 56)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-28{min-width:calc(var(--spacing) * 28)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-1{column-gap:var(--spacing)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-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-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-6{padding-block:calc(var(--spacing) * 6)}.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}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[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-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[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\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:flex{display:flex}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:flex-1{flex:1}.max-sm\:shrink{flex-shrink:1}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:flex-wrap{flex-wrap:wrap}.max-sm\:items-center{align-items:center}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:hidden{display:none}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-60{width:calc(var(--spacing) * 60)}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 3px + var(--card-meta-byline) + var(--card-meta-tags));margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{min-height:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration]){opacity:0}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react :is([data-previewing],[data-media-card]:has(:focus-visible)) [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-jav-item]:not([data-variant=next]) [data-media-meta]{--card-meta-byline:calc(2lh + 2px)}.peach-react [data-jav-item]:not([data-variant=next]) [data-media-byline]{row-gap:2px;height:calc(2lh + 2px);overflow:hidden}.peach-react [data-jav-item]:not([data-variant=next]) [data-media-who]{flex-basis:100%}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-company-names]{flex-basis:100%}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-filter-glass] [data-entity-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react [data-entity-filter-glass] [data-entity-readout]{flex:none}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]),.peach-react [data-catalog-tags]>[data-skeleton=tag]{height:36px}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;margin:6px 10px;font-weight:700}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]:has(>[data-media-card]){row-gap:0}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);grid-template-columns:38px minmax(0,1fr);gap:3px 10px;display:grid}.peach-react [data-follow-labels]{grid-column:1/-1}.peach-react [data-follow-item] [data-media-meta]>[data-follow-labels]{pointer-events:none}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;transition:opacity .15s;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{color:inherit;text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react a[data-follow-author]:hover{text-decoration:underline}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{min-width:0;color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;flex:none;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-media-grid]>[data-jav-card]{align-self:stretch;gap:12px}.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-skeleton-avatar]{border-radius:50%;width:38px;height:38px}.peach-react [data-jav-skeleton-cover]{border-radius:var(--surface-radius)}.peach-react [data-jav-skeleton-text]{height:20px}.peach-react [data-jav-skeleton-action]{border-radius:var(--control-radius);height:36px}.peach-react [data-jav-title]{-webkit-line-clamp:2;overflow-wrap:anywhere;min-height:40px;font:var(--board-body-medium);-webkit-box-orient:vertical;margin:0;display:-webkit-box;overflow:hidden}.peach-react [data-jav-identity]{align-items:center;gap:8px;min-width:0;min-height:40px;display:flex}.peach-react [data-jav-faces]{flex-shrink:0;align-items:center;max-width:50%;display:flex}.peach-react [data-jav-faces] [data-media-avatars]{max-width:none}.peach-react [data-jav-actions]{margin-top:auto}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.peach-react [data-follow-detail] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{--follow-image-arrow-inset:16px;flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;max-width:100%;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:16px;margin:-24px -16px -4px;padding:32px 16px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-jav-detail] [data-jav-art]{--follow-image-arrow-inset:16px;flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-jav-picture-wait]{place-items:center;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-rating] [data-rate]{cursor:default}.peach-react [data-jav-rating] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{flex:none;width:18px;height:18px}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-jav-rating] [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-jav-rating] [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-jav-rating] [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-jav-rating] [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rate],.peach-react [data-review-rating] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{--follow-image-arrow-inset:10px;min-height:220px}}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:clamp(300px,calc(100dvh - 294px),76dvh)}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{--detail-card-width:216px;background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}[data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width)}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{border-radius:var(--control-radius);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{stroke:currentColor;fill:none;width:17px;height:17px}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0 16px 0 0!important;padding:10px 12px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}[data-settings-panel] [data-settings-card][data-settings-card]{--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide]{border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}[data-settings-panel] [data-settings-nav]>[data-settings-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}[data-settings-panel]{--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark [data-settings-panel]{--settings-card-drop:#00000080;--settings-error-drop:#0008}[data-settings-panel] [data-settings-card]{box-shadow:0 12px 40px var(--settings-card-drop);border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:100%}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}}@media (width<=420px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr);gap:8px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting])>:last-child{justify-self:end}}@media (width<=760px){[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]:after{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:16px}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}[data-settings-panel] [data-settings-service]{z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),background .14s;position:relative}[data-immerse-actions] button:hover{border-color:#ffffff80;scale:1.05}[data-immerse-actions] button:active{transition:scale 60ms ease-out;scale:.96}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:18px;height:18px;margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{flex:none;width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.ui-externalmark{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center;width:1.15em;height:1.15em}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden auto}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-body{font-size:var(--fs-md);color:var(--ink-2);padding:20px;line-height:20px}.ui-geist-modal-body h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,1fr)}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-items:stretch;margin:0;padding:0;display:flex;position:static}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:minmax(0,1fr);gap:20px}body #stats .ui-configpage>.ui-board-local-nav{flex-flow:wrap;grid-area:1/1;position:static;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-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)}}@keyframes pulse{50%{opacity:.5}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom:180px}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:0;margin-bottom:24px;display:block}[data-manage-menu]{scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:0;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;transform:translateY(-50%)}.peach-react [data-media-carousel] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-media-carousel] [data-follow-image-dots]{z-index:4;justify-content:center;align-items:center;gap:var(--media-dot-gap);max-width:calc(100% - var(--media-dot-room));padding:8px var(--media-dot-padding);border-radius:var(--pill-radius);background:#00000080;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots] button{width:var(--media-dot-size);cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;height:8px;padding:0}.peach-react [data-media-carousel] [data-follow-image-dots] button[aria-current=true]{width:var(--media-dot-selected);border-radius:var(--pill-radius);background:#fff}.peach-react [data-media-carousel] [data-follow-image-count]{z-index:4;border-radius:var(--pill-radius);color:#fff;font:500 var(--fs-xs) / 16px var(--board-font);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;background:#00000080;padding:4px 11px;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.peach-react [data-media-carousel]{--media-dot-size:8px;--media-dot-selected:20px;--media-dot-gap:8px;--media-dot-padding:11px;--media-dot-room:120px;display:contents}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video]{width:var(--media-dot-selected);color:#fff;background:0 0;place-items:center;height:20px;display:grid}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video][aria-current=true]{background:0 0}.peach-react [data-media-carousel] [data-carousel-video] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-media-carousel] [data-carousel-video][aria-current=true] svg{fill:currentColor}.peach-react [data-media-carousel][data-carousel-below]{width:100%;padding:8px 0;display:block}.peach-react [data-media-carousel][data-carousel-below] :is([data-follow-image-dots],[data-follow-image-count]){width:fit-content;margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.peach-react [data-media-thumbnails]{box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;width:100%;padding:0 12px 8px;display:flex;position:relative;overflow:auto hidden}.peach-react [data-media-thumbnails]::-webkit-scrollbar{display:none}.peach-react [data-media-thumbnail]{border-radius:var(--control-radius);background:var(--surface);width:88px;height:56px;color:var(--on-media);cursor:pointer;border:0;flex:none;padding:0;position:relative;overflow:hidden}.peach-react [data-media-thumbnail][aria-current=true]{background:var(--hover)}.peach-react [data-media-thumbnail] img{object-fit:contain;opacity:.65;width:100%;height:100%;display:block}.peach-react [data-media-thumbnail][aria-current=true] img{opacity:1}.peach-react [data-media-thumbnail]>span:not([data-media-thumbnail-play]){font-size:var(--fs-xs)}.peach-react [data-media-thumbnail-play]{background:#0006;place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-thumbnail-play] svg{fill:currentColor;stroke:currentColor;width:24px;height:24px}.peach-react [data-media-thumbnail]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-media-carousel] [data-follow-image-dots] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=640px){.peach-react [data-media-carousel] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-media-carousel] [data-follow-image-dots]{bottom:12px}}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-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;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-24{height:calc(var(--spacing) * 24)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-1\/2{max-width:50%}.max-w-56{max-width:calc(var(--spacing) * 56)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-28{min-width:calc(var(--spacing) * 28)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-1{column-gap:var(--spacing)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-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-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-6{padding-block:calc(var(--spacing) * 6)}.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}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[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-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[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\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:flex{display:flex}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:flex-1{flex:1}.max-sm\:shrink{flex-shrink:1}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:flex-wrap{flex-wrap:wrap}.max-sm\:items-center{align-items:center}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:hidden{display:none}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-60{width:calc(var(--spacing) * 60)}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 3px + var(--card-meta-byline) + var(--card-meta-tags));margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{min-height:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration]){opacity:0}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react :is([data-previewing],[data-media-card]:has(:focus-visible)) [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-jav-item]:not([data-variant=next]) [data-media-meta]{--card-meta-byline:calc(2lh + 2px)}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-filter-glass] [data-entity-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react [data-entity-filter-glass] [data-entity-readout]{flex:none}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]),.peach-react [data-catalog-tags]>[data-skeleton=tag]{height:36px}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;margin:6px 10px;font-weight:700}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]:has(>[data-media-card]){row-gap:0}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);grid-template-columns:38px minmax(0,1fr);gap:3px 10px;display:grid}.peach-react [data-follow-labels]{grid-column:1/-1}.peach-react [data-follow-item] [data-media-meta]>[data-follow-labels]{pointer-events:none}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;transition:opacity .15s;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{color:inherit;text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react a[data-follow-author]:hover{text-decoration:underline}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{min-width:0;color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;flex:none;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-media-grid]>[data-jav-card]{align-self:stretch;gap:12px}.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-skeleton-avatar]{border-radius:50%;width:38px;height:38px}.peach-react [data-jav-skeleton-cover]{border-radius:var(--surface-radius)}.peach-react [data-jav-skeleton-text]{height:20px}.peach-react [data-jav-skeleton-action]{border-radius:var(--control-radius);height:36px}.peach-react [data-jav-title]{-webkit-line-clamp:2;overflow-wrap:anywhere;min-height:40px;font:var(--board-body-medium);-webkit-box-orient:vertical;margin:0;display:-webkit-box;overflow:hidden}.peach-react [data-jav-identity]{align-items:center;gap:8px;min-width:0;min-height:40px;display:flex}.peach-react [data-jav-faces]{flex-shrink:0;align-items:center;max-width:50%;display:flex}.peach-react [data-jav-faces] [data-media-avatars]{max-width:none}.peach-react [data-jav-actions]{margin-top:auto}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.peach-react [data-follow-detail] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{--follow-image-arrow-inset:16px;flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;max-width:100%;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:16px;margin:-24px -16px -4px;padding:32px 16px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-jav-detail] [data-jav-art]{--follow-image-arrow-inset:16px;flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-jav-picture-wait]{place-items:center;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-rating] [data-rate]{cursor:default}.peach-react [data-jav-rating] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{flex:none;width:18px;height:18px}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-jav-rating] [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-jav-rating] [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-jav-rating] [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-jav-rating] [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rate],.peach-react [data-review-rating] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{--follow-image-arrow-inset:10px;min-height:220px}}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:clamp(300px,calc(100dvh - 294px),76dvh)}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{--detail-card-width:216px;background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}[data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width)}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{border-radius:var(--control-radius);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{stroke:currentColor;fill:none;width:17px;height:17px}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0 16px 0 0!important;padding:10px 12px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}[data-settings-panel] [data-settings-card][data-settings-card]{--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide]{border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}[data-settings-panel] [data-settings-nav]>[data-settings-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}[data-settings-panel]{--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark [data-settings-panel]{--settings-card-drop:#00000080;--settings-error-drop:#0008}[data-settings-panel] [data-settings-card]{box-shadow:0 12px 40px var(--settings-card-drop);border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:100%}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}}@media (width<=420px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr);gap:8px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting])>:last-child{justify-self:end}}@media (width<=760px){[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]:after{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:16px}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}[data-settings-panel] [data-settings-service]{z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),background .14s;position:relative}[data-immerse-actions] button:hover{border-color:#ffffff80;scale:1.05}[data-immerse-actions] button:active{transition:scale 60ms ease-out;scale:.96}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:18px;height:18px;margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{flex:none;width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.ui-externalmark{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center;width:1.15em;height:1.15em}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden auto}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-body{font-size:var(--fs-md);color:var(--ink-2);padding:20px;line-height:20px}.ui-geist-modal-body h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,1fr)}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-items:stretch;margin:0;padding:0;display:flex;position:static}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:minmax(0,1fr);gap:20px}body #stats .ui-configpage>.ui-board-local-nav{flex-flow:wrap;grid-area:1/1;position:static;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-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)}}@keyframes pulse{50%{opacity:.5}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom:180px}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:0;margin-bottom:24px;display:block}[data-manage-menu]{scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:0;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}.peach-react :is([data-namepick-toggle],[data-favorite]){border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react :is([data-namepick-toggle],[data-favorite]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-favorite]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-favorite]) svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-favorite][aria-pressed=true]{color:var(--color-yellow-500)}.peach-react [data-favorite][aria-pressed=true] svg{fill:currentColor}.peach-react [data-favorite][aria-busy=true]{color:var(--muted);cursor:wait}@media (width<=640px){:is(.peach-react[data-index-head],.peach-react [data-index-head]) [data-shortcuts-trigger]{order:3}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;transform:translateY(-50%)}.peach-react [data-media-carousel] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-media-carousel] [data-follow-image-dots]{z-index:4;justify-content:center;align-items:center;gap:var(--media-dot-gap);max-width:calc(100% - var(--media-dot-room));padding:8px var(--media-dot-padding);border-radius:var(--pill-radius);background:#00000080;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots] button{width:var(--media-dot-size);cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;height:8px;padding:0}.peach-react [data-media-carousel] [data-follow-image-dots] button[aria-current=true]{width:var(--media-dot-selected);border-radius:var(--pill-radius);background:#fff}.peach-react [data-media-carousel] [data-follow-image-count]{z-index:4;border-radius:var(--pill-radius);color:#fff;font:500 var(--fs-xs) / 16px var(--board-font);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;background:#00000080;padding:4px 11px;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.peach-react [data-media-carousel]{--media-dot-size:8px;--media-dot-selected:20px;--media-dot-gap:8px;--media-dot-padding:11px;--media-dot-room:120px;display:contents}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video]{width:var(--media-dot-selected);color:#fff;background:0 0;place-items:center;height:20px;display:grid}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video][aria-current=true]{background:0 0}.peach-react [data-media-carousel] [data-carousel-video] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-media-carousel] [data-carousel-video][aria-current=true] svg{fill:currentColor}.peach-react [data-media-carousel][data-carousel-below]{width:100%;padding:8px 0;display:block}.peach-react [data-media-carousel][data-carousel-below] :is([data-follow-image-dots],[data-follow-image-count]){width:fit-content;margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.peach-react [data-media-thumbnails]{box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;width:100%;padding:0 12px 8px;display:flex;position:relative;overflow:auto hidden}.peach-react [data-media-thumbnails]::-webkit-scrollbar{display:none}.peach-react [data-media-thumbnail]{border-radius:var(--control-radius);background:var(--surface);width:88px;height:56px;color:var(--on-media);cursor:pointer;border:0;flex:none;padding:0;position:relative;overflow:hidden}.peach-react [data-media-thumbnail][aria-current=true]{background:var(--hover)}.peach-react [data-media-thumbnail] img{object-fit:contain;opacity:.65;width:100%;height:100%;display:block}.peach-react [data-media-thumbnail][aria-current=true] img{opacity:1}.peach-react [data-media-thumbnail]>span:not([data-media-thumbnail-play]){font-size:var(--fs-xs)}.peach-react [data-media-thumbnail-play]{background:#0006;place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-thumbnail-play] svg{fill:currentColor;stroke:currentColor;width:24px;height:24px}.peach-react [data-media-thumbnail]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-media-carousel] [data-follow-image-dots] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=640px){.peach-react [data-media-carousel] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-media-carousel] [data-follow-image-dots]{bottom:12px}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index 2fb7c9951..770095c53 100644
--- a/web/dist/peach-app.js
+++ b/web/dist/peach-app.js
@@ -35976,7 +35976,7 @@ function phe(e, t, n, r) {
//#region node_modules/react-aria-components/dist/private/Popover.mjs
var jA = /*#__PURE__*/ (0, b.createContext)(null), mhe = /*#__PURE__*/ (0, b.createContext)(null), MA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
[e, t] = Zk(e, t, jA);
- let n = (0, b.useContext)(VA), r = OA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = AA(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = wie(), { direction: c } = ny();
+ let n = (0, b.useContext)(HA), r = OA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = AA(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = wie(), { direction: c } = ny();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -36179,19 +36179,19 @@ function bhe(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Menu.mjs
-var xhe = /*#__PURE__*/ (0, b.createContext)(null), NA = /*#__PURE__*/ (0, b.createContext)(null), PA = /*#__PURE__*/ (0, b.createContext)(null), FA = /*#__PURE__*/ (0, b.createContext)(null);
-function She(e) {
+var NA = /*#__PURE__*/ (0, b.createContext)(null), PA = /*#__PURE__*/ (0, b.createContext)(null), FA = /*#__PURE__*/ (0, b.createContext)(null), IA = /*#__PURE__*/ (0, b.createContext)(null);
+function xhe(e) {
let t = _he(e), n = (0, b.useRef)(null), { menuTriggerProps: r, menuProps: i } = xx({
...e,
type: "menu"
}, t, n), a = (0, b.useRef)(null);
return wie() ? null : /*#__PURE__*/ b.createElement(Jk, { values: [
- [xhe, {
+ [NA, {
...i,
ref: a
}],
- [VA, t],
- [PA, t],
+ [HA, t],
+ [FA, t],
[jA, {
trigger: "MenuTrigger",
triggerRef: n,
@@ -36206,7 +36206,7 @@ function She(e) {
isPressed: t.isOpen
}, e.children));
}
-var Che = /*#__PURE__*/ (0, b.createContext)(null);
+var She = /*#__PURE__*/ (0, b.createContext)(null);
(class extends m_ {
static {
this.type = "submenutrigger";
@@ -36220,20 +36220,20 @@ var Che = /*#__PURE__*/ (0, b.createContext)(null);
return null;
}
});
-var whe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- return [e, t] = Zk(e, t, xhe), /*#__PURE__*/ b.createElement(Pv, { content: /*#__PURE__*/ b.createElement(Rv, e) }, (n) => /*#__PURE__*/ b.createElement(The, {
+var Che = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ return [e, t] = Zk(e, t, NA), /*#__PURE__*/ b.createElement(Pv, { content: /*#__PURE__*/ b.createElement(Rv, e) }, (n) => /*#__PURE__*/ b.createElement(whe, {
props: e,
collection: n,
menuRef: t
}));
});
-function The({ props: e, collection: t, menuRef: n }) {
+function whe({ props: e, collection: t, menuRef: n }) {
[e, n] = Zk(e, n, tA);
let { filter: r, ...i } = e, a = (0, b.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = yhe({
...e,
collection: a,
children: void 0
- }), s = (0, b.useContext)(PA), { isVirtualized: c, CollectionRoot: l } = (0, b.useContext)(iA), { menuProps: u } = _oe({
+ }), s = (0, b.useContext)(FA), { isVirtualized: c, CollectionRoot: l } = (0, b.useContext)(iA), { menuProps: u } = _oe({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
@@ -36255,28 +36255,28 @@ function The({ props: e, collection: t, menuRef: n }) {
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
}, /*#__PURE__*/ b.createElement(Jk, { values: [
- [NA, o],
+ [PA, o],
[_A, { elementType: "div" }],
[Hpe, {
name: "MenuSection",
- render: IA
+ render: LA
}],
- [Che, {
+ [She, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [RA, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [zA, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
[tA, null],
[nA, null],
- [FA, o.selectionManager],
- [PA, s ?? _he({})]
+ [IA, o.selectionManager],
+ [FA, s ?? _he({})]
] }, /*#__PURE__*/ b.createElement(hA, null, /*#__PURE__*/ b.createElement(l, {
collection: o.collection,
persistedKeys: Gpe(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var Ehe = class extends xA {
+var The = class extends xA {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -36296,8 +36296,8 @@ var Ehe = class extends xA {
return this.parent.childFocusStrategy;
}
};
-function IA(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, b.useContext)(NA), { CollectionBranch: a } = (0, b.useContext)(iA), [o, s] = Qk(), { headingProps: c, groupProps: l } = yoe({
+function LA(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, b.useContext)(PA), { CollectionBranch: a } = (0, b.useContext)(iA), [o, s] = Qk(), { headingProps: c, groupProps: l } = yoe({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
}), u = Yk({
@@ -36308,7 +36308,7 @@ function IA(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, b.useContext)(FA), f = bA(e), p = e.selectionMode == null ? d : new Ehe(d, f), m = Xk(RA)?.shouldCloseOnSelect, h = uy(e, { global: !0 });
+ }), d = (0, b.useContext)(IA), f = bA(e), p = e.selectionMode == null ? d : new The(d, f), m = Xk(zA)?.shouldCloseOnSelect, h = uy(e, { global: !0 });
return delete h.id, /*#__PURE__*/ b.createElement(eA.section, {
...W(h, u, l),
ref: t
@@ -36317,16 +36317,16 @@ function IA(e, t, n, r = "react-aria-MenuSection") {
...c,
ref: o
}],
- [FA, p],
- [RA, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [IA, p],
+ [zA, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ b.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var LA = /*#__PURE__*/ Lv(rre, IA), RA = /*#__PURE__*/ (0, b.createContext)(null), zA = /*#__PURE__*/ Iv(__, function(e, t, n) {
- [e, t] = Zk(e, t, RA);
- let r = Xk(RA)?.id, i = (0, b.useContext)(NA), a = Dv(t), o = (0, b.useContext)(FA), { isVirtualized: s } = (0, b.useContext)(iA), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = voe({
+var RA = /*#__PURE__*/ Lv(rre, LA), zA = /*#__PURE__*/ (0, b.createContext)(null), BA = /*#__PURE__*/ Iv(__, function(e, t, n) {
+ [e, t] = Zk(e, t, zA);
+ let r = Xk(zA)?.id, i = (0, b.useContext)(PA), a = Dv(t), o = (0, b.useContext)(IA), { isVirtualized: s } = (0, b.useContext)(iA), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = voe({
...e,
id: r,
key: n.key,
@@ -36370,7 +36370,7 @@ var LA = /*#__PURE__*/ Lv(rre, IA), RA = /*#__PURE__*/ (0, b.createContext)(null
] }, h.children));
});
Iv(g_, function(e, t, n) {
- let r = (0, b.useContext)(NA), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
+ let r = (0, b.useContext)(PA), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
TA((0, b.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
@@ -36412,13 +36412,13 @@ Iv(g_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var BA = /*#__PURE__*/ (0, b.createContext)(null), VA = /*#__PURE__*/ (0, b.createContext)(null), HA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+var VA = /*#__PURE__*/ (0, b.createContext)(null), HA = /*#__PURE__*/ (0, b.createContext)(null), UA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = Zk(e, t, BA);
+ [e, t] = Zk(e, t, VA);
let { dialogProps: r, titleProps: i, contentProps: a } = roe({
...e,
"aria-labelledby": n
- }, t), o = (0, b.useContext)(VA);
+ }, t), o = (0, b.useContext)(HA);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
let s = Yk({
defaultClassName: "react-aria-Dialog",
@@ -36449,45 +36449,45 @@ var BA = /*#__PURE__*/ (0, b.createContext)(null), VA = /*#__PURE__*/ (0, b.crea
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), UA = typeof document < "u" && window.visualViewport;
-function Dhe() {
+}), WA = typeof document < "u" && window.visualViewport;
+function Ehe() {
let e = $_(), t = (0, b.useRef)(null), [n, r] = (0, b.useState)(() => e ? {
width: 0,
height: 0
- } : WA());
+ } : GA());
return (0, b.useEffect)(() => {
let e = (e) => {
r((t) => e.width === t.width && e.height === t.height ? t : e);
}, n = () => {
- UA && UA.scale > 1 || e(WA());
+ WA && WA.scale > 1 || e(GA());
}, i = (n) => {
- UA && UA.scale > 1 || Gv(N_(n)) && (t.current = TC((t) => {
+ WA && WA.scale > 1 || Gv(N_(n)) && (t.current = TC((t) => {
t || e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(WA()), K_() && q_() && window.addEventListener("blur", i, !0), UA ? UA.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
- t.current?.(), K_() && q_() && window.removeEventListener("blur", i, !0), UA ? UA.removeEventListener("resize", n) : window.removeEventListener("resize", n);
+ return e(GA()), K_() && q_() && window.addEventListener("blur", i, !0), WA ? WA.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
+ t.current?.(), K_() && q_() && window.removeEventListener("blur", i, !0), WA ? WA.removeEventListener("resize", n) : window.removeEventListener("resize", n);
};
}, []), n;
}
-function WA() {
+function GA() {
return {
- width: UA ? Math.min(UA.width * UA.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: UA ? UA.height * UA.scale : document.documentElement.clientHeight
+ width: WA ? Math.min(WA.width * WA.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: WA ? WA.height * WA.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var Ohe = /*#__PURE__*/ (0, b.createContext)(null), GA = /*#__PURE__*/ (0, b.createContext)(null), khe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- if ((0, b.useContext)(GA)) return /*#__PURE__*/ b.createElement(qA, {
+var Dhe = /*#__PURE__*/ (0, b.createContext)(null), KA = /*#__PURE__*/ (0, b.createContext)(null), Ohe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ if ((0, b.useContext)(KA)) return /*#__PURE__*/ b.createElement(JA, {
...e,
modalRef: t
}, e.children);
let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;
- return /*#__PURE__*/ b.createElement(KA, {
+ return /*#__PURE__*/ b.createElement(qA, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -36497,15 +36497,15 @@ var Ohe = /*#__PURE__*/ (0, b.createContext)(null), GA = /*#__PURE__*/ (0, b.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ b.createElement(qA, {
+ }, /*#__PURE__*/ b.createElement(JA, {
...f,
modalRef: t
}, s));
});
-function Ahe(e, t) {
- [e, t] = Zk(e, t, Ohe);
- let n = (0, b.useContext)(VA), r = OA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Dv(t), o = (0, b.useRef)(null), s = AA(a, i.isOpen, e.onExit), c = (0, b.useRef)(null), l = AA(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = $_();
- return !i.isOpen && !u || d ? null : /*#__PURE__*/ b.createElement(jhe, {
+function khe(e, t) {
+ [e, t] = Zk(e, t, Dhe);
+ let n = (0, b.useContext)(HA), r = OA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Dv(t), o = (0, b.useRef)(null), s = AA(a, i.isOpen, e.onExit), c = (0, b.useRef)(null), l = AA(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = $_();
+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ b.createElement(Ahe, {
...e,
state: i,
isExiting: u,
@@ -36514,12 +36514,12 @@ function Ahe(e, t) {
onExitRef: c
});
}
-var KA = /*#__PURE__*/ (0, b.forwardRef)(Ahe);
-function jhe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
+var qA = /*#__PURE__*/ (0, b.forwardRef)(khe);
+function Ahe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
let r = n.modalRef, { state: i } = n, [a, o] = (0, b.useState)(!1), s = kA(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Aoe({
...n,
isEntering: c
- }, i, r), d = (0, b.useContext)(BA), f = t ? Mhe(d, { isEntering: c }) : d, p = Yk({
+ }, i, r), d = (0, b.useContext)(VA), f = t ? jhe(d, { isEntering: c }) : d, p = Yk({
...n,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -36527,7 +36527,7 @@ function jhe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isExiting: n.isExiting,
state: i
}
- }), m = Dhe(), h, g;
+ }), m = Ehe(), h, g;
if (typeof document < "u") {
let e = Qy(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
h = e.scrollWidth - t, g = e.scrollHeight - n;
@@ -36550,7 +36550,7 @@ function jhe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
"data-entering": s || void 0,
"data-exiting": n.isExiting || void 0
}, /*#__PURE__*/ b.createElement(Jk, { values: [
- [GA, {
+ [KA, {
modalProps: l,
modalRef: r,
isExiting: n.isExiting,
@@ -36558,11 +36558,11 @@ function jhe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isOpen: a,
isDismissable: n.isDismissable
}],
- [VA, i],
- [BA, f]
+ [HA, i],
+ [VA, f]
] }, p.children)));
}
-function Mhe(e, t) {
+function jhe(e, t) {
if (e && "slots" in e && e.slots) {
let n = {};
for (let r in e.slots) n[r] = {
@@ -36579,8 +36579,8 @@ function Mhe(e, t) {
...t
};
}
-function qA(e) {
- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, b.useContext)(GA), s = (0, b.useContext)(VA), c = Dv((0, b.useMemo)(() => Sv(e.modalRef, n), [e.modalRef, n])), l = kA(c, o, e.onEnter), u = Yk({
+function JA(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, b.useContext)(KA), s = (0, b.useContext)(HA), c = Dv((0, b.useMemo)(() => Sv(e.modalRef, n), [e.modalRef, n])), l = kA(c, o, e.onEnter), u = Yk({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -36601,9 +36601,9 @@ function qA(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var Nhe = Math.round(Math.random() * 1e10), Phe = 0;
-function Fhe(e) {
- let t = (0, b.useMemo)(() => e.name || `radio-group-${Nhe}-${++Phe}`, [e.name]), [n, r] = xb(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, b.useState)(n), [a, o] = (0, b.useState)(null), s = fb({
+var Mhe = Math.round(Math.random() * 1e10), Nhe = 0;
+function Phe(e) {
+ let t = (0, b.useMemo)(() => e.name || `radio-group-${Mhe}-${++Nhe}`, [e.name]), [n, r] = xb(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, b.useState)(n), [a, o] = (0, b.useState)(null), s = fb({
...e,
value: n
}), c = (t) => {
@@ -36626,9 +36626,9 @@ function Fhe(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var Ihe = /*#__PURE__*/ (0, b.createContext)(null), Lhe = /*#__PURE__*/ (0, b.createContext)(null), JA = /*#__PURE__*/ (0, b.createContext)(null), YA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = Zk(e, t, Ihe);
- let { validationBehavior: n } = Xk(uA) || {}, r = e.validationBehavior ?? n ?? "native", i = Fhe({
+var Fhe = /*#__PURE__*/ (0, b.createContext)(null), Ihe = /*#__PURE__*/ (0, b.createContext)(null), YA = /*#__PURE__*/ (0, b.createContext)(null), XA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = Zk(e, t, Fhe);
+ let { validationBehavior: n } = Xk(uA) || {}, r = e.validationBehavior ?? n ?? "native", i = Phe({
...e,
validationBehavior: r
}), [a, o] = Qk(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Woe({
@@ -36657,7 +36657,7 @@ var Ihe = /*#__PURE__*/ (0, b.createContext)(null), Lhe = /*#__PURE__*/ (0, b.cr
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
}, /*#__PURE__*/ b.createElement(Jk, { values: [
- [JA, i],
+ [YA, i],
[aA, {
...c,
ref: a,
@@ -36669,23 +36669,23 @@ var Ihe = /*#__PURE__*/ (0, b.createContext)(null), Lhe = /*#__PURE__*/ (0, b.cr
} }],
[lA, d]
] }, /*#__PURE__*/ b.createElement(hA, null, f.children)));
-}), XA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+}), ZA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Zk(r, t, Lhe);
- let i = b.useContext(JA), a = Dv((0, b.useMemo)(() => Sv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Uoe({
+ [e, t] = Zk(r, t, Ihe);
+ let i = b.useContext(YA), a = Dv((0, b.useMemo)(() => Sv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Uoe({
...$k(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ b.createElement(ZA.Provider, { value: {
+ return /*#__PURE__*/ b.createElement(QA.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ b.createElement(Rhe, {
+ } }, /*#__PURE__*/ b.createElement(Lhe, {
...e,
ref: t
}));
-}), ZA = /*#__PURE__*/ (0, b.createContext)(null), Rhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, b.useContext)(ZA), l = b.useContext(JA), { isFocused: u, isFocusVisible: d, focusProps: f } = Hx(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = Kx({
+}), QA = /*#__PURE__*/ (0, b.createContext)(null), Lhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, b.useContext)(QA), l = b.useContext(YA), { isFocused: u, isFocusVisible: d, focusProps: f } = Hx(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = Kx({
...e,
isDisabled: p
}), g = Yk({
@@ -36722,7 +36722,7 @@ var Ihe = /*#__PURE__*/ (0, b.createContext)(null), Lhe = /*#__PURE__*/ (0, b.cr
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function zhe(e) {
+function Rhe(e) {
let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = OA(e), [i, a] = (0, b.useState)(null), o = (0, b.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
@@ -36744,7 +36744,7 @@ function zhe(e) {
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, b.useMemo)(() => Bhe(l), [l]),
+ selectedKeys: (0, b.useMemo)(() => zhe(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -36781,16 +36781,16 @@ function zhe(e) {
setFocused: g
};
}
-function Bhe(e) {
+function zhe(e) {
if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Select.mjs
-function Vhe(e) {
+function Bhe(e) {
return e && e.__esModule ? e.default : e;
}
-var QA = /*#__PURE__*/ (0, b.createContext)(null), $A = /*#__PURE__*/ (0, b.createContext)(null), Hhe = /*#__PURE__*/ Mv(function(e, t) {
- [e, t] = Zk(e, t, QA);
+var $A = /*#__PURE__*/ (0, b.createContext)(null), ej = /*#__PURE__*/ (0, b.createContext)(null), Vhe = /*#__PURE__*/ Mv(function(e, t) {
+ [e, t] = Zk(e, t, $A);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, b.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -36805,18 +36805,18 @@ var QA = /*#__PURE__*/ (0, b.createContext)(null), $A = /*#__PURE__*/ (0, b.crea
i,
a
]);
- return /*#__PURE__*/ b.createElement(Pv, { content: o }, (n) => /*#__PURE__*/ b.createElement(Whe, {
+ return /*#__PURE__*/ b.createElement(Pv, { content: o }, (n) => /*#__PURE__*/ b.createElement(Uhe, {
props: e,
collection: n,
selectRef: t
}));
-}), Uhe = [
+}), Hhe = [
aA,
oA,
cA
];
-function Whe({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = Xk(uA) || {}, i = e.validationBehavior ?? r ?? "native", a = zhe({
+function Uhe({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = Xk(uA) || {}, i = e.validationBehavior ?? r ?? "native", a = Rhe({
...e,
collection: n,
children: void 0,
@@ -36847,9 +36847,9 @@ function Whe({ props: e, selectRef: t, collection: n }) {
delete S.id;
let C = (0, b.useRef)(null);
return /*#__PURE__*/ b.createElement(Jk, { values: [
- [QA, e],
- [$A, a],
- [ej, p],
+ [$A, e],
+ [ej, a],
+ [tj, p],
[aA, {
...d,
ref: l,
@@ -36861,14 +36861,14 @@ function Whe({ props: e, selectRef: t, collection: n }) {
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [VA, a],
+ [HA, a],
[jA, {
trigger: "Select",
triggerRef: c,
scrollRef: C,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: Uhe
+ clearContexts: Hhe
}],
[EA, {
...m,
@@ -36895,9 +36895,9 @@ function Whe({ props: e, selectRef: t, collection: n }) {
autoComplete: e.autoComplete
})));
}
-for (var ej = /*#__PURE__*/ (0, b.createContext)(null), Ghe = /*#__PURE__*/ Mv(function(e, t) {
- [e, t] = Zk(e, t, ej);
- let n = (0, b.useContext)($A), { placeholder: r } = Xk(QA), i = n.selectedItems.map((e) => {
+for (var tj = /*#__PURE__*/ (0, b.createContext)(null), Whe = /*#__PURE__*/ Mv(function(e, t) {
+ [e, t] = Zk(e, t, tj);
+ let n = (0, b.useContext)(ej), { placeholder: r } = Xk($A), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -36924,7 +36924,7 @@ for (var ej = /*#__PURE__*/ (0, b.createContext)(null), Ghe = /*#__PURE__*/ Mv(f
a,
o,
i
- ]), u = cy(Vhe(Wme), "react-aria-components"), d = Yk({
+ ]), u = cy(Bhe(Wme), "react-aria-components"), d = Yk({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -36942,23 +36942,23 @@ for (var ej = /*#__PURE__*/ (0, b.createContext)(null), Ghe = /*#__PURE__*/ Mv(f
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
}, /*#__PURE__*/ b.createElement(cA.Provider, { value: void 0 }, d.children));
-}), Khe = /*#__PURE__*/ (0, b.createContext)(null), tj = /*#__PURE__*/ (0, b.createContext)(null), qhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+}), Ghe = /*#__PURE__*/ (0, b.createContext)(null), nj = /*#__PURE__*/ (0, b.createContext)(null), Khe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Zk(r, t, Khe);
+ [e, t] = Zk(r, t, Ghe);
let i = Dv((0, b.useMemo)(() => Sv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = Sb(e), o = Yoe({
...$k(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ b.createElement(Jk, { values: [[tj, a], [nj, {
+ return /*#__PURE__*/ b.createElement(Jk, { values: [[nj, a], [rj, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ b.createElement(Jhe, {
+ }]] }, /*#__PURE__*/ b.createElement(qhe, {
...e,
ref: t
}));
-}), nj = /*#__PURE__*/ (0, b.createContext)(null), Jhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, b.useContext)(nj), { isFocused: f, isFocusVisible: p, focusProps: m } = Hx(), h = a || o, g = (0, b.useContext)(tj), { hoverProps: _, isHovered: v } = Kx({
+}), rj = /*#__PURE__*/ (0, b.createContext)(null), qhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, b.useContext)(rj), { isFocused: f, isFocusVisible: p, focusProps: m } = Hx(), h = a || o, g = (0, b.useContext)(nj), { hoverProps: _, isHovered: v } = Kx({
...e,
isDisabled: h
}), y = Yk({
@@ -36994,7 +36994,7 @@ for (var ej = /*#__PURE__*/ (0, b.createContext)(null), Ghe = /*#__PURE__*/ Mv(f
...W(r, m),
ref: l
})), y.children);
-}), rj = 10, ij = 5, Yhe = class {
+}), ij = 10, aj = 5, Jhe = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -37004,7 +37004,7 @@ for (var ej = /*#__PURE__*/ (0, b.createContext)(null), Ghe = /*#__PURE__*/ Mv(f
}
resolveDropTarget(e, t, n, r) {
let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;
- if (Math.abs(a) > ij && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > rj && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > aj && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > ij && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
let t = this.state.collection.getKeyBefore(e.key);
for (; t != null;) {
let e = this.state.collection.getItem(t);
@@ -37083,11 +37083,11 @@ for (var ej = /*#__PURE__*/ (0, b.createContext)(null), Ghe = /*#__PURE__*/ Mv(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > ij && i) {
+ if (Math.abs(r - c.lastSwitchY) > aj && i) {
let t = c.preferredTargetIndex || 0;
i === "down" && t === 0 ? c.preferredTargetIndex = e.length - 1 : i === "up" && t === e.length - 1 && (c.preferredTargetIndex = 0), o.xDirection = null;
}
- if (l > rj && a) {
+ if (l > ij && a) {
let t = c.preferredTargetIndex || 0;
a === "left" ? this.direction === "ltr" ? t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n) : t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : a === "right" && (this.direction === "ltr" ? t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n)), o.yDirection = null;
}
@@ -37102,7 +37102,7 @@ for (var ej = /*#__PURE__*/ (0, b.createContext)(null), Ghe = /*#__PURE__*/ Mv(f
boundaryContext: null
};
}
-}, Xhe = class {
+}, Yhe = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -37172,8 +37172,8 @@ for (var ej = /*#__PURE__*/ (0, b.createContext)(null), Ghe = /*#__PURE__*/ Mv(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, aj = "row-header-column-" + Math.random().toString(36).slice(2), oj = "row-header-column-" + Math.random().toString(36).slice(2); aj === oj;) oj = "row-header-column-" + Math.random().toString(36).slice(2);
-function sj(e, t) {
+}, oj = "row-header-column-" + Math.random().toString(36).slice(2), sj = "row-header-column-" + Math.random().toString(36).slice(2); oj === sj;) sj = "row-header-column-" + Math.random().toString(36).slice(2);
+function cj(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -37257,13 +37257,13 @@ function sj(e, t) {
textValue: ""
}));
}
-var Zhe = class extends Xhe {
+var Xhe = class extends Yhe {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: aj,
+ key: oj,
value: null,
textValue: "",
level: 0,
@@ -37278,7 +37278,7 @@ var Zhe = class extends Xhe {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: oj,
+ key: sj,
value: null,
textValue: "",
level: 0,
@@ -37305,7 +37305,7 @@ var Zhe = class extends Xhe {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = sj(s, a);
+ let l = cj(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -37366,7 +37366,7 @@ var Zhe = class extends Xhe {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function Qhe(e) {
+function Zhe(e) {
let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || bA(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
@@ -37417,11 +37417,11 @@ function Qhe(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var $he = {
+var Qhe = {
ascending: "descending",
descending: "ascending"
};
-function ege(e) {
+function $he(e) {
let [t, n] = (0, b.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, b.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -37432,7 +37432,7 @@ function ege(e) {
i,
r,
a
- ]), c = CA(e, (0, b.useCallback)((e) => new Zhe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Qhe({
+ ]), c = CA(e, (0, b.useCallback)((e) => new Xhe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Zhe({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
@@ -37448,7 +37448,7 @@ function ege(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? $he[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? Qhe[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -37461,7 +37461,7 @@ function ege(e) {
treeColumn: o
};
}
-function tge(e, t) {
+function ege(e, t) {
let n = (0, b.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -37471,7 +37471,7 @@ function tge(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var nge = class extends v_ {
+var tge = class extends v_ {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -37486,7 +37486,7 @@ var nge = class extends v_ {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new mj(-2);
+ return new hj(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -37512,7 +37512,7 @@ var nge = class extends v_ {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = sj(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");
+ if (this.headerRows = cj(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");
}
get columnCount() {
return this.columns.length;
@@ -37593,10 +37593,10 @@ var nge = class extends v_ {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new dj(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new fj(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, rge = /*#__PURE__*/ (0, b.createContext)(null), ige = /*#__PURE__*/ (0, b.createContext)(null), cj = /*#__PURE__*/ (0, b.createContext)(null), lj = /*#__PURE__*/ (0, b.createContext)(null), age = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = Zk(e, t, ige);
+}, nge = /*#__PURE__*/ (0, b.createContext)(null), rge = /*#__PURE__*/ (0, b.createContext)(null), lj = /*#__PURE__*/ (0, b.createContext)(null), uj = /*#__PURE__*/ (0, b.createContext)(null), ige = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = Zk(e, t, rge);
let n = bA(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, b.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
@@ -37607,17 +37607,17 @@ var nge = class extends v_ {
i,
a,
o
- ]), c = /*#__PURE__*/ b.createElement(cge.Provider, { value: s }, /*#__PURE__*/ b.createElement(Rv, e));
+ ]), c = /*#__PURE__*/ b.createElement(sge.Provider, { value: s }, /*#__PURE__*/ b.createElement(Rv, e));
return /*#__PURE__*/ b.createElement(Pv, {
content: c,
- createCollection: () => new nge()
- }, (r) => /*#__PURE__*/ b.createElement(sge, {
+ createCollection: () => new tge()
+ }, (r) => /*#__PURE__*/ b.createElement(oge, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), oge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+}), age = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, b.useContext)(iA);
return n ? /*#__PURE__*/ b.createElement(eA.div, {
...e,
@@ -37626,7 +37626,7 @@ var nge = class extends v_ {
...e,
ref: t
});
-}), uj = {
+}), dj = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -37636,26 +37636,26 @@ var nge = class extends v_ {
rtl: "ArrowRight"
}
};
-function sge({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+function oge({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
[e, t] = Zk(e, t, tA);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, b.useContext)(rge);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, b.useContext)(nge);
t = Dv((0, b.useMemo)(() => Sv(t, c?.tableRef), [t, c?.tableRef]));
let [l, u] = xb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, b.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = ege({
+ let d = $he({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = tge(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, b.useContext)(iA), { dragAndDropHooks: _ } = e, { gridProps: v } = tse({
+ }), f = ege(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, b.useContext)(iA), { dragAndDropHooks: _ } = e, { gridProps: v } = tse({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, x = !!_?.useDraggableCollectionState, S = !!_?.useDroppableCollectionState;
(0, b.useRef)(x), (0, b.useRef)(S), (0, b.useEffect)(() => {}, [x, S]);
- let C, w, T, E = !1, D = null, O = (0, b.useRef)(null), { direction: k } = ny(), [A] = (0, b.useState)(() => new Yhe());
+ let C, w, T, E = !1, D = null, O = (0, b.useRef)(null), { direction: k } = ny(), [A] = (0, b.useState)(() => new Jhe());
if (x && _) {
C = _.useDraggableCollectionState({
collection: f.collection,
@@ -37690,7 +37690,7 @@ function sge({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
let t = w?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = d.collection.getItem(t.key);
- (e.key === uj.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === uj.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === dj.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === dj.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, w, t), E = w.isDropTarget({ type: "root" });
@@ -37713,17 +37713,17 @@ function sge({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
}));
let ne = uy(e, { global: !0 });
return /*#__PURE__*/ b.createElement(Jk, { values: [
- [cj, f],
- [lj, te],
+ [lj, f],
+ [uj, te],
[fA, {
dragAndDropHooks: _,
dragState: C,
dropState: w
}],
- [pA, { render: vge }],
+ [pA, { render: _ge }],
[tA, null],
[nA, null]
- ] }, /*#__PURE__*/ b.createElement(Ny, null, /*#__PURE__*/ b.createElement(oge, {
+ ] }, /*#__PURE__*/ b.createElement(Ny, null, /*#__PURE__*/ b.createElement(age, {
...W(ne, P, v, j, T?.collectionProps),
style: F,
ref: t,
@@ -37739,11 +37739,11 @@ function sge({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
persistedKeys: Kme(y, _, w)
})))), D);
}
-var cge = /*#__PURE__*/ (0, b.createContext)(null), dj = class extends m_ {
+var sge = /*#__PURE__*/ (0, b.createContext)(null), fj = class extends m_ {
static {
this.type = "tableheader";
}
-}, lge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+}, cge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, b.useContext)(iA);
return n ? /*#__PURE__*/ b.createElement(eA.div, {
...e,
@@ -37752,12 +37752,12 @@ var cge = /*#__PURE__*/ (0, b.createContext)(null), dj = class extends m_ {
...e,
ref: t
});
-}), fj = /*#__PURE__*/ Lv(dj, (e, t) => {
- let n = (0, b.useContext)(cj).collection, r = S_({
+}), pj = /*#__PURE__*/ Lv(fj, (e, t) => {
+ let n = (0, b.useContext)(lj).collection, r = S_({
items: n.headerRows,
children: (0, b.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ b.createElement(dge, { item: e });
+ case "headerrow": return /*#__PURE__*/ b.createElement(uge, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
@@ -37771,7 +37771,7 @@ var cge = /*#__PURE__*/ (0, b.createContext)(null), dj = class extends m_ {
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ b.createElement(lge, {
+ return /*#__PURE__*/ b.createElement(cge, {
...W(uy(e, { global: !0 }), i, a),
...s,
ref: t,
@@ -37780,7 +37780,7 @@ var cge = /*#__PURE__*/ (0, b.createContext)(null), dj = class extends m_ {
}, (e) => /*#__PURE__*/ b.createElement(Rv, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), uge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+}, e.children)), lge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, b.useContext)(iA);
return n ? /*#__PURE__*/ b.createElement("div", {
...e,
@@ -37790,12 +37790,12 @@ var cge = /*#__PURE__*/ (0, b.createContext)(null), dj = class extends m_ {
ref: t
});
});
-function dge({ item: e }) {
- let t = (0, b.useRef)(null), n = (0, b.useContext)(cj), { isVirtualized: r, CollectionBranch: i } = (0, b.useContext)(iA), { rowProps: a } = ase({
+function uge({ item: e }) {
+ let t = (0, b.useRef)(null), n = (0, b.useContext)(lj), { isVirtualized: r, CollectionBranch: i } = (0, b.useContext)(iA), { rowProps: a } = ase({
node: e,
isVirtualized: r
}, n, t), { checkboxProps: o } = fse(n);
- return /*#__PURE__*/ b.createElement(uge, {
+ return /*#__PURE__*/ b.createElement(lge, {
...a,
ref: t
}, /*#__PURE__*/ b.createElement(Jk, { values: [[dA, { slots: { selection: o } }], [$pe, { slots: { selection: o } }]] }, /*#__PURE__*/ b.createElement(i, {
@@ -37803,11 +37803,11 @@ function dge({ item: e }) {
parent: e
})));
}
-var fge = class extends m_ {
+var dge = class extends m_ {
static {
this.type = "column";
}
-}, pge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+}, fge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, b.useContext)(iA);
return n ? /*#__PURE__*/ b.createElement(eA.div, {
...e,
@@ -37816,13 +37816,13 @@ var fge = class extends m_ {
...e,
ref: t
});
-}), pj = /*#__PURE__*/ Iv(fge, (e, t, n) => {
- let r = Dv(t), i = (0, b.useContext)(cj), { isVirtualized: a } = (0, b.useContext)(iA), { columnHeaderProps: o, isPressed: s } = ise({
+}), mj = /*#__PURE__*/ Iv(dge, (e, t, n) => {
+ let r = Dv(t), i = (0, b.useContext)(lj), { isVirtualized: a } = (0, b.useContext)(iA), { columnHeaderProps: o, isPressed: s } = ise({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = Hx(), d = (0, b.useContext)(lj), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = Hx(), d = (0, b.useContext)(uj), f = !1;
d && (f = d.resizingColumn === n.key);
let { hoverProps: p, isHovered: m } = Kx({ isDisabled: !e.allowsSorting }), h = Yk({
...e,
@@ -37851,7 +37851,7 @@ var fge = class extends m_ {
width: d.getColumnWidth(n.key)
});
let _ = uy(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ b.createElement(pge, {
+ return delete _.id, /*#__PURE__*/ b.createElement(fge, {
...W(_, o, u, p),
...h,
style: g,
@@ -37863,15 +37863,15 @@ var fge = class extends m_ {
"data-resizing": f || void 0,
"data-allows-sorting": n.props.allowsSorting || void 0,
"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0
- }, /*#__PURE__*/ b.createElement(Jk, { values: [[mge, {
+ }, /*#__PURE__*/ b.createElement(Jk, { values: [[pge, {
column: n,
triggerRef: r
}], [iA, rA]] }, h.children));
-}), mge = /*#__PURE__*/ (0, b.createContext)(null), mj = class extends h_ {
+}), pge = /*#__PURE__*/ (0, b.createContext)(null), hj = class extends h_ {
static {
this.type = "tablebody";
}
-}, hge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+}, mge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, b.useContext)(iA);
return n ? /*#__PURE__*/ b.createElement(eA.div, {
...e,
@@ -37880,8 +37880,8 @@ var fge = class extends m_ {
...e,
ref: t
});
-}), hj = /*#__PURE__*/ Lv(mj, (e, t, n) => {
- let r = (0, b.useContext)(cj), { isVirtualized: i } = (0, b.useContext)(iA), a = r.collection, { CollectionBranch: o } = (0, b.useContext)(iA), { dragAndDropHooks: s, dropState: c } = (0, b.useContext)(fA), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), gj = /*#__PURE__*/ Lv(hj, (e, t, n) => {
+ let r = (0, b.useContext)(lj), { isVirtualized: i } = (0, b.useContext)(iA), a = r.collection, { CollectionBranch: o } = (0, b.useContext)(iA), { dragAndDropHooks: s, dropState: c } = (0, b.useContext)(fA), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
}, p = Yk({
@@ -37893,22 +37893,22 @@ var fge = class extends m_ {
}), m, h = a.columnCount;
if (d && e.renderEmptyState && r) {
let t = {}, n = {}, r = {};
- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ b.createElement(_j, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ b.createElement(vj, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ b.createElement(yj, {
+ }, /*#__PURE__*/ b.createElement(bj, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
let { rowGroupProps: g } = Bw(), _ = uy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(hge, {
+ return /*#__PURE__*/ b.createElement(mge, {
...W(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ b.createElement(Cge, null), /*#__PURE__*/ b.createElement(o, {
+ }, l && /*#__PURE__*/ b.createElement(Sge, null), /*#__PURE__*/ b.createElement(o, {
collection: a,
parent: n,
renderDropIndicator: mA(s, c)
@@ -37919,7 +37919,7 @@ var fge = class extends m_ {
this.type = "tablefooter";
}
});
-var gj = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), gge = class extends m_ {
+var _j = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), hge = class extends m_ {
static {
this.type = "item";
}
@@ -37931,7 +37931,7 @@ var gj = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), gg
}
return null;
}
-}, _j = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+}, vj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, b.useContext)(iA);
return n ? /*#__PURE__*/ b.createElement(eA.div, {
...e,
@@ -37940,8 +37940,8 @@ var gj = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), gg
...e,
ref: t
});
-}), vj = /*#__PURE__*/ Lv(gge, (e, t, n) => {
- let r = Dv(t), i = (0, b.useContext)(cj), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(fA), { isVirtualized: c, CollectionBranch: l } = (0, b.useContext)(iA), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = cse({
+}), yj = /*#__PURE__*/ Lv(hge, (e, t, n) => {
+ let r = Dv(t), i = (0, b.useContext)(lj), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(fA), { isVirtualized: c, CollectionBranch: l } = (0, b.useContext)(iA), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = cse({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
@@ -37987,10 +37987,10 @@ var gj = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), gg
level: n.level + 1
}
}), P = uy(e, { global: !0 });
- return delete P.id, delete P.onClick, /*#__PURE__*/ b.createElement(b.Fragment, null, w && !w.isHidden && /*#__PURE__*/ b.createElement(_j, {
+ return delete P.id, delete P.onClick, /*#__PURE__*/ b.createElement(b.Fragment, null, w && !w.isHidden && /*#__PURE__*/ b.createElement(vj, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ b.createElement(yj, {
+ }, /*#__PURE__*/ b.createElement(bj, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -37999,7 +37999,7 @@ var gj = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), gg
...E,
...w.dropIndicatorProps,
ref: T
- }))), /*#__PURE__*/ b.createElement(_j, {
+ }))), /*#__PURE__*/ b.createElement(vj, {
...W(P, N, d, g, y, C?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -38034,7 +38034,7 @@ var gj = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), gg
}
} }],
[gA, { isSelected: p.isSelected }],
- [gj, { isFocusVisibleWithinRow: _ }]
+ [_j, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ b.createElement(l, {
collection: i.collection,
parent: n
@@ -38047,11 +38047,11 @@ var gj = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), gg
items: e.columns,
idScope: e.id
}, e.children);
-}), _ge = class extends m_ {
+}), gge = class extends m_ {
static {
this.type = "cell";
}
-}, yj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+}, bj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, b.useContext)(iA);
return n ? /*#__PURE__*/ b.createElement(eA.div, {
...e,
@@ -38060,8 +38060,8 @@ var gj = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), gg
...e,
ref: t
});
-}), bj = /*#__PURE__*/ Iv(_ge, (e, t, n) => {
- let r = Dv(t), i = (0, b.useContext)(cj), { dragState: a } = (0, b.useContext)(fA), { isVirtualized: o } = (0, b.useContext)(iA);
+}), xj = /*#__PURE__*/ Iv(gge, (e, t, n) => {
+ let r = Dv(t), i = (0, b.useContext)(lj), { dragState: a } = (0, b.useContext)(fA), { isVirtualized: o } = (0, b.useContext)(iA);
n.column = i.collection.columns[n.index];
let { gridCellProps: s, isPressed: c } = nse({
node: n,
@@ -38069,7 +38069,7 @@ var gj = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), gg
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = Hx(), { hoverProps: f, isHovered: p } = Kx({}), { isFocusVisibleWithinRow: m } = (0, b.useContext)(gj), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), x = i.selectionManager.isDisabled(n.parentKey), S = Yk({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = Hx(), { hoverProps: f, isHovered: p } = Kx({}), { isFocusVisibleWithinRow: m } = (0, b.useContext)(_j), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), x = i.selectionManager.isDisabled(n.parentKey), S = Yk({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -38089,7 +38089,7 @@ var gj = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), gg
isTreeColumn: n.column.key === i.treeColumn
}
}), C = uy(e, { global: !0 });
- return delete C.id, /*#__PURE__*/ b.createElement(yj, {
+ return delete C.id, /*#__PURE__*/ b.createElement(bj, {
...W(C, S, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -38105,12 +38105,12 @@ var gj = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), gg
"data-disabled": x || void 0
}, /*#__PURE__*/ b.createElement(iA.Provider, { value: rA }, S.children));
});
-function vge(e, t) {
+function _ge(e, t) {
t = Dv(t);
let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(fA), i = (0, b.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
if (o) return null;
let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;
- return /*#__PURE__*/ b.createElement(Sge, {
+ return /*#__PURE__*/ b.createElement(xge, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -38119,7 +38119,7 @@ function vge(e, t) {
ref: t
});
}
-var yge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+var vge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, b.useContext)(iA);
return n ? /*#__PURE__*/ b.createElement(eA.div, {
...e,
@@ -38128,7 +38128,7 @@ var yge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
...e,
ref: t
});
-}), bge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+}), yge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, b.useContext)(iA);
return n ? /*#__PURE__*/ b.createElement(eA.div, {
...e,
@@ -38138,21 +38138,21 @@ var yge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
ref: t
});
});
-function xge(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, b.useContext)(cj), { visuallyHiddenProps: c } = Tb(), l = Yk({
+function bge(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, b.useContext)(lj), { visuallyHiddenProps: c } = Tb(), l = Yk({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ b.createElement(yge, {
+ return /*#__PURE__*/ b.createElement(vge, {
...uy(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ b.createElement(bge, {
+ }, /*#__PURE__*/ b.createElement(yge, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -38163,14 +38163,14 @@ function xge(e, t) {
ref: i
}), l.children));
}
-var Sge = /*#__PURE__*/ (0, b.forwardRef)(xge);
-function Cge() {
- let e = (0, b.useContext)(cj), { dragAndDropHooks: t, dropState: n } = (0, b.useContext)(fA), r = (0, b.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Tb();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ b.createElement(_j, {
+var xge = /*#__PURE__*/ (0, b.forwardRef)(bge);
+function Sge() {
+ let e = (0, b.useContext)(lj), { dragAndDropHooks: t, dropState: n } = (0, b.useContext)(fA), r = (0, b.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Tb();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ b.createElement(vj, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ b.createElement(yj, {
+ }, /*#__PURE__*/ b.createElement(bj, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -38182,7 +38182,7 @@ function Cge() {
})));
}
Iv(g_, function(e, t, n) {
- let r = (0, b.useContext)(cj), { isVirtualized: i } = (0, b.useContext)(iA), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, b.useRef)(null);
+ let r = (0, b.useContext)(lj), { isVirtualized: i } = (0, b.useContext)(iA), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, b.useRef)(null);
TA((0, b.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
@@ -38201,10 +38201,10 @@ Iv(g_, function(e, t, n) {
defaultStyle: { "--table-row-level": n.level + 1 },
values: void 0
}), f = {}, p = {}, m = {};
- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(_j, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(vj, {
style: { height: 0 },
inert: vA(!0)
- }, /*#__PURE__*/ b.createElement(yj, { style: {
+ }, /*#__PURE__*/ b.createElement(bj, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ b.createElement("div", {
@@ -38215,14 +38215,14 @@ Iv(g_, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ b.createElement(_j, {
+ }))), a && d.children && /*#__PURE__*/ b.createElement(vj, {
...W(uy(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ b.createElement(yj, {
+ }, /*#__PURE__*/ b.createElement(bj, {
role: "rowheader",
...p,
style: m
@@ -38230,7 +38230,7 @@ Iv(g_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function wge(e) {
+function Cge(e) {
let [t, n] = xb(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, b.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = wA({
...e,
selectionMode: "single",
@@ -38254,24 +38254,24 @@ function wge(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function Tge(e) {
- let t = wge({
+function wge(e) {
+ let t = Cge({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? xj(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? Sj(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, b.useRef)(i);
return (0, b.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = xj(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = Sj(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
}), {
...t,
isDisabled: e.isDisabled || !1
};
}
-function xj(e, t) {
+function Sj(e, t) {
let n = null;
if (e) {
for (n = e.getFirstKey(); n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n !== e.getLastKey();) n = e.getKeyAfter(n);
@@ -38281,20 +38281,20 @@ function xj(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var Sj = /*#__PURE__*/ (0, b.createContext)(null), Cj = /*#__PURE__*/ (0, b.createContext)(null), wj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = Zk(e, t, Sj);
+var Cj = /*#__PURE__*/ (0, b.createContext)(null), wj = /*#__PURE__*/ (0, b.createContext)(null), Tj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = Zk(e, t, Cj);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, b.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ b.createElement(Pv, { content: n }, (n) => /*#__PURE__*/ b.createElement(Ege, {
+ }) : n, [n, r]), /*#__PURE__*/ b.createElement(Pv, { content: n }, (n) => /*#__PURE__*/ b.createElement(Tge, {
props: e,
collection: n,
tabsRef: t
}));
});
-function Ege({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = Tge({
+function Tge({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = wge({
...e,
collection: n,
children: void 0
@@ -38319,16 +38319,16 @@ function Ege({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ b.createElement(Jk, { values: [[Sj, e], [Cj, i]] }, l.children));
+ }, /*#__PURE__*/ b.createElement(Jk, { values: [[Cj, e], [wj, i]] }, l.children));
}
-var Tj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- return (0, b.useContext)(Cj) ? /*#__PURE__*/ b.createElement(Dge, {
+var Ej = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ return (0, b.useContext)(wj) ? /*#__PURE__*/ b.createElement(Ege, {
props: e,
forwardedRef: t
}) : /*#__PURE__*/ b.createElement(Rv, e);
});
-function Dge({ props: e, forwardedRef: t }) {
- let n = (0, b.useContext)(Cj), { CollectionRoot: r } = (0, b.useContext)(iA), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Xk(Sj), o = Dv(t), { tabListProps: s } = hse({
+function Ege({ props: e, forwardedRef: t }) {
+ let n = (0, b.useContext)(wj), { CollectionRoot: r } = (0, b.useContext)(iA), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Xk(Cj), o = Dv(t), { tabListProps: s } = hse({
...e,
orientation: i,
keyboardActivation: a
@@ -38350,12 +38350,12 @@ function Dge({ props: e, forwardedRef: t }) {
persistedKeys: Gpe(n.selectionManager.focusedKey)
})));
}
-var Ej = /*#__PURE__*/ Iv(class extends m_ {
+var Dj = /*#__PURE__*/ Iv(class extends m_ {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, b.useContext)(Cj), i = Dv(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = pse({
+ let r = (0, b.useContext)(wj), i = Dv(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = pse({
key: n.key,
...e
}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = Hx(), { hoverProps: f, isHovered: p } = Kx({
@@ -38387,19 +38387,19 @@ var Ej = /*#__PURE__*/ Iv(class extends m_ {
"data-pressed": c || void 0,
"data-hovered": p || void 0
}, /*#__PURE__*/ b.createElement(gA.Provider, { value: { isSelected: o } }, m.children));
-}), Dj = /*#__PURE__*/ Mv(function(e, t) {
- let n = (0, b.useContext)(Cj), r = Dv(t), i = n.selectedKey === e.id, [a, o] = (0, b.useState)(n.selectedKey == null ? null : i);
+}), Oj = /*#__PURE__*/ Mv(function(e, t) {
+ let n = (0, b.useContext)(wj), r = Dv(t), i = n.selectedKey === e.id, [a, o] = (0, b.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
let s = AA(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ b.createElement(Oge, {
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ b.createElement(Dge, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function Oge(e) {
- let t = (0, b.useContext)(Cj), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = gse(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = Hx(), d = t.selectedKey === e.id, f = kA(r) && !i, p = Yk({
+function Dge(e) {
+ let t = (0, b.useContext)(wj), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = gse(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = Hx(), d = t.selectedKey === e.id, f = kA(r) && !i, p = Yk({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
@@ -38422,12 +38422,12 @@ function Oge(e) {
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ b.createElement(Jk, { values: [[Sj, null], [Cj, null]] }, /*#__PURE__*/ b.createElement(iA.Provider, { value: rA }, p.children)));
+ }, /*#__PURE__*/ b.createElement(Jk, { values: [[Cj, null], [wj, null]] }, /*#__PURE__*/ b.createElement(iA.Provider, { value: rA }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var kge = /*#__PURE__*/ (0, b.createContext)({}), Age = /*#__PURE__*/ (0, b.createContext)(null), jge = /*#__PURE__*/ Mv(function(e, t) {
- [e, t] = Zk(e, t, Age);
+var Oge = /*#__PURE__*/ (0, b.createContext)({}), kge = /*#__PURE__*/ (0, b.createContext)(null), Age = /*#__PURE__*/ Mv(function(e, t) {
+ [e, t] = Zk(e, t, kge);
let { validationBehavior: n } = Xk(uA) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useRef)(null);
[e, i] = Zk(e, i, nA);
let [a, o] = Qk(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, b.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Uae({
@@ -38465,7 +38465,7 @@ var kge = /*#__PURE__*/ (0, b.createContext)({}), Age = /*#__PURE__*/ (0, b.crea
...u,
ref: m
}],
- [kge, {
+ [Oge, {
...u,
ref: m
}],
@@ -38483,7 +38483,7 @@ var kge = /*#__PURE__*/ (0, b.createContext)({}), Age = /*#__PURE__*/ (0, b.crea
});
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function Mge({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+function jge({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
return /* @__PURE__ */ (0, x.jsxs)(Kpe, {
"data-label": "true",
...a,
@@ -38504,7 +38504,7 @@ function Mge({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function Nge({ isInvalid: e = !1, className: t, ...n }) {
+function Mge({ isInvalid: e = !1, className: t, ...n }) {
return /* @__PURE__ */ (0, x.jsx)(Qpe, {
slot: e ? "errorMessage" : "description",
...n,
@@ -38513,15 +38513,15 @@ function Nge({ isInvalid: e = !1, className: t, ...n }) {
}
//#endregion
//#region src/react/boardui/components/base/input/input.tsx
-var Oj = (0, b.createContext)({});
-function kj({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, x.jsx)(Oj.Provider, {
+var kj = (0, b.createContext)({});
+function Aj({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, x.jsx)(kj.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, x.jsx)(jge, {
+ children: /* @__PURE__ */ (0, x.jsx)(Age, {
...a,
"data-input-size": e,
className: nk("group flex h-max w-full flex-col items-start gap-1", r),
@@ -38529,8 +38529,8 @@ function kj({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
})
});
}
-kj.displayName = "TextField";
-var Aj = rk({
+Aj.displayName = "TextField";
+var jj = rk({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -38559,44 +38559,44 @@ var Aj = rk({
].join(" "),
icon: "size-5 shrink-0"
});
-function jj({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, b.useContext)(Oj), u = e ?? l.size ?? "medium", d = r != null;
+function Mj({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, b.useContext)(kj), u = e ?? l.size ?? "medium", d = r != null;
return /* @__PURE__ */ (0, x.jsx)(ome, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => nk(Aj.field, d ? Aj.fieldWithAddonSize[u] : Aj.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),
+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => nk(jj.field, d ? jj.fieldWithAddonSize[u] : jj.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),
children: /* @__PURE__ */ (0, x.jsxs)("div", {
- className: Aj.content,
+ className: jj.content,
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
- className: Aj.leftSection,
+ className: jj.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, x.jsx)(t, {
- className: Aj.icon,
+ className: jj.icon,
"aria-hidden": !0
}) : null, /* @__PURE__ */ (0, x.jsx)(lme, {
ref: o,
...c,
- className: nk(Aj.input, l.inputClassName, a)
+ className: nk(jj.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, x.jsx)(n, {
- className: Aj.icon,
+ className: jj.icon,
"aria-hidden": !0
}) : null]
})
});
}
-jj.displayName = "InputBase";
-function Mj({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
- return /* @__PURE__ */ (0, x.jsx)(kj, {
+Mj.displayName = "InputBase";
+function Nj({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
+ return /* @__PURE__ */ (0, x.jsx)(Aj, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- e && /* @__PURE__ */ (0, x.jsx)(Mge, {
+ e && /* @__PURE__ */ (0, x.jsx)(jge, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, x.jsx)(jj, {
+ /* @__PURE__ */ (0, x.jsx)(Mj, {
ref: c,
groupRef: l,
placeholder: r,
@@ -38605,34 +38605,34 @@ function Mj({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, x.jsx)(Nge, {
+ t && /* @__PURE__ */ (0, x.jsx)(Mge, {
isInvalid: d,
children: t
})
] })
});
}
-Mj.displayName = "Input";
+Nj.displayName = "Input";
//#endregion
//#region src/react/components/modal-frame.tsx
-var Pge = {
+var Nge = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal"
};
-function Nj({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+function Pj({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
let { isFocusVisible: a } = Qre();
- return /* @__PURE__ */ (0, x.jsx)(KA, {
+ return /* @__PURE__ */ (0, x.jsx)(qA, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
"data-modal-motion": "",
"data-motion-instant": a || void 0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, x.jsx)(khe, {
+ children: /* @__PURE__ */ (0, x.jsx)(Ohe, {
"data-modal-surface": "",
- className: `flex max-h-full w-full ${Pge[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, x.jsx)(HA, {
+ className: `flex max-h-full w-full ${Nge[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, x.jsx)(UA, {
"aria-label": r,
className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",
children: i
@@ -38640,7 +38640,7 @@ function Nj({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function Pj({ children: e }) {
+function Fj({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",
@@ -38649,11 +38649,11 @@ function Pj({ children: e }) {
}
//#endregion
//#region src/react/components/sprite-glyph.tsx
-var Fge = { "text-aa": 1.435 }, Fj = /* @__PURE__ */ new Map();
-function Ij(e) {
- let t = Fj.get(e);
+var Pge = { "text-aa": 1.435 }, Ij = /* @__PURE__ */ new Map();
+function Lj(e) {
+ let t = Ij.get(e);
if (t) return t;
- let n = Fge[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, x.jsx)("svg", {
+ let n = Pge[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,
className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,
@@ -38667,58 +38667,58 @@ function Ij(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
- return r.displayName = `SpriteGlyph(${e})`, Fj.set(e, r), r;
+ return r.displayName = `SpriteGlyph(${e})`, Ij.set(e, r), r;
}
//#endregion
//#region src/react/library-shortcuts/library-shortcuts.ts
-var Lj = ["library-shortcuts"], Rj = "/api/library-shortcuts";
-function zj(e = !0) {
+var Rj = ["library-shortcuts"], zj = "/api/library-shortcuts";
+function Bj(e = !0) {
return dt({
- queryKey: Lj,
- queryFn: ({ signal: e }) => B(Rj, e),
+ queryKey: Rj,
+ queryFn: ({ signal: e }) => B(zj, e),
enabled: e,
refetchOnMount: e ? "always" : !1
});
}
-function Bj() {
+function Vj() {
return ft({
- mutationKey: Lj,
- mutationFn: (e) => V(Rj, e),
+ mutationKey: Rj,
+ mutationFn: (e) => V(zj, e),
onSuccess: (e) => {
- H.setQueryData(Lj, e);
+ H.setQueryData(Rj, e);
}
});
}
-function Vj(e, t) {
+function Hj(e, t) {
return e.some((e) => t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name);
}
-function Ige(e) {
+function Fge(e) {
return e.kind === "tag" ? "/?tag=" + encodeURIComponent(e.name) : Dt(e.kind, e.name);
}
//#endregion
//#region src/react/library-shortcuts/shortcut-controls.tsx
-var Hj = Ij("star"), Lge = {
+var Uj = Lj("star"), Ige = {
performer: "艺人",
creator: "创作者",
- studio: "厂牌",
+ studio: "片商与厂牌",
series: "系列",
agency: "事务所",
tag: "标签"
};
-function Uj({ item: e }) {
- return /* @__PURE__ */ (0, x.jsx)(Rge, { item: e }, `${e.kind}:${e.entity_id}:${e.name}`);
+function Wj({ item: e }) {
+ return /* @__PURE__ */ (0, x.jsx)(Lge, { item: e }, `${e.kind}:${e.entity_id}:${e.name}`);
}
-function Rge({ item: e }) {
- let t = zj(!1), n = (0, b.useRef)(t.data), r = Bj(), i = t.data && t.data !== n.current ? Vj(t.data.favorites || [], e) : e.favorite ?? (t.data ? Vj(t.data.favorites || [], e) : !1);
+function Lge({ item: e }) {
+ let t = Bj(!1), n = (0, b.useRef)(t.data), r = Vj(), i = t.data && t.data !== n.current ? Hj(t.data.favorites || [], e) : e.favorite ?? (t.data ? Hj(t.data.favorites || [], e) : !1);
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex min-w-0 flex-col gap-1",
children: [
- /* @__PURE__ */ (0, x.jsx)(G, {
- variant: "secondary",
- size: "small",
- leadingIcon: Hj,
- "aria-pressed": i,
+ /* @__PURE__ */ (0, x.jsx)("button", {
+ type: "button",
+ "data-favorite": "",
+ "aria-pressed": !!i,
"aria-label": `${i ? "取消收藏" : "收藏"}${e.name}`,
+ title: `${i ? "取消收藏" : "收藏"}${e.name}`,
...q(r.isPending),
onClick: () => {
r.isPending || r.mutate({
@@ -38727,7 +38727,10 @@ function Rge({ item: e }) {
on: !i
});
},
- children: i ? "已收藏" : "收藏"
+ children: r.isPending ? /* @__PURE__ */ (0, x.jsx)("span", {
+ "aria-hidden": !0,
+ dangerouslySetInnerHTML: { __html: $a("") }
+ }) : /* @__PURE__ */ (0, x.jsx)(Uj, {})
}),
r.isError ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -38742,28 +38745,28 @@ function Rge({ item: e }) {
]
});
}
-function Wj({ currentHref: e, kind: t }) {
+function Gj({ currentHref: e, kind: t }) {
let [n, r] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: Hj,
+ "data-shortcuts-trigger": "",
onClick: () => r(!0),
- children: "收藏与筛选"
- }), /* @__PURE__ */ (0, x.jsx)(Nj, {
+ children: "我的收藏"
+ }), /* @__PURE__ */ (0, x.jsx)(Pj, {
isOpen: n,
onOpenChange: r,
width: "form",
- label: "收藏与筛选",
- children: n ? /* @__PURE__ */ (0, x.jsx)(zge, {
+ label: "我的收藏",
+ children: n ? /* @__PURE__ */ (0, x.jsx)(Rge, {
currentHref: e,
kind: t,
close: () => r(!1)
}) : null
})] });
}
-function zge({ currentHref: e, kind: t, close: n }) {
- let r = zj(), i = Bj(), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(t || "all"), [l, u] = (0, b.useState)(""), d = (t) => {
+function Rge({ currentHref: e, kind: t, close: n }) {
+ let r = Bj(), i = Vj(), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(t || "all"), [l, u] = (0, b.useState)(""), d = (t) => {
t.preventDefault(), e && a.trim() && !i.isPending && i.mutate({
action: "save_filter",
name: a.trim(),
@@ -38778,7 +38781,7 @@ function zge({ currentHref: e, kind: t, close: n }) {
className: "flex shrink-0 items-center justify-between gap-3 border-b border-separator-border p-5",
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
className: "text-title-2-semibold text-text-primary",
- children: "收藏与筛选"
+ children: "我的收藏"
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
@@ -38788,6 +38791,23 @@ function zge({ currentHref: e, kind: t, close: n }) {
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-h-0 flex-col gap-4 overflow-y-auto overscroll-contain p-5",
children: [
+ /* @__PURE__ */ (0, x.jsxs)("nav", {
+ "aria-label": "收藏作品清单",
+ className: "flex flex-wrap gap-2",
+ children: [/* @__PURE__ */ (0, x.jsx)(sk, {
+ variant: "secondary",
+ size: "small",
+ href: "/flagged",
+ onClick: n,
+ children: "已标记"
+ }), /* @__PURE__ */ (0, x.jsx)(sk, {
+ variant: "secondary",
+ size: "small",
+ href: "/watch-later",
+ onClick: n,
+ children: "稍后看"
+ })]
+ }),
r.isPending ? /* @__PURE__ */ (0, x.jsx)("div", {
"aria-busy": "true",
"data-skeleton": "",
@@ -38809,13 +38829,13 @@ function zge({ currentHref: e, kind: t, close: n }) {
f ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("h3", {
className: "text-body-medium text-text-primary",
- children: "收藏"
+ children: "实体收藏"
}),
/* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-wrap gap-2",
role: "group",
"aria-label": "收藏类型",
- children: [["all", "全部"], ...Object.entries(Lge)].map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(G, {
+ children: [["all", "全部"], ...Object.entries(Ige)].map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
"aria-pressed": s === e,
@@ -38825,14 +38845,14 @@ function zge({ currentHref: e, kind: t, close: n }) {
}),
p.length ? null : /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
- icon: Hj,
+ icon: Uj,
title: "还没有收藏",
children: "在资料页或标签页收藏常用内容。"
}),
p.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("a", {
- href: Ige(e),
+ href: Fge(e),
className: "min-w-0 flex-1 break-all text-body-regular text-text-primary underline",
children: e.name
}), /* @__PURE__ */ (0, x.jsx)(G, {
@@ -38856,20 +38876,18 @@ function zge({ currentHref: e, kind: t, close: n }) {
}),
f.filters.length ? null : /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
- icon: Ij("filter"),
+ icon: Lj("filter"),
title: "还没有保存的筛选",
children: "在馆藏页保存当前条件,随时打开。"
}),
f.filters.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center justify-between gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)("span", {
- className: "min-w-0 flex-1 overflow-hidden",
- children: /* @__PURE__ */ (0, x.jsx)(sk, {
- variant: "secondary",
- href: e.href,
- title: e.name,
- children: e.name
- })
+ children: [/* @__PURE__ */ (0, x.jsx)("a", {
+ href: e.href,
+ title: e.name,
+ onClick: n,
+ className: "min-w-0 flex-1 break-all text-body-regular text-text-primary underline",
+ children: e.name
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
@@ -38889,7 +38907,7 @@ function zge({ currentHref: e, kind: t, close: n }) {
className: "flex flex-col gap-3",
"aria-label": "保存当前筛选",
children: [
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "筛选名称",
value: a,
onChange: o,
@@ -38915,7 +38933,7 @@ function zge({ currentHref: e, kind: t, close: n }) {
}
//#endregion
//#region src/react/components/use-moving-surface.ts
-var Bge = {
+var zge = {
selection: {
type: dd,
duration: .16,
@@ -38927,7 +38945,7 @@ var Bge = {
bounce: 0
}
};
-function Gj(e) {
+function Kj(e) {
let [t, n] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
if (!t) return;
@@ -38948,7 +38966,7 @@ function Gj(e) {
let E = `translate(${b}px, ${x}px) scale(1, 1)`;
if (u && a && !r.matches && T && s !== h) {
let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;
- l = nre(n, { transform: [r, E] }, Bge[e]);
+ l = nre(n, { transform: [r, E] }, zge[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -38985,118 +39003,118 @@ function Gj(e) {
}
//#endregion
//#region src/react/components/segmented.tsx
-function Kj(e) {
- let t = Gj("selection");
- return /* @__PURE__ */ (0, x.jsx)(Tj, {
+function qj(e) {
+ let t = Kj("selection");
+ return /* @__PURE__ */ (0, x.jsx)(Ej, {
...e,
ref: t
});
}
-function qj(e) {
- let t = Gj("selection");
- return /* @__PURE__ */ (0, x.jsx)(YA, {
+function Jj(e) {
+ let t = Kj("selection");
+ return /* @__PURE__ */ (0, x.jsx)(XA, {
...e,
ref: t
});
}
-var Jj = "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", Yj = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Vge = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Xj = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", Zj = "relative flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", Qj = (e) => typeof e == "string" ? e : "", $j = (e) => e.aliases;
-function eM(e, t = "") {
+var Yj = "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", Xj = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Bge = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Zj = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", Qj = "relative flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", $j = (e) => typeof e == "string" ? e : "", eM = (e) => e.aliases;
+function tM(e, t = "") {
let n = Rr(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${R(t)}"${t ? ` title="${R(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-function tM(e, t = "") {
+function nM(e, t = "") {
let n = R($n(t || e)), r = Rr(e);
return r ? `<img data-follow-site-icon="" src="${r}" alt="" loading="lazy" data-drop="initial" data-initial="${n}" data-drop-class="follow-site-initial">` : `<span class="follow-site-initial" aria-hidden="true">${n}</span>`;
}
-var nM = (e) => Qj(e.title).trim() || "未命名内容", rM = (e, t) => Qn(e, $j(t));
-function iM(e) {
+var rM = (e) => $j(e.title).trim() || "未命名内容", iM = (e, t) => Qn(e, eM(t));
+function aM(e) {
let t = e.filter((e) => e.entity_id && e.entity_name);
- return new Set(t.map((e) => e.entity_id)).size === 1 ? Qj(t[0]?.entity_name) : "";
+ return new Set(t.map((e) => e.entity_id)).size === 1 ? $j(t[0]?.entity_name) : "";
}
-function aM(e, t) {
+function oM(e, t) {
let { src: n, fallback: r } = er(e), i = $n(t);
if (!n) return `<span class="favatar none" title="没有可用头像">${R(i)}</span>`;
let a = r ? ` data-fallbacks="${R(r)}"` : "";
return `<img class="favatar" src="${R(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${R(i)}" data-drop-class="favatar none">`;
}
-function oM(e, t, n) {
- let r = $j(n), i = e.credit, a = i?.poster;
+function sM(e, t, n) {
+ let r = eM(n), i = e.credit, a = i?.poster;
if (!a) {
let n = Qn(t, r);
return {
- author: n || Qj(e.author) || Qj(e.source_label) || "创作者未取得",
- avatar: aM(t, n),
+ author: n || $j(e.author) || $j(e.source_label) || "创作者未取得",
+ avatar: oM(t, n),
credited: "",
- entityName: iM(t)
+ entityName: aM(t)
};
}
let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && Qn(c, r) || a;
return {
author: l,
- avatar: aM(c, l),
+ avatar: oM(c, l),
credited: i.credited || "",
- entityName: iM(c)
+ entityName: aM(c)
};
}
-function sM(e, t = e.primary) {
+function cM(e, t = e.primary) {
let n = [], r = (e, t) => `<small class="javedition" data-follow-edition="${e}">${t}</small>`;
e.primary.variant_kind === "wip" ? n.push(r("wip", "WIP")) : e.has_wip && n.push(r("has-wip", "含 WIP"));
- let i = Qj(e.primary.version);
+ let i = $j(e.primary.version);
i && n.push(r("version", R(i)));
- let a = Qj(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = $j(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function cM(e, t = e.primary) {
+function lM(e, t = e.primary) {
let n = new Map([
e.primary,
...e.variants,
...e.duplicates
].filter((e) => e.provider !== t.provider).map((e) => [e.provider, e.provider_label || e.provider]));
if (!n.size) return "";
- let r = [...n].map(([e, t]) => eM(e, t) || `<span>${R(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => tM(e, t) || `<span>${R(t)}</span>`).join("");
return `<span data-follow-seealso="" title="另见 ${R([...n.values()].join("、"))}">另见 ${r}</span>`;
}
-function lM(e, t) {
- let n = Qj(e.media_error);
+function uM(e, t) {
+ let n = $j(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var Hge = 864e5, Uge = (e, t) => {
+var Vge = 864e5, Hge = (e, t) => {
let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();
- return Number.isFinite(n) && n - t > Hge;
+ return Number.isFinite(n) && n - t > Vge;
};
-function uM(e, t) {
- let n = Qj(e.published_at);
+function dM(e, t) {
+ let n = $j(e.published_at);
if (!n) return null;
let r = e.published_precision === "approximate", i = hn(n);
return {
prefix: r ? "约 " : "",
full: r ? i.slice(0, 10) : i,
- suffix: Uge(n, t) ? " · 晚于现在" : ""
+ suffix: Hge(n, t) ? " · 晚于现在" : ""
};
}
-function dM(e, t = Date.now()) {
- let n = uM(e, t);
+function fM(e, t = Date.now()) {
+ let n = dM(e, t);
return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";
}
-function Wge(e, t = Date.now()) {
- let n = uM(e, t);
+function Uge(e, t = Date.now()) {
+ let n = dM(e, t);
if (!n) return "时间未取得";
if (!/^\d{4}-/.test(n.full)) return `${n.prefix}${n.full}${n.suffix}`;
let r = n.full.startsWith(String(new Date(t).getFullYear())) ? n.full.slice(5, 10) : n.full.slice(0, 10);
return `${n.prefix}${r}${n.suffix}`;
}
-var fM = /* @__PURE__ */ new Set(), pM = [], mM = null;
-function hM() {
- if (mM = null, !pM.length) return;
- let e = pM.splice(0, 200);
+var pM = /* @__PURE__ */ new Set(), mM = [], hM = null;
+function gM() {
+ if (hM = null, !mM.length) return;
+ let e = mM.splice(0, 200);
vt("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), pM.length && (mM = setTimeout(hM, 800));
+ }).catch(() => {}), mM.length && (hM = setTimeout(gM, 800));
}
-function Gge(e, t, n, r) {
+function Wge(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- fM.has(i) || (fM.add(i), pM.push(t === null ? {
+ pM.has(i) || (pM.add(i), mM.push(t === null ? {
item: e,
width: n,
height: r
@@ -39105,22 +39123,22 @@ function Gge(e, t, n, r) {
width: n,
height: r,
media: t
- }), mM ||= setTimeout(hM, 800));
+ }), hM ||= setTimeout(gM, 800));
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var Kge = (e) => e === "videos", gM = () => /* @__PURE__ */ (0, x.jsx)("span", {
+var Gge = (e) => e === "videos", _M = () => /* @__PURE__ */ (0, x.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
-function qge(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Kge(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
+function Kge(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Gge(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
k: e,
label: t
})) : i, m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (0, b.useRef)(null), _ = (0, b.useRef)(null), v = (0, b.useRef)(null), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = Kk(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = Kk(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), T = (0, b.useRef)(null), E = (0, b.useRef)(null), D = u?.mediaCounts ? u : null, O = Kk(T, E, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!D}`);
return (0, b.useEffect)(() => {
c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(S.current);
- }, [c]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(_M, {
+ }, [c]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(vM, {
items: o,
hidden: !l,
actions: s
@@ -39153,19 +39171,19 @@ function qge(e) {
})
] }),
top: !n && !d ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Zge, {
+ n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Xge, {
keys: n,
view: t,
row: _,
glide: w,
onView: s.setView
- }), d ? /* @__PURE__ */ (0, x.jsx)(gM, {}) : null] }) : null,
- D ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Yge, {
+ }), d ? /* @__PURE__ */ (0, x.jsx)(_M, {}) : null] }) : null,
+ D ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Jge, {
head: D,
row: E,
glide: O,
onMedia: s.onlineMedia
- }), /* @__PURE__ */ (0, x.jsx)(gM, {})] }) : null,
+ }), /* @__PURE__ */ (0, x.jsx)(_M, {})] }) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
ref: v,
"data-entity-scroll": "",
@@ -39186,7 +39204,7 @@ function qge(e) {
f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));
},
children: e.label
- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, x.jsx)(gM, {}) : null]
+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, x.jsx)(_M, {}) : null]
}), /* @__PURE__ */ (0, x.jsx)("div", {
ref: y,
"data-entity-tags": "",
@@ -39199,17 +39217,17 @@ function qge(e) {
"data-count-badge": e.k,
children: e.n.toLocaleString()
})]
- }, e.k)) : u ? /* @__PURE__ */ (0, x.jsx)(Xge, {
+ }, e.k)) : u ? /* @__PURE__ */ (0, x.jsx)(Yge, {
head: u,
actions: s
}) : null
})]
})
] }),
- bottom: /* @__PURE__ */ (0, x.jsx)(Qge, { ...e })
+ bottom: /* @__PURE__ */ (0, x.jsx)(Zge, { ...e })
})] });
}
-var Jge = [[
+var qge = [[
"videos",
"视频",
"play",
@@ -39220,7 +39238,7 @@ var Jge = [[
"pics",
"image"
]];
-function Yge({ head: e, row: t, glide: n, onMedia: r }) {
+function Jge({ head: e, row: t, glide: n, onMedia: r }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
ref: t,
role: "group",
@@ -39228,7 +39246,7 @@ function Yge({ head: e, row: t, glide: n, onMedia: r }) {
"data-entity-media": "",
"data-online-media": "",
onPointerLeave: n.leave,
- children: Jge.map(([t, i, a, o]) => {
+ children: qge.map(([t, i, a, o]) => {
let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -39246,7 +39264,7 @@ function Yge({ head: e, row: t, glide: n, onMedia: r }) {
})
});
}
-function Xge({ head: e, actions: t }) {
+function Yge({ head: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
e.providers.map(([n, r]) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -39256,9 +39274,9 @@ function Xge({ head: e, actions: t }) {
title: r,
"aria-label": `来源:${r}`,
onClick: () => t.onlineProvider(n),
- dangerouslySetInnerHTML: { __html: eM(n) }
+ dangerouslySetInnerHTML: { __html: tM(n) }
}, n)),
- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, x.jsx)(gM, {}) : null,
+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, x.jsx)(_M, {}) : null,
e.tags.map((e) => /* @__PURE__ */ (0, x.jsxs)(Wk, {
"data-follow-tag": e.k,
"data-entity-press": "",
@@ -39272,7 +39290,7 @@ function Xge({ head: e, actions: t }) {
}, e.k))
] });
}
-function Zge({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function Xge({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -39320,7 +39338,7 @@ function Zge({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function _M({ items: e, hidden: t, actions: n }) {
+function vM({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -39340,7 +39358,7 @@ function _M({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function Qge(e) {
+function Zge(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, x.jsxs)("button", {
@@ -39352,26 +39370,26 @@ function Qge(e) {
dangerouslySetInnerHTML: { __html: L("chevron-left") }
}), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, x.jsx)($ge, {
+ /* @__PURE__ */ (0, x.jsx)(Qge, {
text: n,
busy: r
}),
- t === "videos" && i ? /* @__PURE__ */ (0, x.jsx)(e_e, {
+ t === "videos" && i ? /* @__PURE__ */ (0, x.jsx)($ge, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, x.jsx)(n_e, {
+ t === "photos" && a ? /* @__PURE__ */ (0, x.jsx)(t_e, {
head: a,
actions: o,
helpers: s
}) : null,
- t === "online" && e.online ? /* @__PURE__ */ (0, x.jsx)(t_e, {
+ t === "online" && e.online ? /* @__PURE__ */ (0, x.jsx)(e_e, {
head: e.online,
actions: o
}) : null
] });
}
-function $ge({ text: e, busy: t }) {
+function Qge({ text: e, busy: t }) {
return /* @__PURE__ */ (0, x.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, x.jsx)("span", {
@@ -39381,22 +39399,22 @@ function $ge({ text: e, busy: t }) {
}) : e
});
}
-function vM({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, x.jsx)(YA, {
+function yM({ name: e, label: t, value: n, options: r, onChange: i }) {
+ return /* @__PURE__ */ (0, x.jsx)(XA, {
name: e,
"aria-label": t,
orientation: "horizontal",
value: n,
onChange: i,
"data-entity-layout": "",
- className: Xj,
+ className: Zj,
children: r.map(([e, t, n]) => {
- let r = Ij(n);
- return /* @__PURE__ */ (0, x.jsx)(XA, {
+ let r = Lj(n);
+ return /* @__PURE__ */ (0, x.jsx)(ZA, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: Zj,
+ className: Qj,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: t,
className: "contents",
@@ -39406,7 +39424,7 @@ function vM({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function yM({ onPress: e, busy: t = !1 }) {
+function bM({ onPress: e, busy: t = !1 }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-entity-batch": "",
@@ -39420,27 +39438,27 @@ function yM({ onPress: e, busy: t = !1 }) {
dangerouslySetInnerHTML: { __html: t ? $a("正在换一批") : L("shuffle") }
});
}
-function e_e({ head: e, actions: t }) {
+function $ge({ head: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(yM, { onPress: () => void t.reshuffle() }),
- e.jav ? /* @__PURE__ */ (0, x.jsx)(vM, {
+ /* @__PURE__ */ (0, x.jsx)(bM, { onPress: () => void t.reshuffle() }),
+ e.jav ? /* @__PURE__ */ (0, x.jsx)(yM, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, x.jsx)(bM, {
+ /* @__PURE__ */ (0, x.jsx)(xM, {
sorts: e.sorts,
onSort: t.setSort
})
]
});
}
-function bM({ sorts: e, onSort: t }) {
+function xM({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: e.map((e) => {
- let n = Ij(e.dir === "asc" ? "arrow-up" : "arrow-down");
+ let n = Lj(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -39452,12 +39470,12 @@ function bM({ sorts: e, onSort: t }) {
}, e.key);
}) });
}
-function t_e({ head: e, actions: t }) {
+function e_e({ head: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(yM, { onPress: t.onlineShuffle }),
- e.media === "images" ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(vM, {
+ /* @__PURE__ */ (0, x.jsx)(bM, { onPress: t.onlineShuffle }),
+ e.media === "images" ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(yM, {
label: "图片布局",
value: e.photoLayout,
options: e.photoLayouts,
@@ -39477,27 +39495,27 @@ function t_e({ head: e, actions: t }) {
dangerouslySetInnerHTML: { __html: L("captions-off") }
})]
})] }) : null,
- /* @__PURE__ */ (0, x.jsx)(bM, {
+ /* @__PURE__ */ (0, x.jsx)(xM, {
sorts: e.sorts,
onSort: t.onlineSort
})
]
});
}
-function n_e({ head: e, actions: t, helpers: n }) {
+function t_e({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, b.useState)(!1), a = (0, b.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, b.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, x.jsx)(yM, {
+ e.shuffle ? /* @__PURE__ */ (0, x.jsx)(bM, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, x.jsx)(vM, {
+ /* @__PURE__ */ (0, x.jsx)(yM, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -39513,31 +39531,31 @@ function n_e({ head: e, actions: t, helpers: n }) {
}
//#endregion
//#region src/react/catalog-filter/catalog-filter-page.tsx
-var xM = "";
-function r_e(e) {
- let t = !e.tiers, n = u_e(e.comboHost);
+var SM = "";
+function n_e(e) {
+ let t = !e.tiers, n = l_e(e.comboHost);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-catalog-root": "",
"data-loading": t || void 0,
"data-refreshing": e.refreshing || void 0,
className: "contents",
children: [
- n ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(_M, {
+ n ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(vM, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, x.jsx)(o_e, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, x.jsx)(i_e, { ...e })
+ /* @__PURE__ */ (0, x.jsx)(a_e, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, x.jsx)(r_e, { ...e })
]
});
}
-function i_e(e) {
+function r_e(e) {
let { actions: t, helpers: n } = e, r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = Kk(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, b.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let l = !e.tiers, u = CM(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let l = !e.tiers, u = wM(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, b.useLayoutEffect)(() => {
uo(o.current, "tagbar");
}, [u]), /* @__PURE__ */ (0, x.jsx)(Uk, {
@@ -39583,16 +39601,16 @@ function i_e(e) {
}), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || l ? /* @__PURE__ */ (0, x.jsx)(SM, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, x.jsx)(a_e, {
+ children: [e.empty || l ? /* @__PURE__ */ (0, x.jsx)(CM, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, x.jsx)(i_e, {
tag: e,
onPress: t.toggleTag
}, e.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, x.jsx)(c_e, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, x.jsx)(s_e, { ...e })
});
}
-function a_e({ tag: e, onPress: t }) {
+function i_e({ tag: e, onPress: t }) {
return /* @__PURE__ */ (0, x.jsxs)(Wk, {
"data-catalog-tag": e.k,
"data-entity-press": "",
@@ -39604,12 +39622,12 @@ function a_e({ tag: e, onPress: t }) {
})]
});
}
-function o_e(e) {
+function a_e(e) {
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
studios: []
- }, i = e.empty || !e.tiers, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useCallback)((e) => () => t.moreTops(e), [t]), c = CM(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = CM(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
+ }, i = e.empty || !e.tiers, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useCallback)((e) => () => t.moreTops(e), [t]), c = wM(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = wM(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
return (0, b.useEffect)(() => {
n.wireDrag(a.current), n.wireDrag(o.current);
}, [
@@ -39622,7 +39640,7 @@ function o_e(e) {
children: [u ? /* @__PURE__ */ (0, x.jsx)("div", {
ref: a,
"data-catalog-tier": "performers",
- children: i ? /* @__PURE__ */ (0, x.jsx)(SM, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, x.jsx)(CM, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -39639,18 +39657,18 @@ function o_e(e) {
}) : null, d ? /* @__PURE__ */ (0, x.jsx)("div", {
ref: o,
"data-catalog-tier": "studios",
- children: i ? /* @__PURE__ */ (0, x.jsx)(SM, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, x.jsx)(CM, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-tier-studio": "",
"data-entity-kind": "studio",
"data-entity-name": e.name,
onClick: () => t.openEntity("studio", e.name),
- children: [/* @__PURE__ */ (0, x.jsx)(s_e, { studio: e }), e.name]
+ children: [/* @__PURE__ */ (0, x.jsx)(o_e, { studio: e }), e.name]
}, e.name))
}) : null]
});
}
-function s_e({ studio: e }) {
+function o_e({ studio: e }) {
let [t, n] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsx)("span", {
"data-tier-mark": "",
@@ -39664,7 +39682,7 @@ function s_e({ studio: e }) {
}) : e.fallback
});
}
-function SM({ kind: e }) {
+function CM({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -39680,33 +39698,33 @@ function SM({ kind: e }) {
children: [/* @__PURE__ */ (0, x.jsx)("span", {}), /* @__PURE__ */ (0, x.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function c_e({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+function s_e({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
let [a, o] = (0, b.useState)(!1);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(l_e, { count: e }), /* @__PURE__ */ (0, x.jsxs)("span", {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(c_e, { count: e }), /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(Wj, { currentHref: i.currentHref }),
- /* @__PURE__ */ (0, x.jsx)(yM, {
+ /* @__PURE__ */ (0, x.jsx)(Gj, { currentHref: i.currentHref }),
+ /* @__PURE__ */ (0, x.jsx)(bM, {
onPress: () => {
o(!0), i.reshuffle().finally(() => o(!1));
},
busy: a || t
}),
- n ? /* @__PURE__ */ (0, x.jsx)(vM, {
+ n ? /* @__PURE__ */ (0, x.jsx)(yM, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, x.jsx)(bM, {
+ /* @__PURE__ */ (0, x.jsx)(xM, {
sorts: r,
onSort: i.setSort
})
]
})] });
}
-function l_e({ count: e }) {
+function c_e({ count: e }) {
let t = (0, b.useRef)(null), n = (0, b.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : "";
return (0, b.useLayoutEffect)(() => {
if (e === !1) return;
@@ -39715,7 +39733,7 @@ function l_e({ count: e }) {
return;
}
let i = t.current;
- i && (xM && i.dataset.popCount === void 0 && (i.dataset.popCount = xM), xM = r, so(i, r));
+ i && (SM && i.dataset.popCount === void 0 && (i.dataset.popCount = SM), SM = r, so(i, r));
}, [e, r]), e === !1 ? /* @__PURE__ */ (0, x.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, x.jsx)("span", {
ref: t,
"data-catalog-readout": "",
@@ -39731,7 +39749,7 @@ function l_e({ count: e }) {
})
}, "skeleton");
}
-function u_e(e) {
+function l_e(e) {
let [t, n] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
if (!e) return;
@@ -39741,7 +39759,7 @@ function u_e(e) {
};
}, [e]), t;
}
-function CM(e, t, n, r, i) {
+function wM(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -39781,7 +39799,7 @@ function CM(e, t, n, r, i) {
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function wM(e, t) {
+function TM(e, t) {
let [n, r] = (0, b.useState)(e ? "skeleton" : "none"), [i] = (0, b.useState)(() => e ? t() : ""), a = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
a.current && Co(a.current);
@@ -39807,7 +39825,7 @@ function wM(e, t) {
fading: n === "fade"
};
}
-function TM({ message: e, onRetry: t }) {
+function EM({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -39821,7 +39839,7 @@ function TM({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/components/art-slot.tsx
-function EM({ artwork: e, identity: t = e.html, relayout: n }) {
+function DM({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, b.useState)({
identity: t,
artwork: e
@@ -39841,7 +39859,7 @@ function EM({ artwork: e, identity: t = e.html, relayout: n }) {
}
//#endregion
//#region src/react/components/row-click.ts
-var d_e = [
+var u_e = [
"a",
"button",
"input",
@@ -39854,35 +39872,35 @@ var d_e = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function DM(e, t) {
+function OM(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(d_e);
+ let r = n.closest(u_e);
return !r || !t.contains(r) || r === t;
}
-function OM(e) {
+function kM(e) {
e.shiftKey && e.preventDefault();
}
//#endregion
//#region src/react/components/media-card.tsx
-var f_e = 9 / 16, kM = "未命名视频";
-function AM({ name: e }) {
+var d_e = 9 / 16, AM = "未命名视频";
+function jM({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-var p_e = {
+var f_e = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
};
-function jM(e, t, n) {
- return t === "short" ? f_e : UT(n);
+function MM(e, t, n) {
+ return t === "short" ? d_e : UT(n);
}
-function m_e(e) {
+function p_e(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = ha(e), s = i[0] || "", c = ta(e);
return {
avatar: r ? /* @__PURE__ */ (0, x.jsx)("div", {
@@ -39929,7 +39947,7 @@ function m_e(e) {
})
};
}
-function h_e() {
+function m_e() {
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -39948,7 +39966,7 @@ function h_e() {
})]
});
}
-function g_e({ item: e, actions: t }) {
+function h_e({ item: e, actions: t }) {
let [n, r] = (0, b.useState)(null), [i, a] = (0, b.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-media-later": "",
@@ -39966,21 +39984,21 @@ function g_e({ item: e, actions: t }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, x.jsx)(AM, { name: o ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, x.jsx)(jM, { name: o ? "check" : "bookmark-plus" })
})
});
}
-function MM(e, t) {
+function NM(e, t) {
let n = e?.querySelector("video.hv");
n && Number.isFinite(n.duration) && (n._hop &&= (clearInterval(n._hop), null), n.currentTime = Math.max(0, Math.min(n.duration, n.currentTime + t)));
}
-function __e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
+function g_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
let l = (0, b.useRef)(null), u = (0, b.useRef)(e);
u.current = e;
let d = (0, b.useCallback)((e) => {
let t = u.current;
l.current && l.current !== e && qs(l.current), l.current = e, e && (!t.medium || t.medium === "video") && Ys(e, t);
- }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = da(e, h, !1, n.javImage), _ = h === "small" ? g.html : da(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || kM, S = o.titleHtml(e, v).trim() || R(kM), C = f?.total_size ?? e.size, w = f?.total_duration ?? e.duration, T = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: E, who: D } = m_e(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [
+ }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = da(e, h, !1, n.javImage), _ = h === "small" ? g.html : da(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || AM, S = o.titleHtml(e, v).trim() || R(AM), C = f?.total_size ?? e.size, w = f?.total_duration ?? e.duration, T = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: E, who: D } = p_e(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.disposal === "trash" && "dispose",
@@ -40010,9 +40028,9 @@ function __e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
u && r.contains(u) ? s.toggleTag(u.dataset.tag || "") : c(e, r);
}, j = /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(jM(e, t, n)) },
+ style: { "--card-ratio": String(MM(e, t, n)) },
children: [
- g.html ? /* @__PURE__ */ (0, x.jsx)(EM, {
+ g.html ? /* @__PURE__ */ (0, x.jsx)(DM, {
artwork: g,
identity: _,
relayout: (e) => zs(e, h)
@@ -40026,11 +40044,11 @@ function __e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, x.jsx)(AM, { name: "check" })
+ children: /* @__PURE__ */ (0, x.jsx)(jM, { name: "check" })
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, x.jsx)(AM, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(jM, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
}),
f && !p ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-group": "",
@@ -40057,8 +40075,8 @@ function __e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-scrub": "",
children: /* @__PURE__ */ (0, x.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, x.jsx)(h_e, {}),
- /* @__PURE__ */ (0, x.jsx)(g_e, {
+ /* @__PURE__ */ (0, x.jsx)(m_e, {}),
+ /* @__PURE__ */ (0, x.jsx)(h_e, {
item: e,
actions: s
}),
@@ -40068,27 +40086,27 @@ function __e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), MM(l.current, -a);
+ e.stopPropagation(), NM(l.current, -a);
},
title: `后退 ${a} 秒`,
"aria-label": `后退 ${a} 秒`,
- children: /* @__PURE__ */ (0, x.jsx)(AM, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, x.jsx)(jM, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), MM(l.current, a);
+ e.stopPropagation(), NM(l.current, a);
},
title: `前进 ${a} 秒`,
"aria-label": `前进 ${a} 秒`,
- children: /* @__PURE__ */ (0, x.jsx)(AM, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, x.jsx)(jM, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, x.jsx)(AM, { name: "expand" })
+ children: /* @__PURE__ */ (0, x.jsx)(jM, { name: "expand" })
})
]
})
@@ -40105,7 +40123,7 @@ function __e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-pending-delete": e.disposal === "trash" ? "" : void 0,
"data-selected": r ? "" : void 0,
onClick: A,
- onMouseDown: OM,
+ onMouseDown: kM,
children: [
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -40171,8 +40189,8 @@ function __e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
]
});
}
-function v_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
- let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(!1), l = e.medium === "image" && e.location !== "online", u = String(e.name || ""), d = u.toLowerCase().endsWith(".url") ? "网址快捷方式" : p_e[e.medium || ""] || "其它文件", f = l ? "pics" : d === "网址快捷方式" ? "globe" : "hard-drive", p = e.disposal === "trash" ? "restore" : "dispose", m = p === "restore" ? "还原" : "移入回收站", h = (t) => {
+function __e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
+ let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(!1), l = e.medium === "image" && e.location !== "online", u = String(e.name || ""), d = u.toLowerCase().endsWith(".url") ? "网址快捷方式" : f_e[e.medium || ""] || "其它文件", f = l ? "pics" : d === "网址快捷方式" ? "globe" : "hard-drive", p = e.disposal === "trash" ? "restore" : "dispose", m = p === "restore" ? "还原" : "移入回收站", h = (t) => {
t.preventDefault(), t.stopPropagation(), !s && (c(!0), i.resourceOperation(e, p).catch(() => {}).finally(() => c(!1)));
}, g = (t) => {
o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));
@@ -40186,14 +40204,14 @@ function v_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
"data-pending-delete": e.disposal === "trash" ? "" : void 0,
"data-selected": t ? "" : void 0,
onClick: g,
- onMouseDown: OM,
+ onMouseDown: kM,
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
style: { "--card-ratio": "1.7777777777777777" },
children: [
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, x.jsx)(AM, { name: f }), /* @__PURE__ */ (0, x.jsx)("b", { children: d })]
+ children: [/* @__PURE__ */ (0, x.jsx)(jM, { name: f }), /* @__PURE__ */ (0, x.jsx)("b", { children: d })]
}),
l ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-art": "thumb",
@@ -40205,11 +40223,11 @@ function v_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, x.jsx)(AM, { name: "check" })
+ children: /* @__PURE__ */ (0, x.jsx)(jM, { name: "check" })
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, x.jsx)(AM, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(jM, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -40219,7 +40237,7 @@ function v_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
onClick: h,
"aria-busy": s || void 0,
"aria-disabled": s || void 0,
- children: s ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: $a(p === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, x.jsx)("span", { children: _ })] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(AM, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, x.jsx)("span", { children: m })] })
+ children: s ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: $a(p === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, x.jsx)("span", { children: _ })] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(jM, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, x.jsx)("span", { children: m })] })
})
]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -40228,7 +40246,7 @@ function v_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, x.jsx)(AM, { name: f })
+ children: /* @__PURE__ */ (0, x.jsx)(jM, { name: f })
}), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-text": "",
children: [/* @__PURE__ */ (0, x.jsx)("span", {
@@ -40257,23 +40275,23 @@ function v_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
})]
});
}
-function y_e(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, x.jsx)(v_e, { ...e }) : /* @__PURE__ */ (0, x.jsx)(__e, { ...e });
+function v_e(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, x.jsx)(__e, { ...e }) : /* @__PURE__ */ (0, x.jsx)(g_e, { ...e });
}
-var NM = (0, b.memo)(y_e), b_e = 1100, x_e = 340, S_e = 5e3;
-function C_e(e, t, n) {
+var PM = (0, b.memo)(v_e), y_e = 1100, b_e = 340, x_e = 5e3;
+function S_e(e, t, n) {
return new Promise((r) => {
let i = new Image();
n && (i.referrerPolicy = n);
let a = !1, o = (e) => {
a || (a = !0, clearTimeout(c), i.onload = null, i.onerror = null, t.cancels.delete(s), r(e));
- }, s = () => o(!1), c = setTimeout(s, S_e);
+ }, s = () => o(!1), c = setTimeout(s, x_e);
t.cancels.add(s), i.onerror = s, i.onload = () => {
i.naturalWidth ? typeof i.decode == "function" ? i.decode().then(() => o(!0), s) : o(!0) : o(!1);
}, i.src = e;
});
}
-function PM({ load: e, canFlip: t, referrerPolicy: n }) {
+function FM({ load: e, canFlip: t, referrerPolicy: n }) {
let [r, i] = (0, b.useState)([]), [a, o] = (0, b.useState)(0), [s, c] = (0, b.useState)(null), l = (0, b.useRef)({
live: !1,
generation: 0,
@@ -40315,11 +40333,11 @@ function PM({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => C_e(t, e, n)));
+ let s = await Promise.all(a.map((t) => S_e(t, e, n)));
if (!r() || !u.current.canFlip()) return;
let d = a.filter((e, t) => s[t]);
d.length < 2 || (e.count = d.length, e.at = 0, i(d), o(0), c(null), f(420, () => {
- p(), e.cycle = setInterval(p, b_e);
+ p(), e.cycle = setInterval(p, y_e);
}));
};
return (0, b.useEffect)(() => d, [d]), {
@@ -40328,7 +40346,7 @@ function PM({ load: e, canFlip: t, referrerPolicy: n }) {
leaving: s,
onPointerEnter: () => {
let e = l.current;
- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(x_e, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(b_e, () => {
e.armed = null, m();
});
},
@@ -40339,8 +40357,8 @@ function PM({ load: e, canFlip: t, referrerPolicy: n }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var FM = Ij("play");
-function w_e({ src: e }) {
+var IM = Lj("play");
+function C_e({ src: e }) {
let [t, n] = (0, b.useState)(!1);
return t ? null : /* @__PURE__ */ (0, x.jsx)("img", {
"data-mix-poster": "",
@@ -40353,8 +40371,8 @@ function w_e({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var IM = "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 T_e({ faces: e, fallback: t, onOpenEntity: n }) {
+var LM = "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 w_e({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, x.jsx)("button", {
@@ -40362,18 +40380,18 @@ function T_e({ faces: e, fallback: t, onOpenEntity: n }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => n(e.kind, e.name),
- className: `${IM} cursor-pointer outline-none`,
+ className: `${LM} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: ra(e.name, e, Vi(e.name), e.kind) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, x.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${IM} mt-0.5`,
+ className: `${LM} mt-0.5`,
children: t
});
}
-function LM({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
- let S = PM({
+function RM({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
+ let S = FM({
load: i,
canFlip: a
}), C = (0, b.useRef)(S.onPointerLeave);
@@ -40400,11 +40418,11 @@ function LM({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
style: d === void 0 ? void 0 : { "--card-ratio": String(d) },
className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",
children: [
- f?.html ? /* @__PURE__ */ (0, x.jsx)(EM, {
+ f?.html ? /* @__PURE__ */ (0, x.jsx)(DM, {
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, x.jsx)(w_e, { src: r }, r) : /* @__PURE__ */ (0, x.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, x.jsx)(C_e, { src: r }, r) : /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -40434,7 +40452,7 @@ function LM({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, x.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, x.jsx)(FM, {
+ children: [/* @__PURE__ */ (0, x.jsx)(IM, {
"aria-hidden": !0,
className: "size-3.75"
}), g ?? `${n.toLocaleString()} 个视频`]
@@ -40447,8 +40465,8 @@ function LM({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
_ ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, x.jsx)(FM, {})
- }) : /* @__PURE__ */ (0, x.jsx)(T_e, {
+ children: /* @__PURE__ */ (0, x.jsx)(IM, {})
+ }) : /* @__PURE__ */ (0, x.jsx)(w_e, {
faces: o,
fallback: qt(e),
onOpenEntity: s
@@ -40472,20 +40490,20 @@ function LM({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-function RM(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, x.jsx)(D_e, { ...e });
+function zM(e) {
+ if (e.mode === "items") return /* @__PURE__ */ (0, x.jsx)(E_e, { ...e });
let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${fD(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, x.jsx)(O_e, { ...e }, t);
+ return /* @__PURE__ */ (0, x.jsx)(D_e, { ...e }, t);
}
-function E_e({ name: e }) {
+function T_e({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-function D_e(e) {
- let { actions: t } = e, n = (0, b.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, x.jsx)(NM, {
+function E_e(e) {
+ let { actions: t } = e, n = (0, b.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, x.jsx)(PM, {
item: i,
variant: r,
layout: e.layout,
@@ -40505,7 +40523,7 @@ function D_e(e) {
children: i
});
}
-function O_e(e) {
+function D_e(e) {
let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? qce(e) : pD(e), s = i && e.initial ? {
pages: [{
...e.initial,
@@ -40536,7 +40554,7 @@ function O_e(e) {
e.mix,
a,
r.javImage
- ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), m = wM(c.isPending, e.skeletonHtml), h = (0, b.useRef)(null), g = k_e(e, c.data, u, d, h);
+ ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), m = TM(c.isPending, e.skeletonHtml), h = (0, b.useRef)(null), g = O_e(e, c.data, u, d, h);
(0, b.useLayoutEffect)(() => {
if (!c.data) return;
let t = !0;
@@ -40563,12 +40581,12 @@ function O_e(e) {
let v = (0, b.useCallback)((e, t) => n.open(e, t), [n]), y = (0, b.useCallback)((e, t) => n.openResource(e, t), [n]), S = (0, b.useCallback)((e) => n.openShort(e), [n]), C = (0, b.useCallback)(async () => {
let e = await c.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [c.fetchNextPage]), w = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)(j_e, {
+ }, [c.fetchNextPage]), w = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)(A_e, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, x.jsx)(NM, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, x.jsx)(PM, {
item: i.item,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -40585,7 +40603,7 @@ function O_e(e) {
"data-grid-reveal": m.fading ? "" : void 0,
children: [m.layer, (() => {
if (c.isPending) return null;
- if (!c.data) return /* @__PURE__ */ (0, x.jsx)(TM, {
+ if (!c.data) return /* @__PURE__ */ (0, x.jsx)(EM, {
message: _t(c.error),
onRetry: () => void c.refetch()
});
@@ -40605,12 +40623,12 @@ function O_e(e) {
children: ele(u, g).map((t) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(w)
- }), t.strip ? /* @__PURE__ */ (0, x.jsx)(A_e, {
+ }), t.strip ? /* @__PURE__ */ (0, x.jsx)(k_e, {
cut: t.strip,
props: e,
onOpen: S
}) : null] }, t.start))
- }), c.hasNextPage ? /* @__PURE__ */ (0, x.jsx)(zM, {
+ }), c.hasNextPage ? /* @__PURE__ */ (0, x.jsx)(BM, {
entity: i,
load: C,
enabled: () => e.canLoadMore?.() !== !1
@@ -40618,7 +40636,7 @@ function O_e(e) {
})()]
});
}
-function zM({ entity: e, load: t, enabled: n, children: r }) {
+function BM({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, b.useRef)(null), a = (0, b.useRef)(!1), o = (0, b.useRef)(!1), [s, c] = (0, b.useState)({
busy: !1,
error: ""
@@ -40680,12 +40698,12 @@ function zM({ entity: e, load: t, enabled: n, children: r }) {
hidden: !!s.error,
onClick: () => void u(!0),
dangerouslySetInnerHTML: { __html: eo("继续载入中…") }
- }), s.error ? /* @__PURE__ */ (0, x.jsx)(TM, {
+ }), s.error ? /* @__PURE__ */ (0, x.jsx)(EM, {
message: s.error,
onRetry: () => void u(!0)
}) : null] });
}
-function k_e(e, t, n, r, i) {
+function O_e(e, t, n, r, i) {
let [a, o] = (0, b.useState)([]), [s, c] = (0, b.useState)(null), l = (0, b.useRef)(0), u = (0, b.useRef)(0), d = (0, b.useRef)([]);
return (0, b.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, b.useEffect)(() => {
let n = t?.pages.length || 0;
@@ -40716,7 +40734,7 @@ function k_e(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function A_e({ cut: e, props: t, onOpen: n }) {
+function k_e({ cut: e, props: t, onOpen: n }) {
let r = (0, b.useRef)(null), { wireDrag: i } = t;
return (0, b.useEffect)(() => {
r.current && i(r.current);
@@ -40732,12 +40750,12 @@ function A_e({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, x.jsx)(E_e, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(T_e, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, x.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, x.jsx)(NM, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, x.jsx)(PM, {
item: e,
variant: "short",
layout: t.layout,
@@ -40751,17 +40769,17 @@ function A_e({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function BM(e, t, n) {
+function VM(e, t, n) {
return fa(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function j_e({ seed: e, layout: t, helpers: n, actions: r }) {
+function A_e({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, b.useRef)(/* @__PURE__ */ new Map()), a = (0, b.useRef)(t);
a.current = t;
let o = _a(e, n.tagLabel), s = (0, b.useCallback)(async () => {
let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => mD(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), BM(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = BM(e, t, !1);
- return /* @__PURE__ */ (0, x.jsx)(LM, {
+ return i.current = new Map(n.map((e) => [String(e.id), VM(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = VM(e, t, !1);
+ return /* @__PURE__ */ (0, x.jsx)(RM, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -40771,12 +40789,12 @@ function j_e({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : BM(e, {
+ artworkIdentity: c === "small" ? l.html : VM(e, {
...t,
size: "small"
}, !1).html,
relayoutArt: (e) => zs(e, c),
- ratio: jM(e, "grid", t),
+ ratio: MM(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -40788,41 +40806,41 @@ function j_e({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/media-sources.ts
-async function VM(e) {
+async function HM(e) {
await H.fetchQuery({
queryKey: dn,
queryFn: () => fn(e)
});
}
-var M_e = [
+var j_e = [
"local",
"115",
"pikpak"
-], N_e = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), P_e = "/api/duplicates?limit=120", HM = ["duplicates"], UM = "/api/batch", WM = (e) => B(P_e, e), F_e = /[\s\-_.()[\]【】/\\]/;
-function I_e(e) {
+], M_e = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), N_e = "/api/duplicates?limit=120", UM = ["duplicates"], WM = "/api/batch", GM = (e) => B(N_e, e), P_e = /[\s\-_.()[\]【】/\\]/;
+function F_e(e) {
if (e.length < 2) return "";
let t = 0, n = e[0];
for (; t < n.length && e.every((e) => e[t] === n[t]);) t += 1;
e.some((e) => e.length <= t) && (t = Math.max(0, t - 1));
let r = t;
- for (; r > 0 && !F_e.test(n[r - 1]);) --r;
+ for (; r > 0 && !P_e.test(n[r - 1]);) --r;
return r >= 8 ? n.slice(0, r) : "";
}
-var L_e = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
-async function R_e(e) {
+var I_e = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
+async function L_e(e) {
await Promise.all([H.fetchQuery({
- queryKey: HM,
- queryFn: () => WM(e)
- }), VM(e)]);
+ queryKey: UM,
+ queryFn: () => GM(e)
+ }), HM(e)]);
}
-var GM = {
+var KM = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, z_e = (e, t) => t.filter((t) => e.some((e) => e.location === t)), KM = (e, t) => z_e(e, t).filter((t) => e.some((e) => e.location !== t)), B_e = (e, t) => t.filter((t) => e.some((e) => KM(e.files, [t]).length));
-function V_e(e, t) {
+}, R_e = (e, t) => t.filter((t) => e.some((e) => e.location === t)), qM = (e, t) => R_e(e, t).filter((t) => e.some((e) => e.location !== t)), z_e = (e, t) => t.filter((t) => e.some((e) => qM(e.files, [t]).length));
+function B_e(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -40841,47 +40859,47 @@ function V_e(e, t) {
}
return n;
}
-function H_e(e, t) {
+function V_e(e, t) {
let n = new Set(t);
return e.reduce((e, t) => e + t.files.reduce((e, t) => e + (n.has(t.id) && t.size || 0), 0), 0);
}
-async function qM(e, t) {
- for (let n = 0; n < e.length; n += 200) await V(UM, {
+async function JM(e, t) {
+ for (let n = 0; n < e.length; n += 200) await V(WM, {
ids: e.slice(n, n + 200),
operation: t
});
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var JM = "/api/library-processing", YM = ["library-processing"], XM = (e) => B(JM, e);
-async function ZM(e) {
+var YM = "/api/library-processing", XM = ["library-processing"], ZM = (e) => B(YM, e);
+async function QM(e) {
await H.fetchQuery({
- queryKey: YM,
- queryFn: () => XM(e)
+ queryKey: XM,
+ queryFn: () => ZM(e)
});
}
-var U_e = 2e3, W_e = 1e4, QM = "连接中断,正在重新读取处理进度";
-function G_e(e, t) {
- return e?.status === "running" ? U_e : t ? W_e : !1;
+var H_e = 2e3, U_e = 1e4, $M = "连接中断,正在重新读取处理进度";
+function W_e(e, t) {
+ return e?.status === "running" ? H_e : t ? U_e : !1;
}
-var K_e = {
+var G_e = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
writing_candidates: "保存资料候选"
-}, $M = {
+}, eN = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function q_e(e) {
- let t = Object.entries(e).filter(([e, t]) => $M[e] && t > 0).map(([e, t]) => `${$M[e]} ${t.toLocaleString()} 部`);
+function K_e(e) {
+ let t = Object.entries(e).filter(([e, t]) => eN[e] && t > 0).map(([e, t]) => `${eN[e]} ${t.toLocaleString()} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function eN(e) {
- let t = K_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${Nk(e.waited_seconds)}` : "";
+function tN(e) {
+ let t = G_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${Nk(e.waited_seconds)}` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function J_e(e) {
+function q_e(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -40895,21 +40913,21 @@ function J_e(e) {
log: e.issues_log || ""
} : null;
}
-var tN = "peach.library-processing.announced", Y_e = 120;
-function X_e(e, t, n) {
+var nN = "peach.library-processing.announced", J_e = 120;
+function Y_e(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Y_e;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < J_e;
if (n || r) {
try {
- if (e.job_id && localStorage.getItem(tN) === e.job_id) return;
- e.job_id && localStorage.setItem(tN, e.job_id);
+ if (e.job_id && localStorage.getItem(nN) === e.job_id) return;
+ e.job_id && localStorage.setItem(nN, e.job_id);
} catch {}
t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条`);
}
}
//#endregion
//#region src/react/media-repair/media-repair.ts
-var nN = "/api/media-repair", rN = ["media-repair"], iN = ["media-repair", "libraries"], Z_e = {
+var rN = "/api/media-repair", iN = ["media-repair"], aN = ["media-repair", "libraries"], X_e = {
status: "idle",
library: "",
stage: "",
@@ -40921,41 +40939,41 @@ var nN = "/api/media-repair", rN = ["media-repair"], iN = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, aN = (e) => B(nN, e), oN = async (e) => (await B("/api/libraries", e)).libraries || [];
-async function Q_e(e) {
+}, oN = (e) => B(rN, e), sN = async (e) => (await B("/api/libraries", e)).libraries || [];
+async function Z_e(e) {
await Promise.all([H.fetchQuery({
- queryKey: rN,
- queryFn: () => aN(e)
- }), H.fetchQuery({
queryKey: iN,
queryFn: () => oN(e)
+ }), H.fetchQuery({
+ queryKey: aN,
+ queryFn: () => sN(e)
})]);
}
-var sN = (e) => Number(e).toLocaleString();
-function $_e(e) {
+var cN = (e) => Number(e).toLocaleString();
+function Q_e(e) {
if (e.status === "running") {
- let t = e.total ? `${sN(Math.min(e.checked || 0, e.total))} / ${sN(e.total)}` : "准备中";
+ let t = e.total ? `${cN(Math.min(e.checked || 0, e.total))} / ${cN(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${sN(e.repaired)} 部,${sN(e.failed)} 部修不了` : `修好 ${sN(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${cN(e.repaired)} 部,${cN(e.failed)} 部修不了` : `修好 ${cN(e.repaired)} 部` : "";
}
-var eve = (e) => `${sN(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, tve = "/api/quality-goals?limit=200", cN = ["quality-goals"], lN = (e) => B(tve, e);
-async function nve(e) {
+var $_e = (e) => `${cN(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, eve = "/api/quality-goals?limit=200", lN = ["quality-goals"], uN = (e) => B(eve, e);
+async function tve(e) {
await H.fetchQuery({
- queryKey: cN,
- queryFn: () => lN(e)
+ queryKey: lN,
+ queryFn: () => uN(e)
});
}
-var uN = (e) => e.has_cover ? Qi(e) : `/poster?id=${e.id}&c=4`;
+var dN = (e) => e.has_cover ? Qi(e) : `/poster?id=${e.id}&c=4`;
//#endregion
//#region src/selection.ts
-function dN(e, t, n, r, i, a = i || !e.has(r)) {
+function fN(e, t, n, r, i, a = i || !e.has(r)) {
let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);
return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;
}
//#endregion
//#region src/react/review/review.ts
-var rve = "/api/review", ive = "/api/review/decision", ave = "/api/review/genre", fN = ["review"], pN = {
+var nve = "/api/review", rve = "/api/review/decision", ive = "/api/review/genre", pN = ["review"], mN = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -40965,15 +40983,15 @@ var rve = "/api/review", ive = "/api/review/decision", ave = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, ove = Object.keys(pN), sve = "metadata_fields", mN = (e) => typeof e == "string" && Object.hasOwn(pN, e), cve = {
+}, ave = Object.keys(mN), ove = "metadata_fields", hN = (e) => typeof e == "string" && Object.hasOwn(mN, e), sve = {
creator_tags: "creator",
western_identity: "creator"
};
-function lve(e, t) {
+function cve(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 hN(e, t) {
+function gN(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -40990,10 +41008,10 @@ function hN(e, t) {
}
return [...n.values()];
}
-function uve(e, t, n) {
- return n && hN(e, t).find((e) => e.key === n)?.rows || e;
+function lve(e, t, n) {
+ return n && gN(e, t).find((e) => e.key === n)?.rows || e;
}
-function dve(e, t) {
+function uve(e, t) {
let n = ln(e.length, 20), r = un(t, n);
return {
page: r,
@@ -41001,32 +41019,32 @@ function dve(e, t) {
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function fve(e) {
+function dve(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 pve(e, t, n, r, i, a) {
- return dN(e, t, n, r, i, a);
+function fve(e, t, n, r, i, a) {
+ return fN(e, t, n, r, i, a);
}
-function gN(e, t) {
+function _N(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function _N(e, t) {
+function vN(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var vN = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function mve(e, t) {
- let n = _N(e, t), r = vN(e, t);
+var yN = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function pve(e, t) {
+ let n = vN(e, t), r = yN(e, t);
return r ? `${n} · ${r}` : n;
}
-var hve = (e) => e.reason || e.evidence || e.note || e.decision_note || "", gve = (e) => String(e.tags || "").split("|").filter(Boolean), _ve = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function vve(e) {
+var mve = (e) => e.reason || e.evidence || e.note || e.decision_note || "", hve = (e) => String(e.tags || "").split("|").filter(Boolean), gve = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function _ve(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function yN(e, t, n, r) {
+function bN(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -41042,19 +41060,19 @@ function yN(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var yve = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", bN = (e) => B(rve, e), xN = (e) => V(ive, e), bve = (e, t) => V(ave, {
+var vve = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", xN = (e) => B(nve, e), SN = (e) => V(rve, e), yve = (e, t) => V(ive, {
genre: e,
tag: t
});
-async function xve(e) {
+async function bve(e) {
await H.fetchQuery({
- queryKey: fN,
- queryFn: () => bN(e)
+ queryKey: pN,
+ queryFn: () => xN(e)
});
}
-function SN(e, t) {
+function CN(e, t) {
let n = new Set(t);
- n.size && H.setQueryData(fN, (t) => {
+ n.size && H.setQueryData(pN, (t) => {
if (!t) return t;
let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));
return i.length === r.length ? t : {
@@ -41070,193 +41088,193 @@ function SN(e, t) {
};
});
}
-var Sve = () => H.invalidateQueries({
- queryKey: fN,
+var xve = () => H.invalidateQueries({
+ queryKey: pN,
exact: !0
});
-function Cve(e, t) {
+function Sve(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${hn(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var wve = "/api/links", CN = "/api/links/check", wN = "/api/links/prune", TN = ["links"], EN = ["links", "check"], DN = ["links", "prune"], ON = {
+var Cve = "/api/links", wN = "/api/links/check", TN = "/api/links/prune", EN = ["links"], DN = ["links", "check"], ON = ["links", "prune"], kN = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function kN(e) {
+async function AN(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var AN = (e) => B(wve, e), jN = (e) => V(CN, { status_only: !0 }, "POST", e), Tve = ({ retry: e, checkId: t }) => kN(V(CN, e ? {
+var jN = (e) => B(Cve, e), MN = (e) => V(wN, { status_only: !0 }, "POST", e), wve = ({ retry: e, checkId: t }) => AN(V(wN, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), MN = (e) => B(wN, e), Eve = (e) => kN(V(wN, {
+} : { restart: !0 })), NN = (e) => B(TN, e), Tve = (e) => AN(V(TN, {
confirm: !0,
check_id: e,
background: !0
-})), NN = (e) => Number(e || 0).toLocaleString(), Dve = (e) => `已删除 ${NN(e.removed)} 条;${e.marked ? `已隐退女优的 ${NN(e.marked)} 条留作不可点的记录;` : ""}保留 ${NN(e.recovered)} 条未确认失效的链接。`;
-function Ove(e) {
+})), PN = (e) => Number(e || 0).toLocaleString(), Eve = (e) => `已删除 ${PN(e.removed)} 条;${e.marked ? `已隐退女优的 ${PN(e.marked)} 条留作不可点的记录;` : ""}保留 ${PN(e.recovered)} 条未确认失效的链接。`;
+function Dve(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${NN(e.checked)} / ${NN(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${PN(e.checked)} / ${PN(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/settings-panel/settings-data.ts
-var PN = "/api/settings", FN = "/api/follow/schedule", IN = "/api/thumbnail-jobs", LN = ["settings"], RN = ["follow-schedule"], zN = ["thumbnail-jobs"], BN = (e) => B(PN, e), kve = (e) => B(FN, e), Ave = (e) => B(IN, e);
-function jve(e = H) {
+var FN = "/api/settings", IN = "/api/follow/schedule", LN = "/api/thumbnail-jobs", RN = ["settings"], zN = ["follow-schedule"], BN = ["thumbnail-jobs"], VN = (e) => B(FN, e), Ove = (e) => B(IN, e), kve = (e) => B(LN, e);
+function Ave(e = H) {
return e.fetchQuery({
- queryKey: LN,
- queryFn: ({ signal: e }) => BN(e),
+ queryKey: RN,
+ queryFn: ({ signal: e }) => VN(e),
staleTime: 0
}).catch(() => null);
}
-function VN() {
+function HN() {
return ft({
- mutationFn: (e) => V(PN, e),
- onSuccess: (e) => H.setQueryData(LN, e)
+ mutationFn: (e) => V(FN, e),
+ onSuccess: (e) => H.setQueryData(RN, e)
});
}
-function Mve() {
+function jve() {
return ft({
- mutationFn: (e) => V(FN, {
+ mutationFn: (e) => V(IN, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => H.setQueryData(RN, e)
+ onSuccess: (e) => H.setQueryData(zN, e)
});
}
-function Nve() {
+function Mve() {
return ft({
- mutationFn: (e) => V(IN, { mode: e }),
- onSuccess: (e) => H.setQueryData(zN, e)
+ mutationFn: (e) => V(LN, { mode: e }),
+ onSuccess: (e) => H.setQueryData(BN, e)
});
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var Pve = "/api/organize", Fve = "/api/organize/preview", Ive = "/api/organize/apply", Lve = "/api/organize/rollback", HN = ["organize"], UN = (e) => B(Pve, e);
-async function Rve(e) {
+var Nve = "/api/organize", Pve = "/api/organize/preview", Fve = "/api/organize/apply", Ive = "/api/organize/rollback", UN = ["organize"], WN = (e) => B(Nve, e);
+async function Lve(e) {
await H.fetchQuery({
- queryKey: HN,
- queryFn: () => UN(e)
+ queryKey: UN,
+ queryFn: () => WN(e)
});
}
-var zve = (e) => V(Fve, e), Bve = (e) => e.kind === "apply" ? V(Ive, {
+var Rve = (e) => V(Pve, e), zve = (e) => e.kind === "apply" ? V(Fve, {
...e.request,
confirm: !0
-}) : V(Lve, { confirm: !0 });
-async function Vve(e) {
- H.setQueryData(HN, (t) => t && {
+}) : V(Ive, { confirm: !0 });
+async function Bve(e) {
+ H.setQueryData(UN, (t) => t && {
...t,
templates: e
});
try {
- await V(PN, { organizeTemplates: e });
+ await V(FN, { organizeTemplates: e });
} catch {}
}
-var Hve = (e, t) => e && {
+var Vve = (e, t) => e && {
...e,
...t
-}, Uve = /目录模板|分隔符|盘符|`\.`/;
-function WN(e) {
+}, Hve = /目录模板|分隔符|盘符|`\.`/;
+function GN(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var GN = (e) => Number(e || 0).toLocaleString();
-function Wve(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${GN(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${GN(e.counts.change)} 个文件会改名或移动,${GN(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var KN = (e) => Number(e || 0).toLocaleString();
+function Uve(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${KN(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${KN(e.counts.change)} 个文件会改名或移动,${KN(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function KN(e) {
+function qN(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${GN(r)} 个文件${n ? `,${GN(n)} 行未能退回` : ""}。` : `已整理 ${GN(r)} 个文件${n ? `,${GN(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${KN(r)} 个文件${n ? `,${KN(n)} 行未能退回` : ""}。` : `已整理 ${KN(r)} 个文件${n ? `,${KN(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var qN = "/api/resource-sync/scan", JN = "/api/resource-sync/apply", YN = ["resource-sync", "scan"], XN = ["resource-sync", "apply"], ZN = (e) => V(qN, {
+var JN = "/api/resource-sync/scan", YN = "/api/resource-sync/apply", XN = ["resource-sync", "scan"], ZN = ["resource-sync", "apply"], QN = (e) => V(JN, {
background: !0,
status_only: !0
-}, "POST", e), Gve = () => V(qN, {
+}, "POST", e), Wve = () => V(JN, {
background: !0,
restart: !0
-}), QN = (e) => B(JN, e), Kve = (e) => V(JN, {
+}), $N = (e) => B(YN, e), Gve = (e) => V(YN, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), $N = (e) => (e?.sources ?? []).some((e) => M_e.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function qve(e) {
- $N(H.getQueryData(dn)) && await Promise.all([H.fetchQuery({
- queryKey: YN,
- queryFn: () => ZN(e)
- }), H.fetchQuery({
+}), eP = (e) => (e?.sources ?? []).some((e) => j_e.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function Kve(e) {
+ eP(H.getQueryData(dn)) && await Promise.all([H.fetchQuery({
queryKey: XN,
queryFn: () => QN(e)
+ }), H.fetchQuery({
+ queryKey: ZN,
+ queryFn: () => $N(e)
})]);
}
-var Jve = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Yve = {
+var qve = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Jve = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, eP = (e) => Number(e || 0).toLocaleString(), Xve = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", tP = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), nP = (e) => e.vanish ? `${eP(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", rP = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Zve = (e) => `将永久删除文件已不在盘上的 ${eP(tP(e))} 条记录和 ${eP(e.empty)} 个空文件夹,并清理 ${eP(e.cache?.files)} 个闲置缓存。${rP(e)}${nP(e)}`, Qve = (e) => `将永久删除文件已不在盘上的 ${eP(tP(e))} 条记录(含回收站里的)、${eP(e.empty)} 个空文件夹,并清理 ${eP(e.cache?.files)} 个闲置缓存。来源根目录保留。${rP(e)}${nP(e)}`, $ve = (e) => e.online ? [
- `找不到文件 · 共 ${eP(e.total)} 项`,
- e.vanish ? `${eP(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${eP(e.empty)} 个` : "",
- e.unreadable ? `${eP(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${eP(e.total)} 项`;
-function iP(e) {
+}, tP = (e) => Number(e || 0).toLocaleString(), Yve = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", nP = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), rP = (e) => e.vanish ? `${tP(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", iP = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Xve = (e) => `将永久删除文件已不在盘上的 ${tP(nP(e))} 条记录和 ${tP(e.empty)} 个空文件夹,并清理 ${tP(e.cache?.files)} 个闲置缓存。${iP(e)}${rP(e)}`, Zve = (e) => `将永久删除文件已不在盘上的 ${tP(nP(e))} 条记录(含回收站里的)、${tP(e.empty)} 个空文件夹,并清理 ${tP(e.cache?.files)} 个闲置缓存。来源根目录保留。${iP(e)}${rP(e)}`, Qve = (e) => e.online ? [
+ `找不到文件 · 共 ${tP(e.total)} 项`,
+ e.vanish ? `${tP(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${tP(e.empty)} 个` : "",
+ e.unreadable ? `${tP(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${tP(e.total)} 项`;
+function aP(e) {
let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.vanished || 0) + Number(e.reattached || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");
return {
done: i,
left: a,
rest: [
- t.length ? `${eP(t.length)} 条记录没有删除(${o})` : "",
- n ? `${eP(n)} 个文件夹没有删除` : "",
- r.length ? `${eP(r.length)} 个缓存没有清理` : ""
+ t.length ? `${tP(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${tP(n)} 个文件夹没有删除` : "",
+ r.length ? `${tP(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var eye = (e, t) => {
- let { rest: n } = iP(e), r = `已永久删除 ${eP(e.purged)} 条失效记录和 ${eP(e.dirs_removed)} 个空文件夹,清理 ${eP(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${eP(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${eP(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+var $ve = (e, t) => {
+ let { rest: n } = aP(e), r = `已永久删除 ${tP(e.purged)} 条失效记录和 ${tP(e.dirs_removed)} 个空文件夹,清理 ${tP(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${tP(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${tP(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, tye = "/api/review?counts=1", aP = ["review", "counts"], nye = "/api/ads?limit=1", oP = ["junk-summary"], sP = "/api/items?state=trash&limit=1", cP = ["trash-summary"], rye = [
+}, eye = "/api/review?counts=1", oP = ["review", "counts"], tye = "/api/ads?limit=1", sP = ["junk-summary"], cP = "/api/items?state=trash&limit=1", lP = ["trash-summary"], nye = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], lP = (e) => B(tye, e), uP = (e) => B(nye, e), dP = (e) => {
+], uP = (e) => B(eye, e), dP = (e) => B(tye, e), fP = (e) => {
let t = sessionStorage.getItem("peach.library");
- return B(t ? `${sP}&library=${encodeURIComponent(t)}` : sP, e);
-}, fP = (e) => Number(e || 0).toLocaleString();
-function iye(e) {
- let t = pN, 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 B(t ? `${cP}&library=${encodeURIComponent(t)}` : cP, e);
+}, pP = (e) => Number(e || 0).toLocaleString();
+function rye(e) {
+ let t = mN, 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 aye(e) {
+function iye(e) {
if (!e) return "";
- let t = rye.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${fP(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${fP(e.dismissed_total)}`), t.join(" · ");
-}
-var oye = [
- [aP, ({ signal: e }) => lP(e)],
- [cN, ({ signal: e }) => lN(e)],
- [cP, ({ signal: e }) => dP(e)],
- [TN, ({ signal: e }) => AN(e)],
+ let t = nye.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${pP(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${pP(e.dismissed_total)}`), t.join(" · ");
+}
+var aye = [
+ [oP, ({ signal: e }) => uP(e)],
+ [lN, ({ signal: e }) => uN(e)],
+ [lP, ({ signal: e }) => fP(e)],
[EN, ({ signal: e }) => jN(e)],
- [DN, ({ signal: e }) => MN(e)]
+ [DN, ({ signal: e }) => MN(e)],
+ [ON, ({ signal: e }) => NN(e)]
];
-async function sye(e) {
- let t = location.hash === "#resource-sync", n = oye.map(([n, r]) => {
+async function oye(e) {
+ let t = location.hash === "#resource-sync", n = aye.map(([n, r]) => {
if (t) return H.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
@@ -41269,40 +41287,40 @@ async function sye(e) {
await Promise.all([
...n,
H.fetchQuery({
- queryKey: oP,
- queryFn: () => uP(e)
+ queryKey: sP,
+ queryFn: () => dP(e)
}),
H.fetchQuery({
- queryKey: HM,
- queryFn: () => WM(e)
+ queryKey: UM,
+ queryFn: () => GM(e)
}),
- VM(e).then(() => qve(e)),
- ZM(e),
- Q_e(e),
- Rve(e)
+ HM(e).then(() => Kve(e)),
+ QM(e),
+ Z_e(e),
+ Lve(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var cye = [
+var sye = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], lye = [
+], cye = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function pP(e = {}) {
+function mP(e = {}) {
return `${ck({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var mP = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", uye = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function hP({ interactive: e = !1 } = {}) {
+var hP = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", lye = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function gP({ interactive: e = !1 } = {}) {
return ck({
padding: "none",
radius: "plain",
@@ -41310,8 +41328,8 @@ function hP({ interactive: e = !1 } = {}) {
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var dye = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function gP({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var uye = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function _P({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -41344,13 +41362,13 @@ function gP({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function _P({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function vP({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",
children: [t ? /* @__PURE__ */ (0, x.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${cye[n % 4]} ${lye[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${sye[n % 4]} ${cye[n % 4]}`,
children: /* @__PURE__ */ (0, x.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -41372,16 +41390,16 @@ function _P({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region src/react/components/menu-dialog.tsx
-function vP(e) {
- let t = Gj("hover");
- return /* @__PURE__ */ (0, x.jsx)(HA, {
+function yP(e) {
+ let t = Kj("hover");
+ return /* @__PURE__ */ (0, x.jsx)(UA, {
...e,
ref: t
});
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var yP = [
+var bP = [
"max-w-[calc(100vw-32px)] overflow-y-auto",
"rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown",
"transition duration-150 ease-out",
@@ -41389,31 +41407,31 @@ var yP = [
"data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]",
"data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left",
"data-[placement=left]:origin-right data-[placement=right]:origin-left"
-].join(" "), fye = "w-[266px]", pye = "flex w-full flex-col gap-1 outline-none", bP = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), xP = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", mye = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", SP = {
+].join(" "), dye = "w-[266px]", fye = "flex w-full flex-col gap-1 outline-none", xP = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), SP = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", pye = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", CP = {
medium: "h-9 rounded-2lg p-2 text-body-medium",
small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"
-}, hye = {
- medium: SP.medium,
+}, mye = {
+ medium: CP.medium,
small: "size-8 rounded-lg p-0 text-body-medium"
-}, gye = {
+}, hye = {
medium: "size-5 shrink-0",
small: "size-[18px] shrink-0"
-}, _ye = {
+}, gye = {
medium: "inline-flex items-center justify-center px-1 shrink-0",
small: "inline-flex items-center justify-center px-0.5 shrink-0"
-}, vye = {
+}, _ye = {
primary: "bg-button-primary text-text-white shadow-xs",
secondary: "bg-background-primary-default text-text-primary border border-border-button-default shadow-xs",
ghost: "bg-button-ghost-background text-button-ghost-foreground"
-}, CP = (e, t) => `<svg class="${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${e}"/></svg>`;
-function wP(e, t = "", n = e) {
- return `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1"><div data-rac class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0">${CP("search", "size-5 shrink-0")}<input type="search" enterkeyhint="search" readonly tabindex="-1" aria-label="${R(n)}" value="${R(t)}" placeholder="${R(e)}" class="min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary"></div></div></div></div>`;
+}, wP = (e, t) => `<svg class="${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${e}"/></svg>`;
+function TP(e, t = "", n = e) {
+ return `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1"><div data-rac class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0">${wP("search", "size-5 shrink-0")}<input type="search" enterkeyhint="search" readonly tabindex="-1" aria-label="${R(n)}" value="${R(t)}" placeholder="${R(e)}" class="min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary"></div></div></div></div>`;
}
-function TP({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {
- let o = r ? SP[t] : hye[t], s = n ? CP(n, gye[t]) : "", c = r ? `<span class="${_ye[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";
- return `<button type="button" class="${mye} ${o} ${vye[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;
+function EP({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {
+ let o = r ? CP[t] : mye[t], s = n ? wP(n, hye[t]) : "", c = r ? `<span class="${gye[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";
+ return `<button type="button" class="${pye} ${o} ${_ye[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;
}
-var yye = {
+var vye = {
md: {
box: "gap-1.5 px-2.5 py-2 text-body-medium",
value: "gap-[5px]",
@@ -41425,156 +41443,156 @@ var yye = {
chevron: "size-3.5"
}
};
-function EP(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {
- let i = yye[t];
- return `<div class="group flex flex-col${n ? ` ${n}` : ""}"><button type="button" aria-haspopup="listbox"${r ? ` ${r}` : ""} class="flex w-full items-center justify-between rounded-2lg border border-border-button-default bg-background-primary-default shadow-xs text-text-primary ${i.box}"><span class="flex min-w-0 items-center truncate ${i.value}">${e}</span>${CP("chevron-down", `shrink-0 text-text-secondary ${i.chevron}`)}</button></div>`;
+function DP(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {
+ let i = vye[t];
+ return `<div class="group flex flex-col${n ? ` ${n}` : ""}"><button type="button" aria-haspopup="listbox"${r ? ` ${r}` : ""} class="flex w-full items-center justify-between rounded-2lg border border-border-button-default bg-background-primary-default shadow-xs text-text-primary ${i.box}"><span class="flex min-w-0 items-center truncate ${i.value}">${e}</span>${wP("chevron-down", `shrink-0 text-text-secondary ${i.chevron}`)}</button></div>`;
}
-var bye = "flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default", xye = "flex min-w-0 flex-col gap-2", Sye = "text-body-regular text-text-secondary", Cye = "text-display-4-medium tabular-nums text-text-primary", wye = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";
-function DP(e) {
- return `<div data-collection-summary="" class="${bye}"><div class="${xye}"><span class="${Sye}">${e}</span><strong class="${Cye}"><span data-skeleton="count" aria-hidden="true" class="${wye}"></span></strong></div></div>`;
+var yye = "flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default", bye = "flex min-w-0 flex-col gap-2", xye = "text-body-regular text-text-secondary", Sye = "text-display-4-medium tabular-nums text-text-primary", Cye = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";
+function OP(e) {
+ return `<div data-collection-summary="" class="${yye}"><div class="${bye}"><span class="${xye}">${e}</span><strong class="${Sye}"><span data-skeleton="count" aria-hidden="true" class="${Cye}"></span></strong></div></div>`;
}
//#endregion
//#region src/management.ts
-var OP = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", kP = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", AP = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", jP = "type=\"button\" disabled data-skeleton-action", MP = "disabled data-skeleton-action", Tye = "aria-disabled=\"true\"", NP = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, PP = (e, t) => `<div data-geist-fieldset-content>
+var kP = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", AP = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", jP = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", MP = "type=\"button\" disabled data-skeleton-action", NP = "disabled data-skeleton-action", wye = "aria-disabled=\"true\"", PP = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, FP = (e, t) => `<div data-geist-fieldset-content>
<h3 class="text-title-2-medium text-text-primary">${e}</h3>
<p class="text-body-2-regular text-text-secondary">${t}</p></div>`;
-function Eye() {
- return NP(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
- ${PP("扫描与采集", OP)}
- <footer data-geist-fieldset-footer><a href="/scraping" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${CP("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${TP({
+function Tye() {
+ return PP(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
+ ${FP("扫描与采集", kP)}
+ <footer data-geist-fieldset-footer><a href="/scraping" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${wP("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${EP({
glyph: "database",
label: "扫描并补全资料",
- attrs: MP
- })}${TP({
+ attrs: NP
+ })}${EP({
glyph: "chevron-down",
- attrs: `${MP} aria-label="更多扫描与采集方式"`
+ attrs: `${NP} aria-label="更多扫描与采集方式"`
})}</span></footer>
</section>`);
}
-function Dye() {
- return NP(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
- ${PP("媒体修复", kP)}
- <footer data-geist-fieldset-footer>${EP(AP, {
+function Eye() {
+ return PP(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
+ ${FP("媒体修复", AP)}
+ <footer data-geist-fieldset-footer>${DP(jP, {
className: "w-48",
- attrs: Tye
- })}${TP({
+ attrs: wye
+ })}${EP({
label: "开始修复",
- attrs: MP
+ attrs: NP
})}</footer>
</section>`);
}
-function FP() {
+function IP() {
let e = [
["人工复核", "square-check-big"],
["高清版", "sparkles"],
["重复文件", "file-stack"],
["垃圾文件", "file-archive"],
["回收站", "trash"]
- ], t = `<span class="geist-button ui-organize-preset-skeleton">${AP}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>
- <span class="geist-input ui-organize-input-skeleton">${AP}</span></div>`;
+ ], t = `<span class="geist-button ui-organize-preset-skeleton">${jP}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>
+ <span class="geist-input ui-organize-input-skeleton">${jP}</span></div>`;
return `<div class="ui-cleanuppage" data-skeleton="cleanup" aria-busy="true" aria-label="正在读取数据管理状态">
<div class="ui-cleanupstats">${e.map(([e, t]) => `
<button type="button" class="board-plain-stat" disabled>
<span class="ui-board-plain-stat-head"><span class="ui-board-stat-tile">${L(t)}</span>${e}</span>
- <strong>${AP}</strong><span class="cleanupmeta">${AP}</span></button>`).join("")}</div>
+ <strong>${jP}</strong><span class="cleanupmeta">${jP}</span></button>`).join("")}</div>
<div class="cleanupgrid">
- <div class="cleanupscraping">${Eye()}</div>
- <div class="cleanupmediarepair">${Dye()}</div>
+ <div class="cleanupscraping">${Tye()}</div>
+ <div class="cleanupmediarepair">${Eye()}</div>
<section class="cleanupfieldset cleanuporganize" data-geist-fieldset data-cleanup-task aria-labelledby="cleanup-loading-organize">
<div class="geist-fieldset-content"><h3 class="geist-fieldset-title" id="cleanup-loading-organize">整理</h3>
<p>按模板给文件改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>
<div class="ui-organizefields">
- <div class="organizesource"><span class="ui-gselect"><span class="gselectfield organize-source-skeleton">${AP}${L("chevron-down")}</span></span></div>
+ <div class="organizesource"><span class="ui-gselect"><span class="gselectfield organize-source-skeleton">${jP}${L("chevron-down")}</span></span></div>
${n("文件名模板")}
${n("目录模板")}
<div class="ui-organizepresets">${t}</div>
- <p class="cleanupmeta">${AP}</p>
+ <p class="cleanupmeta">${jP}</p>
</div></div>
- <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${jP}>预览</button></footer>
+ <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${MP}>预览</button></footer>
</section></div>
<section class="ui-resourcesync" aria-labelledby="cleanup-loading-links">
<h2 id="cleanup-loading-links">链接管理</h2>
<div class="resourcesyncbox" data-geist-fieldset data-cleanup-task data-fieldset-stack>
<div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">站外链接</h3>
- <div class="linksummary"><div class="ui-linkstats"><div><span>链接总数</span><b>${AP}</b><small>${AP}</small></div>${[
+ <div class="linksummary"><div class="ui-linkstats"><div><span>链接总数</span><b>${jP}</b><small>${jP}</small></div>${[
"官网/事务所",
"社交账号",
"作品资料站"
- ].map((e) => `<div><span>${e}</span><b>${AP}</b></div>`).join("")}</div>
- <div class="ui-linkhosts"><span>主要站点</span><b>${AP}</b></div></div></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${jP}>${L("unlink")}<span>检查死链</span></button></div>
+ ].map((e) => `<div><span>${e}</span><b>${jP}</b></div>`).join("")}</div>
+ <div class="ui-linkhosts"><span>主要站点</span><b>${jP}</b></div></div></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${MP}>${L("unlink")}<span>检查死链</span></button></div>
</div></section>
<section class="ui-resourcesync" aria-labelledby="cleanup-loading-sync">
<h2 id="cleanup-loading-sync">资源同步</h2>
<div class="resourcesyncbox" data-geist-fieldset data-cleanup-task>
<div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">文件与记录核对</h3>
<p>按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。</p></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${jP}>${L("git-compare")}<span>检查文件</span></button></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${MP}>${L("git-compare")}<span>检查文件</span></button></div>
</div></section></div>`;
}
//#endregion
//#region src/react/components/fieldset.tsx
-var Oye = ck({
+var Dye = ck({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), kye = {
+}), Oye = {
split: "min-w-0 p-6",
stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"
-}, Aye = {
+}, kye = {
split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",
stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"
-}, jye = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", Mye = {
+}, Aye = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", jye = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, Nye = ck({
+}, Mye = ck({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), IP = "border-t border-border-button-default p-4 first:border-t-0";
-function LP({ tone: e = "neutral", status: t, children: n }) {
+}), LP = "border-t border-border-button-default p-4 first:border-t-0";
+function RP({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: `${jye} ${Mye[e]}`,
+ className: `${Aye} ${jye[e]}`,
children: [t ? /* @__PURE__ */ (0, x.jsx)("p", {
className: `mr-auto min-w-0 text-caption-1-regular ${e === "error" ? "text-text-error-primary" : "text-text-secondary"}`,
children: t
}) : null, n]
});
}
-function RP({ id: e, children: t }) {
+function zP({ id: e, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function zP({ id: e, gap: t = "none", children: n }) {
+function BP({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, x.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function BP({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function VP({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${Oye} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${Dye} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
- className: kye[e],
+ className: Oye[e],
children: a
}), i ? /* @__PURE__ */ (0, x.jsx)("footer", {
- className: Aye[e],
+ className: kye[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function VP() {
+function HP() {
let e = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
va(e.current);
@@ -41582,7 +41600,7 @@ function VP() {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var HP = rk({
+var UP = rk({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -41603,21 +41621,21 @@ var HP = rk({
small: "size-4 shrink-0"
}
});
-function UP({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function WP({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
ref: i,
type: r,
- className: nk(HP.base, HP.size[t], n),
+ className: nk(UP.base, UP.size[t], n),
...a,
children: /* @__PURE__ */ (0, x.jsx)(e, {
- className: HP.icon[t],
+ className: UP.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function Pye({ className: e }) {
+function Nye({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -41630,8 +41648,8 @@ function Pye({ className: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-folder-open" })
});
}
-var Fye = "打开文件管理器失败,请重试";
-function WP({ path: e, prefix: t, className: n, onRevealed: r }) {
+var Pye = "打开文件管理器失败,请重试";
+function GP({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, b.useState)(!1), [o, s] = (0, b.useState)(""), c = (0, b.useRef)(!0);
(0, b.useEffect)(() => () => {
c.current = !1;
@@ -41642,7 +41660,7 @@ function WP({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await V("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof en ? e.message : Fye);
+ c.current && s(e instanceof en ? e.message : Pye);
} finally {
c.current && a(!1);
}
@@ -41655,8 +41673,8 @@ function WP({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, x.jsxs)("p", {
className: nk("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, x.jsx)(UP, {
- icon: Pye,
+ }), /* @__PURE__ */ (0, x.jsx)(WP, {
+ icon: Nye,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -41671,7 +41689,7 @@ function WP({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/components/task-progress.tsx
-function GP({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function KP({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-task-progress": !0,
className: r ? "flex flex-col gap-1.5" : ck({
@@ -41691,18 +41709,18 @@ function GP({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function KP({ toast: e, mode: t, monitor: n }) {
+function qP({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = dt({
- queryKey: YM,
- queryFn: ({ signal: e }) => XM(e),
- refetchInterval: (e) => G_e(e.state.data, r)
+ queryKey: XM,
+ queryFn: ({ signal: e }) => ZM(e),
+ refetchInterval: (e) => W_e(e.state.data, r)
}), [a, o] = (0, b.useState)(null), s = (0, b.useRef)(void 0), c = i.data;
return (0, b.useEffect)(() => {
if (!c) return;
let n = s.current;
s.current = c.status;
let r = n === "running" && c.status !== "running";
- r && o(c), (r || t === "notice") && X_e(c, e, r);
+ r && o(c), (r || t === "notice") && Y_e(c, e, r);
}, [
c,
t,
@@ -41715,7 +41733,7 @@ function KP({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var Iye = [
+var Fye = [
{
label: "扫描并补全资料",
icon: EO,
@@ -41731,13 +41749,13 @@ var Iye = [
icon: ude,
command: { stage: "collect" }
}
-], Lye = nk(bP, xP, "text-body-2-medium"), Rye = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", zye = (e) => {
+], Iye = nk(xP, SP, "text-body-2-medium"), Lye = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Rye = (e) => {
let t = e.performer_aliases || 0, n = e.performer_avatars || 0, r = e.performer_profile_conflicts || 0, i = e.performer_profile_failed || 0;
if (!t && !n && !r && !i) return "";
let a = [`补齐女优资料:别名 ${t} 个,头像 ${n} 张`];
return r && a.push(`${r} 个同名冲突交回人工`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;
-}, Bye = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + zye(e);
-function Vye({ busy: e, onRun: t }) {
+}, zye = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + Rye(e);
+function Bye({ busy: e, onRun: t }) {
let n = (0, b.useRef)(null), [r, i] = (0, b.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -41768,13 +41786,13 @@ function Vye({ busy: e, onRun: t }) {
onOpenChange: i,
placement: "bottom end",
offset: 4,
- className: yP,
- children: /* @__PURE__ */ (0, x.jsx)(vP, {
+ className: bP,
+ children: /* @__PURE__ */ (0, x.jsx)(yP, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: Iye.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ children: Fye.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: Lye,
+ className: Iye,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, x.jsx)(t, {
"aria-hidden": !0,
@@ -41784,8 +41802,8 @@ function Vye({ busy: e, onRun: t }) {
})
})] });
}
-function Hye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = J_e(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = q_e(e.notes || {}), c = VP();
+function Vye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = q_e(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = K_e(e.notes || {}), c = HP();
return /* @__PURE__ */ (0, x.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -41793,7 +41811,7 @@ function Hye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "处理较慢",
- children: Rye
+ children: Lye
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -41836,7 +41854,7 @@ function Hye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
- children: /* @__PURE__ */ (0, x.jsx)(WP, {
+ children: /* @__PURE__ */ (0, x.jsx)(GP, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -41850,13 +41868,13 @@ function Hye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "success",
title: "处理完成",
- children: Bye(n)
+ children: zye(n)
}) : null,
e.status !== "running" && s ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, x.jsx)(WP, {
+ children: /* @__PURE__ */ (0, x.jsx)(GP, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -41868,22 +41886,22 @@ function Hye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function qP(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = KP(e), o = ft({
- mutationFn: (e) => V(JM, e),
+function JP(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = qP(e), o = ft({
+ mutationFn: (e) => V(YM, e),
onSuccess: (e) => {
- a(), H.setQueryData(YM, e), H.invalidateQueries({ queryKey: YM });
+ a(), H.setQueryData(XM, e), H.invalidateQueries({ queryKey: XM });
}
});
(0, b.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? z(o.error) : r.isError ? r.data ? QM : z(r.error) : "", l = o.isPending || s.status === "running", u = eN(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? z(o.error) : r.isError ? r.data ? $M : z(r.error) : "", l = o.isPending || s.status === "running", u = tN(s), d = (e) => {
l || (o.reset(), o.mutate(e));
};
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, x.jsx)(BP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(VP, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
@@ -41899,7 +41917,7 @@ function qP(e) {
trailingIcon: SO,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, x.jsx)(Vye, {
+ /* @__PURE__ */ (0, x.jsx)(Bye, {
busy: l,
onRun: d
})
@@ -41907,12 +41925,12 @@ function qP(e) {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(zP, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, x.jsx)(BP, { children: "扫描与采集" }),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: OP
+ children: kP
}),
- s.status === "running" ? /* @__PURE__ */ (0, x.jsx)(GP, {
+ s.status === "running" ? /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
label: u,
value: Math.min(s.checked || 0, s.total || 0),
@@ -41920,7 +41938,7 @@ function qP(e) {
}) : null
]
})
- }), /* @__PURE__ */ (0, x.jsx)(Hye, {
+ }), /* @__PURE__ */ (0, x.jsx)(Vye, {
state: s,
problem: c,
settled: i,
@@ -41936,7 +41954,7 @@ function qP(e) {
}
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function Uye(e) {
+function Hye(e) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -41950,7 +41968,7 @@ function Uye(e) {
})
});
}
-function Wye(e) {
+function Uye(e) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -41964,7 +41982,7 @@ function Wye(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function Gye(e, t, n) {
+function Wye(e, t, n) {
(0, b.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -41978,7 +41996,7 @@ function Gye(e, t, n) {
n
]);
}
-function Kye(e, t) {
+function Gye(e, t) {
let n = (0, b.useRef)(!1);
return (0, b.useEffect)(() => {
if (!e) return;
@@ -41992,12 +42010,12 @@ function Kye(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var JP = (0, b.createContext)("md");
-function YP({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var YP = (0, b.createContext)("md");
+function XP({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, b.useRef)(null), u = (0, b.useRef)(null), [d, f] = (0, b.useState)(!1);
- Gye(d, () => f(!1), [l, u]);
- let p = Kye(d, l);
- return /* @__PURE__ */ (0, x.jsx)(Hhe, {
+ Wye(d, () => f(!1), [l, u]);
+ let p = Gye(d, l);
+ return /* @__PURE__ */ (0, x.jsx)(Vhe, {
ref: s,
...c,
isOpen: d,
@@ -42006,19 +42024,19 @@ function YP({ className: e, triggerClassName: t, popoverClassName: n, size: r =
children: ({ isOpen: e }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(Jpe, {
ref: l,
className: nk("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
- children: [/* @__PURE__ */ (0, x.jsx)(Ghe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Whe, {
className: nk("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, x.jsx)(Uye, { className: nk("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, x.jsx)(Hye, { className: nk("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
}), /* @__PURE__ */ (0, x.jsx)(MA, {
ref: u,
isNonModal: !0,
offset: 4,
- className: nk(fye, yP, "p-2", n),
+ className: nk(dye, bP, "p-2", n),
children: /* @__PURE__ */ (0, x.jsx)(ihe, {
items: a,
- className: nk(pye, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, x.jsx)(JP.Provider, {
+ className: nk(fye, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, x.jsx)(YP.Provider, {
value: r,
children: i
})
@@ -42026,19 +42044,19 @@ function YP({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function XP({ className: e, children: t, ...n }) {
- let r = (0, b.useContext)(JP);
+function ZP({ className: e, children: t, ...n }) {
+ let r = (0, b.useContext)(YP);
return /* @__PURE__ */ (0, x.jsx)(che, {
...n,
- className: (t) => nk(bP, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
+ className: (t) => nk(xP, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
children: t
});
}
//#endregion
//#region src/react/background-job.ts
-var ZP = 2e3, qye = (e) => e, Jye = (e, t) => t;
-function QP(e) {
- let { queryKey: t, jobOf: n = qye, withJob: r = Jye, idlePollMs: i } = e, [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(null), l = (0, b.useRef)(e);
+var QP = 2e3, Kye = (e) => e, qye = (e, t) => t;
+function $P(e) {
+ let { queryKey: t, jobOf: n = Kye, withJob: r = qye, idlePollMs: i } = e, [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(null), l = (0, b.useRef)(e);
(0, b.useEffect)(() => {
l.current = e;
});
@@ -42047,7 +42065,7 @@ function QP(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? ZP : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? QP : i ?? !1;
}
}), d = ft({
mutationFn: (e) => l.current.start(e),
@@ -42072,32 +42090,32 @@ function QP(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var Yye = (e) => Ja[e] || e, $P = (e) => H.setQueryData(rN, e);
-function Xye() {
+var Jye = (e) => Ja[e] || e, eF = (e) => H.setQueryData(iN, e);
+function Yye() {
let e = dt({
- queryKey: rN,
- queryFn: ({ signal: e }) => aN(e),
- refetchInterval: (e) => e.state.data?.status === "running" && ZP
- }), t = dt({
queryKey: iN,
- queryFn: ({ signal: e }) => oN(e)
- }), [n, r] = (0, b.useState)(""), i = mk(), a = e.data ?? Z_e, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
+ queryFn: ({ signal: e }) => oN(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && QP
+ }), t = dt({
+ queryKey: aN,
+ queryFn: ({ signal: e }) => sN(e)
+ }), [n, r] = (0, b.useState)(""), i = mk(), a = e.data ?? X_e, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
c && cs({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => $P(await V(nN, {
+ onConfirm: async () => eF(await V(rN, {
library: c.id,
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => V(nN, { stop: !0 }, "POST", e), $P), d = $_e(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => V(rN, { stop: !0 }, "POST", e), eF), d = Q_e(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, x.jsx)(BP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(VP, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(YP, {
+ footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -42105,10 +42123,10 @@ function Xye() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, x.jsxs)(XP, {
+ children: o.map((e) => /* @__PURE__ */ (0, x.jsxs)(ZP, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, x.jsx)(kk, { mark: Yye(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, x.jsx)(kk, { mark: Jye(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, x.jsx)(G, {
onClick: u,
@@ -42122,10 +42140,10 @@ function Xye() {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(zP, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, x.jsx)(BP, { children: "媒体修复" }),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: kP
+ children: AP
}),
s && a.total ? /* @__PURE__ */ (0, x.jsx)(pk, {
label: "修复进度",
@@ -42151,7 +42169,7 @@ function Xye() {
f && a.missing_tool ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "缺少 untrunc",
- children: eve(a)
+ children: $_e(a)
}) : null,
p ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -42163,7 +42181,7 @@ function Xye() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var eF = {
+var tF = {
md: {
box: "size-4",
glyph: "size-4",
@@ -42177,8 +42195,8 @@ var eF = {
gap: "gap-1.5"
}
};
-function tF({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = eF[t], c = n || r, l = o && !a;
+function nF({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = tF[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
className: nk("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? nk("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : nk("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
@@ -42205,13 +42223,13 @@ function tF({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function nF({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = eF[n];
+function rF({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = tF[n];
return /* @__PURE__ */ (0, x.jsx)(rme, {
ref: r,
...i,
className: (t) => nk("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
- children: (e) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(tF, {
+ children: (e) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(nF, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, x.jsx)("span", {
@@ -42222,10 +42240,10 @@ function nF({ className: e, children: t, size: n = "md", ref: r, ...i }) {
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function rF({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function iF({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: nk("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, x.jsx)(age, {
+ children: /* @__PURE__ */ (0, x.jsx)(ige, {
ref: r,
...i,
className: nk("bui-table", e === "sm" && "bui-table-sm", t)
@@ -42234,7 +42252,7 @@ function rF({ size: e = "md", className: t, containerClassName: n, ref: r, ...i
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function iF({ children: e, follow: t = !1, onRowClick: n }) {
+function aF({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -42242,15 +42260,15 @@ function iF({ children: e, follow: t = !1, onRowClick: n }) {
let t = e.target;
if (!(t instanceof Element)) return;
let r = t.closest("[role=\"row\"][data-key]");
- r && DM(e, r) && n(r.dataset.key);
+ r && OM(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var Zye = Ij("unlink"), aF = Ij("rotate-cw"), Qye = "站点返回 404 或 410,确认这个地址不存在。", $ye = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", ebe = "删除前会逐条重验一次;此操作不可撤销。", tbe = "暂时无法读取进度,正在重新连接…", oF = (e) => Number(e || 0).toLocaleString();
-function sF({ label: e, value: t, note: n }) {
+var Xye = Lj("unlink"), oF = Lj("rotate-cw"), Zye = "站点返回 404 或 410,确认这个地址不存在。", Qye = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", $ye = "删除前会逐条重验一次;此操作不可撤销。", ebe = "暂时无法读取进度,正在重新连接…", sF = (e) => Number(e || 0).toLocaleString();
+function cF({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -42269,12 +42287,12 @@ function sF({ label: e, value: t, note: n }) {
]
});
}
-function cF({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
+function lF({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
let [o, s] = (0, b.useState)(!1);
if (!t.length) return null;
let c = r ?? [], l = c.length > 0 && c.length === t.length, u = o ? t : t.slice(0, 10), d = t.length > 10;
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: IP,
+ className: LP,
children: [
/* @__PURE__ */ (0, x.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -42287,13 +42305,13 @@ function cF({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
className: "mb-3 text-caption-1-regular text-text-secondary",
children: n
}),
- /* @__PURE__ */ (0, x.jsx)(iF, { children: /* @__PURE__ */ (0, x.jsxs)(rF, {
+ /* @__PURE__ */ (0, x.jsx)(aF, { children: /* @__PURE__ */ (0, x.jsxs)(iF, {
"aria-label": e,
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(fj, { children: [
- i ? /* @__PURE__ */ (0, x.jsx)(pj, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(pj, { children: [
+ i ? /* @__PURE__ */ (0, x.jsx)(mj, {
id: "pick",
- children: /* @__PURE__ */ (0, x.jsx)(nF, {
+ children: /* @__PURE__ */ (0, x.jsx)(rF, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: l,
@@ -42301,53 +42319,53 @@ function cF({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
onChange: (e) => i(e ? t.map((e) => e.id) : [])
})
}) : null,
- /* @__PURE__ */ (0, x.jsx)(pj, {
+ /* @__PURE__ */ (0, x.jsx)(mj, {
id: "entity",
isRowHeader: !0,
children: "所属"
}),
- /* @__PURE__ */ (0, x.jsx)(pj, {
+ /* @__PURE__ */ (0, x.jsx)(mj, {
id: "kind",
children: "类型"
}),
- /* @__PURE__ */ (0, x.jsx)(pj, {
+ /* @__PURE__ */ (0, x.jsx)(mj, {
id: "label",
children: "标签"
}),
- /* @__PURE__ */ (0, x.jsx)(pj, {
+ /* @__PURE__ */ (0, x.jsx)(mj, {
id: "note",
children: "结果"
}),
- /* @__PURE__ */ (0, x.jsx)(pj, {
+ /* @__PURE__ */ (0, x.jsx)(mj, {
id: "url",
children: "地址"
})
- ] }), /* @__PURE__ */ (0, x.jsx)(hj, { children: u.map((e) => /* @__PURE__ */ (0, x.jsxs)(vj, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(gj, { children: u.map((e) => /* @__PURE__ */ (0, x.jsxs)(yj, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, x.jsx)(bj, { children: /* @__PURE__ */ (0, x.jsx)(nF, {
+ i ? /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)(rF, {
slot: null,
"aria-label": `选择 ${e.entity} 的${e.label || e.url}`,
isSelected: c.includes(e.id),
onChange: (t) => i(t ? [...c, e.id] : c.filter((t) => t !== e.id))
}) }) : null,
- /* @__PURE__ */ (0, x.jsx)(bj, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "block min-w-24 wrap-anywhere",
children: e.entity
}) }),
- /* @__PURE__ */ (0, x.jsx)(bj, { children: ON[e.link_kind] || e.link_kind }),
- /* @__PURE__ */ (0, x.jsx)(bj, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(xj, { children: kN[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "block min-w-24 wrap-anywhere",
children: e.label || ""
}) }),
- /* @__PURE__ */ (0, x.jsx)(bj, { children: /* @__PURE__ */ (0, x.jsx)("div", {
+ /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-40 max-w-80",
children: /* @__PURE__ */ (0, x.jsx)(zk, {
text: e.note,
className: "tabular-nums text-text-error-primary"
})
}) }),
- /* @__PURE__ */ (0, x.jsx)(bj, { children: /* @__PURE__ */ (0, x.jsxs)("a", {
+ /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsxs)("a", {
href: e.url,
target: "_blank",
rel: "noreferrer",
@@ -42379,27 +42397,27 @@ function cF({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function nbe() {
+function tbe() {
let e = dt({
- queryKey: TN,
- queryFn: ({ signal: e }) => AN(e)
- }), [t, n] = (0, b.useState)([]), r = QP({
- queryKey: DN,
- queryFn: ({ signal: e }) => MN(e),
- start: Eve,
+ queryKey: EN,
+ queryFn: ({ signal: e }) => jN(e)
+ }), [t, n] = (0, b.useState)([]), r = $P({
+ queryKey: ON,
+ queryFn: ({ signal: e }) => NN(e),
+ start: Tve,
onFinish: () => {
H.invalidateQueries({
- queryKey: TN,
+ queryKey: EN,
exact: !0
}), H.invalidateQueries({
- queryKey: EN,
+ queryKey: DN,
exact: !0
});
}
- }), i = QP({
- queryKey: EN,
- queryFn: ({ signal: e }) => jN(e),
- start: Tve,
+ }), i = $P({
+ queryKey: DN,
+ queryFn: ({ signal: e }) => MN(e),
+ start: wve,
onStarted: () => {
r.dismiss(), n([]);
}
@@ -42407,7 +42425,7 @@ function nbe() {
(0, b.useEffect)(() => {
n([]);
}, [o]);
- let s = i.running || i.start.isPending, c = r.running || r.start.isPending, l = a?.status === "complete", u = a?.gone ?? [], d = a?.unclear ?? [], f = l ? d : [], p = e.data, m = (p?.top_hosts ?? []).slice(0, 3).map(([e, t]) => `${e} ${oF(t)}`).join(" · "), h = (e) => {
+ let s = i.running || i.start.isPending, c = r.running || r.start.isPending, l = a?.status === "complete", u = a?.gone ?? [], d = a?.unclear ?? [], f = l ? d : [], p = e.data, m = (p?.top_hosts ?? []).slice(0, 3).map(([e, t]) => `${e} ${sF(t)}`).join(" · "), h = (e) => {
s || e && !e.length || i.start.mutate(e ? {
retry: e,
checkId: o
@@ -42429,7 +42447,7 @@ function nbe() {
else if (_) S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "success",
title: "完成",
- children: Dve(_)
+ children: Eve(_)
});
else if (v) S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -42439,7 +42457,7 @@ function nbe() {
else if (i.query.isError && a) S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "任务状态",
- children: tbe
+ children: ebe
});
else if (a?.status === "failed") S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -42447,12 +42465,12 @@ function nbe() {
children: a.error || "检查失败"
});
else if (a && a.status !== "idle") {
- y = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, x.jsx)(GP, {
+ y = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
- label: Ove(a),
+ label: Dve(a),
value: Math.min(a.checked || 0, a.total || 0),
total: a.total
- }) : null, c ? /* @__PURE__ */ (0, x.jsx)(GP, {
+ }) : null, c ? /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
label: r.job?.message || "正在重验并删除失效链接…",
value: Math.min(r.job?.checked || 0, r.job?.total || 0),
@@ -42460,38 +42478,38 @@ function nbe() {
}) : null] });
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
S = l || u.length || d.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
- className: Nye,
+ className: Mye,
children: [
- /* @__PURE__ */ (0, x.jsx)(cF, {
+ /* @__PURE__ */ (0, x.jsx)(lF, {
title: "地址已失效",
items: u,
- hint: Qye
+ hint: Zye
}),
- /* @__PURE__ */ (0, x.jsx)(cF, {
+ /* @__PURE__ */ (0, x.jsx)(lF, {
title: "本次未访问成功",
items: d,
- hint: $ye,
+ hint: Qye,
picked: f.length ? t : void 0,
onPick: f.length ? n : void 0,
children: f.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "-mx-4 mt-3 -mb-4",
- children: /* @__PURE__ */ (0, x.jsxs)(LP, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: aF,
+ children: /* @__PURE__ */ (0, x.jsxs)(RP, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ leadingIcon: oF,
disabled: !t.length,
...q(s),
onClick: () => h(t),
children: e
}), /* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: aF,
+ leadingIcon: oF,
...q(s),
onClick: () => h(f.map((e) => e.id)),
children: `全部重试(${f.length})`
})] })
}) : null
}),
- l && u.length ? /* @__PURE__ */ (0, x.jsx)(LP, {
+ l && u.length ? /* @__PURE__ */ (0, x.jsx)(RP, {
tone: "error",
- status: ebe,
+ status: $ye,
children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "danger",
...q(c),
@@ -42500,7 +42518,7 @@ function nbe() {
})
}) : null,
l && !u.length && !d.length ? /* @__PURE__ */ (0, x.jsx)("p", {
- className: `${IP} text-body-regular text-notification-success-foreground`,
+ className: `${LP} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -42511,21 +42529,21 @@ function nbe() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsx)(RP, {
+ /* @__PURE__ */ (0, x.jsx)(zP, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, x.jsxs)(BP, {
+ /* @__PURE__ */ (0, x.jsxs)(VP, {
layout: "stack",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: Zye,
+ leadingIcon: Xye,
...q(s),
onClick: () => h(),
children: s ? "检查中" : l ? "重新检查" : "检查死链"
}),
children: [
- /* @__PURE__ */ (0, x.jsx)(zP, {
+ /* @__PURE__ */ (0, x.jsx)(BP, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -42536,13 +42554,13 @@ function nbe() {
children: z(e.error)
}) : p ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, x.jsx)(sF, {
+ children: [/* @__PURE__ */ (0, x.jsx)(cF, {
label: "链接总数",
- value: oF(p.total),
- note: `分布在 ${oF(p.entities)} 个女优、厂牌与系列`
- }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(sF, {
- label: ON[e] || e,
- value: oF(t)
+ value: sF(p.total),
+ note: `分布在 ${sF(p.entities)} 个女优、厂牌与系列`
+ }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(cF, {
+ label: kN[e] || e,
+ value: sF(t)
}, e))]
}), m ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -42571,18 +42589,18 @@ function nbe() {
}
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var rbe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, ibe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", abe = 8;
-function obe({ plan: e }) {
+var nbe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, rbe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", ibe = 8;
+function abe({ plan: e }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("ol", {
className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, abe).map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
+ children: e.rows.slice(0, ibe).map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
"data-middle-truncate": !0,
title: e.current_path,
className: "min-w-0 truncate",
- children: WN(e.current_path)
+ children: GN(e.current_path)
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
@@ -42592,7 +42610,7 @@ function obe({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: WN(e.target_path)
+ children: GN(e.target_path)
})
]
}, e.current_path))
@@ -42601,10 +42619,10 @@ function obe({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function sbe({ toast: e, failure: t }) {
+function obe({ toast: e, failure: t }) {
let n = dt({
- queryKey: HN,
- queryFn: ({ signal: e }) => UN(e)
+ queryKey: UN,
+ queryFn: ({ signal: e }) => WN(e)
}), r = n.data, i = r?.locations ?? [], [a, o] = (0, b.useState)(""), s = i.some((e) => e.location === a) ? a : i[0]?.location ?? "", c = r?.templates?.[s], [l, u] = (0, b.useState)(null), d = l?.location === s ? l : {
location: s,
file: c?.file ?? "",
@@ -42617,38 +42635,38 @@ function sbe({ toast: e, failure: t }) {
file_template: d.file.trim(),
dir_template: d.dir.trim()
}), v = ft({
- mutationFn: zve,
+ mutationFn: Rve,
onError: (e) => {
- let t = Uve.test(z(e)) ? "dir" : "file";
+ let t = Hve.test(z(e)) ? "dir" : "file";
m(t), (t === "dir" ? g : h).current?.focus();
}
- }), y = QP({
- queryKey: HN,
- queryFn: ({ signal: e }) => UN(e),
- start: Bve,
+ }), y = $P({
+ queryKey: UN,
+ queryFn: ({ signal: e }) => WN(e),
+ start: zve,
jobOf: (e) => e,
- withJob: Hve,
+ withJob: Vve,
onStarted: () => v.reset(),
onFinish: (n) => {
if (H.invalidateQueries({
- queryKey: HN,
+ queryKey: UN,
exact: !0
}), n.status !== "complete") return;
- let { text: r, failed: i } = KN(n);
+ let { text: r, failed: i } = qN(n);
i ? t("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : e(r.replace(/。$/, ""));
}
}), S = y.running || y.start.isPending, C = v.data, w = Number(C?.counts?.change || 0), T = Yt[s] || s, E = (r?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), D = () => {
!v.isPending && s && (m(null), v.mutate(_()));
}, O = () => void cs({
title: "按模板整理文件",
- body: rbe(T),
+ body: nbe(T),
confirmLabel: "整理文件",
onConfirm: async () => {
let e = _();
await y.start.mutateAsync({
kind: "apply",
request: e
- }), Vve({
+ }), Bve({
...r?.templates ?? {},
[e.location]: {
file: e.file_template,
@@ -42658,13 +42676,13 @@ function sbe({ toast: e, failure: t }) {
}
}), k = () => void cs({
title: "回滚上一批整理",
- body: ibe,
+ body: rbe,
confirmLabel: "回滚整理",
onConfirm: () => y.start.mutateAsync({ kind: "rollback" })
}), A = null, j = y.job, M = y.outcome;
if (j?.status === "running") {
let e = j.message || j.stage || "正在整理文件…";
- A = /* @__PURE__ */ (0, x.jsx)(GP, {
+ A = /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
label: e,
value: Math.min(j.checked || 0, j.total || 0),
@@ -42676,7 +42694,7 @@ function sbe({ toast: e, failure: t }) {
children: M.error || "请查看任务记录,核对已处理的文件。"
});
else if (M) {
- let { text: e, failed: t } = KN(M);
+ let { text: e, failed: t } = qN(M);
A = /* @__PURE__ */ (0, x.jsx)(K, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -42686,7 +42704,7 @@ function sbe({ toast: e, failure: t }) {
tone: "error",
title: "整理失败",
children: z(y.start.error)
- }) : v.isPending ? A = /* @__PURE__ */ (0, x.jsx)(GP, {
+ }) : v.isPending ? A = /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
label: "正在按模板算计划…"
}) : v.isError ? A = /* @__PURE__ */ (0, x.jsx)(K, {
@@ -42696,9 +42714,9 @@ function sbe({ toast: e, failure: t }) {
}) : C && (A = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "预览结果",
- children: Wve(C)
- }), w ? /* @__PURE__ */ (0, x.jsx)(obe, { plan: C }) : null] }));
- return /* @__PURE__ */ (0, x.jsxs)(BP, {
+ children: Uve(C)
+ }), w ? /* @__PURE__ */ (0, x.jsx)(abe, { plan: C }) : null] }));
+ return /* @__PURE__ */ (0, x.jsxs)(VP, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -42722,7 +42740,7 @@ function sbe({ toast: e, failure: t }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, x.jsx)(zP, {
+ /* @__PURE__ */ (0, x.jsx)(BP, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -42742,20 +42760,20 @@ function sbe({ toast: e, failure: t }) {
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- i.length ? /* @__PURE__ */ (0, x.jsx)(YP, {
+ i.length ? /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "整理哪个来源",
className: "w-fit min-w-25",
selectedKey: s || null,
onSelectionChange: (e) => {
e !== null && (o(String(e)), m(null), v.reset());
},
- children: i.map((e) => /* @__PURE__ */ (0, x.jsxs)(XP, {
+ children: i.map((e) => /* @__PURE__ */ (0, x.jsxs)(ZP, {
id: e.location,
textValue: Yt[e.location] || e.location,
children: [/* @__PURE__ */ (0, x.jsx)(kk, { mark: Ja[e.location] || "database" }), Yt[e.location] || e.location]
}, e.location))
}) : null,
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: d.file,
@@ -42766,7 +42784,7 @@ function sbe({ toast: e, failure: t }) {
f({ file: e }), m(null);
}
}),
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: d.dir,
@@ -42811,56 +42829,56 @@ function sbe({ toast: e, failure: t }) {
}
//#endregion
//#region src/react/data-cleanup/orphan-records.ts
-var cbe = "/api/orphan-records", lbe = "/api/orphan-records/attach", lF = ["orphan-records"], ube = [
+var sbe = "/api/orphan-records", cbe = "/api/orphan-records/attach", uF = ["orphan-records"], lbe = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], dbe = (e) => B(cbe, e), fbe = (e, t) => V(lbe, {
+], ube = (e) => B(sbe, e), dbe = (e, t) => V(cbe, {
id: e,
target: t
-}), pbe = (e) => V(UM, {
+}), fbe = (e) => V(WM, {
ids: [e],
operation: "delete"
-}), mbe = (e) => [
+}), pbe = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], uF = (e) => [...ube.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...mbe(e)].filter(Boolean).join(" · "), hbe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", dF = (e) => [e.name, hbe(e.duration)].filter(Boolean).join(" · "), gbe = Ij("play"), fF = () => H.invalidateQueries({
- queryKey: lF,
+], dF = (e) => [...lbe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...pbe(e)].filter(Boolean).join(" · "), mbe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", fF = (e) => [e.name, mbe(e.duration)].filter(Boolean).join(" · "), hbe = Lj("play"), pF = () => H.invalidateQueries({
+ queryKey: uF,
exact: !0
});
-function _be({ item: e, toast: t }) {
+function gbe({ item: e, toast: t }) {
let [n, r] = (0, b.useState)(e.candidates[0]?.id ?? null), i = ft({
- mutationFn: () => fbe(e.id, Number(n)),
+ mutationFn: () => dbe(e.id, Number(n)),
onSuccess: (e) => {
- t(`记录已接到新文件,批次 ${e.batch}`), fF();
+ t(`记录已接到新文件,批次 ${e.batch}`), pF();
},
onError: (e) => t(z(e))
}), a = ft({
- mutationFn: () => pbe(e.id),
+ mutationFn: () => fbe(e.id),
onSuccess: (n) => {
- t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), fF();
+ t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), pF();
}
}), o = () => {
cs({
title: "彻底删除",
- body: `将删除「${e.name}」这一条和它带的记录(${uF(e.records)})。此操作不可撤销。`,
+ body: `将删除「${e.name}」这一条和它带的记录(${dF(e.records)})。此操作不可撤销。`,
confirmLabel: "彻底删除",
danger: !0,
onConfirm: () => a.mutateAsync()
});
}, s = i.isPending || a.isPending;
- return /* @__PURE__ */ (0, x.jsxs)(vj, {
+ return /* @__PURE__ */ (0, x.jsxs)(yj, {
id: e.id,
children: [
- /* @__PURE__ */ (0, x.jsx)(bj, { children: /* @__PURE__ */ (0, x.jsxs)("span", {
+ /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, x.jsxs)("span", {
className: "relative inline-grid aspect-16/10 w-24 flex-none place-items-center max-cleanup-tight:hidden overflow-hidden rounded-lg border border-separator-border bg-background-tertiary-default text-text-tertiary",
- children: [/* @__PURE__ */ (0, x.jsx)(gbe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(hbe, {
"aria-hidden": !0,
className: "size-5"
}), e.has_thumb ? /* @__PURE__ */ (0, x.jsx)("img", {
@@ -42882,27 +42900,27 @@ function _be({ item: e, toast: t }) {
})]
})]
}) }),
- /* @__PURE__ */ (0, x.jsx)(bj, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "block min-w-28",
- children: uF(e.records)
+ children: dF(e.records)
}) }),
- /* @__PURE__ */ (0, x.jsx)(bj, { children: e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(YP, {
+ /* @__PURE__ */ (0, x.jsx)(xj, { children: e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": `把 ${e.name} 的记录接到哪个文件`,
className: "w-52",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(Number(e));
},
- children: e.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(XP, {
+ children: e.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e.id,
- textValue: dF(e),
- children: dF(e)
+ textValue: fF(e),
+ children: fF(e)
}, e.id))
}) : /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-text-secondary",
children: "没有番号或文件名对得上的文件"
}) }),
- /* @__PURE__ */ (0, x.jsx)(bj, { children: /* @__PURE__ */ (0, x.jsxs)("span", {
+ /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex flex-wrap gap-2",
children: [e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(G, {
size: "small",
@@ -42922,23 +42940,23 @@ function _be({ item: e, toast: t }) {
]
});
}
-function vbe({ toast: e }) {
+function _be({ toast: e }) {
let t = dt({
- queryKey: lF,
- queryFn: ({ signal: e }) => dbe(e)
+ queryKey: uF,
+ queryFn: ({ signal: e }) => ube(e)
}), n = t.data?.items ?? [], r = t.data?.total ?? n.length;
return !t.isError && !n.length ? null : /* @__PURE__ */ (0, x.jsxs)("section", {
id: "orphan-records",
"aria-labelledby": "orphan-records-title",
className: "flex scroll-mt-20 flex-col gap-4",
- children: [/* @__PURE__ */ (0, x.jsx)(RP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(zP, {
id: "orphan-records-title",
children: "孤儿记录"
- }), /* @__PURE__ */ (0, x.jsxs)(BP, {
+ }), /* @__PURE__ */ (0, x.jsxs)(VP, {
layout: "stack",
labelledBy: "orphan-records-box",
children: [
- /* @__PURE__ */ (0, x.jsx)(zP, {
+ /* @__PURE__ */ (0, x.jsx)(BP, {
id: "orphan-records-box",
gap: "small",
children: "文件已消失的作品"
@@ -42951,28 +42969,28 @@ function vbe({ toast: e }) {
tone: "error",
title: "孤儿记录读取失败",
children: z(t.error)
- }) : /* @__PURE__ */ (0, x.jsx)(iF, { children: /* @__PURE__ */ (0, x.jsxs)(rF, {
+ }) : /* @__PURE__ */ (0, x.jsx)(aF, { children: /* @__PURE__ */ (0, x.jsxs)(iF, {
"aria-label": "文件已消失的作品",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(fj, { children: [
- /* @__PURE__ */ (0, x.jsx)(pj, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(pj, { children: [
+ /* @__PURE__ */ (0, x.jsx)(mj, {
id: "item",
isRowHeader: !0,
children: "作品"
}),
- /* @__PURE__ */ (0, x.jsx)(pj, {
+ /* @__PURE__ */ (0, x.jsx)(mj, {
id: "records",
children: "带的记录"
}),
- /* @__PURE__ */ (0, x.jsx)(pj, {
+ /* @__PURE__ */ (0, x.jsx)(mj, {
id: "target",
children: "接到"
}),
- /* @__PURE__ */ (0, x.jsx)(pj, {
+ /* @__PURE__ */ (0, x.jsx)(mj, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, x.jsx)(hj, { children: n.map((t) => /* @__PURE__ */ (0, x.jsx)(_be, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(gj, { children: n.map((t) => /* @__PURE__ */ (0, x.jsx)(gbe, {
item: t,
toast: e
}, t.id)) })]
@@ -42987,99 +43005,99 @@ function vbe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var ybe = Ij("git-compare"), bbe = Ij("rotate-cw"), xbe = "暂时无法读取进度,正在重新连接…", pF = "清理失效条目", mF = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", hF = (e) => Number(e || 0).toLocaleString();
-function Sbe({ scan: e }) {
+var vbe = Lj("git-compare"), ybe = Lj("rotate-cw"), bbe = "暂时无法读取进度,正在重新连接…", mF = "清理失效条目", hF = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", gF = (e) => Number(e || 0).toLocaleString();
+function xbe({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {
- className: mF,
+ className: hF,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, x.jsx)("article", {
- className: hP(),
- children: /* @__PURE__ */ (0, x.jsx)(gP, {
- label: Yve[e.location] || "媒体来源",
+ className: gP(),
+ children: /* @__PURE__ */ (0, x.jsx)(_P, {
+ label: Jve[e.location] || "媒体来源",
mark: /* @__PURE__ */ (0, x.jsx)(kk, { mark: Ja[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, x.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
- figure: e.online ? `${hF(e.missing)} 项` : "—",
- meta: $ve(e),
+ figure: e.online ? `${gF(e.missing)} 项` : "—",
+ meta: Qve(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, x.jsxs)("div", {
- className: mF,
+ className: hF,
children: [
/* @__PURE__ */ (0, x.jsx)("article", {
- className: hP(),
- children: /* @__PURE__ */ (0, x.jsx)(gP, {
+ className: gP(),
+ children: /* @__PURE__ */ (0, x.jsx)(_P, {
label: "待永久删除",
- figure: `${hF(tP(e))} 项`,
+ figure: `${gF(nP(e))} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, x.jsx)("article", {
- className: hP(),
- children: /* @__PURE__ */ (0, x.jsx)(gP, {
+ className: gP(),
+ children: /* @__PURE__ */ (0, x.jsx)(_P, {
label: "将标为已消失",
- figure: `${hF(e.vanish)} 项`,
+ figure: `${gF(e.vanish)} 项`,
meta: "带个人记录,记录留着"
})
}),
/* @__PURE__ */ (0, x.jsx)("article", {
- className: hP(),
- children: /* @__PURE__ */ (0, x.jsx)(gP, {
+ className: gP(),
+ children: /* @__PURE__ */ (0, x.jsx)(_P, {
label: "空文件夹",
- figure: `${hF(e.empty)} 个`,
+ figure: `${gF(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, x.jsx)("article", {
- className: hP(),
- children: /* @__PURE__ */ (0, x.jsx)(gP, {
+ className: gP(),
+ children: /* @__PURE__ */ (0, x.jsx)(_P, {
label: "可清理的缓存",
- figure: `${hF(t.files)} 个`,
+ figure: `${gF(t.files)} 个`,
meta: t.files ? Ut(t.bytes) : ""
})
})
]
})] });
}
-function Cbe({ toast: e }) {
- let t = QP({
- queryKey: XN,
- queryFn: ({ signal: e }) => QN(e),
- start: Kve,
+function Sbe({ toast: e }) {
+ let t = $P({
+ queryKey: ZN,
+ queryFn: ({ signal: e }) => $N(e),
+ start: Gve,
onFinish: (t) => {
if (H.invalidateQueries({
- queryKey: cP,
+ queryKey: lP,
exact: !0
}), H.invalidateQueries({
- queryKey: YN,
+ queryKey: XN,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = iP(t);
- r ? e(`已完成 ${hF(n)} 项,${hF(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = aP(t);
+ r ? e(`已完成 ${gF(n)} 项,${gF(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = QP({
- queryKey: YN,
- queryFn: ({ signal: e }) => ZN(e),
- start: Gve,
+ }), n = $P({
+ queryKey: XN,
+ queryFn: ({ signal: e }) => QN(e),
+ start: Wve,
onStarted: () => t.dismiss()
}), r = n.job, i = n.running || n.start.isPending, a = t.running || t.start.isPending, o = r?.status === "complete" || r?.status === "failed", s = i ? "扫描中" : o ? "重新扫描" : "检查文件", c = (e) => void cs({
- title: pF,
- body: Qve(e),
- confirmLabel: pF,
+ title: mF,
+ body: Zve(e),
+ confirmLabel: mF,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), l = t.outcome, u = (e) => {
- let t = iP(e).left > 0;
+ let t = aP(e).left > 0;
return /* @__PURE__ */ (0, x.jsx)(K, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: eye(e, Ut)
+ children: $ve(e, Ut)
});
}, d = null, f = null;
if (l?.status === "failed") f = /* @__PURE__ */ (0, x.jsx)(K, {
@@ -43088,7 +43106,7 @@ function Cbe({ toast: e }) {
children: l.error || "请查看任务记录,核对已处理的文件。"
});
else if (l) f = u(l);
- else if (t.running) d = /* @__PURE__ */ (0, x.jsx)(GP, {
+ else if (t.running) d = /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
label: t.job?.message || "正在复核并清理失效条目…"
});
@@ -43100,11 +43118,11 @@ function Cbe({ toast: e }) {
else if (n.query.isError && r) f = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "任务状态",
- children: xbe
+ children: bbe
});
else if (r?.status === "running") {
- let e = Xve(r);
- d = /* @__PURE__ */ (0, x.jsx)(GP, {
+ let e = Yve(r);
+ d = /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
label: e,
value: r.completed_sources,
@@ -43121,13 +43139,13 @@ function Cbe({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (r?.status === "complete") {
- let e = Jve(r);
+ let e = qve(r);
f = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(Sbe, { scan: r }),
+ /* @__PURE__ */ (0, x.jsx)(xbe, { scan: r }),
e ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "清理内容",
- children: Zve(r)
+ children: Xve(r)
}) : null,
/* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -43135,7 +43153,7 @@ function Cbe({ toast: e }) {
variant: "danger",
...q(a),
onClick: () => c(r),
- children: a ? "正在复核并清理…" : pF
+ children: a ? "正在复核并清理…" : mF
}) : /* @__PURE__ */ (0, x.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -43152,16 +43170,16 @@ function Cbe({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsx)(RP, {
+ /* @__PURE__ */ (0, x.jsx)(zP, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, x.jsxs)(BP, {
+ /* @__PURE__ */ (0, x.jsxs)(VP, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, x.jsx)(G, {
"data-resource-scan": !0,
- leadingIcon: o && !i ? bbe : ybe,
+ leadingIcon: o && !i ? ybe : vbe,
...q(i),
onClick: () => {
i || n.start.mutate();
@@ -43169,7 +43187,7 @@ function Cbe({ toast: e }) {
children: s
}),
children: [
- /* @__PURE__ */ (0, x.jsx)(zP, {
+ /* @__PURE__ */ (0, x.jsx)(BP, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -43195,16 +43213,16 @@ function Cbe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function gF(e, t) {
+function _F(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function _F({ section: e, label: t, icon: n, value: r, open: i }) {
+function vF({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
- className: hP({ interactive: !0 }),
+ className: gP({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, x.jsx)(gP, {
+ children: /* @__PURE__ */ (0, x.jsx)(_P, {
label: t,
icon: n,
figure: r.figure,
@@ -43212,80 +43230,80 @@ function _F({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var wbe = Ij("square-check-big"), Tbe = Ij("sparkles"), Ebe = Ij("file-stack"), Dbe = Ij("file-archive"), Obe = Ij("trash"), kbe = [
- aP,
- cN,
- HM
-], Abe = () => {
- for (let e of kbe) H.invalidateQueries({
+var Cbe = Lj("square-check-big"), wbe = Lj("sparkles"), Tbe = Lj("file-stack"), Ebe = Lj("file-archive"), Dbe = Lj("trash"), Obe = [
+ oP,
+ lN,
+ UM
+], kbe = () => {
+ for (let e of Obe) H.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function jbe({ toast: e, failure: t, open: n }) {
+function Abe({ toast: e, failure: t, open: n }) {
let r = dt({
- queryKey: aP,
- queryFn: ({ signal: e }) => lP(e)
+ queryKey: oP,
+ queryFn: ({ signal: e }) => uP(e)
}), i = dt({
- queryKey: cN,
- queryFn: ({ signal: e }) => lN(e)
+ queryKey: lN,
+ queryFn: ({ signal: e }) => uN(e)
}), a = dt({
- queryKey: HM,
- queryFn: ({ signal: e }) => WM(e)
+ queryKey: UM,
+ queryFn: ({ signal: e }) => GM(e)
}), o = dt({
- queryKey: oP,
- queryFn: ({ signal: e }) => uP(e)
- }), s = dt({
- queryKey: cP,
+ queryKey: sP,
queryFn: ({ signal: e }) => dP(e)
+ }), s = dt({
+ queryKey: lP,
+ queryFn: ({ signal: e }) => fP(e)
}), c = dt({
queryKey: dn,
queryFn: ({ signal: e }) => fn(e)
}), l = (t) => e(t);
return /* @__PURE__ */ (0, x.jsxs)(dk, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: dye,
+ className: uye,
children: [
- /* @__PURE__ */ (0, x.jsx)(_F, {
+ /* @__PURE__ */ (0, x.jsx)(vF, {
section: "review",
label: "人工复核",
- icon: wbe,
+ icon: Cbe,
open: n,
- value: gF(r, iye)
+ value: _F(r, rye)
}),
- /* @__PURE__ */ (0, x.jsx)(_F, {
+ /* @__PURE__ */ (0, x.jsx)(vF, {
section: "quality",
label: "高清版",
- icon: Tbe,
+ icon: wbe,
open: n,
- value: gF(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: _F(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, x.jsx)(_F, {
+ /* @__PURE__ */ (0, x.jsx)(vF, {
section: "duplicates",
label: "重复文件",
- icon: Ebe,
+ icon: Tbe,
open: n,
- value: gF(a, (e) => Number(e.total || 0) ? {
+ value: _F(a, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${Ut(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, x.jsx)(_F, {
+ /* @__PURE__ */ (0, x.jsx)(vF, {
section: "ads",
label: "垃圾文件",
- icon: Dbe,
+ icon: Ebe,
open: n,
- value: gF(o, (e) => ({
+ value: _F(o, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: aye(e)
+ meta: iye(e)
}))
}),
- /* @__PURE__ */ (0, x.jsx)(_F, {
+ /* @__PURE__ */ (0, x.jsx)(vF, {
section: "trash",
label: "回收站",
- icon: Obe,
+ icon: Dbe,
open: n,
- value: gF(s, (e) => ({
+ value: _F(s, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${Ut(e.bytes || 0)}` : ""
}))
@@ -43298,31 +43316,31 @@ function jbe({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, x.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, x.jsx)(qP, {
+ children: /* @__PURE__ */ (0, x.jsx)(JP, {
toast: l,
monitor: !0,
- onComplete: Abe
+ onComplete: kbe
})
}),
/* @__PURE__ */ (0, x.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, x.jsx)(Xye, {})
+ children: /* @__PURE__ */ (0, x.jsx)(Yye, {})
}),
- /* @__PURE__ */ (0, x.jsx)(sbe, {
+ /* @__PURE__ */ (0, x.jsx)(obe, {
toast: l,
failure: t
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(nbe, {}),
- /* @__PURE__ */ (0, x.jsx)(vbe, { toast: l }),
- $N(c.data) ? /* @__PURE__ */ (0, x.jsx)(Cbe, { toast: e }) : null
+ /* @__PURE__ */ (0, x.jsx)(tbe, {}),
+ /* @__PURE__ */ (0, x.jsx)(_be, { toast: l }),
+ eP(c.data) ? /* @__PURE__ */ (0, x.jsx)(Sbe, { toast: e }) : null
] });
}
//#endregion
//#region src/react/feed-new/feed-new.ts
-var vF = (e) => ["feed-new", e ?? "home"], Mbe = 8, Nbe = 1500;
-function Pbe(e, t, n) {
+var yF = (e) => ["feed-new", e ?? "home"], jbe = 8, Mbe = 1500;
+function Nbe(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -43333,32 +43351,32 @@ function Pbe(e, t, n) {
setTimeout(e, n);
})]);
}
-async function Fbe(e, t, n) {
+async function Pbe(e, t, n) {
let r = new URLSearchParams({ limit: "12" });
e && r.set("entity", String(e));
let i = await vt(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
- return n && o.length && await Pbe(s, Mbe, Nbe), {
+ return n && o.length && await Nbe(s, jbe, Mbe), {
items: o,
html: s
};
}
-var yF = (e, t, n = !1) => ({
- queryKey: vF(e),
- queryFn: () => Fbe(e, t, n),
+var bF = (e, t, n = !1) => ({
+ queryKey: yF(e),
+ queryFn: () => Pbe(e, t, n),
staleTime: Infinity
-}), bF = (e, t) => vt("/api/feeds/discovery", {
+}), xF = (e, t) => vt("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: t,
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function Ibe(e) {
- H.removeQueries({ queryKey: vF(null) }), await H.fetchQuery(yF(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+async function Fbe(e) {
+ H.removeQueries({ queryKey: yF(null) }), await H.fetchQuery(bF(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
//#endregion
//#region src/react/entity-page/entity-page.ts
-var xF = [
+var SF = [
"loc",
"creator",
"tag",
@@ -43368,51 +43386,51 @@ var xF = [
"orient",
"sort",
"dir"
-], SF = {
+], CF = {
media: "videos",
set: 0
-}, CF = (e, t) => [
+}, wF = (e, t) => [
"entity",
e,
t
-], Lbe = (e, t, n, r) => [
+], Ibe = (e, t, n, r) => [
"entity-items",
e,
t,
n,
r
-], wF = (e, t, n, r) => [
+], TF = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], TF = (e) => String(e || "").split(",").filter(Boolean), Rbe = (e, t) => TF(e).includes(t);
-function EF(e, t, n, r, i = 0) {
+], EF = (e) => String(e || "").split(",").filter(Boolean), Lbe = (e, t) => EF(e).includes(t);
+function DF(e, t, n, r, i = 0) {
let a = new URLSearchParams();
a.set(e, t), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");
- for (let t of xF) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ for (let t of SF) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function DF(e, t, n, r, i, a) {
- return await vt(`/api/items?${EF(e, t, n, r, i)}`, a ? { signal: a } : {});
+async function OF(e, t, n, r, i, a) {
+ return await vt(`/api/items?${DF(e, t, n, r, i)}`, a ? { signal: a } : {});
}
-var OF = (e) => {
+var kF = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = EF(e.kind, e.name, e.filters, t).toString();
+ }, n = DF(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: Lbe(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => DF(e.kind, e.name, e.filters, t, 0, n),
+ queryKey: Ibe(e.kind, e.name, n, e.revision),
+ queryFn: ({ signal: n }) => OF(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
-}, kF = (e, t) => ({
- queryKey: CF(e, t),
+}, AF = (e, t) => ({
+ queryKey: wF(e, t),
queryFn: ({ signal: n }) => vt(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
-function zbe(e, t, n, r, i, a) {
+function Rbe(e, t, n, r, i, a) {
let o = `kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`;
if (i) {
let e = `&limit=120&offset=${i}${a ? `&seed=${encodeURIComponent(a)}` : ""}`;
@@ -43421,10 +43439,10 @@ function zbe(e, t, n, r, i, a) {
let s = r ? `&seed=${encodeURIComponent(r)}` : "";
return n ? `/api/photo-set?id=${n}&limit=120${s}` : r ? `/api/photos?${o}&limit=120${s}` : `/api/photos?${o}`;
}
-var AF = (e, t, n, r) => ({
- queryKey: wF(e, t, n, r),
+var jF = (e, t, n, r) => ({
+ queryKey: TF(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await vt(zbe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await vt(Rbe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -43437,8 +43455,8 @@ var AF = (e, t, n, r) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), jF = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function Bbe(e) {
+}), MF = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+async function zbe(e) {
let { kind: t, name: n } = e;
for (let e of [
"entity",
@@ -43450,25 +43468,25 @@ async function Bbe(e) {
n
] });
await Promise.all([
- H.fetchQuery(kF(t, n)).then((t) => !t || t.error || !t.id ? null : (H.removeQueries({ queryKey: vF(Number(t.id)) }), H.fetchQuery(yF(Number(t.id), e.helpers.feedRowHtml, !0)))),
- H.fetchQuery(OF(e)),
- H.fetchInfiniteQuery(AF(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(AF(t, n, e.media.set, "")) : null
+ H.fetchQuery(AF(t, n)).then((t) => !t || t.error || !t.id ? null : (H.removeQueries({ queryKey: yF(Number(t.id)) }), H.fetchQuery(bF(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ H.fetchQuery(kF(e)),
+ H.fetchInfiniteQuery(jF(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(jF(t, n, e.media.set, "")) : null
]);
}
//#endregion
//#region src/identity-filter.ts
-var MF = [
+var NF = [
["all", "全部"],
["japanese_av", "女优"],
["amateur", "素人"],
["western", "西方"],
["blogger", "网黄博主"],
["animation", "动画作者"]
-], NF = "mb-4 flex flex-wrap gap-2";
-function Vbe(e) {
- let t = MF.some(([t]) => t === e) ? e : "all";
- return `<div class="peach-react"><div aria-label="身份分类" class="${NF}">${MF.map(([e, n]) => TP({
+], PF = "mb-4 flex flex-wrap gap-2";
+function Bbe(e) {
+ let t = NF.some(([t]) => t === e) ? e : "all";
+ return `<div class="peach-react"><div aria-label="身份分类" class="${PF}">${NF.map(([e, n]) => EP({
variant: e === t ? "primary" : "secondary",
size: "small",
label: n,
@@ -43477,43 +43495,43 @@ function Vbe(e) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var Hbe = "/api/follow/authors", Ube = "/api/follow/tags", Wbe = (e) => [
+var Vbe = "/api/follow/authors", Hbe = "/api/follow/tags", Ube = (e) => [
"follow",
"authors",
e
-], Gbe = (e, t) => [
+], Wbe = (e, t) => [
"follow",
"tags",
e,
t
];
-function Kbe(e, t, n) {
+function Gbe(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${Hbe}?${r}`;
+ return e && r.set("q", e), `${Vbe}?${r}`;
}
-function qbe(e, t, n, r) {
+function Kbe(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), `${Ube}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Hbe}?${i}`;
}
-var Jbe = (e, t, n, r) => B(Kbe(e, t, n), r), Ybe = (e, t, n, r, i) => B(qbe(e, t, n, r), i), Xbe = "/api/index", PF = {
+var qbe = (e, t, n, r) => B(Gbe(e, t, n), r), Jbe = (e, t, n, r, i) => B(Kbe(e, t, n, r), i), Ybe = "/api/index", FF = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, Zbe = {
+}, Xbe = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, FF = [
+}, IF = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -43523,31 +43541,31 @@ var Jbe = (e, t, n, r) => B(Kbe(e, t, n), r), Ybe = (e, t, n, r, i) => B(qbe(e,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], IF = [
+], LF = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], LF = {
+], RF = {
people: 120,
tags: 180
-}, RF = (e) => e !== "tags", zF = (e) => e === "studios" || e === "agencies";
-function BF(e) {
- if (e.kind === "creators" && e.category === "animation") return BF({
+}, zF = (e) => e !== "tags", BF = (e) => e === "studios" || e === "agencies";
+function VF(e) {
+ if (e.kind === "creators" && e.category === "animation") return VF({
...e,
kind: "performers",
scope: "local"
});
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? IF : FF : e.kind === "performers" && t === "local" ? MF : []).some(([t]) => t === e.category);
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? LF : IF : e.kind === "performers" && t === "local" ? NF : []).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: n ? e.category : "all"
};
}
-function VF(e) {
+function HF(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -43567,50 +43585,50 @@ function VF(e) {
...i && i !== "all" ? { category: i } : {}
};
}
-var HF = (e, t, n = "all") => [
+var UF = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" || n !== "all" ? [n] : []
];
-function UF(e, t, n, r, i) {
+function WF(e, t, n, r, i) {
let a = new URLSearchParams({
kind: e,
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), n !== "all" && a.set("category", n), `${Xbe}?${a}`;
+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${Ybe}?${a}`;
}
-function WF(e) {
- let t = e.what === "people" || e.what === "online-authors" ? LF.people : LF.tags, n = {
+function GF(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? RF.people : RF.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: HF(e.kind, e.q, e.category || "all"),
- queryFn: ({ pageParam: n, signal: r }) => B(UF(e.kind, e.q, e.category || "all", t, n), r)
+ queryKey: UF(e.kind, e.q, e.category || "all"),
+ queryFn: ({ pageParam: n, signal: r }) => B(WF(e.kind, e.q, e.category || "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: HF("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => B(UF("tags", e.q, e.category, t, n), r)
+ queryKey: UF("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => B(WF("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: Wbe(e.q),
- queryFn: ({ pageParam: n, signal: r }) => Jbe(e.q, t, n, r)
+ queryKey: Ube(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => qbe(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: Gbe(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => Ybe(e.q, e.category, t, n, r)
+ queryKey: Wbe(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => Jbe(e.q, e.category, t, n, r)
};
}
}
-async function Qbe(e, t) {
- let n = WF(VF(BF(e)));
+async function Zbe(e, t) {
+ let n = GF(HF(VF(e)));
H.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -43624,13 +43642,13 @@ async function Qbe(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var $be = (e) => e ? e.pages.flatMap((e) => e.items) : [], exe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, GF = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", txe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, nxe = {
+var Qbe = (e) => e ? e.pages.flatMap((e) => e.items) : [], $be = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, KF = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", exe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, txe = {
numeric: !0,
sensitivity: "base"
};
-function rxe(e, t) {
+function nxe(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", nxe))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", txe))) {
let e = qt(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);
a ? a.push(r) : n.set(i, [r]);
}
@@ -43638,7 +43656,7 @@ function rxe(e, t) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function KF({ html: e, face: t, company: n, big: r }) {
+function qF({ html: e, face: t, company: n, big: r }) {
let i = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -43650,8 +43668,8 @@ function KF({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var ixe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", axe = Ij("rss");
-function qF({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
+var rxe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", ixe = Lj("rss");
+function JF({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
...o,
@@ -43661,7 +43679,7 @@ function qF({ name: e, readout: t, big: n, children: r, following: i, onPress: a
radius: "plain",
padding: "none",
interactive: !0,
- className: `${ixe} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${rxe} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -43673,7 +43691,7 @@ function qF({ name: e, readout: t, big: n, children: r, following: i, onPress: a
children: /* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
color: "blue",
- children: /* @__PURE__ */ (0, x.jsx)(axe, {})
+ children: /* @__PURE__ */ (0, x.jsx)(ixe, {})
})
}) : null,
/* @__PURE__ */ (0, x.jsx)("span", {
@@ -43689,24 +43707,24 @@ function qF({ name: e, readout: t, big: n, children: r, following: i, onPress: a
]
});
}
-function JF({ kind: e, items: t, layout: n, props: r }) {
- let i = zF(e), a = n === "big";
+function YF({ kind: e, items: t, layout: n, props: r }) {
+ let i = BF(e), a = n === "big";
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
"data-cells": i ? "company" : "people",
className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
- let n = t.entity_kind || Zbe[e], o = r.personAvatar(t, n, a);
- return /* @__PURE__ */ (0, x.jsx)(qF, {
+ let n = t.entity_kind || Xbe[e], o = r.personAvatar(t, n, a);
+ return /* @__PURE__ */ (0, x.jsx)(JF, {
"data-k": t.k,
"data-kind": n,
name: t.k,
- readout: `${txe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
+ readout: `${exe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
big: a,
following: t.following,
onPress: () => r.openEntity(n, t.k),
- children: /* @__PURE__ */ (0, x.jsx)(KF, {
+ children: /* @__PURE__ */ (0, x.jsx)(qF, {
html: o.html,
face: o.face,
company: i,
@@ -43716,14 +43734,14 @@ function JF({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function oxe({ items: e, layout: t, props: n }) {
+function axe({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(qF, {
+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(JF, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
@@ -43732,7 +43750,7 @@ function oxe({ items: e, layout: t, props: n }) {
onPress: () => {
e.entity_id ? n.openEntity("creator", e.k) : e.held_by ? n.openEntity("creator", e.held_by) : n.openFollowAuthor(e.key);
},
- children: /* @__PURE__ */ (0, x.jsx)(KF, {
+ children: /* @__PURE__ */ (0, x.jsx)(qF, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -43742,24 +43760,24 @@ function oxe({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-controls.ts
-function YF(e) {
+function XF(e) {
let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;
e.style.setProperty("--board-range-value", `${i}%`);
}
-var XF = /* @__PURE__ */ new WeakSet();
-function sxe() {
- if (XF.has(document)) return;
- XF.add(document);
+var ZF = /* @__PURE__ */ new WeakSet();
+function oxe() {
+ if (ZF.has(document)) return;
+ ZF.add(document);
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(YF), lxe(e), cxe(e);
+ e.querySelectorAll("input[type=range]").forEach(XF), cxe(e), sxe(e);
};
e(document), new MutationObserver((t) => {
- for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && YF(t), e(t));
+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && XF(t), e(t));
}).observe(document.body, {
subtree: !0,
childList: !0
}), document.addEventListener("input", (e) => {
- e.target instanceof HTMLInputElement && e.target.type === "range" && YF(e.target);
+ e.target instanceof HTMLInputElement && e.target.type === "range" && XF(e.target);
});
let t = document.createElement("div");
t.className = "ui-board-tooltip", t.id = "board-control-tooltip", t.role = "tooltip", t.popover = "manual", t.hidden = !0, document.body.append(t);
@@ -43784,7 +43802,7 @@ function sxe() {
n.matches(":focus-visible") && r.bottom > 0 && r.top < innerHeight ? t.matches(":popover-open") && o(n) : s();
}, !0), window.addEventListener("resize", s);
}
-function cxe(e) {
+function sxe(e) {
let t = ".ui-board-local-nav:not([data-section-nav])", n = [...e.querySelectorAll(t)];
e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {
if (e.hasAttribute("data-board-tabs")) return;
@@ -43808,15 +43826,15 @@ function cxe(e) {
r.observe(e);
});
}
-var ZF = /* @__PURE__ */ new Map();
-function lxe(e) {
+var QF = /* @__PURE__ */ new Map();
+function cxe(e) {
let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];
e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {
if (e.hasAttribute("data-board-segments") || e.closest("[data-skeleton]")) return;
e.dataset.boardSegments = "true";
let t = document.createElement("span");
t.className = "board-segment-thumb", t.setAttribute("aria-hidden", "true"), e.prepend(t);
- let n = e.className + (e.getAttribute("aria-label") ?? ""), r = ZF.get(n) ?? null, i = () => {
+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = QF.get(n) ?? null, i = () => {
let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");
if (!i || !i.offsetWidth) return;
let a = {
@@ -43825,7 +43843,7 @@ function lxe(e) {
w: i.offsetWidth,
h: i.offsetHeight
};
- Go(t, r, a, "x"), r = a, ZF.set(n, a);
+ Go(t, r, a, "x"), r = a, QF.set(n, a);
};
e.addEventListener("change", i);
let a = new MutationObserver(i);
@@ -43842,8 +43860,8 @@ function lxe(e) {
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var QF = "/vendor/swiper/14.3.0/", $F = null, uxe = () => $F ??= Promise.all([new Promise((e, t) => {
- let n = `${QF}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var $F = "/vendor/swiper/14.3.0/", eI = null, lxe = () => eI ??= Promise.all([new Promise((e, t) => {
+ let n = `${$F}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -43857,11 +43875,11 @@ var QF = "/vendor/swiper/14.3.0/", $F = null, uxe = () => $F ??= Promise.all([ne
return;
}
let r = document.createElement("script");
- r.src = `${QF}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${$F}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
})]).then(([, e]) => e).catch((e) => {
- throw $F = null, e;
+ throw eI = null, e;
});
-function dxe(e, t, n) {
+function uxe(e, t, n) {
let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {
let e = i();
return !e?.naturalWidth || !e.naturalHeight ? 100 : Math.min(100, e.offsetWidth / e.naturalWidth * 100, e.offsetHeight / e.naturalHeight * 100);
@@ -43882,47 +43900,47 @@ function dxe(e, t, n) {
}
};
}
-var eI = (e) => {
+var tI = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Ut(t)).replace(" ", "\xA0") : "大小未知";
-}, fxe = (e) => e.asset?.name || e.name || "未命名图片";
-function pxe(e, t) {
+}, dxe = (e) => e.asset?.name || e.name || "未命名图片";
+function fxe(e, t) {
let n = e.asset;
- if (n) return [Yt[n.location ?? ""] || n.location || "来源未知", eI(n.size)].join(" · ");
+ if (n) return [Yt[n.location ?? ""] || n.location || "来源未知", tI(n.size)].join(" · ");
let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
return [
e.source || "在线图片",
r,
- e.size ? eI(e.size) : ""
+ e.size ? tI(e.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var tI = null, nI = null, mxe = 0;
-function hxe() {
- return (!nI || !tI?.isConnected) && (nI?.unmount(), tI = document.createElement("div"), tI.className = "peach-react", tI.dataset.photoLightboxHost = "", document.body.append(tI), nI = (0, ht.createRoot)(tI)), nI;
+var nI = null, rI = null, pxe = 0;
+function mxe() {
+ return (!rI || !nI?.isConnected) && (rI?.unmount(), nI = document.createElement("div"), nI.className = "peach-react", nI.dataset.photoLightboxHost = "", document.body.append(nI), rI = (0, ht.createRoot)(nI)), rI;
}
-async function rI(e, t, n) {
+async function iI(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await uxe();
+ r = await lxe();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = hxe();
- (0, mt.flushSync)(() => i.render(/* @__PURE__ */ (0, x.jsx)(gxe, {
+ let i = mxe();
+ (0, mt.flushSync)(() => i.render(/* @__PURE__ */ (0, x.jsx)(hxe, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++mxe)));
+ }, ++pxe)));
}
-function iI() {
- nI && (0, mt.flushSync)(() => nI.render(null));
+function aI() {
+ rI && (0, mt.flushSync)(() => rI.render(null));
}
-function gxe({ slides: e, index: t, Swiper: n, host: r }) {
+function hxe({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, b.useId)(), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (0, b.useRef)(null), [_, v] = (0, b.useState)(t), [y, S] = (0, b.useState)(100), [C, w] = (0, b.useState)({}), [T, E] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [k, A] = (0, b.useState)(!1), [j, M] = (0, b.useState)({
at: t,
text: ""
@@ -43965,7 +43983,7 @@ function gxe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = dxe(e, a, S);
+ i(t, 0), h.current = uxe(e, a, S);
let m = rs(e, f.current, p.current), _ = (e = !1) => {
m.hide(), f.current?.setAttribute("aria-expanded", "false"), e && f.current && document.contains(f.current) && f.current.focus();
};
@@ -43982,13 +44000,13 @@ function gxe({ slides: e, index: t, Swiper: n, host: r }) {
});
y.observe(e);
let b = (e) => {
- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : iI());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : aI());
};
return document.addEventListener("keydown", b, !0), () => {
document.removeEventListener("keydown", b, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");
};
}, []), (0, b.useLayoutEffect)(() => {
- m.current && YF(m.current);
+ m.current && XF(m.current);
}, [y]);
let N = e[_], P = N.asset ?? null, ee = async (e) => {
if (!P || !r || e.getAttribute("aria-busy") === "true") return;
@@ -44019,18 +44037,18 @@ function gxe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), iI();
+ e.preventDefault(), aI();
},
onClick: (e) => {
let t = e.target;
- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && iI();
+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && aI();
},
children: [
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: iI,
+ onClick: aI,
dangerouslySetInnerHTML: { __html: L("x") }
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -44166,10 +44184,10 @@ function gxe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: fxe(N)
+ children: dxe(N)
}, _), /* @__PURE__ */ (0, x.jsx)("span", {
"data-photo-detail-meta": "",
- children: pxe(N, C[_])
+ children: fxe(N, C[_])
})]
}),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -44208,40 +44226,40 @@ function gxe({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function _xe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, x.jsx)(vxe, {
+function gxe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, x.jsx)(_xe, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, x.jsx)(yxe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, x.jsx)(Sxe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, x.jsx)(vxe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, x.jsx)(xxe, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-var aI = LF.people;
-function vxe({ roster: e, props: t }) {
+var oI = RF.people;
+function _xe({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, b.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
- }), [n, r]), [a, o] = (0, b.useState)(aI), s = (0, b.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, b.useCallback)(async () => {
- o((e) => e + aI);
+ }), [n, r]), [a, o] = (0, b.useState)(oI), s = (0, b.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, b.useCallback)(async () => {
+ o((e) => e + oI);
}, []);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(JF, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(YF, {
kind: e.kind,
items: s,
layout: e.layout,
props: i
- }), a < e.people.length ? /* @__PURE__ */ (0, x.jsx)(zM, {
+ }), a < e.people.length ? /* @__PURE__ */ (0, x.jsx)(BM, {
entity: !0,
load: c,
enabled: () => !0
}, a) : null] });
}
-function yxe(e) {
- let t = wM(!e.items, e.skeletonHtml);
+function vxe(e) {
+ let t = TM(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-grid": "",
"data-grid-reveal": t.fading ? "" : void 0,
- children: [t.layer, e.items ? /* @__PURE__ */ (0, x.jsx)(RM, {
+ children: [t.layer, e.items ? /* @__PURE__ */ (0, x.jsx)(zM, {
mode: "entity",
entityKey: `${e.kind}:${e.name}`,
revision: e.revision,
@@ -44260,33 +44278,33 @@ function yxe(e) {
}) : null]
});
}
-var bxe = (e) => Array.from({ length: e.n }, (t, n) => ({
+var yxe = (e) => Array.from({ length: e.n }, (t, n) => ({
sample: !0,
code: e.code,
position: n + 1,
total: e.n,
name: `${e.code} 样张 ${n + 1}`,
source: e.site_label || "官方样张"
-})), oI = (e) => e.sample === !0, sI = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, cI = (e) => oI(e) ? `/sample-thumb?${sI(e)}` : `/photo-thumb?id=${e.id}`, xxe = (e) => oI(e) ? {
- src: `/sample-image?${sI(e)}`,
- thumb: cI(e),
+})), sI = (e) => e.sample === !0, cI = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, lI = (e) => sI(e) ? `/sample-thumb?${cI(e)}` : `/photo-thumb?id=${e.id}`, bxe = (e) => sI(e) ? {
+ src: `/sample-image?${cI(e)}`,
+ thumb: lI(e),
name: e.name,
asset: null,
source: e.source
} : {
src: `/photo?id=${e.id}`,
- thumb: cI(e),
+ thumb: lI(e),
name: e.name || "",
asset: e
};
-function Sxe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, b.useMemo)(() => [...e.codeSets.flatMap(bxe), ...e.items], [e]), [s, c] = (0, b.useState)(() => /* @__PURE__ */ new Set()), l = (0, b.useCallback)((e) => c((t) => {
+function xxe({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, b.useMemo)(() => [...e.codeSets.flatMap(yxe), ...e.items], [e]), [s, c] = (0, b.useState)(() => /* @__PURE__ */ new Set()), l = (0, b.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, b.useCallback)((e) => {
- rI(e, o.map(xxe), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, x.jsx)(Cxe, {
+ iI(e, o.map(bxe), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, x.jsx)(Sxe, {
item: e,
index: t,
lost: s.has(t),
@@ -44304,7 +44322,7 @@ function Sxe({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(lI, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(uI, {
label: e.code,
title: e.name,
meta: [
@@ -44316,7 +44334,7 @@ function Sxe({ photos: e, props: t }) {
...f,
children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))
})] }, e.code)),
- m.length && e.total ? /* @__PURE__ */ (0, x.jsx)(lI, {
+ m.length && e.total ? /* @__PURE__ */ (0, x.jsx)(uI, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -44325,14 +44343,14 @@ function Sxe({ photos: e, props: t }) {
"data-local-wall": "",
children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))
}),
- e.hasMore ? /* @__PURE__ */ (0, x.jsx)(zM, {
+ e.hasMore ? /* @__PURE__ */ (0, x.jsx)(BM, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function lI({ label: e, title: t, meta: n }) {
+function uI({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -44349,7 +44367,7 @@ function lI({ label: e, title: t, meta: n }) {
]
});
}
-function Cxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function Sxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -44358,7 +44376,7 @@ function Cxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, x.jsx)("img", {
- src: cI(e),
+ src: lI(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -44369,8 +44387,8 @@ function Cxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
}
//#endregion
//#region src/react/follow-feed/follow-card.tsx
-var wxe = (e) => Number(e) > 0;
-function uI({ name: e, actions: t, children: n, ...r }) {
+var Cxe = (e) => Number(e) > 0;
+function dI({ name: e, actions: t, children: n, ...r }) {
return /* @__PURE__ */ (0, x.jsx)("a", {
...r,
href: `/creators/${encodeURIComponent(e)}`,
@@ -44380,13 +44398,13 @@ function uI({ name: e, actions: t, children: n, ...r }) {
children: n
});
}
-var dI = ({ provider: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var fI = ({ provider: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: tM(e) }
+ dangerouslySetInnerHTML: { __html: nM(e) }
});
-function Txe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a }) {
+function wxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a }) {
let [o, s] = (0, b.useState)(!1), [c, l] = (0, b.useState)(!1), [u, d] = (0, b.useState)(null);
- return o ? /* @__PURE__ */ (0, x.jsx)(dI, { provider: i }) : /* @__PURE__ */ (0, x.jsx)("img", {
+ return o ? /* @__PURE__ */ (0, x.jsx)(fI, { provider: i }) : /* @__PURE__ */ (0, x.jsx)("img", {
src: c ? t : e,
alt: "",
loading: "lazy",
@@ -44405,8 +44423,8 @@ function Txe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a
} : void 0
});
}
-function Exe(e) {
- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = oi(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => Gge(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? ci(t) : [], S = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, C = ui({
+function Txe(e) {
+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = oi(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => Wge(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? ci(t) : [], S = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, C = ui({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -44414,7 +44432,7 @@ function Exe(e) {
limit: 9
}), w = (0, b.useRef)(C.faces);
w.current = C.faces;
- let T = PM({
+ let T = FM({
load: async () => w.current,
canFlip: () => w.current.length > 1 && l.canFlip(),
referrerPolicy: "no-referrer"
@@ -44422,7 +44440,7 @@ function Exe(e) {
E.current = T.onPointerLeave;
let D = (0, b.useCallback)((e) => {
e && (e._stopHover = () => E.current());
- }, []), O = oM(u, n, i), k = nM(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = lM(u, i), N = cM(t, u), P = u.status === "saved", ee = (e) => {
+ }, []), O = sM(u, n, i), k = rM(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = uM(u, i), N = lM(t, u), P = u.status === "saved", ee = (e) => {
e.target.closest("[data-media-tag]") || (l.toggleSelection && (o || e.shiftKey || e.ctrlKey || e.metaKey) ? (e.preventDefault(), l.toggleSelection(u.id, e.shiftKey)) : l.openDetail(u.id));
}, F = (e, t) => {
e.stopPropagation(), t();
@@ -44437,7 +44455,7 @@ function Exe(e) {
"data-collection": C.isMix ? "" : void 0,
"data-selected": a ? "" : void 0,
onClick: ee,
- onMouseDown: OM,
+ onMouseDown: kM,
onMouseEnter: T.onPointerEnter,
onMouseLeave: T.onPointerLeave,
children: [
@@ -44451,14 +44469,14 @@ function Exe(e) {
}), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
children: [
- p ? /* @__PURE__ */ (0, x.jsx)(Txe, {
+ p ? /* @__PURE__ */ (0, x.jsx)(wxe, {
src: p,
fallback: m,
width: _?.width,
height: _?.height,
provider: A,
onLearn: v
- }, p) : /* @__PURE__ */ (0, x.jsx)(dI, { provider: A }),
+ }, p) : /* @__PURE__ */ (0, x.jsx)(fI, { provider: A }),
C.faces.length > 1 ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-mix-faces": "",
hidden: !T.faces.length,
@@ -44476,7 +44494,7 @@ function Exe(e) {
"data-media-badge": "",
title: u.provider_label || u.provider,
"aria-label": `来源:${u.provider_label || u.provider}`,
- dangerouslySetInnerHTML: { __html: tM(u.provider, u.provider_label) }
+ dangerouslySetInnerHTML: { __html: nM(u.provider, u.provider_label) }
}),
l.toggleSelection ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-check": "",
@@ -44485,7 +44503,7 @@ function Exe(e) {
},
dangerouslySetInnerHTML: { __html: L("check") }
}) : null,
- wxe(u.duration) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ Cxe(u.duration) ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-duration": "",
children: Vt(u.duration)
}) : null,
@@ -44557,7 +44575,7 @@ function Exe(e) {
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-meta": "",
children: [
- O.entityName ? /* @__PURE__ */ (0, x.jsx)(uI, {
+ O.entityName ? /* @__PURE__ */ (0, x.jsx)(dI, {
name: O.entityName,
actions: l,
"data-media-avatar": "",
@@ -44576,12 +44594,12 @@ function Exe(e) {
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: sM(t, u) + R(k) }
+ dangerouslySetInnerHTML: { __html: cM(t, u) + R(k) }
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-byline": "",
children: [
- O.entityName ? /* @__PURE__ */ (0, x.jsx)(uI, {
+ O.entityName ? /* @__PURE__ */ (0, x.jsx)(dI, {
name: O.entityName,
actions: l,
"data-follow-author": "",
@@ -44594,8 +44612,8 @@ function Exe(e) {
}),
/* @__PURE__ */ (0, x.jsx)("time", {
dateTime: u.published_at || "",
- title: dM(u),
- children: Wge(u)
+ title: fM(u),
+ children: Uge(u)
}),
O.credited ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-credit": "",
@@ -44633,10 +44651,10 @@ function Exe(e) {
]
});
}
-var fI = (0, b.memo)(Exe);
+var pI = (0, b.memo)(Txe);
//#endregion
//#region src/react/components/use-masonry-grid.ts
-function Dxe(e, t) {
+function Exe(e, t) {
let n = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
let t = n.current;
@@ -44672,10 +44690,10 @@ function Dxe(e, t) {
}
//#endregion
//#region src/react/follow-feed/follow-feed-page.tsx
-var pI = () => /* @__PURE__ */ (0, x.jsx)("span", {
+var mI = () => /* @__PURE__ */ (0, x.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), Oxe = Ij("settings"), mI = Ij("chevron-down"), kxe = Ij("history"), Axe = [[
+}), Dxe = Lj("settings"), hI = Lj("chevron-down"), Oxe = Lj("history"), kxe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -44684,7 +44702,7 @@ var pI = () => /* @__PURE__ */ (0, x.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function jxe(e, t, n) {
+function Axe(e, t, n) {
return (0, b.useMemo)(() => {
let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();
a.forEach((e) => {
@@ -44732,7 +44750,7 @@ function jxe(e, t, n) {
n
]);
}
-function Mxe(e) {
+function jxe(e) {
let { view: t, seed: n, revision: r, actions: i } = e, a = qr(t, r), o = pt(a), s = dt({
queryKey: Jr,
queryFn: ({ signal: e }) => Yr(e)
@@ -44740,7 +44758,7 @@ function Mxe(e) {
sources: c?.sources || [],
aliases: c?.author_aliases || [],
credentials: l
- }), [c, l]), d = jxe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, b.useMemo)(() => ({
+ }), [c, l]), d = Axe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, b.useMemo)(() => ({
tags: ic(d.visible.flatMap($r).map((e) => ({ tags: e.tags || [] }))),
providers: [...d.providers].map(([e, t]) => [
e,
@@ -44766,10 +44784,10 @@ function Mxe(e) {
m,
i
]);
- let h = Pxe(e, !!c);
+ let h = Nxe(e, !!c);
if (!c) return o.isError ? /* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-feed": "",
- children: [/* @__PURE__ */ (0, x.jsx)(hI, { onManage: i.openManage }), /* @__PURE__ */ (0, x.jsx)(TM, {
+ children: [/* @__PURE__ */ (0, x.jsx)(gI, { onManage: i.openManage }), /* @__PURE__ */ (0, x.jsx)(EM, {
message: _t(o.error),
onRetry: () => void o.refetch()
})]
@@ -44782,7 +44800,7 @@ function Mxe(e) {
author: d.author,
provider: d.provider
}, {
- authors: new Map([...d.authorSources].map(([e, t]) => [e, rM(t, u)])),
+ authors: new Map([...d.authorSources].map(([e, t]) => [e, iM(t, u)])),
providers: d.providers,
works: d.workNames
}), v = t.status ? d.counts[t.status] || 0 : d.allCount, y = d.sources.some((e) => e.can_backfill);
@@ -44800,7 +44818,7 @@ function Mxe(e) {
"data-follow-feed": "",
"data-select-mode": e.selectMode ? "" : void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(hI, {
+ /* @__PURE__ */ (0, x.jsx)(gI, {
onManage: i.openManage,
children: d.sources.length ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "primary",
@@ -44814,20 +44832,20 @@ function Mxe(e) {
}) : "检查更新"
}) : null
}),
- /* @__PURE__ */ (0, x.jsx)(Fxe, {
+ /* @__PURE__ */ (0, x.jsx)(Pxe, {
facets: d,
pressed: d.author,
context: u,
props: e,
onPick: (e) => g({ author: d.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, x.jsx)(Ixe, {
+ /* @__PURE__ */ (0, x.jsx)(Fxe, {
rows: d.workRows,
pressed: t.work,
props: e,
onPick: (e) => g({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, x.jsx)(Lxe, {
+ /* @__PURE__ */ (0, x.jsx)(Ixe, {
facets: d,
view: t,
total: v,
@@ -44835,7 +44853,7 @@ function Mxe(e) {
props: e,
route: g
}),
- /* @__PURE__ */ (0, x.jsx)(Rxe, {
+ /* @__PURE__ */ (0, x.jsx)(Lxe, {
conditions: _,
onDrop: (e) => i.route(gi(t, e)),
onClear: () => g({
@@ -44847,11 +44865,11 @@ function Mxe(e) {
durMax: 0
})
}),
- d.broken.length ? /* @__PURE__ */ (0, x.jsx)(zxe, {
+ d.broken.length ? /* @__PURE__ */ (0, x.jsx)(Rxe, {
count: d.broken.length,
onManage: i.openManage
}) : null,
- /* @__PURE__ */ (0, x.jsx)(Bxe, {
+ /* @__PURE__ */ (0, x.jsx)(zxe, {
pending: f,
facets: d,
data: c,
@@ -44862,14 +44880,14 @@ function Mxe(e) {
"data-follow-pagination": "",
children: [c.has_more ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-page-action": "",
- children: c.groups.length < 500 ? /* @__PURE__ */ (0, x.jsxs)(zM, {
+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, x.jsxs)(BM, {
entity: !0,
enabled: () => !h.busyRef.current,
load: async () => {
await o.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, x.jsx)(mI, { className: "size-3.5" }), "加载更多"]
- }, o.data?.pages.length) : /* @__PURE__ */ (0, x.jsx)(Nxe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(hI, { className: "size-3.5" }), "加载更多"]
+ }, o.data?.pages.length) : /* @__PURE__ */ (0, x.jsx)(Mxe, {
busy: o.isFetchingNextPage,
error: o.isFetchNextPageError ? _t(o.error) : "",
load: () => {
@@ -44880,7 +44898,7 @@ function Mxe(e) {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- leadingIcon: h.olderBusy ? void 0 : kxe,
+ leadingIcon: h.olderBusy ? void 0 : Oxe,
"data-follow-older": "",
"aria-busy": h.busy || void 0,
onClick: () => void h.start(!0),
@@ -44898,7 +44916,7 @@ function Mxe(e) {
})
] });
}
-function hI({ onManage: e, children: t }) {
+function gI({ onManage: e, children: t }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-head": "",
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
@@ -44908,7 +44926,7 @@ function hI({ onManage: e, children: t }) {
"data-follow-head-actions": "",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- leadingIcon: Oxe,
+ leadingIcon: Dxe,
"data-follow-manage": "",
onClick: e,
children: "管理关注"
@@ -44916,20 +44934,20 @@ function hI({ onManage: e, children: t }) {
})]
});
}
-function Nxe({ busy: e, error: t, load: n }) {
+function Mxe({ busy: e, error: t, load: n }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-entity-more": "",
"aria-busy": e || void 0,
"aria-disabled": e || void 0,
onClick: n,
- children: [/* @__PURE__ */ (0, x.jsx)(mI, { className: "size-3.5" }), "加载更多"]
- }), t ? /* @__PURE__ */ (0, x.jsx)(TM, {
+ children: [/* @__PURE__ */ (0, x.jsx)(hI, { className: "size-3.5" }), "加载更多"]
+ }), t ? /* @__PURE__ */ (0, x.jsx)(EM, {
message: t,
onRetry: n
}) : null] });
}
-function Pxe(e, t) {
+function Nxe(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, b.useState)(0), [o, s] = (0, b.useState)(!1), [c, l] = (0, b.useState)(""), [u, d] = (0, b.useState)(""), [f, p] = (0, b.useState)(!1), m = (0, b.useRef)(!1), h = (0, b.useRef)(null), g = (0, b.useRef)({
helpers: n,
actions: r
@@ -44991,12 +45009,12 @@ function Pxe(e, t) {
olderBusy: c === "older" || f && o
};
}
-function Fxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function Pxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, b.useRef)(null);
(0, b.useEffect)(() => {
r.helpers.wireDrag(a.current);
}, [r.helpers]);
- let o = (t) => rM(e.authorSources.get(t) || [], n);
+ let o = (t) => iM(e.authorSources.get(t) || [], n);
return e.authorOrder.length ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-authors-bar": "",
children: /* @__PURE__ */ (0, x.jsx)("div", {
@@ -45004,14 +45022,14 @@ function Fxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
"data-follow-authors": "",
"aria-label": "创作者",
children: e.authorOrder.map((n) => {
- let a = e.authorSources.get(n) || [], s = iM(a), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
+ let a = e.authorSources.get(n) || [], s = aM(a), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: aM(a, o(n)) }
+ dangerouslySetInnerHTML: { __html: oM(a, o(n)) }
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-name": "",
children: o(n)
})] });
- return s ? /* @__PURE__ */ (0, x.jsx)(uI, {
+ return s ? /* @__PURE__ */ (0, x.jsx)(dI, {
name: s,
actions: r.actions,
"data-follow-author": n,
@@ -45028,7 +45046,7 @@ function Fxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
})
}) : null;
}
-function Ixe({ rows: e, pressed: t, props: n, onPick: r }) {
+function Fxe({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -45049,7 +45067,7 @@ function Ixe({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function Lxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+function Ixe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
let { helpers: o, actions: s } = i, c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = Kk(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = Kk(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
(0, b.useEffect)(() => {
o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);
@@ -45107,7 +45125,7 @@ function Lxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: L(i) }
}, e);
})
- }), /* @__PURE__ */ (0, x.jsx)(pI, {})] }) : null, /* @__PURE__ */ (0, x.jsxs)("div", {
+ }), /* @__PURE__ */ (0, x.jsx)(mI, {})] }) : null, /* @__PURE__ */ (0, x.jsxs)("div", {
ref: f,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -45127,7 +45145,7 @@ function Lxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), v ? /* @__PURE__ */ (0, x.jsx)(pI, {}) : null]
+ }, e)), v ? /* @__PURE__ */ (0, x.jsx)(mI, {}) : null]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: p,
"data-entity-tags": "",
@@ -45140,9 +45158,9 @@ function Lxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
title: n,
"aria-label": `来源:${n}`,
onClick: () => a({ provider: e.provider === t ? "" : t }),
- dangerouslySetInnerHTML: { __html: tM(t, n) }
+ dangerouslySetInnerHTML: { __html: nM(t, n) }
}, t)),
- _.length && e.tagRows.length ? /* @__PURE__ */ (0, x.jsx)(pI, {}) : null,
+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, x.jsx)(mI, {}) : null,
e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, x.jsxs)(Wk, {
"data-follow-tag": n,
"data-entity-press": "",
@@ -45164,11 +45182,11 @@ function Lxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
}), /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(yM, { onPress: s.shuffle }),
- y ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(vM, {
+ /* @__PURE__ */ (0, x.jsx)(bM, { onPress: s.shuffle }),
+ y ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(yM, {
label: "图片布局",
value: i.photoLayout,
- options: Axe,
+ options: kxe,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
@@ -45186,7 +45204,7 @@ function Lxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})]
})] }) : null,
Hr.map(([e, n]) => {
- let r = t.sort === e, i = Ij(t.dir === "asc" ? "arrow-up" : "arrow-down");
+ let r = t.sort === e, i = Lj(t.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-entity-sort": e,
@@ -45205,7 +45223,7 @@ function Lxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})] })
});
}
-function Rxe({ conditions: e, onDrop: t, onClear: n }) {
+function Lxe({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -45230,7 +45248,7 @@ function Rxe({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function zxe({ count: e, onManage: t }) {
+function Rxe({ count: e, onManage: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-broken": "",
onClick: (e) => {
@@ -45239,12 +45257,12 @@ function zxe({ count: e, onManage: t }) {
dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${L("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }
});
}
-function Bxe({ pending: e, facets: t, data: n, context: r, props: i }) {
- let { view: a, helpers: o } = i, s = a.media === "images", c = wM(e, () => o.listSkeletonHtml(a.media));
+function zxe({ pending: e, facets: t, data: n, context: r, props: i }) {
+ let { view: a, helpers: o } = i, s = a.media === "images", c = TM(e, () => o.listSkeletonHtml(a.media));
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": c.fading ? "" : void 0,
- children: [c.layer, e ? null : /* @__PURE__ */ (0, x.jsx)(Vxe, {
+ children: [c.layer, e ? null : /* @__PURE__ */ (0, x.jsx)(Bxe, {
facets: t,
data: n,
context: r,
@@ -45253,28 +45271,28 @@ function Bxe({ pending: e, facets: t, data: n, context: r, props: i }) {
})]
});
}
-function Vxe({ facets: e, data: t, context: n, props: r, images: i }) {
- let { view: a, actions: o } = r, s = _I(r), c = i ? {
+function Bxe({ facets: e, data: t, context: n, props: r, images: i }) {
+ let { view: a, actions: o } = r, s = vI(r), c = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
- } : {}, l = Dxe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), u;
+ } : {}, l = Exe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), u;
return u = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), c = i?.author_key && e.authorSources.get(i.author_key) || [], l = t.primary.id;
- return /* @__PURE__ */ (0, x.jsx)(fI, {
+ return /* @__PURE__ */ (0, x.jsx)(pI, {
group: t,
authorSources: c,
media: a.media,
context: n,
- selected: r.selected.has(gI(t, a)),
+ selected: r.selected.has(_I(t, a)),
selectMode: r.selectMode,
- busy: s.busy.get(gI(t, a)) || "",
- failure: s.failures.get(gI(t, a)) || "",
+ busy: s.busy.get(_I(t, a)) || "",
+ failure: s.failures.get(_I(t, a)) || "",
actions: o,
onStatus: s.status,
onSave: s.save
}, `${l}:${a.media}`);
- }) : /* @__PURE__ */ (0, x.jsx)(Hxe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Vxe, {
data: t,
filtered: !!(a.status || e.author || e.provider || a.work || a.tags.length)
}), /* @__PURE__ */ (0, x.jsx)("div", {
@@ -45285,10 +45303,10 @@ function Vxe({ facets: e, data: t, context: n, props: r, images: i }) {
children: u
});
}
-function gI(e, t) {
+function _I(e, t) {
return oi(e, t.media).id;
}
-function Hxe({ data: e, filtered: t }) {
+function Vxe({ data: e, filtered: t }) {
let n = (e.groups || []).length ? no("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源、时长或标签后再试。") : (e.sources || []).length ? t ? no("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : no("rss", "还没有更新", "点「检查更新」去各个来源取一遍;来源有新内容时会集中显示在这里。") : no("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/follow-manage?tab=add\">添加关注</a>" });
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-empty": "",
@@ -45296,12 +45314,12 @@ function Hxe({ data: e, filtered: t }) {
dangerouslySetInnerHTML: { __html: n }
});
}
-var Uxe = {
+var Hxe = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function _I(e) {
+function vI(e) {
let { view: t, revision: n, actions: r } = e, [i, a] = (0, b.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, b.useState)(() => /* @__PURE__ */ new Map()), c = qr(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
@@ -45324,7 +45342,7 @@ function _I(e) {
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(Uxe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ u(t, n), d(), r.toast(Hxe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
await V(wn, {
item: t,
to: i
@@ -45370,9 +45388,9 @@ function _I(e) {
}
//#endregion
//#region src/react/entity-body/entity-online.tsx
-function Wxe(e) {
- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = wM(a, () => i.listSkeletonHtml(r));
- return !n && t.isError ? /* @__PURE__ */ (0, x.jsx)(TM, {
+function Uxe(e) {
+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = TM(a, () => i.listSkeletonHtml(r));
+ return !n && t.isError ? /* @__PURE__ */ (0, x.jsx)(EM, {
message: _t(t.error),
onRetry: () => {
t.refetch();
@@ -45383,11 +45401,11 @@ function Wxe(e) {
"data-grid-reveal": o.fading ? "" : void 0,
children: [
o.layer,
- a || !n ? null : /* @__PURE__ */ (0, x.jsx)(Gxe, {
+ a || !n ? null : /* @__PURE__ */ (0, x.jsx)(Wxe, {
...e,
data: n
}),
- !a && n?.has_more ? /* @__PURE__ */ (0, x.jsx)(zM, {
+ !a && n?.has_more ? /* @__PURE__ */ (0, x.jsx)(BM, {
entity: !0,
enabled: () => e.canLoadMore?.() !== !1,
load: async () => {
@@ -45397,8 +45415,8 @@ function Wxe(e) {
]
});
}
-function Gxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {
- let l = _I({
+function Wxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {
+ let l = vI({
view: e,
revision: 0,
actions: c
@@ -45416,7 +45434,7 @@ function Gxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
"data-images-only": String(s)
} : {}, p = r.length ? r.map((e) => {
let n = oi(e, t).id, r = u.byId.get(e.primary?.source_id)?.author_key;
- return /* @__PURE__ */ (0, x.jsx)(fI, {
+ return /* @__PURE__ */ (0, x.jsx)(pI, {
group: e,
authorSources: r && u.byAuthor.get(r) || [],
media: t,
@@ -45429,7 +45447,7 @@ function Gxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
onStatus: l.status,
onSave: l.save
}, `${e.primary.id}:${t}`);
- }) : /* @__PURE__ */ (0, x.jsx)(Kxe, { searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length) });
+ }) : /* @__PURE__ */ (0, x.jsx)(Gxe, { searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length) });
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-list": "",
"data-follow-wall": d ? "" : void 0,
@@ -45437,7 +45455,7 @@ function Gxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
children: p
});
}
-function Kxe({ searched: e }) {
+function Gxe({ searched: e }) {
let t = e ? no("search-x", "当前筛选下没有更新", "切换媒体类型、状态、来源或标签后再试。") : no("rss", "还没有抓到更新", "关注页检查更新之后,这位创作者的新内容会出现在这里。");
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-empty": "",
@@ -45445,7 +45463,7 @@ function Kxe({ searched: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function vI(e) {
+function yI(e) {
return {
x0: 0,
y0: 0,
@@ -45453,7 +45471,7 @@ function vI(e) {
y1: e.height
};
}
-function yI(e) {
+function bI(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -45461,40 +45479,40 @@ function yI(e) {
y1: Math.round(e.y1)
};
}
-function bI(e) {
+function xI(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function xI(e, t) {
- if (!bI(e)) return {
+function SI(e, t) {
+ if (!xI(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return vI(e);
+ if (t == null || !(t > 0)) return yI(e);
let n = e.width, r = n / t;
r > e.height && (r = e.height, n = r * t);
let i = (e.width - n) / 2, a = (e.height - r) / 2;
- return yI({
+ return bI({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function qxe(e, t) {
- if (!bI(e) || !(t > 0)) return vI(e);
+function Kxe(e, t) {
+ if (!xI(e) || !(t > 0)) return yI(e);
let n = Math.min(e.width, e.height * t);
- return yI({
+ return bI({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function Jxe(e, t, n) {
- if (!bI(t) || !(n > 0)) return vI(t);
- let r = SI(e, t), i = xI({
+function qxe(e, t, n) {
+ if (!xI(t) || !(n > 0)) return yI(t);
+ let r = CI(e, t), i = SI({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -45505,8 +45523,8 @@ function Jxe(e, t, n) {
y1: r.y0 + i.y1
};
}
-function SI(e, t, n = null, r = "width") {
- if (!bI(t)) return {
+function CI(e, t, n = null, r = "width") {
+ if (!xI(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -45515,43 +45533,43 @@ function SI(e, t, n = null, r = "width") {
let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));
n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));
let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));
- return yI({
+ return bI({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function CI(e, t, n, r) {
+function wI(e, t, n, r) {
let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));
- return yI({
+ return bI({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function wI(e, t, n, r = null) {
- if (!bI(n) || !(t > 0)) return e;
+function TI(e, t, n, r = null) {
+ if (!xI(n) || !(t > 0)) return e;
let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;
- return SI({
+ return CI({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function Yxe(e, t, n, r, i = null) {
+function Jxe(e, t, n, r, i = null) {
let a = {
x0: e.x0,
y0: e.y0,
x1: Math.max(e.x0 + 1, t),
y1: Math.max(e.y0 + 1, n)
};
- return SI(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return CI(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function Xxe(e, t) {
- return bI(t) ? {
+function Yxe(e, t) {
+ return xI(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -45563,8 +45581,8 @@ function Xxe(e, t) {
height: 0
};
}
-function Zxe(e, t) {
- if (!bI(t)) return {
+function Xxe(e, t) {
+ if (!xI(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -45574,7 +45592,7 @@ function Zxe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function Qxe(e, t) {
+function Zxe(e, t) {
let n = Math.max(1, e.x1 - e.x0), r = Math.max(1, e.y1 - e.y0);
return {
left: `${-e.x0 / n * 100}%`,
@@ -45583,16 +45601,16 @@ function Qxe(e, t) {
height: `${t.height / r * 100}%`
};
}
-function TI(e, t, n) {
+function EI(e, t, n) {
return t > 0 ? e * n / t : 0;
}
-function $xe(e, t) {
+function Qxe(e, t) {
return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var eSe = .02, EI = 1.08;
-function DI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var $xe = .02, DI = 1.08;
+function OI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, b.useRef)(null), c = (0, b.useRef)(null), [l, u] = (0, b.useState)(!1), [d, f] = (0, b.useState)(null);
(0, b.useEffect)(() => {
u(!1);
@@ -45611,8 +45629,8 @@ function DI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: TI(e, n.clientWidth, r.width),
- dy: TI(t, n.clientHeight, r.height)
+ dx: EI(e, n.clientWidth, r.width),
+ dy: EI(t, n.clientHeight, r.height)
};
}, [r]);
function m(e) {
@@ -45629,22 +45647,22 @@ function DI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
let n = c.current, a = s.current;
if (!n || !a || !r) return;
let o = p(e.clientX - n.x, e.clientY - n.y);
- n.mode === "move" ? i(CI(n.box, o.dx, o.dy, r)) : i(Yxe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
+ n.mode === "move" ? i(wI(n.box, o.dx, o.dy, r)) : i(Jxe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
}
function g(e) {
c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
}
function _(e) {
if (!n || !r) return;
- let a = Math.max(1, (n.x1 - n.x0) * eSe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * $xe), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
- o[e.key] ? (e.preventDefault(), i(CI(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(wI(n, e.key === "-" ? 1 / EI : EI, r, t)));
+ o[e.key] ? (e.preventDefault(), i(wI(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(TI(n, e.key === "-" ? 1 / DI : DI, r, t)));
}
- let v = n && r ? Xxe(SI(n, r, t), r) : null, y = v ? $xe(v, d) : !1, S = v ? {
+ let v = n && r ? Yxe(CI(n, r, t), r) : null, y = v ? Qxe(v, d) : !1, S = v ? {
"--crop-l": `${v.left}%`,
"--crop-t": `${v.top}%`,
"--crop-w": `${v.width}%`,
@@ -45663,7 +45681,7 @@ function DI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- bI({
+ xI({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -45702,7 +45720,7 @@ function DI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: g,
onKeyDown: _,
onWheel: (e) => {
- n && r && i(wI(n, e.deltaY > 0 ? EI : 1 / EI, r, t));
+ n && r && i(TI(n, e.deltaY > 0 ? DI : 1 / DI, r, t));
},
className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",
children: /* @__PURE__ */ (0, x.jsx)("span", {
@@ -45725,13 +45743,13 @@ function DI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var tSe = "/api/avatar-choices", OI = "/api/avatar-pick", nSe = "/api/avatar-code-cover", kI = "/api/avatar-frame", rSe = "/avatar-choice", AI = (e, t) => [
+var eSe = "/api/avatar-choices", kI = "/api/avatar-pick", tSe = "/api/avatar-code-cover", AI = "/api/avatar-frame", nSe = "/avatar-choice", jI = (e, t) => [
"avatar-choices",
e,
t
-], jI = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, MI = (e, t, n, r = "") => `${rSe}${jI(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), NI = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", iSe = (e, t, n) => B(tSe + jI(e, t), n), aSe = (e) => V(nSe, { code: e });
-async function oSe(e, t, n) {
- let r = await V(kI, {
+], MI = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, NI = (e, t, n, r = "") => `${nSe}${MI(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), PI = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", rSe = (e, t, n) => B(eSe + MI(e, t), n), iSe = (e) => V(tSe, { code: e });
+async function aSe(e, t, n) {
+ let r = await V(AI, {
kind: e,
id: t,
ref: n.ref
@@ -45744,12 +45762,12 @@ async function oSe(e, t, n) {
bases: r.bases
};
}
-var sSe = (e, t, n) => V(kI, {
+var oSe = (e, t, n) => V(AI, {
kind: e,
id: t,
url: n
-}), cSe = (e, t, n) => PI(`${kI}${jI(e, t)}&name=${encodeURIComponent(n.name)}`, n);
-async function PI(e, t) {
+}), sSe = (e, t, n) => FI(`${AI}${MI(e, t)}&name=${encodeURIComponent(n.name)}`, n);
+async function FI(e, t) {
let n = await fetch(e, {
method: "POST",
credentials: "same-origin",
@@ -45758,17 +45776,17 @@ async function PI(e, t) {
if (n.ok) return r;
throw new en(r?.error || `请求失败(${n.status})`, n.status, r);
}
-function FI(e, t, n) {
+function II(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? Jxe(e.focus, t, n) : xI(t, n);
+ return e.focus && r ? qxe(e.focus, t, n) : SI(t, n);
}
-var lSe = (e) => e.crop && bI({
+var cSe = (e) => e.crop && xI({
width: e.width,
height: e.height
});
-async function uSe(e, t, n) {
+async function lSe(e, t, n) {
if (!("file" in n)) {
- await V(OI, {
+ await V(kI, {
kind: e,
id: t,
...n
@@ -45781,19 +45799,19 @@ async function uSe(e, t, n) {
i.x1,
i.y1
].join(",")}` : "";
- await PI(`${OI}${jI(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
+ await FI(`${kI}${MI(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
}
-var II = 2;
-function dSe(e, t) {
+var LI = 2;
+function uSe(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
- return n.length ? `${e}:图库里按${`「${n.slice(0, II).join("」「")}」`}${n.length > II ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;
+ return n.length ? `${e}:图库里按${`「${n.slice(0, LI).join("」「")}」`}${n.length > LI ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;
}
-var fSe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function pSe(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${fSe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var dSe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function fSe(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${dSe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var LI = (e) => e.cast > 1, mSe = (e) => LI(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, hSe = {
+var RI = (e) => e.cast > 1, pSe = (e) => RI(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, mSe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -45803,7 +45821,7 @@ var LI = (e) => e.cast > 1, mSe = (e) => LI(e) ? `${e.label}:${e.cast.toLocale
social: "社媒头像",
online: "在线作品"
};
-function gSe(e) {
+function hSe(e) {
if (e.startsWith("follow:")) {
let t = e.split(":")[2];
return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;
@@ -45814,19 +45832,19 @@ function gSe(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var _Se = (e) => `${hSe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (LI(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), vSe = 8, ySe = 3 / 4;
-async function bSe(e, t, n) {
+var gSe = (e) => `${mSe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (RI(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), _Se = 8, vSe = 3 / 4;
+async function ySe(e, t, n) {
switch (n.via) {
- case "choice": return { choice: await oSe(e, t, n.choice) };
- case "code": return { choice: await aSe(n.code) };
- case "url": return { choice: await sSe(e, t, n.url) };
+ case "choice": return { choice: await aSe(e, t, n.choice) };
+ case "code": return { choice: await iSe(n.code) };
+ case "url": return { choice: await oSe(e, t, n.url) };
case "file": return {
- choice: await cSe(e, t, n.file),
+ choice: await sSe(e, t, n.file),
file: n.file
};
}
}
-function xSe({ kind: e, entityId: t, name: n, onPicked: r }) {
+function bSe({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -45841,12 +45859,12 @@ function xSe({ kind: e, entityId: t, name: n, onPicked: r }) {
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, x.jsx)(Nj, {
+ }), /* @__PURE__ */ (0, x.jsx)(Pj, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, x.jsx)(SSe, {
+ children: /* @__PURE__ */ (0, x.jsx)(xSe, {
kind: e,
entityId: t,
name: n,
@@ -45855,22 +45873,22 @@ function xSe({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function SSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, b.useRef)(null), o = VP(), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(null), p = AI(e, t), m = (0, b.useRef)(!1), h = dt({
+function xSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, b.useRef)(null), o = HP(), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(null), p = jI(e, t), m = (0, b.useRef)(!1), h = dt({
queryKey: p,
- queryFn: ({ signal: n }) => iSe(e, t, n),
+ queryFn: ({ signal: n }) => rSe(e, t, n),
retryOnMount: !0
});
(0, b.useEffect)(() => () => {
- m.current && H.removeQueries({ queryKey: AI(e, t) });
+ m.current && H.removeQueries({ queryKey: jI(e, t) });
}, [e, t]);
let g = ft({
- mutationFn: (n) => uSe(e, t, n),
+ mutationFn: (n) => lSe(e, t, n),
onSuccess: () => {
m.current = !0, i(), r();
}
}), _ = ft({
- mutationFn: (n) => bSe(e, t, n),
+ mutationFn: (n) => ySe(e, t, n),
onSuccess: f
}), v = (e) => _.isPending && _.variables?.via === e;
function y(e) {
@@ -45888,11 +45906,11 @@ function SSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
crop: e.crop
} : { file: n }) : g.mutate(e ?? { ref: t.ref });
}
- let C = h.data, w = C?.choices ?? [], T = (g.error ? z(g.error) : "") || (!d && _.error ? z(_.error) : "") || (h.error ? z(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : pSe(C), O = !!T && !!h.error && T === z(h.error), k = h.isPending || w.length > 0;
+ let C = h.data, w = C?.choices ?? [], T = (g.error ? z(g.error) : "") || (!d && _.error ? z(_.error) : "") || (h.error ? z(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : fSe(C), O = !!T && !!h.error && T === z(h.error), k = h.isPending || w.length > 0;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, x.jsx)(Pj, { children: /* @__PURE__ */ (0, x.jsx)(wde, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, x.jsx)(Fj, { children: /* @__PURE__ */ (0, x.jsx)(wde, { className: "size-6" }) }),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
@@ -45909,7 +45927,7 @@ function SSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: d ? mSe(d.choice) : dSe(n, C)
+ children: d ? pSe(d.choice) : uSe(n, C)
}),
D ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
@@ -45930,14 +45948,14 @@ function SSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsx)(UP, {
+ /* @__PURE__ */ (0, x.jsx)(WP, {
icon: wO,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), d ? /* @__PURE__ */ (0, x.jsx)(TSe, {
+ }), d ? /* @__PURE__ */ (0, x.jsx)(wSe, {
kind: e,
entityId: t,
choice: d.choice,
@@ -45956,7 +45974,7 @@ function SSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
"aria-busy": h.isPending || void 0,
"data-skeleton": h.isPending ? "avatar-choices" : void 0,
className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",
- children: h.isPending ? Array.from({ length: vSe }, (e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: h.isPending ? Array.from({ length: _Se }, (e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
"aria-hidden": !0,
"data-avatar-skeleton": !0,
className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",
@@ -45969,7 +45987,7 @@ function SSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: _Se(n),
+ title: gSe(n),
...q(E),
onClick: () => {
E || (n.crop ? f({ choice: n }) : _.mutate({
@@ -45979,8 +45997,8 @@ function SSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",
children: [
- /* @__PURE__ */ (0, x.jsx)(CSe, {
- src: MI(e, t, n.ref, NI(n, n.ref)),
+ /* @__PURE__ */ (0, x.jsx)(SSe, {
+ src: NI(e, t, n.ref, PI(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, x.jsx)("span", {
@@ -45995,7 +46013,7 @@ function SSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
children: "在用"
})
}) : null,
- LI(n) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ RI(n) ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "absolute top-1 right-1",
children: /* @__PURE__ */ (0, x.jsxs)(ak, {
variant: "caption",
@@ -46019,7 +46037,7 @@ function SSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(Mj, {
+ children: /* @__PURE__ */ (0, x.jsx)(Nj, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -46054,7 +46072,7 @@ function SSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 basis-56 items-center gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(Mj, {
+ children: /* @__PURE__ */ (0, x.jsx)(Nj, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -46077,7 +46095,7 @@ function SSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function CSe({ src: e, choice: t }) {
+function SSe({ src: e, choice: t }) {
let n = (0, b.useRef)(null), [r, i] = (0, b.useState)(!1), [a, o] = (0, b.useState)(!1);
(0, b.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -46085,7 +46103,7 @@ function CSe({ src: e, choice: t }) {
let s = {
width: t.width,
height: t.height
- }, c = lSe(t) ? Qxe(FI(t, s, ySe), s) : null, l = r || a ? !0 : void 0;
+ }, c = cSe(t) ? Zxe(II(t, s, vSe), s) : null, l = r || a ? !0 : void 0;
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-choice-lost": a || void 0,
className: "relative block w-full aspect-avatar-choice overflow-hidden",
@@ -46111,7 +46129,7 @@ function CSe({ src: e, choice: t }) {
})]
});
}
-function wSe(e) {
+function CSe(e) {
let [t, n] = (0, b.useState)("");
return (0, b.useEffect)(() => {
if (!e) return;
@@ -46119,23 +46137,23 @@ function wSe(e) {
return n(t), () => URL.revokeObjectURL(t);
}, [e]), t;
}
-function TSe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confirm: o }) {
- let s = n.bases.length ? n.bases : [n.ref], [c, l] = (0, b.useState)(s[0]), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = NI(n, c), h = wSe(r), g = r ? h : MI(e, t, c, m), _ = VP();
+function wSe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confirm: o }) {
+ let s = n.bases.length ? n.bases : [n.ref], [c, l] = (0, b.useState)(s[0]), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = PI(n, c), h = CSe(r), g = r ? h : NI(e, t, c, m), _ = HP();
function v(e) {
l(e), d(null), p(null);
}
- let y = f && u ? Zxe(f, u) : null;
+ let y = f && u ? Xxe(f, u) : null;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
ref: _,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: [g ? /* @__PURE__ */ (0, x.jsx)(DI, {
+ children: [g ? /* @__PURE__ */ (0, x.jsx)(OI, {
src: g,
aspect: 1,
box: f,
size: u,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- d(e), bI(e) && p(c === n.ref ? FI(n, e, 1) : xI(e, 1));
+ d(e), xI(e) && p(c === n.ref ? II(n, e, 1) : SI(e, 1));
},
onBox: p
}) : null, s.length > 1 ? /* @__PURE__ */ (0, x.jsx)("div", {
@@ -46149,7 +46167,7 @@ function TSe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi
"data-crop-base": !0,
onClick: () => v(e),
className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",
- children: gSe(e)
+ children: hSe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -46198,20 +46216,20 @@ function TSe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/url.js
-var ESe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, RI = /^[\\/]{2}/;
-function DSe(e, t) {
+var TSe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, zI = /^[\\/]{2}/;
+function ESe(e, t) {
return t + e.replace(/\\/g, "/");
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/history.js
-var zI = "popstate";
-function BI(e) {
+var BI = "popstate";
+function VI(e) {
return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;
}
-function OSe(e = {}) {
+function DSe(e = {}) {
function t(e, t) {
let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;
- return WI("", {
+ return GI("", {
pathname: r,
search: i,
hash: a
@@ -46222,14 +46240,14 @@ function OSe(e = {}) {
} : void 0);
}
function n(e, t) {
- return typeof t == "string" ? t : GI(t);
+ return typeof t == "string" ? t : KI(t);
}
- return ASe(t, n, null, e);
+ return kSe(t, n, null, e);
}
-function VI(e, t) {
+function HI(e, t) {
if (e === !1 || e == null) throw Error(t);
}
-function HI(e, t) {
+function UI(e, t) {
if (!e) {
typeof console < "u" && console.warn(t);
try {
@@ -46237,10 +46255,10 @@ function HI(e, t) {
} catch {}
}
}
-function kSe() {
+function OSe() {
return Math.random().toString(36).substring(2, 10);
}
-function UI(e, t) {
+function WI(e, t) {
return {
usr: e.state,
key: e.key,
@@ -46252,21 +46270,21 @@ function UI(e, t) {
} : void 0
};
}
-function WI(e, t, n = null, r, i) {
+function GI(e, t, n = null, r, i) {
return {
pathname: typeof e == "string" ? e : e.pathname,
search: "",
hash: "",
- ...typeof t == "string" ? KI(t) : t,
+ ...typeof t == "string" ? qI(t) : t,
state: n,
- key: t && t.key || r || kSe(),
+ key: t && t.key || r || OSe(),
mask: i
};
}
-function GI({ pathname: e = "/", search: t = "", hash: n = "" }) {
+function KI({ pathname: e = "/", search: t = "", hash: n = "" }) {
return t && t !== "?" && (e += t.charAt(0) === "?" ? t : "?" + t), n && n !== "#" && (e += n.charAt(0) === "#" ? n : "#" + n), e;
}
-function KI(e) {
+function qI(e) {
let t = {};
if (e) {
let n = e.indexOf("#");
@@ -46276,7 +46294,7 @@ function KI(e) {
}
return t;
}
-function ASe(e, t, n, r = {}) {
+function kSe(e, t, n, r = {}) {
let { window: i = document.defaultView, v5Compat: a = !1 } = r, o = i.history, s = "POP", c = null, l = u();
l ?? (l = 0, o.replaceState({
...o.state,
@@ -46296,9 +46314,9 @@ function ASe(e, t, n, r = {}) {
}
function f(e, t) {
s = "PUSH";
- let r = BI(e) ? e : WI(h.location, e, t);
+ let r = VI(e) ? e : GI(h.location, e, t);
n && n(r, e), l = u() + 1;
- let d = UI(r, l), f = h.createHref(r.mask || r);
+ let d = WI(r, l), f = h.createHref(r.mask || r);
try {
o.pushState(d, "", f);
} catch (e) {
@@ -46313,9 +46331,9 @@ function ASe(e, t, n, r = {}) {
}
function p(e, t) {
s = "REPLACE";
- let r = BI(e) ? e : WI(h.location, e, t);
+ let r = VI(e) ? e : GI(h.location, e, t);
n && n(r, e), l = u();
- let i = UI(r, l), d = h.createHref(r.mask || r);
+ let i = WI(r, l), d = h.createHref(r.mask || r);
o.replaceState(i, "", d), a && c && c({
action: s,
location: h.location,
@@ -46323,7 +46341,7 @@ function ASe(e, t, n, r = {}) {
});
}
function m(e) {
- return jSe(i, e);
+ return ASe(i, e);
}
let h = {
get action() {
@@ -46334,8 +46352,8 @@ function ASe(e, t, n, r = {}) {
},
listen(e) {
if (c) throw Error("A history only accepts one active listener");
- return i.addEventListener(zI, d), c = e, () => {
- i.removeEventListener(zI, d), c = null;
+ return i.addEventListener(BI, d), c = e, () => {
+ i.removeEventListener(BI, d), c = null;
};
},
createHref(e) {
@@ -46358,29 +46376,29 @@ function ASe(e, t, n, r = {}) {
};
return h;
}
-function jSe(e, t, n = !1) {
+function ASe(e, t, n = !1) {
let r = "http://localhost";
- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), VI(r, "No window.location.(origin|href) available to create URL");
- let i = typeof t == "string" ? t : GI(t);
- return i = i.replace(/ $/, "%20"), !n && RI.test(i) && (i = r + i), new URL(i, r);
+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), HI(r, "No window.location.(origin|href) available to create URL");
+ let i = typeof t == "string" ? t : KI(t);
+ return i = i.replace(/ $/, "%20"), !n && zI.test(i) && (i = r + i), new URL(i, r);
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/utils.js
-function MSe(e, t, n = "/") {
- return NSe(e, t, n, !1);
+function jSe(e, t, n = "/") {
+ return MSe(e, t, n, !1);
}
-function NSe(e, t, n, r, i) {
- let a = $I((typeof t == "string" ? KI(t) : t).pathname || "/", n);
+function MSe(e, t, n, r, i) {
+ let a = eL((typeof t == "string" ? qI(t) : t).pathname || "/", n);
if (a == null) return null;
- let o = i ?? PSe(e), s = null, c = qSe(a);
- for (let e = 0; s == null && e < o.length; ++e) s = KSe(o[e], c, r);
+ let o = i ?? NSe(e), s = null, c = KSe(a);
+ for (let e = 0; s == null && e < o.length; ++e) s = GSe(o[e], c, r);
return s;
}
-function PSe(e) {
- let t = qI(e);
- return FSe(t), t;
+function NSe(e) {
+ let t = JI(e);
+ return PSe(t), t;
}
-function qI(e, t = [], n = [], r = "", i = !1) {
+function JI(e, t = [], n = [], r = "", i = !1) {
let a = (e, a, o = i, s) => {
let c = {
relativePath: s === void 0 ? e.path || "" : s,
@@ -46390,14 +46408,14 @@ function qI(e, t = [], n = [], r = "", i = !1) {
};
if (c.relativePath.startsWith("/")) {
if (!c.relativePath.startsWith(r) && o) return;
- VI(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);
+ HI(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);
}
- let l = rL([r, c.relativePath]), u = n.concat(c);
- e.children && e.children.length > 0 && (VI(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), qI(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({
+ let l = iL([r, c.relativePath]), u = n.concat(c);
+ e.children && e.children.length > 0 && (HI(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), JI(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({
path: l,
- score: WSe(l, e.index),
+ score: USe(l, e.index),
routesMeta: u.map((e, t) => {
- let [n, r] = QI(e.relativePath, e.caseSensitive, t === u.length - 1);
+ let [n, r] = $I(e.relativePath, e.caseSensitive, t === u.length - 1);
return {
...e,
matcher: n,
@@ -46408,68 +46426,68 @@ function qI(e, t = [], n = [], r = "", i = !1) {
};
return e.forEach((e, t) => {
if (e.path === "" || !e.path?.includes("?")) a(e, t);
- else for (let n of JI(e.path)) a(e, t, !0, n);
+ else for (let n of YI(e.path)) a(e, t, !0, n);
}), t;
}
-function JI(e) {
+function YI(e) {
let t = e.split("/");
if (t.length === 0) return [];
let [n, ...r] = t, i = n.endsWith("?"), a = n.replace(/\?$/, "");
if (r.length === 0) return i ? [a, ""] : [a];
- let o = JI(r.join("/")), s = [];
+ let o = YI(r.join("/")), s = [];
return s.push(...o.map((e) => e === "" ? a : [a, e].join("/"))), i && s.push(...o), s.map((t) => e.startsWith("/") && t === "" ? "/" : t);
}
-function FSe(e) {
- e.sort((e, t) => e.score === t.score ? GSe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
+function PSe(e) {
+ e.sort((e, t) => e.score === t.score ? WSe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
}
-var ISe = /^:[\w-]+$/, LSe = /^:[\w-]+/, RSe = 3.5, zSe = 3, BSe = 2, VSe = 1, HSe = 10, USe = -2, YI = (e) => e === "*";
-function WSe(e, t) {
+var FSe = /^:[\w-]+$/, ISe = /^:[\w-]+/, LSe = 3.5, RSe = 3, zSe = 2, BSe = 1, VSe = 10, HSe = -2, XI = (e) => e === "*";
+function USe(e, t) {
let n = e.split("/"), r = n.length;
- return n.some(YI) && (r += USe), t && (r += BSe), n.filter((e) => !YI(e)).reduce((e, t) => e + (ISe.test(t) ? zSe : LSe.test(t) ? RSe : t === "" ? VSe : HSe), r);
+ return n.some(XI) && (r += HSe), t && (r += zSe), n.filter((e) => !XI(e)).reduce((e, t) => e + (FSe.test(t) ? RSe : ISe.test(t) ? LSe : t === "" ? BSe : VSe), r);
}
-function GSe(e, t) {
+function WSe(e, t) {
return e.length === t.length && e.slice(0, -1).every((e, n) => e === t[n]) ? e[e.length - 1] - t[t.length - 1] : 0;
}
-function KSe(e, t, n = !1) {
+function GSe(e, t, n = !1) {
let { routesMeta: r } = e, i = {}, a = "/", o = [];
for (let e = 0; e < r.length; ++e) {
let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {
path: s.relativePath,
caseSensitive: s.caseSensitive,
end: c
- }, d = s.matcher && s.compiledParams ? ZI(u, l, s.matcher, s.compiledParams) : XI(u, l), f = s.route;
- if (!d && c && n && !r[r.length - 1].route.index && (d = XI({
+ }, d = s.matcher && s.compiledParams ? QI(u, l, s.matcher, s.compiledParams) : ZI(u, l), f = s.route;
+ if (!d && c && n && !r[r.length - 1].route.index && (d = ZI({
path: s.relativePath,
caseSensitive: s.caseSensitive,
end: !1
}, l)), !d) return null;
Object.assign(i, d.params), o.push({
params: i,
- pathname: rL([a, d.pathname]),
- pathnameBase: QSe(rL([a, d.pathnameBase])),
+ pathname: iL([a, d.pathname]),
+ pathnameBase: ZSe(iL([a, d.pathnameBase])),
route: f
- }), d.pathnameBase !== "/" && (a = rL([a, d.pathnameBase]));
+ }), d.pathnameBase !== "/" && (a = iL([a, d.pathnameBase]));
}
return o;
}
-function XI(e, t) {
+function ZI(e, t) {
typeof e == "string" && (e = {
path: e,
caseSensitive: !1,
end: !0
});
- let [n, r] = QI(e.path, e.caseSensitive, e.end);
- return ZI(e, t, n, r);
+ let [n, r] = $I(e.path, e.caseSensitive, e.end);
+ return QI(e, t, n, r);
}
-function ZI(e, t, n, r) {
+function QI(e, t, n, r) {
let i = t.match(n);
if (!i) return null;
- let a = i[0], o = iL(a, 1), s = i.slice(1);
+ let a = i[0], o = aL(a, 1), s = i.slice(1);
return {
params: r.reduce((e, { paramName: t, isOptional: n }, r) => {
if (t === "*") {
let e = s[r] || "";
- o = iL(a.slice(0, a.length - e.length), 1);
+ o = aL(a.slice(0, a.length - e.length), 1);
}
let i = s[r];
return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;
@@ -46479,8 +46497,8 @@ function ZI(e, t, n, r) {
pattern: e
};
}
-function QI(e, t = !1, n = !0) {
- HI(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);
+function $I(e, t = !1, n = !0) {
+ UI(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);
let r = [], i = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (e, t, n, i, a) => {
if (r.push({
paramName: t,
@@ -46493,46 +46511,46 @@ function QI(e, t = !1, n = !0) {
}).replace(/\/([\w-]+)\?(?=\/|$|\()/g, "(?:/$1)?");
return e.endsWith("*") ? (r.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), r];
}
-function qSe(e) {
+function KSe(e) {
try {
return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");
} catch (t) {
- return HI(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;
+ return UI(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;
}
}
-function $I(e, t) {
+function eL(e, t) {
if (t === "/") return e;
if (!e.toLowerCase().startsWith(t.toLowerCase())) return null;
let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);
return r && r !== "/" ? null : e.slice(n) || "/";
}
-function JSe(e, t = "/") {
- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? KI(e) : e, a;
- return n ? (n = nL(n), a = n.startsWith("/") || n.startsWith("\\") ? eL(n.substring(1), "/") : eL(n, t)) : a = t, {
+function qSe(e, t = "/") {
+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? qI(e) : e, a;
+ return n ? (n = rL(n), a = n.startsWith("/") || n.startsWith("\\") ? tL(n.substring(1), "/") : tL(n, t)) : a = t, {
pathname: a,
- search: $Se(r),
- hash: eCe(i)
+ search: QSe(r),
+ hash: $Se(i)
};
}
-function eL(e, t) {
- let n = iL(t).split("/");
+function tL(e, t) {
+ let n = aL(t).split("/");
return e.split("/").forEach((e) => {
e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);
}), n.length > 1 ? n.join("/") : "/";
}
-function tL(e, t, n, r) {
+function nL(e, t, n, r) {
return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
}
-function YSe(e) {
+function JSe(e) {
return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);
}
-function XSe(e) {
- let t = YSe(e);
+function YSe(e) {
+ let t = JSe(e);
return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);
}
-function ZSe(e, t, n, r = !1) {
+function XSe(e, t, n, r = !1) {
let i;
- typeof e == "string" ? i = KI(e) : (i = { ...e }, VI(!i.pathname || !i.pathname.includes("?"), tL("?", "pathname", "search", i)), VI(!i.pathname || !i.pathname.includes("#"), tL("#", "pathname", "hash", i)), VI(!i.search || !i.search.includes("#"), tL("#", "search", "hash", i)));
+ typeof e == "string" ? i = qI(e) : (i = { ...e }, HI(!i.pathname || !i.pathname.includes("?"), nL("?", "pathname", "search", i)), HI(!i.pathname || !i.pathname.includes("#"), nL("#", "pathname", "hash", i)), HI(!i.search || !i.search.includes("#"), nL("#", "search", "hash", i)));
let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;
if (o == null) s = n;
else {
@@ -46544,16 +46562,16 @@ function ZSe(e, t, n, r = !1) {
}
s = e >= 0 ? t[e] : "/";
}
- let c = JSe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
+ let c = qSe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;
}
-var nL = (e) => e.replace(/[\\/]{2,}/g, "/"), rL = (e) => nL(e.join("/"));
-function iL(e, t = 0) {
+var rL = (e) => e.replace(/[\\/]{2,}/g, "/"), iL = (e) => rL(e.join("/"));
+function aL(e, t = 0) {
let n = e.length;
for (; n > t && e.charCodeAt(n - 1) === 47;) n--;
return n === e.length ? e : e.slice(0, n);
}
-var QSe = (e) => iL(e).replace(/^\/*/, "/"), $Se = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, eCe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, tCe = class {
+var ZSe = (e) => aL(e).replace(/^\/*/, "/"), QSe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, $Se = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, eCe = class {
status;
statusText;
data;
@@ -46563,26 +46581,26 @@ var QSe = (e) => iL(e).replace(/^\/*/, "/"), $Se = (e) => !e || e === "?" ? "" :
this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;
}
};
-function nCe(e) {
+function tCe(e) {
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
}
-function rCe(e) {
- return rL(e.map((e) => e.route.path).filter(Boolean)) || "/";
+function nCe(e) {
+ return iL(e.map((e) => e.route.path).filter(Boolean)) || "/";
}
-var aL = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
-function iCe(e, t) {
+var oL = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
+function rCe(e, t) {
let n = e;
- if (typeof n != "string" || !ESe.test(n)) return {
+ if (typeof n != "string" || !TSe.test(n)) return {
absoluteURL: void 0,
isExternal: !1,
to: n
};
let r = n, i = !1;
- if (aL) try {
- let e = new URL(window.location.href), r = RI.test(n) ? new URL(DSe(n, e.protocol)) : new URL(n), a = $I(r.pathname, t);
+ if (oL) try {
+ let e = new URL(window.location.href), r = zI.test(n) ? new URL(ESe(n, e.protocol)) : new URL(n), a = eL(r.pathname, t);
r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;
} catch {
- HI(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
+ UI(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
}
return {
absoluteURL: r,
@@ -46592,45 +46610,45 @@ function iCe(e, t) {
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/navigation.js
-var oL = new URL("http://localhost");
-function sL(e) {
+var sL = new URL("http://localhost");
+function cL(e) {
if (e.createURL) return e.createURL("/");
try {
- return new URL(e.createHref("/"), oL);
+ return new URL(e.createHref("/"), sL);
} catch {
- return oL;
+ return sL;
}
}
-function cL(e, t) {
+function lL(e, t) {
return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);
}
-function aCe(e, t) {
+function iCe(e, t) {
if (e.startsWith("//")) return !0;
let n = t.protocol.toLowerCase();
return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;
}
-function lL(e, t, n, r) {
+function uL(e, t, n, r) {
let i = null;
try {
i = e == null ? null : new URL(e, n);
} catch {}
- let a = new URL(t, n), o = i != null && !cL(i, n), s = !cL(a, n);
+ let a = new URL(t, n), o = i != null && !lL(i, n), s = !lL(a, n);
if (r === "reject") {
if (o || s) throw Error("External navigation is not allowed");
- } else if (s && (i == null || !aCe(e, i) || !cL(i, a))) throw Error("External navigation is not allowed");
+ } else if (s && (i == null || !iCe(e, i) || !lL(i, a))) throw Error("External navigation is not allowed");
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/router.js
-var uL = [
+var dL = [
"POST",
"PUT",
"PATCH",
"DELETE"
];
-new Set(uL);
-var oCe = ["GET", ...uL];
-new Set(oCe);
-var sCe = [
+new Set(dL);
+var aCe = ["GET", ...dL];
+new Set(aCe);
+var oCe = [
"about:",
"blob:",
"chrome:",
@@ -46642,85 +46660,85 @@ var sCe = [
"filesystem:",
"javascript:"
];
-function cCe(e) {
+function sCe(e) {
try {
- return sCe.includes(new URL(e).protocol);
+ return oCe.includes(new URL(e).protocol);
} catch {
return !1;
}
}
//#endregion
//#region node_modules/react-router/dist/production/lib/context.js
-var dL = b.createContext(null);
-dL.displayName = "DataRouter";
-var lCe = b.createContext(null);
-lCe.displayName = "DataRouterState";
var fL = b.createContext(null);
-fL.displayName = "DataRouterData";
-var uCe = b.createContext(null);
-uCe.displayName = "DataRouterNavigation";
-var dCe = b.createContext(!1), fCe = b.createContext({ isTransitioning: !1 });
-fCe.displayName = "ViewTransition";
-var pCe = b.createContext(null);
-pCe.displayName = "Fetchers";
-var mCe = b.createContext(null);
-mCe.displayName = "Await";
+fL.displayName = "DataRouter";
+var cCe = b.createContext(null);
+cCe.displayName = "DataRouterState";
var pL = b.createContext(null);
-pL.displayName = "Navigation";
+pL.displayName = "DataRouterData";
+var lCe = b.createContext(null);
+lCe.displayName = "DataRouterNavigation";
+var uCe = b.createContext(!1), dCe = b.createContext({ isTransitioning: !1 });
+dCe.displayName = "ViewTransition";
+var fCe = b.createContext(null);
+fCe.displayName = "Fetchers";
+var pCe = b.createContext(null);
+pCe.displayName = "Await";
var mL = b.createContext(null);
-mL.displayName = "Location";
-var hL = b.createContext({
+mL.displayName = "Navigation";
+var hL = b.createContext(null);
+hL.displayName = "Location";
+var gL = b.createContext({
outlet: null,
matches: [],
isDataRoute: !1
});
-hL.displayName = "Route";
-var gL = b.createContext(!1);
-gL.displayName = "IsDataRoute";
-var _L = b.createContext(void 0);
-_L.displayName = "RouteId";
-var vL = b.createContext(null);
-vL.displayName = "RouteError";
+gL.displayName = "Route";
+var _L = b.createContext(!1);
+_L.displayName = "IsDataRoute";
+var vL = b.createContext(void 0);
+vL.displayName = "RouteId";
+var yL = b.createContext(null);
+yL.displayName = "RouteError";
//#endregion
//#region node_modules/react-router/dist/production/lib/errors.js
-var yL = "REACT_ROUTER_ERROR", hCe = "REDIRECT", gCe = "ROUTE_ERROR_RESPONSE";
-function _Ce(e) {
- if (e.startsWith(`${yL}:${hCe}:{`)) try {
+var bL = "REACT_ROUTER_ERROR", mCe = "REDIRECT", hCe = "ROUTE_ERROR_RESPONSE";
+function gCe(e) {
+ if (e.startsWith(`${bL}:${mCe}:{`)) try {
let t = JSON.parse(e.slice(28));
if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string" && typeof t.location == "string" && typeof t.reloadDocument == "boolean" && typeof t.replace == "boolean") return t;
} catch {}
}
-function vCe(e) {
- if (e.startsWith(`${yL}:${gCe}:{`)) try {
+function _Ce(e) {
+ if (e.startsWith(`${bL}:${hCe}:{`)) try {
let t = JSON.parse(e.slice(40));
- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new tCe(t.status, t.statusText, t.data);
+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new eCe(t.status, t.statusText, t.data);
} catch {}
}
//#endregion
//#region node_modules/react-router/dist/production/lib/hooks.js
-function bL() {
- return b.useContext(mL) != null;
-}
function xL() {
- return VI(bL(), "useLocation() may be used only in the context of a <Router> component."), b.useContext(mL).location;
+ return b.useContext(hL) != null;
}
-var SL = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
-function yCe() {
- return b.useContext(gL) ? jCe() : bCe();
+function SL() {
+ return HI(xL(), "useLocation() may be used only in the context of a <Router> component."), b.useContext(hL).location;
+}
+var CL = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
+function vCe() {
+ return b.useContext(_L) ? ACe() : yCe();
}
-function bCe() {
- VI(bL(), "useNavigate() may be used only in the context of a <Router> component.");
- let e = b.useContext(dL), { basename: t, navigator: n } = b.useContext(pL), { matches: r } = b.useContext(hL), { pathname: i } = xL(), a = JSON.stringify(XSe(r)), o = b.useRef(!1);
+function yCe() {
+ HI(xL(), "useNavigate() may be used only in the context of a <Router> component.");
+ let e = b.useContext(fL), { basename: t, navigator: n } = b.useContext(mL), { matches: r } = b.useContext(gL), { pathname: i } = SL(), a = JSON.stringify(YSe(r)), o = b.useRef(!1);
return b.useLayoutEffect(() => {
o.current = !0;
}), b.useCallback((r, s = {}) => {
- if (HI(o.current, SL), !o.current) return;
+ if (UI(o.current, CL), !o.current) return;
if (typeof r == "number") {
n.go(r);
return;
}
- let c = ZSe(r, JSON.parse(a), i, s.relative === "path");
- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : rL([t, c.pathname])), lL(typeof r == "string" ? r : GI(r), n.createHref(c), sL(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
+ let c = XSe(r, JSON.parse(a), i, s.relative === "path");
+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : iL([t, c.pathname])), uL(typeof r == "string" ? r : KI(r), n.createHref(c), cL(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
}, [
t,
n,
@@ -46730,19 +46748,19 @@ function bCe() {
]);
}
b.createContext(null);
-function xCe(e, t) {
- return CL(e, t);
+function bCe(e, t) {
+ return wL(e, t);
}
-function CL(e, t, n) {
- VI(bL(), "useRoutes() may be used only in the context of a <Router> component.");
- let { navigator: r } = b.useContext(pL), { matches: i } = b.useContext(hL), a = i[i.length - 1], o = a ? a.params : {};
+function wL(e, t, n) {
+ HI(xL(), "useRoutes() may be used only in the context of a <Router> component.");
+ let { navigator: r } = b.useContext(mL), { matches: i } = b.useContext(gL), a = i[i.length - 1], o = a ? a.params : {};
a && a.pathname;
let s = a ? a.pathnameBase : "/";
a && a.route;
- let c = xL(), l;
+ let c = SL(), l;
if (t) {
- let e = typeof t == "string" ? KI(t) : t;
- VI(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;
+ let e = typeof t == "string" ? qI(t) : t;
+ HI(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;
} else l = c;
let u = l.pathname || "/", d = u;
if (s !== "/") {
@@ -46750,13 +46768,13 @@ function CL(e, t, n) {
d = "/" + u.replace(/^\//, "").split("/").slice(e.length).join("/");
}
let f;
- f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : MSe(e, { pathname: d });
- let p = DCe(f && f.map((e) => Object.assign({}, e, {
+ f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : jSe(e, { pathname: d });
+ let p = ECe(f && f.map((e) => Object.assign({}, e, {
params: Object.assign({}, o, e.params),
- pathname: rL([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
- pathnameBase: e.pathnameBase === "/" ? s : rL([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])
+ pathname: iL([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
+ pathnameBase: e.pathnameBase === "/" ? s : iL([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])
})), i, n);
- return t && p ? /* @__PURE__ */ b.createElement(mL.Provider, { value: {
+ return t && p ? /* @__PURE__ */ b.createElement(hL.Provider, { value: {
location: {
pathname: "/",
search: "",
@@ -46769,14 +46787,14 @@ function CL(e, t, n) {
navigationType: "POP"
} }, p) : p;
}
-function SCe() {
- let e = ACe(), t = nCe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
+function xCe() {
+ let e = kCe(), t = tCe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
return /* @__PURE__ */ b.createElement(b.Fragment, null, /* @__PURE__ */ b.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ b.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ b.createElement("pre", { style: {
padding: "0.5rem",
backgroundColor: "rgba(200,200,200, 0.5)"
} }, n) : null, null);
}
-var CCe = /* @__PURE__ */ b.createElement(SCe, null), wCe = class extends b.Component {
+var SCe = /* @__PURE__ */ b.createElement(xCe, null), CCe = class extends b.Component {
constructor(e) {
super(e), this.state = {
location: e.location,
@@ -46784,7 +46802,7 @@ var CCe = /* @__PURE__ */ b.createElement(SCe, null), wCe = class extends b.Comp
error: e.error
};
}
- static contextType = dCe;
+ static contextType = uCe;
static getDerivedStateFromError(e) {
return { error: e };
}
@@ -46805,30 +46823,30 @@ var CCe = /* @__PURE__ */ b.createElement(SCe, null), wCe = class extends b.Comp
render() {
let e = this.state.error;
if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {
- let t = vCe(e.digest);
+ let t = _Ce(e.digest);
t && (e = t);
}
- let t = e === void 0 ? this.props.children : /* @__PURE__ */ b.createElement(hL.Provider, { value: this.props.routeContext }, /* @__PURE__ */ b.createElement(gL.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ b.createElement(_L.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ b.createElement(vL.Provider, {
+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ b.createElement(gL.Provider, { value: this.props.routeContext }, /* @__PURE__ */ b.createElement(_L.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ b.createElement(vL.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ b.createElement(yL.Provider, {
value: e,
children: this.props.component
}))));
- return this.context ? /* @__PURE__ */ b.createElement(TCe, { error: e }, t) : t;
+ return this.context ? /* @__PURE__ */ b.createElement(wCe, { error: e }, t) : t;
}
-}, wL = /* @__PURE__ */ new WeakMap();
-function TCe({ children: e, error: t }) {
- let { basename: n, navigator: r } = b.useContext(pL);
+}, TL = /* @__PURE__ */ new WeakMap();
+function wCe({ children: e, error: t }) {
+ let { basename: n, navigator: r } = b.useContext(mL);
if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {
- let e = _Ce(t.digest);
+ let e = gCe(t.digest);
if (e) {
- let i = wL.get(t);
+ let i = TL.get(t);
if (i) throw i;
- let a = iCe(e.location, n), o = a.absoluteURL || a.to;
- if (lL(e.location, o, sL(r), "allow-explicit"), cCe(o)) throw Error("Invalid redirect location");
- if (aL && !wL.get(t)) {
+ let a = rCe(e.location, n), o = a.absoluteURL || a.to;
+ if (uL(e.location, o, cL(r), "allow-explicit"), sCe(o)) throw Error("Invalid redirect location");
+ if (oL && !TL.get(t)) {
if (a.isExternal || e.reloadDocument) window.location.href = o;
else {
let n = Promise.resolve().then(() => window.__reactRouterDataRouter.navigate(a.to, { replace: e.replace }));
- throw wL.set(t, n), n;
+ throw TL.set(t, n), n;
}
}
return /* @__PURE__ */ b.createElement("meta", {
@@ -46839,11 +46857,11 @@ function TCe({ children: e, error: t }) {
}
return e;
}
-function ECe({ routeContext: e, match: t, children: n }) {
- let r = b.useContext(dL);
- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ b.createElement(hL.Provider, { value: e }, /* @__PURE__ */ b.createElement(gL.Provider, { value: e.isDataRoute }, /* @__PURE__ */ b.createElement(_L.Provider, { value: t.route.id }, n)));
+function TCe({ routeContext: e, match: t, children: n }) {
+ let r = b.useContext(fL);
+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ b.createElement(gL.Provider, { value: e }, /* @__PURE__ */ b.createElement(_L.Provider, { value: e.isDataRoute }, /* @__PURE__ */ b.createElement(vL.Provider, { value: t.route.id }, n)));
}
-function DCe(e, t = [], n) {
+function ECe(e, t = [], n) {
let r = n?.state;
if (e == null) {
if (!r) return null;
@@ -46854,7 +46872,7 @@ function DCe(e, t = [], n) {
let i = e, a = r?.errors;
if (a != null) {
let e = i.findIndex((e) => e.route.id && a?.[e.route.id] !== void 0);
- VI(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));
+ HI(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));
}
let o = !1, s = -1;
if (n && r) {
@@ -46874,16 +46892,16 @@ function DCe(e, t = [], n) {
c(e, {
location: r.location,
params: r.matches?.[0]?.params ?? {},
- pattern: rCe(r.matches),
+ pattern: nCe(r.matches),
errorInfo: t
});
} : void 0;
return i.reduceRight((e, n, c) => {
let u, d = !1, f = null, p = null;
- r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || CCe, o && (s < 0 && c === 0 ? (MCe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));
+ r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || SCe, o && (s < 0 && c === 0 ? (jCe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));
let m = t.concat(i.slice(0, c + 1)), h = () => {
let t;
- return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ b.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ b.createElement(ECe, {
+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ b.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ b.createElement(TCe, {
match: n,
routeContext: {
outlet: e,
@@ -46893,7 +46911,7 @@ function DCe(e, t = [], n) {
children: t
});
};
- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ b.createElement(wCe, {
+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ b.createElement(CCe, {
location: r.location,
revalidation: r.revalidation,
component: f,
@@ -46908,44 +46926,44 @@ function DCe(e, t = [], n) {
}) : h();
}, null);
}
-function TL(e) {
+function EL(e) {
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
}
-function OCe(e) {
- let t = b.useContext(dL);
- return VI(t, TL(e)), t;
-}
-function kCe(e) {
+function DCe(e) {
let t = b.useContext(fL);
- return VI(t, TL(e)), t;
+ return HI(t, EL(e)), t;
}
-function EL(e) {
- let t = b.useContext(_L);
- return VI(t, `${e} can only be used on routes that contain a unique "id"`), t;
+function OCe(e) {
+ let t = b.useContext(pL);
+ return HI(t, EL(e)), t;
}
-function ACe() {
- let e = b.useContext(vL), t = kCe("useRouteError"), n = EL("useRouteError");
+function DL(e) {
+ let t = b.useContext(vL);
+ return HI(t, `${e} can only be used on routes that contain a unique "id"`), t;
+}
+function kCe() {
+ let e = b.useContext(yL), t = OCe("useRouteError"), n = DL("useRouteError");
return e === void 0 ? t.errors?.[n] : e;
}
-function jCe() {
- let { router: e } = OCe("useNavigate"), t = EL("useNavigate"), n = b.useRef(!1);
+function ACe() {
+ let { router: e } = DCe("useNavigate"), t = DL("useNavigate"), n = b.useRef(!1);
return b.useLayoutEffect(() => {
n.current = !0;
}), b.useCallback(async (r, i = {}) => {
- HI(n.current, SL), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {
+ UI(n.current, CL), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {
fromRouteId: t,
...i
}));
}, [e, t]);
}
-var DL = {};
-function MCe(e, t, n) {
- !t && !DL[e] && (DL[e] = !0, HI(!1, n));
+var OL = {};
+function jCe(e, t, n) {
+ !t && !OL[e] && (OL[e] = !0, UI(!1, n));
}
-b.memo(NCe);
-function NCe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
- let a = b.useContext(dL);
- return VI(a, "You must render this element inside a <DataRouterContext.Provider> element"), CL(e, void 0, {
+b.memo(MCe);
+function MCe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
+ let a = b.useContext(fL);
+ return HI(a, "You must render this element inside a <DataRouterContext.Provider> element"), wL(e, void 0, {
router: a.router,
manifest: t,
state: n,
@@ -46953,11 +46971,11 @@ function NCe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
onError: i
});
}
-function OL(e) {
- VI(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");
+function kL(e) {
+ HI(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");
}
-function PCe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
- VI(!bL(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
+function NCe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
+ HI(!xL(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
let s = e.replace(/^\/*/, "/"), c = b.useMemo(() => ({
basename: s,
navigator: i,
@@ -46970,9 +46988,9 @@ function PCe({ basename: e = "/", children: t = null, location: n, navigationTyp
a,
o
]);
- typeof n == "string" && (n = KI(n));
+ typeof n == "string" && (n = qI(n));
let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = b.useMemo(() => {
- let e = $I(l, s);
+ let e = eL(l, s);
return e == null ? null : {
location: {
pathname: e,
@@ -46994,27 +47012,27 @@ function PCe({ basename: e = "/", children: t = null, location: n, navigationTyp
r,
m
]);
- return HI(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ b.createElement(pL.Provider, { value: c }, /* @__PURE__ */ b.createElement(mL.Provider, {
+ return UI(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ b.createElement(mL.Provider, { value: c }, /* @__PURE__ */ b.createElement(hL.Provider, {
children: t,
value: h
}));
}
-function kL({ children: e, location: t }) {
- return xCe(AL(e), t);
+function AL({ children: e, location: t }) {
+ return bCe(jL(e), t);
}
b.Component;
-function AL(e, t = []) {
+function jL(e, t = []) {
let n = [];
return b.Children.forEach(e, (e, r) => {
if (!b.isValidElement(e)) return;
let i = [...t, r];
if (e.type === b.Fragment) {
- n.push.apply(n, AL(e.props.children, i));
+ n.push.apply(n, jL(e.props.children, i));
return;
}
- VI(e.type === OL, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);
+ HI(e.type === kL, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);
let a = e.props;
- VI(!a.index || !a.children, "An index route cannot have child routes.");
+ HI(!a.index || !a.children, "An index route cannot have child routes.");
let o = {
id: a.id || i.join("-"),
caseSensitive: a.caseSensitive,
@@ -47033,12 +47051,12 @@ function AL(e, t = []) {
handle: a.handle,
lazy: a.lazy
};
- a.children && (o.children = AL(a.children, i)), n.push(o);
+ a.children && (o.children = jL(a.children, i)), n.push(o);
}), n;
}
//#endregion
//#region src/history/overlay.ts
-var jL = [
+var ML = [
"/item/:id",
"/mix/:seed/:item",
"/parts/:seed/:item",
@@ -47046,15 +47064,15 @@ var jL = [
"/playlists/:playlist/:item",
"/follow/item/:id",
"/jav/movie/:code"
-], FCe = {
+], PCe = {
"/mix/:seed/:item": "mix",
"/parts/:seed/:item": "parts",
"/editions/:seed/:item": "editions",
"/playlists/:playlist/:item": "playlist"
};
-function ML(e) {
- for (let t of jL) {
- let n = XI(t, e);
+function NL(e) {
+ for (let t of ML) {
+ let n = ZI(t, e);
if (!n) continue;
if (t === "/jav/movie/:code") {
let e = n.params.code || "";
@@ -47079,7 +47097,7 @@ function ML(e) {
path: t,
target: {
kind: "queue",
- queue: FCe[t],
+ queue: PCe[t],
key: i,
item: a
}
@@ -47087,42 +47105,42 @@ function ML(e) {
}
return null;
}
-var NL = (e) => ML(e)?.target ?? null, PL = (e) => jL.some((t) => XI(t, e) !== null);
-function FL(e) {
+var PL = (e) => NL(e)?.target ?? null, FL = (e) => ML.some((t) => ZI(t, e) !== null);
+function IL(e) {
let t = e?.backgroundLocation;
return typeof t?.pathname == "string" ? {
pathname: t.pathname,
search: typeof t.search == "string" ? t.search : ""
} : null;
}
-var IL = null, LL = null;
-function RL() {
+var LL = null, RL = null;
+function zL() {
let { pathname: e, search: t } = window.location;
- PL(e) || (IL = {
+ FL(e) || (LL = {
pathname: e,
search: t
});
}
-function zL() {
- IL = null, LL = null;
+function BL() {
+ LL = null, RL = null;
}
-function ICe(e) {
- let t = FL(e);
- t && (IL = t, LL = t.pathname + t.search);
+function FCe(e) {
+ let t = IL(e);
+ t && (LL = t, RL = t.pathname + t.search);
}
-function BL() {
- let e = LL;
- return LL = null, e;
+function VL() {
+ let e = RL;
+ return RL = null, e;
}
-function VL(e) {
- return IL ? {
- backgroundLocation: { ...IL },
+function HL(e) {
+ return LL ? {
+ backgroundLocation: { ...LL },
overlay: e
} : void 0;
}
//#endregion
//#region src/history/route-meta.ts
-var HL = {
+var UL = {
"/jav": {
nav: "jav",
title: "JAV",
@@ -47256,179 +47274,179 @@ var HL = {
title: "沉浸模式"
}
};
-function UL(e) {
- if (Object.hasOwn(HL, e)) return HL[e];
- let t = ML(e);
- if (t) return HL[t.path];
+function WL(e) {
+ if (Object.hasOwn(UL, e)) return UL[e];
+ let t = NL(e);
+ if (t) return UL[t.path];
let [n, ...r] = e.split("/").filter(Boolean);
if (!n) return null;
- if (!r.length) return Object.hasOwn(HL, `/${n}`) ? HL[`/${n}`] : null;
+ if (!r.length) return Object.hasOwn(UL, `/${n}`) ? UL[`/${n}`] : null;
let i = `/${n}/*`;
- return Object.hasOwn(HL, i) ? {
- ...HL[i],
+ return Object.hasOwn(UL, i) ? {
+ ...UL[i],
title: r.join("/")
} : null;
}
//#endregion
//#region src/history/managed.ts
-var WL = () => {}, GL = new Promise((e) => {
- WL = e;
+var GL = () => {}, KL = new Promise((e) => {
+ GL = e;
});
-GL.catch(() => {});
-var KL = null, qL = /* @__PURE__ */ new Map(), JL = /* @__PURE__ */ new Map(), YL = 0, XL = /* @__PURE__ */ new Set();
-function LCe(e) {
- WL(e);
-}
-function ZL(e) {
- return qL.get(e) ?? null;
+KL.catch(() => {});
+var qL = null, JL = /* @__PURE__ */ new Map(), YL = /* @__PURE__ */ new Map(), XL = 0, ZL = /* @__PURE__ */ new Set();
+function ICe(e) {
+ GL(e);
}
function QL(e) {
- return !!e && (qL.has(e) || JL.has(e));
+ return JL.get(e) ?? null;
}
-var $L = () => [...qL.values()];
-function RCe(e) {
- return XL.add(e), () => {
- XL.delete(e);
+function $L(e) {
+ return !!e && (JL.has(e) || YL.has(e));
+}
+var eR = () => [...JL.values()];
+function LCe(e) {
+ return ZL.add(e), () => {
+ ZL.delete(e);
};
}
-function eR(e) {
- let t = $L();
- for (let n of [...XL]) n(t, e);
+function tR(e) {
+ let t = eR();
+ for (let n of [...ZL]) n(t, e);
}
-async function tR(e, t, n) {
+async function nR(e, t, n) {
let { container: r } = n;
- if (rR(r), !n.isCurrent()) return !1;
- YL += 1;
+ if (iR(r), !n.isCurrent()) return !1;
+ XL += 1;
let i = {
- revision: YL,
+ revision: XL,
controller: new AbortController()
};
- JL.set(r, i);
- let a = KL;
- KL = null, a?.();
- let o = await GL;
- if (JL.get(r) !== i) return !1;
+ YL.set(r, i);
+ let a = qL;
+ qL = null, a?.();
+ let o = await KL;
+ if (YL.get(r) !== i) return !1;
try {
await o(e, t, i.controller.signal);
} catch {
if (i.controller.signal.aborted) return !1;
}
- if (JL.get(r) !== i || (JL.delete(r), !n.isCurrent())) return !1;
- let s = n.place ? n.place(r) : zCe(r);
- return qL.set(r, {
+ if (YL.get(r) !== i || (YL.delete(r), !n.isCurrent())) return !1;
+ let s = n.place ? n.place(r) : RCe(r);
+ return JL.set(r, {
path: e,
props: t,
revision: i.revision,
container: r,
host: s,
resident: !!n.resident
- }), eR(!0), !0;
+ }), tR(!0), !0;
}
-function zCe(e) {
+function RCe(e) {
let t = e.ownerDocument.createElement("div");
return t.className = "peach-react", e.textContent = "", e.append(t), t;
}
-function nR(e, t) {
- let n = e ? qL.get(e) : void 0;
- n && (qL.set(n.container, {
+function rR(e, t) {
+ let n = e ? JL.get(e) : void 0;
+ n && (JL.set(n.container, {
...n,
props: {
...n.props,
...t
}
- }), eR(!1));
+ }), tR(!1));
}
-function rR(e, ...t) {
+function iR(e, ...t) {
let n = [];
for (let r of /* @__PURE__ */ new Set([e, ...t])) {
- let e = JL.get(r);
- e && (e.controller.abort(), JL.delete(r));
- let t = qL.get(r);
- t && (qL.delete(r), n.push(t));
+ let e = YL.get(r);
+ e && (e.controller.abort(), YL.delete(r));
+ let t = JL.get(r);
+ t && (JL.delete(r), n.push(t));
}
if (n.length) {
- eR(!0);
+ tR(!0);
for (let e of n) e.resident || e.host.remove();
}
}
-function BCe() {
- let [e, ...t] = /* @__PURE__ */ new Set([...qL.keys(), ...JL.keys()]);
- e && rR(e, ...t);
+function zCe() {
+ let [e, ...t] = /* @__PURE__ */ new Set([...JL.keys(), ...YL.keys()]);
+ e && iR(e, ...t);
}
-function VCe(e, t) {
- let n = qL.get(e);
- n?.revision === t && (qL.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {
- eR(!1);
+function BCe(e, t) {
+ let n = JL.get(e);
+ n?.revision === t && (JL.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {
+ tR(!1);
}));
}
//#endregion
//#region src/history/index.ts
-var iR = OSe({ v5Compat: !0 }), aR = 0, oR = 0, sR = {
- action: iR.action,
- location: iR.location,
- seq: aR,
- openEpoch: oR,
+var aR = DSe({ v5Compat: !0 }), oR = 0, sR = 0, cR = {
+ action: aR.action,
+ location: aR.location,
+ seq: oR,
+ openEpoch: sR,
claimed: !0
-}, cR = /* @__PURE__ */ new Set(), lR = !1, uR = !0;
-iR.listen(({ action: e, location: t }) => {
- aR += 1, lR || (oR += 1), e !== "REPLACE" && (uR = !1), sR = {
+}, lR = /* @__PURE__ */ new Set(), uR = !1, dR = !0;
+aR.listen(({ action: e, location: t }) => {
+ oR += 1, uR || (sR += 1), e !== "REPLACE" && (dR = !1), cR = {
action: e,
location: t,
- seq: aR,
- openEpoch: oR,
- claimed: lR
+ seq: oR,
+ openEpoch: sR,
+ claimed: uR
};
- for (let e of [...cR]) e(sR);
+ for (let e of [...lR]) e(cR);
});
-var dR = {
+var fR = {
get navigation() {
- return sR;
+ return cR;
},
listen(e) {
- return cR.add(e), () => {
- cR.delete(e);
+ return lR.add(e), () => {
+ lR.delete(e);
};
},
- createHref: (e) => iR.createHref(e),
- createURL: (e) => iR.createURL(e),
- encodeLocation: (e) => iR.encodeLocation(e),
- go: (e) => iR.go(e),
- push: (e, t) => iR.push(e, t),
- replace: (e, t) => iR.replace(e, t)
+ createHref: (e) => aR.createHref(e),
+ createURL: (e) => aR.createURL(e),
+ encodeLocation: (e) => aR.encodeLocation(e),
+ go: (e) => aR.go(e),
+ push: (e, t) => aR.push(e, t),
+ replace: (e, t) => aR.replace(e, t)
};
-function fR(e, { replace: t = !1, state: n } = {}) {
+function pR(e, { replace: t = !1, state: n } = {}) {
let r = new URL(e, window.location.href), i = `${r.pathname}${r.search}${r.hash}`;
- lR = !0;
+ uR = !0;
try {
- t ? iR.replace(i, n) : iR.push(i, n);
+ t ? aR.replace(i, n) : aR.push(i, n);
} finally {
- lR = !1;
+ uR = !1;
}
}
-var pR = () => uR;
-function mR() {
- return uR ? null : FL(sR.location.state);
+var mR = () => dR;
+function hR() {
+ return dR ? null : IL(cR.location.state);
}
-function HCe(e) {
- let t = VL(e);
- t && PL(window.location.pathname) && fR(window.location.href, {
+function VCe(e) {
+ let t = HL(e);
+ t && FL(window.location.pathname) && pR(window.location.href, {
replace: !0,
state: t
});
}
//#endregion
//#region src/react/providers.tsx
-var hR = null;
-function UCe() {
- return hR?.isConnected || (hR = document.createElement("div"), hR.className = "peach-react", hR.dataset.reactOverlays = "", document.body.append(hR)), hR;
+var gR = null;
+function HCe() {
+ return gR?.isConnected || (gR = document.createElement("div"), gR.className = "peach-react", gR.dataset.reactOverlays = "", document.body.append(gR)), gR;
}
-function WCe({ children: e }) {
+function UCe({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)(w, {
client: H,
children: /* @__PURE__ */ (0, x.jsx)(Kte, {
reducedMotion: "user",
children: /* @__PURE__ */ (0, x.jsx)(Lx, {
- getContainer: UCe,
+ getContainer: HCe,
children: e
})
})
@@ -47436,9 +47454,9 @@ function WCe({ children: e }) {
}
//#endregion
//#region src/react/router/pages/overlay.tsx
-var gR = () => Tc, GCe = () => Ec;
-function KCe() {
- let e = (0, b.useContext)(bR), t = (0, b.useSyncExternalStore)(Ic, GCe), n = (0, b.useSyncExternalStore)(Ic, gR);
+var _R = () => Tc, WCe = () => Ec;
+function GCe() {
+ let e = (0, b.useContext)(xR), t = (0, b.useSyncExternalStore)(Ic, WCe), n = (0, b.useSyncExternalStore)(Ic, _R);
return (0, b.useEffect)(() => {
if (!t || !n) return;
let r = !0;
@@ -47453,11 +47471,11 @@ function KCe() {
e
]), null;
}
-function _R(e, t = !1) {
- let n = (0, b.useSyncExternalStore)(Ic, gR), r = (0, b.useRef)(void 0);
+function vR(e, t = !1) {
+ let n = (0, b.useSyncExternalStore)(Ic, _R), r = (0, b.useRef)(void 0);
if (r.current === void 0) {
- let { claimed: e } = dR.navigation;
- r.current = Tc === 0 || pR() ? "boot" : e && !t ? null : "history";
+ let { claimed: e } = fR.navigation;
+ r.current = Tc === 0 || mR() ? "boot" : e && !t ? null : "history";
}
let i = (0, b.useRef)(e);
(0, b.useEffect)(() => {
@@ -47473,158 +47491,158 @@ function _R(e, t = !1) {
}));
}, [n]);
}
-function qCe() {
- let e = (0, b.useContext)(bR), t = (0, b.useRef)(e);
+function KCe() {
+ let e = (0, b.useContext)(xR), t = (0, b.useRef)(e);
return (0, b.useLayoutEffect)(() => {
t.current = e;
- }, [e]), _R((t) => {
- let n = NL(dR.navigation.location.pathname);
- e && n && (zL(), t || ICe(dR.navigation.location.state), e.openOverlay(n));
+ }, [e]), vR((t) => {
+ let n = PL(fR.navigation.location.pathname);
+ e && n && (BL(), t || FCe(fR.navigation.location.state), e.openOverlay(n));
}, !0), (0, b.useEffect)(() => () => {
queueMicrotask(() => {
- PL(dR.navigation.location.pathname) || t.current?.closeStage();
+ FL(fR.navigation.location.pathname) || t.current?.closeStage();
});
}, []), null;
}
-function JCe({ path: e }) {
- return yR(), /* @__PURE__ */ (0, x.jsx)(qCe, {}, `${e} ${dR.navigation.seq}`);
+function qCe({ path: e }) {
+ return bR(), /* @__PURE__ */ (0, x.jsx)(KCe, {}, `${e} ${fR.navigation.seq}`);
}
-function YCe() {
- let e = (0, b.useContext)(bR);
- return _R(() => {
+function JCe() {
+ let e = (0, b.useContext)(xR);
+ return vR(() => {
e?.follow?.ground();
}), null;
}
-function XCe() {
- return /* @__PURE__ */ (0, x.jsx)(YCe, {}, yR());
+function YCe() {
+ return /* @__PURE__ */ (0, x.jsx)(JCe, {}, bR());
}
//#endregion
//#region src/react/router/router.tsx
-var vR = (0, b.createContext)(0), yR = () => (0, b.useContext)(vR), bR = (0, b.createContext)(null);
-function ZCe({ children: e }) {
- let [t, n] = (0, b.useState)(() => dR.navigation);
- return (0, b.useLayoutEffect)(() => (n(dR.navigation), dR.listen((e) => {
+var yR = (0, b.createContext)(0), bR = () => (0, b.useContext)(yR), xR = (0, b.createContext)(null);
+function XCe({ children: e }) {
+ let [t, n] = (0, b.useState)(() => fR.navigation);
+ return (0, b.useLayoutEffect)(() => (n(fR.navigation), fR.listen((e) => {
(0, mt.flushSync)(() => n(e));
- })), []), /* @__PURE__ */ (0, x.jsx)(vR.Provider, {
+ })), []), /* @__PURE__ */ (0, x.jsx)(yR.Provider, {
value: t.openEpoch,
- children: /* @__PURE__ */ (0, x.jsx)(PCe, {
+ children: /* @__PURE__ */ (0, x.jsx)(NCe, {
location: t.location,
navigationType: t.action,
- navigator: dR,
+ navigator: fR,
children: e
})
});
}
-function QCe({ target: e }) {
- let t = yCe();
+function ZCe({ target: e }) {
+ let t = vCe();
return (0, b.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function $Ce(e, t, n) {
+function QCe(e, t, n) {
let r = new URL(e, window.location.href);
- g5(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
+ _5(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
}
-function ewe() {
- let e = (0, b.useContext)(bR), [t, n] = (0, b.useState)($L), r = (0, b.useRef)(null);
- (0, b.useLayoutEffect)(() => (n($L()), RCe((e, t) => {
+function $Ce() {
+ let e = (0, b.useContext)(xR), [t, n] = (0, b.useState)(eR), r = (0, b.useRef)(null);
+ (0, b.useLayoutEffect)(() => (n(eR()), LCe((e, t) => {
t ? (0, mt.flushSync)(() => n(e)) : n(e);
})), []);
let i = (0, b.useMemo)(() => (t) => {
- e && r.current && $Ce(t, e, r.current);
+ e && r.current && QCe(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(QCe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, x.jsx)(twe, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(ZCe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, x.jsx)(ewe, {
entry: t,
- children: /* @__PURE__ */ (0, x.jsx)(nwe, {
+ children: /* @__PURE__ */ (0, x.jsx)(twe, {
entry: t,
actions: e,
go: i
})
}, t.revision)) : null] });
}
-var twe = class extends b.Component {
+var ewe = class extends b.Component {
state = { failed: !1 };
static getDerivedStateFromError() {
return { failed: !0 };
}
componentDidCatch() {
- VCe(this.props.entry.container, this.props.entry.revision);
+ BCe(this.props.entry.container, this.props.entry.revision);
}
render() {
return this.state.failed ? null : this.props.children;
}
-}, nwe = (0, b.memo)(function({ entry: e, actions: t, go: n }) {
- return xrt(e.path) ? (0, mt.createPortal)(wrt(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+}, twe = (0, b.memo)(function({ entry: e, actions: t, go: n }) {
+ return brt(e.path) ? (0, mt.createPortal)(Crt(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function rwe({ children: e }) {
- let t = xL();
- yR();
- let n = mR();
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(kL, {
+function nwe({ children: e }) {
+ let t = SL();
+ bR();
+ let n = hR();
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(AL, {
location: n ?? t,
children: [
- Object.entries(h5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(OL, {
+ Object.entries(g5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(kL, {
path: e,
element: t.element
}, e)),
- Object.entries(drt).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(OL, {
+ Object.entries(urt).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(kL, {
path: e,
element: t.element
}, e)),
- Object.entries(_5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(OL, {
+ Object.entries(v5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(kL, {
path: e,
element: t.element
}, e)),
- Object.entries(y5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(OL, {
+ Object.entries(b5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(kL, {
path: e,
element: t.element
}, e)),
- Object.entries(x5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(OL, {
+ Object.entries(S5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(kL, {
path: e,
element: t.element
}, e)),
- brt.map((e) => /* @__PURE__ */ (0, x.jsx)(OL, {
+ yrt.map((e) => /* @__PURE__ */ (0, x.jsx)(kL, {
path: e,
- element: S5["/"].element
+ element: C5["/"].element
}, e)),
- Object.entries(frt).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(OL, {
+ Object.entries(drt).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(kL, {
path: e,
element: t.element
}, e)),
- jL.map((e) => /* @__PURE__ */ (0, x.jsx)(OL, {
+ ML.map((e) => /* @__PURE__ */ (0, x.jsx)(kL, {
path: e,
- element: e === "/jav/movie/:code" ? null : e === "/follow/item/:id" ? /* @__PURE__ */ (0, x.jsx)(XCe, {}) : S5["/"].element
+ element: e === "/jav/movie/:code" ? null : e === "/follow/item/:id" ? /* @__PURE__ */ (0, x.jsx)(YCe, {}) : C5["/"].element
}, e)),
- /* @__PURE__ */ (0, x.jsx)(OL, {
+ /* @__PURE__ */ (0, x.jsx)(kL, {
path: "*",
element: e
})
]
- }), /* @__PURE__ */ (0, x.jsxs)(kL, { children: [jL.map((e) => /* @__PURE__ */ (0, x.jsx)(OL, {
+ }), /* @__PURE__ */ (0, x.jsxs)(AL, { children: [ML.map((e) => /* @__PURE__ */ (0, x.jsx)(kL, {
path: e,
- element: /* @__PURE__ */ (0, x.jsx)(JCe, { path: e })
- }, e)), /* @__PURE__ */ (0, x.jsx)(OL, {
+ element: /* @__PURE__ */ (0, x.jsx)(qCe, { path: e })
+ }, e)), /* @__PURE__ */ (0, x.jsx)(kL, {
path: "*",
element: null
})] })] });
}
-function iwe({ children: e, actions: t = null }) {
- return /* @__PURE__ */ (0, x.jsx)(WCe, { children: /* @__PURE__ */ (0, x.jsx)(bR.Provider, {
+function rwe({ children: e, actions: t = null }) {
+ return /* @__PURE__ */ (0, x.jsx)(UCe, { children: /* @__PURE__ */ (0, x.jsx)(xR.Provider, {
value: t,
- children: /* @__PURE__ */ (0, x.jsxs)(ZCe, { children: [
- /* @__PURE__ */ (0, x.jsx)(ewe, {}),
- /* @__PURE__ */ (0, x.jsx)(KCe, {}),
- /* @__PURE__ */ (0, x.jsx)(rwe, { children: e })
+ children: /* @__PURE__ */ (0, x.jsxs)(XCe, { children: [
+ /* @__PURE__ */ (0, x.jsx)($Ce, {}),
+ /* @__PURE__ */ (0, x.jsx)(GCe, {}),
+ /* @__PURE__ */ (0, x.jsx)(nwe, { children: e })
] })
}) });
}
-var awe = { onCaughtError: (e) => {
+var iwe = { onCaughtError: (e) => {
globalThis.reportError?.(e);
} };
//#endregion
//#region src/react/feed-new/feed-new-row.tsx
-function xR({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
- let a = (0, b.useContext)(bR), o = (0, b.useRef)(null), s = e?.items.length ? e.html : "";
+function SR({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+ let a = (0, b.useContext)(xR), o = (0, b.useRef)(null), s = e?.items.length ? e.html : "";
(0, b.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !s, e && i?.(!!s);
}, [
@@ -47660,12 +47678,12 @@ function xR({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var owe = {
+var awe = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function SR({ name: e }) {
- let t = owe[e];
+function CR({ name: e }) {
+ let t = awe[e];
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -47675,20 +47693,20 @@ function SR({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function CR(e, t) {
+function wR(e, t) {
t.style.removeProperty("max-height");
let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();
t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;
let i = n.bottom + 8, a = innerHeight - 8 - i, o = n.top - 16, s = r.height <= a || r.height > o && a >= o, c = Math.max(0, s ? a : o);
r.height > c && (t.style.maxHeight = `${c}px`), t.style.top = `${s ? i : n.top - 8 - Math.min(r.height, c)}px`;
}
-var wR = (e) => !!e?.isConnected && e.matches(":popover-open");
-function TR(e, t, n, r) {
+var TR = (e) => !!e?.isConnected && e.matches(":popover-open");
+function ER(e, t, n, r) {
let i = (0, b.useRef)(r);
i.current = r, (0, b.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && wR(n.current) ? CR(t.current, n.current) : i.current();
+ t.current && TR(n.current) ? wR(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -47702,17 +47720,17 @@ function TR(e, t, n, r) {
n
]);
}
-function ER({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function DR({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)(!1), u = (0, b.useRef)(!1), d = (0, b.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, wR(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, TR(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), s.current && o.current && !wR(s.current) && (s.current.showPopover(), CR(o.current, s.current), l(!0));
+ clearTimeout(d.current), s.current && o.current && !TR(s.current) && (s.current.showPopover(), wR(o.current, s.current), l(!0));
}, m = () => {
clearTimeout(d.current), d.current = window.setTimeout(() => {
!u.current && !o.current?.matches(":hover,:focus-visible") && !s.current?.matches(":hover") && f();
}, 150);
};
- return TR(c, o, s, f), (0, b.useEffect)(() => {
+ return ER(c, o, s, f), (0, b.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -47738,7 +47756,7 @@ function ER({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && wR(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && TR(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -47756,16 +47774,16 @@ function ER({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function swe({ following: e, busy: t, onToggle: n, tip: r }) {
+function owe({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), [s, c] = (0, b.useState)(!1), l = (0, b.useRef)(!1), u = () => {
- wR(o.current) && o.current.hidePopover(), c(!1);
+ TR(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- !l.current && o.current && i.current && !wR(o.current) && (o.current.showPopover(), CR(i.current, o.current), c(!0));
+ !l.current && o.current && i.current && !TR(o.current) && (o.current.showPopover(), wR(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return TR(s, i, o, () => c(!1)), (0, b.useEffect)(() => {
- i.current && wR(o.current) && CR(i.current, o.current);
+ return ER(s, i, o, () => c(!1)), (0, b.useEffect)(() => {
+ i.current && TR(o.current) && wR(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, x.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -47774,7 +47792,7 @@ function swe({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, x.jsx)(SR, { name: "rss" }),
+ /* @__PURE__ */ (0, x.jsx)(CR, { name: "rss" }),
/* @__PURE__ */ (0, x.jsx)("input", {
ref: a,
type: "checkbox",
@@ -47809,29 +47827,29 @@ function swe({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function cwe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function swe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, b.useState)(!1), o = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, x.jsxs)(She, {
+ }, []), /* @__PURE__ */ (0, x.jsxs)(xhe, {
isOpen: i,
onOpenChange: a,
children: [/* @__PURE__ */ (0, x.jsx)(Jpe, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, x.jsx)(SR, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(CR, { name: "chevron-down" })
}), /* @__PURE__ */ (0, x.jsx)(MA, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: yP,
+ className: bP,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, x.jsxs)(whe, {
+ children: /* @__PURE__ */ (0, x.jsxs)(Che, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(LA, {
+ /* @__PURE__ */ (0, x.jsx)(RA, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -47839,31 +47857,31 @@ function cwe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, x.jsxs)(zA, {
+ children: t.map((e) => /* @__PURE__ */ (0, x.jsxs)(BA, {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, x.jsx)(SR, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
}, e))
}),
/* @__PURE__ */ (0, x.jsx)(Yme, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, x.jsx)(LA, { children: /* @__PURE__ */ (0, x.jsxs)(zA, {
+ /* @__PURE__ */ (0, x.jsx)(RA, { children: /* @__PURE__ */ (0, x.jsxs)(BA, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, x.jsx)(SR, { name: "plus" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: "plus" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var lwe = (e) => e === "studio" || e === "agency", DR = (e) => e === "performer" || e === "creator", uwe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
-function dwe(e) {
+var cwe = (e) => e === "studio" || e === "agency", OR = (e) => e === "performer" || e === "creator", lwe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+function uwe(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function OR(e) {
+function kR(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0
@@ -47874,13 +47892,13 @@ function OR(e) {
linked: !1
} : null;
}
-function kR(e, t) {
+function AR(e, t) {
let n = zt(e, "performer"), r = It(t);
return r && [e.label, n].map(It).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var AR = (e) => ({ site: Mt(e) });
-function fwe(e, t) {
- let n = OR(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var jR = (e) => ({ site: Mt(e) });
+function dwe(e, t) {
+ let n = kR(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -47890,7 +47908,7 @@ function fwe(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${kR(e, n)} · ${t}`
+ title: `${AR(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -47898,11 +47916,11 @@ function fwe(e, t) {
type: "private",
label: e.label || e.hostname || "已记录"
};
- if (DR(t) && e.link_kind !== "social") return {
+ if (OR(t) && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: kR(e, n),
- mark: AR(e)
+ title: AR(e, n),
+ mark: jR(e)
};
if (e.link_kind === "social") {
let t = Ft(r);
@@ -47910,7 +47928,7 @@ function fwe(e, t) {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : AR(e)
+ mark: t ? { brand: t } : jR(e)
};
}
return {
@@ -47918,12 +47936,12 @@ function fwe(e, t) {
url: r,
title: e.label || "",
text: zt(e, t, i),
- mark: AR(e)
+ mark: jR(e)
};
});
- return [...r, ...pwe(a)];
+ return [...r, ...fwe(a)];
}
-function pwe(e) {
+function fwe(e) {
let t = e.filter((e) => e.type === "private");
return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {
type: "private",
@@ -47931,8 +47949,8 @@ function pwe(e) {
sources: t.map((e) => e.label)
}];
}
-var jR = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function mwe(e) {
+var MR = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function pwe(e) {
return [
[
"legal_name",
@@ -47988,7 +48006,7 @@ function mwe(e) {
}]
}] : []);
}
-function hwe(e) {
+function mwe(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -48045,14 +48063,14 @@ function hwe(e) {
tags: e.tags
}), t;
}
-function MR(e, t = 4) {
+function NR(e, t = 4) {
let n = e.length > t + 1 ? t : e.length;
return {
shown: e.slice(0, n),
rest: e.length - n
};
}
-function gwe(e) {
+function hwe(e) {
if (!e) return null;
let t = e.shown || [], n = [e.reading || "", ...t].filter(Boolean), r = (e.total || 0) - t.length;
return n.length || r > 0 ? {
@@ -48063,7 +48081,7 @@ function gwe(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function _we(e) {
+function gwe(e) {
return na({
id: e.id,
hasImage: e.has_image,
@@ -48074,8 +48092,8 @@ function _we(e) {
standIn: e.avatar_stand_in
});
}
-function vwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- let s = DR(e), c = lwe(e), l = s ? hwe(n.profile) : c ? mwe(n.company_profile) : [], u = fwe(n, e), d = jR(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, b.useRef)(null), m = (0, b.useRef)(null);
+function _we({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
+ let s = OR(e), c = cwe(e), l = s ? mwe(n.profile) : c ? pwe(n.company_profile) : [], u = dwe(n, e), d = MR(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, b.useRef)(null), m = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
o.wireScroller(p.current);
}, [o, u.length]), (0, b.useEffect)(() => {
@@ -48088,7 +48106,7 @@ function vwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, x.jsx)(ywe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(vwe, {
kind: e,
name: t,
helpers: o,
@@ -48096,7 +48114,7 @@ function vwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
company: c
}), s && n.id ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, x.jsx)(xSe, {
+ children: /* @__PURE__ */ (0, x.jsx)(bSe, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -48109,27 +48127,27 @@ function vwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-title": "",
- children: [/* @__PURE__ */ (0, x.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, x.jsx)(cwe, {
- current: n.canonical_name,
- choices: dwe(n),
- onChoose: a.chooseName,
- onAddAlias: a.addAlias
- })]
+ children: [
+ /* @__PURE__ */ (0, x.jsx)("h2", { children: n.canonical_name }),
+ /* @__PURE__ */ (0, x.jsx)(swe, {
+ current: n.canonical_name,
+ choices: uwe(n),
+ onChoose: a.chooseName,
+ onAddAlias: a.addAlias
+ }),
+ n.id ? /* @__PURE__ */ (0, x.jsx)(Wj, { item: {
+ entity_id: Number(n.id),
+ kind: e,
+ name: n.canonical_name || t,
+ favorite: n.favorite
+ } }) : null
+ ]
}),
- /* @__PURE__ */ (0, x.jsx)(bwe, {
+ /* @__PURE__ */ (0, x.jsx)(ywe, {
kind: e,
entity: n,
actions: a
}),
- n.id ? /* @__PURE__ */ (0, x.jsxs)("div", {
- className: "flex flex-wrap gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(Uj, { item: {
- entity_id: Number(n.id),
- kind: e,
- name: n.canonical_name || t,
- favorite: n.favorite
- } }), /* @__PURE__ */ (0, x.jsx)(Wj, { kind: e })]
- }) : null,
n.related_identities?.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex min-w-0 flex-wrap gap-2 text-caption-1-regular text-text-secondary",
children: n.related_identities.map((e) => {
@@ -48146,14 +48164,14 @@ function vwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
u.length ? /* @__PURE__ */ (0, x.jsx)("div", {
ref: p,
"data-entity-links": "",
- children: u.map((e, t) => /* @__PURE__ */ (0, x.jsx)(Ewe, { link: e }, t))
+ children: u.map((e, t) => /* @__PURE__ */ (0, x.jsx)(Twe, { link: e }, t))
}) : null,
- d.length || n.feed ? /* @__PURE__ */ (0, x.jsx)(Dwe, {
+ d.length || n.feed ? /* @__PURE__ */ (0, x.jsx)(Ewe, {
entity: n,
actions: a,
helpers: o
}) : null,
- n.follow?.held.length ? /* @__PURE__ */ (0, x.jsx)(Cwe, {
+ n.follow?.held.length ? /* @__PURE__ */ (0, x.jsx)(Swe, {
follow: n.follow,
entity: n,
actions: a
@@ -48162,11 +48180,11 @@ function vwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}),
l.length ? /* @__PURE__ */ (0, x.jsx)("dl", {
"data-entity-facts": "",
- children: l.map((e) => /* @__PURE__ */ (0, x.jsx)(wwe, {
+ children: l.map((e) => /* @__PURE__ */ (0, x.jsx)(Cwe, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, x.jsx)(Twe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, x.jsx)(wwe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -48185,7 +48203,7 @@ function vwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
onClick: () => a.openEntity("performer", e.k),
children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-hero-ring": "",
- dangerouslySetInnerHTML: { __html: `<span>${R(qt(e.k))}</span>${_we(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${R(qt(e.k))}</span>${gwe(e)}` }
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-hero-costar-name": "",
children: e.k
@@ -48193,14 +48211,14 @@ function vwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(xR, {
+ }), i ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(SR, {
feedNew: r,
host: i,
wire: o.wireFeedRow,
act: (e, t) => a.feedAction(e, t)
}), i) : null] });
}
-function ywe({ kind: e, name: t, helpers: n, people: r, company: i }) {
+function vwe({ kind: e, name: t, helpers: n, people: r, company: i }) {
let [a] = (0, b.useState)(() => `${n.portraitImg()}<span>${R(qt(t))}</span>`);
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-entity-portrait": r ? "round" : "square",
@@ -48209,8 +48227,8 @@ function ywe({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: a }
});
}
-function bwe({ kind: e, entity: t, actions: n }) {
- let r = OR(t), i = (e, t) => (r) => {
+function ywe({ kind: e, entity: t, actions: n }) {
+ let r = kR(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, x.jsx)("a", {
href: Dt("agency", r.name),
@@ -48219,41 +48237,41 @@ function bwe({ kind: e, entity: t, actions: n }) {
children: r.name
}) : r.name : null, o = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer" || e === "creator") {
- let e = gwe(t.name_groups);
+ let e = hwe(t.name_groups);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- /* @__PURE__ */ (0, x.jsx)(NR, { entity: t }),
+ /* @__PURE__ */ (0, x.jsx)(PR, { entity: t }),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, x.jsx)(SR, { name: "film" }), /* @__PURE__ */ (0, x.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: "film" }), /* @__PURE__ */ (0, x.jsx)("span", { children: o })]
}),
- t.follow?.key ? /* @__PURE__ */ (0, x.jsx)(Swe, {
+ t.follow?.key ? /* @__PURE__ */ (0, x.jsx)(xwe, {
follow: t.follow,
actions: n
}) : null,
a ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, x.jsx)(SR, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]
}) : null,
e ? /* @__PURE__ */ (0, x.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, x.jsx)(SR, { name: "id-card" }),
+ /* @__PURE__ */ (0, x.jsx)(CR, { name: "id-card" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, x.jsx)("span", { children: e }, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, x.jsx)(ER, {
+ e.rest > 0 ? /* @__PURE__ */ (0, x.jsx)(DR, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
label: `另外 ${e.rest.toLocaleString()} 个别名`,
heading: `${e.total.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, x.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, x.jsx)(PR, {
+ children: /* @__PURE__ */ (0, x.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, x.jsx)(FR, {
label: e.label,
names: e.names
}, t)) })
@@ -48275,64 +48293,61 @@ function bwe({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- e === "creator" ? /* @__PURE__ */ (0, x.jsx)(NR, { entity: t }) : null,
+ e === "creator" ? /* @__PURE__ */ (0, x.jsx)(PR, { entity: t }) : null,
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, x.jsx)(SR, { name: "film" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [o, c] })]
+ children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: "film" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [o, c] })]
}),
a ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, x.jsx)(SR, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]
}) : null,
l ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "片商",
- children: [/* @__PURE__ */ (0, x.jsx)(SR, { name: "clapperboard" }), /* @__PURE__ */ (0, x.jsx)("a", {
+ children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: "clapperboard" }), /* @__PURE__ */ (0, x.jsx)("a", {
href: Dt("studio", l.name),
"data-studio-link": l.name,
onClick: i("studio", l.name),
children: l.name
})]
}) : null,
- s.length ? /* @__PURE__ */ (0, x.jsx)(xwe, {
- aliases: s,
- wide: e === "studio" || e === "agency"
- }) : null
+ s.length ? /* @__PURE__ */ (0, x.jsx)(bwe, { aliases: s }) : null
]
});
}
-function xwe({ aliases: e, wide: t }) {
- let { shown: n, rest: r } = MR(e, 3);
+function bwe({ aliases: e }) {
+ let { shown: t, rest: n } = NR(e, 3);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-meta-item": "names",
- "data-company-names": t ? "" : void 0,
+ "data-company-names": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(SR, { name: "id-card" }),
+ /* @__PURE__ */ (0, x.jsx)(CR, { name: "id-card" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-alias-names": "",
title: "别名",
- children: n.map((e, t) => /* @__PURE__ */ (0, x.jsx)("span", { children: e }, t))
+ children: t.map((e, t) => /* @__PURE__ */ (0, x.jsx)("span", { children: e }, t))
}),
- r ? /* @__PURE__ */ (0, x.jsx)(ER, {
+ n ? /* @__PURE__ */ (0, x.jsx)(DR, {
id: "entityAliasPop",
hook: "alias",
- rest: r,
- label: `另外 ${r.toLocaleString()} 个别名`,
+ rest: n,
+ label: `另外 ${n.toLocaleString()} 个别名`,
heading: `${e.length.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, x.jsx)("dl", { children: /* @__PURE__ */ (0, x.jsx)(PR, { names: e.map((e) => ({ name: e })) }) })
+ children: /* @__PURE__ */ (0, x.jsx)("dl", { children: /* @__PURE__ */ (0, x.jsx)(FR, { names: e.map((e) => ({ name: e })) }) })
}) : null
]
});
}
-function Swe({ follow: e, actions: t }) {
+function xwe({ follow: e, actions: t }) {
let n = e.providers.join(" · ");
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
"data-entity-follow": "",
title: n ? `关注 · ${n}` : "关注",
- children: [/* @__PURE__ */ (0, x.jsx)(SR, { name: "rss" }), /* @__PURE__ */ (0, x.jsxs)("a", {
+ children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: "rss" }), /* @__PURE__ */ (0, x.jsxs)("a", {
href: "?media=online",
onClick: (n) => {
n.preventDefault(), t.openFollowAuthor(e.key);
@@ -48341,7 +48356,7 @@ function Swe({ follow: e, actions: t }) {
})]
});
}
-function Cwe({ follow: e, entity: t, actions: n }) {
+function Swe({ follow: e, entity: t, actions: n }) {
let [r, i] = (0, b.useState)(""), a = async (e, t) => {
if (!r) {
i(e);
@@ -48375,14 +48390,14 @@ function Cwe({ follow: e, entity: t, actions: n }) {
}, e.key))
});
}
-function NR({ entity: e }) {
+function PR({ entity: e }) {
return e.identity_labels?.length ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "classification",
"data-identity-classification": "",
- children: [/* @__PURE__ */ (0, x.jsx)(SR, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.identity_labels.join(" · ") })]
+ children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.identity_labels.join(" · ") })]
}) : null;
}
-function PR({ label: e, names: t }) {
+function FR({ label: e, names: t }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, x.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -48391,20 +48406,20 @@ function PR({ label: e, names: t }) {
}, t))
})] });
}
-function wwe({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("dt", { children: [/* @__PURE__ */ (0, x.jsx)(SR, { name: e }), t] }), /* @__PURE__ */ (0, x.jsx)("dd", {
+function Cwe({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("dt", { children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: e }), t] }), /* @__PURE__ */ (0, x.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function Twe({ tags: e }) {
- let { shown: t, rest: n } = MR(e);
+function wwe({ tags: e }) {
+ let { shown: t, rest: n } = NR(e);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, x.jsx)("span", {
"data-fact-tag": "",
title: e,
children: e
- }, e)), n ? /* @__PURE__ */ (0, x.jsx)(ER, {
+ }, e)), n ? /* @__PURE__ */ (0, x.jsx)(DR, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -48420,10 +48435,10 @@ function Twe({ tags: e }) {
})
}) : null] });
}
-function FR({ mark: e }) {
+function IR({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, x.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, x.jsx)(SR, { name: e.brand })
+ children: /* @__PURE__ */ (0, x.jsx)(CR, { name: e.brand })
});
let t = L("globe") + ("site" in e ? `<img src="${R(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, x.jsx)("span", {
@@ -48431,7 +48446,7 @@ function FR({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function Ewe({ link: e }) {
+function Twe({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, x.jsx)("a", {
"data-link": "icon",
@@ -48440,19 +48455,19 @@ function Ewe({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, x.jsx)(FR, { mark: e.mark })
+ children: /* @__PURE__ */ (0, x.jsx)(IR, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, x.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, x.jsx)(FR, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, x.jsx)(IR, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-link": "private",
title: e.sources ? e.sources.join("\n") : e.label,
- children: [/* @__PURE__ */ (0, x.jsx)(FR, { mark: { globe: !0 } }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(IR, { mark: { globe: !0 } }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-link-label": "",
children: e.sources ? e.label : `来源 · ${e.label}`
})]
@@ -48463,14 +48478,14 @@ function Ewe({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, x.jsx)(FR, { mark: e.mark }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(IR, { mark: e.mark }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-link-label": "",
children: e.text
})]
});
}
}
-function Dwe({ entity: e, actions: t, helpers: n }) {
+function Ewe({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, b.useState)(!!e.feed?.following), [a, o] = (0, b.useState)(!1), s = (0, b.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -48488,34 +48503,34 @@ function Dwe({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entry-marks": "",
- children: [jR(e).map((e, t) => /* @__PURE__ */ (0, x.jsxs)("a", {
+ children: [MR(e).map((e, t) => /* @__PURE__ */ (0, x.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(SR, { name: e.mark }) : /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(CR, { name: e.mark }) : /* @__PURE__ */ (0, x.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, x.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, x.jsx)(swe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, x.jsx)(owe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: uwe(r)
+ tip: lwe(r)
}) : null]
});
}
//#endregion
//#region src/react/entity-page/use-entity-online.ts
-var Owe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
-function kwe(e, t, n) {
+var Dwe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
+function Owe(e, t, n) {
let [r, i] = (0, b.useState)(() => si(e));
r.author !== e && i(si(e));
let [a, o] = (0, b.useState)({
@@ -48594,7 +48609,7 @@ function kwe(e, t, n) {
onlineMedia: (e) => c(e),
onlineShuffle: () => E({
sort: Wr,
- seed: Owe()
+ seed: Dwe()
}),
onlineImagesOnly: (e) => n.setImagesOnly(e),
onlineStatus: (e) => E({ status: e }),
@@ -48612,8 +48627,8 @@ function kwe(e, t, n) {
}
//#endregion
//#region src/react/entity-page/entity-page-view.tsx
-function Awe(e) {
- let { kind: t, name: n } = e, r = dt(kF(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
+function kwe(e) {
+ let { kind: t, name: n } = e, r = dt(AF(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
kind: t,
name: a
} : void 0), { actions: s } = e;
@@ -48631,17 +48646,17 @@ function Awe(e) {
s,
o?.kind,
o?.name
- ]), r.isError ? /* @__PURE__ */ (0, x.jsx)(TM, {
+ ]), r.isError ? /* @__PURE__ */ (0, x.jsx)(EM, {
message: z(r.error),
onRetry: () => {
r.refetch();
}
- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, x.jsx)(Nwe, {
+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, x.jsx)(Mwe, {
...e,
entity: r.data
});
}
-function IR(e) {
+function LR(e) {
let [t, n] = (0, b.useState)({
key: e,
n: 1
@@ -48653,22 +48668,22 @@ function IR(e) {
};
return n(r), r.n;
}
-var jwe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function Mwe(e, t) {
+var Awe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function jwe(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function Nwe(e) {
- let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = pt(AF(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || jF(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
+function Mwe(e) {
+ let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = pt(jF(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || MF(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
media: "online",
set: 0
- } : SF, [y, S] = (0, b.useState)("people"), C = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [w, T] = (0, b.useState)(C);
+ } : CF, [y, S] = (0, b.useState)("people"), C = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [w, T] = (0, b.useState)(C);
w !== C && (T(C), S("videos"));
- let E = l && y === "people" && u.length ? "people" : v.media, D = kwe(g, E === "online", {
+ let E = l && y === "people" && u.length ? "people" : v.media, D = Owe(g, E === "online", {
photoLayout: e.photoLayout,
photoLayouts: e.photoLayouts,
imagesOnly: e.followImagesOnly,
setImagesOnly: e.follow.actions.setImagesOnly
- }), O = E === "photos" || E === "online" && D.media === "images", [k, A] = (0, b.useState)(0), j = OF(e), M = dt(j), N = IR(JSON.stringify([j.queryKey, k])), [P] = (0, b.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));
+ }), O = E === "photos" || E === "online" && D.media === "images", [k, A] = (0, b.useState)(0), j = kF(e), M = dt(j), N = LR(JSON.stringify([j.queryKey, k])), [P] = (0, b.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));
(0, b.useLayoutEffect)(() => {
s.javContext(P);
}, [s, P]);
@@ -48678,26 +48693,26 @@ function Nwe(e) {
}, [e.layout, P]), F = {
jav: e.jav,
seed: e.seed
- }, te = (0, b.useCallback)((e, r) => DF(t, n, i, F, e, r), [N]), [ne, re] = (0, b.useState)({}), ie = v.set, ae = ne[ie] || "", oe = pt({
- ...AF(t, n, ie, ae),
+ }, te = (0, b.useCallback)((e, r) => OF(t, n, i, F, e, r), [N]), [ne, re] = (0, b.useState)({}), ie = v.set, ae = ne[ie] || "", oe = pt({
+ ...jF(t, n, ie, ae),
enabled: E === "photos"
- }), se = oe.data?.pages[0], ce = IR(JSON.stringify(wF(t, n, ie, ae))), le = (0, b.useMemo)(() => {
+ }), se = oe.data?.pages[0], ce = LR(JSON.stringify(TF(t, n, ie, ae))), le = (0, b.useMemo)(() => {
let e = oe.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
return {
revision: ce,
- codeSets: t.id ? [] : jF(t),
+ codeSets: t.id ? [] : MF(t),
items: e.flatMap((e) => e.items || []),
total: t.total || 0,
hasMore: !!e[e.length - 1]?.has_more
};
}, [oe.data, ce]), ue = oe.refetch, de = oe.fetchNextPage, fe = dt({
- ...yF(d, o.feedRowHtml),
+ ...bF(d, o.feedRowHtml),
enabled: !!d
}), pe = (0, b.useRef)(e.feedRevision);
(0, b.useEffect)(() => {
- pe.current !== e.feedRevision && (pe.current = e.feedRevision, H.invalidateQueries({ queryKey: vF(d) }));
+ pe.current !== e.feedRevision && (pe.current = e.feedRevision, H.invalidateQueries({ queryKey: yF(d) }));
}, [d, e.feedRevision]);
let me = !!M.data;
(0, b.useEffect)(() => {
@@ -48716,7 +48731,7 @@ function Nwe(e) {
he.current = !1;
}, []);
let ge = (0, b.useCallback)(async () => {
- await H.invalidateQueries({ queryKey: CF(t, n) }), await H.invalidateQueries({ queryKey: [
+ await H.invalidateQueries({ queryKey: wF(t, n) }), await H.invalidateQueries({ queryKey: [
"entity-items",
t,
n
@@ -48747,7 +48762,7 @@ function Nwe(e) {
enabled: e
})
}),
- onSuccess: (e, r) => H.setQueryData(CF(t, n), (e) => e && {
+ onSuccess: (e, r) => H.setQueryData(wF(t, n), (e) => e && {
...e,
feed: {
...e.feed,
@@ -48801,10 +48816,10 @@ function Nwe(e) {
let e = await vt("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- he.current && await H.invalidateQueries({ queryKey: vF(d) });
+ he.current && await H.invalidateQueries({ queryKey: yF(d) });
})();
},
- feedAction: bF,
+ feedAction: xF,
avatarPicked: () => {
s.avatarChanged(), ge().then(() => {
he.current && A((e) => e + 1);
@@ -48852,19 +48867,19 @@ function Nwe(e) {
(e !== E || v.set) && (S(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {
media: e,
set: 0
- } : SF));
+ } : CF));
},
setState: (e) => s.route({
...i,
state: e
- }, SF),
+ }, CF),
toggleTag: s.toggleTag,
clearFilter: s.clearFilter,
clearAll: s.clearAll,
setSort: s.setSort,
reshuffle: async () => {
if (E !== "photos") {
- let r = s.reshuffleVideos(), a = OF({
+ let r = s.reshuffleVideos(), a = kF({
kind: t,
name: n,
filters: {
@@ -48878,7 +48893,7 @@ function Nwe(e) {
await H.fetchQuery(a).catch(() => null);
return;
}
- let r = jwe(), a = await H.fetchInfiniteQuery(AF(t, n, ie, r)).catch(() => null);
+ let r = Awe(), a = await H.fetchInfiniteQuery(jF(t, n, ie, r)).catch(() => null);
he.current && a?.pages[0] && !a.pages[0].error && re((e) => ({
...e,
[ie]: r
@@ -48913,7 +48928,7 @@ function Nwe(e) {
k: e.k,
label: Zs(e.k),
n: e.n,
- selected: Rbe(i.tag, e.k)
+ selected: Lbe(i.tag, e.k)
})), Ee = [
u.length,
!_,
@@ -48948,14 +48963,14 @@ function Nwe(e) {
creator: "",
studio: "",
owner: ""
- }, SF), Pe = "", Fe = !1;
+ }, CF), Pe = "", Fe = !1;
if (E === "people") Pe = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;
else if (E === "online") Fe = D.busy, Pe = `在线 · ${(D.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;
else if (E === "videos") {
Fe = !M.data;
- let e = TF(i.tag).length;
+ let e = EF(i.tag).length;
Pe = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;
- } else se && !se.error ? Pe = Oe ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : Mwe(se, jF(se).length) : Fe = oe.isPending;
+ } else se && !se.error ? Pe = Oe ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : jwe(se, MF(se).length) : Fe = oe.isPending;
let Ie = (0, b.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -48972,7 +48987,7 @@ function Nwe(e) {
u
]);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(vwe, {
+ /* @__PURE__ */ (0, x.jsx)(_we, {
kind: t,
name: n,
entity: r,
@@ -48982,7 +48997,7 @@ function Nwe(e) {
actions: xe,
helpers: Se
}, k),
- (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(qge, {
+ (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(Kge, {
kind: t,
name: n,
view: E,
@@ -48999,7 +49014,7 @@ function Nwe(e) {
actions: Ce,
helpers: we
}), c.filter),
- (0, mt.createPortal)(E === "online" ? /* @__PURE__ */ (0, x.jsx)(Wxe, {
+ (0, mt.createPortal)(E === "online" ? /* @__PURE__ */ (0, x.jsx)(Uxe, {
view: D.view,
media: D.media,
result: D.result,
@@ -49012,15 +49027,15 @@ function Nwe(e) {
helpers: e.follow.helpers,
actions: e.follow.actions,
canLoadMore: e.canLoadMore
- }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, x.jsx)(TM, {
+ }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, x.jsx)(EM, {
message: z(M.error),
onRetry: () => {
M.refetch();
}
- }) : Me ? /* @__PURE__ */ (0, x.jsx)(Pwe, {
+ }) : Me ? /* @__PURE__ */ (0, x.jsx)(Nwe, {
filtered: je,
onShowAll: Ne
- }) : /* @__PURE__ */ (0, x.jsx)(_xe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(gxe, {
kind: t,
name: n,
view: E,
@@ -49044,9 +49059,9 @@ function Nwe(e) {
}), c.body)
] });
}
-function Pwe({ filtered: e, onShowAll: t }) {
+function Nwe({ filtered: e, onShowAll: t }) {
return e ? /* @__PURE__ */ (0, x.jsx)(lk, {
- icon: Ij("search"),
+ icon: Lj("search"),
title: "没有符合条件的视频",
actions: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -49055,14 +49070,14 @@ function Pwe({ filtered: e, onShowAll: t }) {
}),
children: "清除筛选后查看名下全部视频。"
}) : /* @__PURE__ */ (0, x.jsx)(lk, {
- icon: Ij("film"),
+ icon: Lj("film"),
title: "还没有视频",
children: "署上这个名字的视频入库后会显示在这里。"
});
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function LR({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function RR({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-collection-summary": "",
className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5
@@ -49089,29 +49104,29 @@ function LR({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var Fwe = Ij("play"), Iwe = Ij("file-stack"), Lwe = ck({
+var Pwe = Lj("play"), Fwe = Lj("file-stack"), Iwe = ck({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), RR = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", zR = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", BR = "font-mono text-caption-1-regular leading-5 text-text-secondary", VR = () => {
+}), zR = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", BR = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", VR = "font-mono text-caption-1-regular leading-5 text-text-secondary", HR = () => {
H.invalidateQueries({
- queryKey: HM,
+ queryKey: UM,
exact: !0
}), H.invalidateQueries({
- queryKey: cP,
+ queryKey: lP,
exact: !0
});
};
-function Rwe(e) {
+function Lwe(e) {
return e.identical ? /* @__PURE__ */ (0, x.jsx)("span", {
- className: `${zR} text-(--keep)`,
+ className: `${BR} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, x.jsx)("span", {
- className: `${zR} text-text-secondary`,
+ className: `${BR} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function zwe({ file: e, prefix: t, openItem: n }) {
+function Rwe({ file: e, prefix: t, openItem: n }) {
let r = () => n(e.id), i = Yt[e.location] || e.location || e.drive;
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",
@@ -49121,7 +49136,7 @@ function zwe({ file: e, prefix: t, openItem: n }) {
onClick: r,
"aria-label": `预览 ${e.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, x.jsx)(Fwe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Pwe, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, x.jsx)("img", {
@@ -49141,20 +49156,20 @@ function zwe({ file: e, prefix: t, openItem: n }) {
"data-middle-truncate": !0,
"data-middle-truncate-within": !0,
className: "min-w-0 shrink cursor-pointer truncate text-left text-body-regular hover:text-text-secondary",
- children: L_e(e.name, t)
+ children: I_e(e.name, t)
}), e.is_largest || e.is_longest ? /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex flex-none gap-1",
children: [e.is_largest ? /* @__PURE__ */ (0, x.jsx)("i", {
- className: `${RR} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${zR} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, e.is_longest ? /* @__PURE__ */ (0, x.jsx)("i", {
- className: `${RR} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${zR} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
- className: `${BR} flex min-w-0 items-center gap-1.5`,
+ className: `${VR} flex min-w-0 items-center gap-1.5`,
children: [/* @__PURE__ */ (0, x.jsx)(kk, { mark: Ja[e.location] || "database" }), /* @__PURE__ */ (0, x.jsx)("span", {
title: i,
className: "min-w-0 truncate",
@@ -49162,37 +49177,37 @@ function zwe({ file: e, prefix: t, openItem: n }) {
})]
}),
/* @__PURE__ */ (0, x.jsx)("span", {
- className: BR,
+ className: VR,
children: Ut(e.size || 0)
}),
/* @__PURE__ */ (0, x.jsx)("span", {
- className: BR,
+ className: VR,
children: Vt(e.duration)
}),
/* @__PURE__ */ (0, x.jsx)("span", {
- className: `${BR} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,
+ className: `${VR} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,
children: e.path ?? ""
})
]
});
}
-function Bwe({ openItem: e, toast: t, failure: n }) {
+function zwe({ openItem: e, toast: t, failure: n }) {
let r = dt({
- queryKey: HM,
- queryFn: ({ signal: e }) => WM(e)
+ queryKey: UM,
+ queryFn: ({ signal: e }) => GM(e)
}), i = dt({
queryKey: dn,
queryFn: ({ signal: e }) => fn(e)
}), [a, o] = (0, b.useState)(""), s = ft({
- mutationFn: (e) => qM(e, "dispose"),
+ mutationFn: (e) => JM(e, "dispose"),
onSuccess: (e, r) => {
- VR(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
+ HR(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
try {
- await qM(r, "restore");
+ await JM(r, "restore");
} catch (e) {
n("撤销移入回收站", e);
} finally {
- VR();
+ HR();
}
} });
},
@@ -49206,12 +49221,12 @@ function Bwe({ openItem: e, toast: t, failure: n }) {
children: r.error ? z(r.error) : "未取得重复文件列表,请刷新页面重试。"
})
});
- let l = c.groups ?? [], u = N_e(i.data), d = ({ groups: e, keep: t, key: n }) => {
+ let l = c.groups ?? [], u = M_e(i.data), d = ({ groups: e, keep: t, key: n }) => {
if (s.isPending) return;
- let r = V_e(e, t);
+ let r = B_e(e, t);
r.length && cs({
title: "移入回收站",
- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${GM[t] ?? GM.largest}。文件共 ${Ut(H_e(e, r))},记录可从回收站还原。`,
+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${KM[t] ?? KM.largest}。文件共 ${Ut(V_e(e, r))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (o(n), s.mutateAsync(r))
});
@@ -49219,7 +49234,7 @@ function Bwe({ openItem: e, toast: t, failure: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "mx-auto w-full max-w-board pb-10.5",
children: [
- /* @__PURE__ */ (0, x.jsx)(LR, {
+ /* @__PURE__ */ (0, x.jsx)(RR, {
label: "重复内容",
figure: `${Number(c.total || 0).toLocaleString()} 组`,
detail: `${Number(c.files || 0).toLocaleString()} 个文件 · 可回收 ${Ut(c.reclaimable)}`
@@ -49245,7 +49260,7 @@ function Bwe({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最长"
}),
- B_e(l, u).map((e) => /* @__PURE__ */ (0, x.jsx)(Gk, {
+ z_e(l, u).map((e) => /* @__PURE__ */ (0, x.jsx)(Gk, {
busy: a === `all:${e}`,
onPress: () => d({
groups: l,
@@ -49268,10 +49283,10 @@ function Bwe({ openItem: e, toast: t, failure: n }) {
})
}) : null,
l.length ? l.map((t, n) => {
- let r = [t], i = I_e(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;
+ let r = [t], i = F_e(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": t.code,
- className: Lwe,
+ className: Iwe,
children: [/* @__PURE__ */ (0, x.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: [
@@ -49283,9 +49298,9 @@ function Bwe({ openItem: e, toast: t, failure: n }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${Number(t.count || 0).toLocaleString()} 个 · 可回收 ${Ut(t.reclaimable)}`
}),
- Rwe(t),
+ Lwe(t),
t.cross_drive ? /* @__PURE__ */ (0, x.jsx)("span", {
- className: `${zR} text-text-secondary`,
+ className: `${BR} text-text-secondary`,
children: `跨盘 ${t.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, x.jsxs)("span", {
@@ -49313,7 +49328,7 @@ function Bwe({ openItem: e, toast: t, failure: n }) {
}),
children: "留最长"
}),
- KM(t.files, u).map((e) => /* @__PURE__ */ (0, x.jsx)(G, {
+ qM(t.files, u).map((e) => /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
...f(a(e)),
@@ -49341,14 +49356,14 @@ function Bwe({ openItem: e, toast: t, failure: n }) {
]
})
]
- }), /* @__PURE__ */ (0, x.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, x.jsx)(zwe, {
+ }), /* @__PURE__ */ (0, x.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, x.jsx)(Rwe, {
file: t,
prefix: i,
openItem: e
}, t.id)) })]
}, `${t.code}-${n}`);
}) : /* @__PURE__ */ (0, x.jsx)(lk, {
- icon: Iwe,
+ icon: Fwe,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
}),
@@ -49361,23 +49376,23 @@ function Bwe({ openItem: e, toast: t, failure: n }) {
}
//#endregion
//#region src/react/diagnostics/diagnostics.ts
-var HR = ["diagnostics"], UR = (e) => B("/api/diagnostics", e);
-async function Vwe(e) {
+var UR = ["diagnostics"], WR = (e) => B("/api/diagnostics", e);
+async function Bwe(e) {
await H.fetchQuery({
- queryKey: HR,
- queryFn: () => UR(e),
+ queryKey: UR,
+ queryFn: () => WR(e),
staleTime: 1e4
});
}
//#endregion
//#region src/react/diagnostics/diagnostics-page.tsx
-var WR = {
+var GR = {
ok: "正常",
warning: "需检查",
failed: "需处理",
unknown: "未取得",
disabled: "未配置"
-}, Hwe = [
+}, Vwe = [
["媒体库与挂载", ["media_mounts", "data_root"]],
["数据库与迁移", ["database", "schema"]],
["工具", ["ffmpeg"]],
@@ -49388,8 +49403,8 @@ var WR = {
"version"
]],
["后台任务", ["tasks"]]
-], GR = (e) => new Date(e).toLocaleString();
-function Uwe({ name: e, check: t, navigate: n, configure: r }) {
+], KR = (e) => new Date(e).toLocaleString();
+function Hwe({ name: e, check: t, navigate: n, configure: r }) {
let i = e === "security" || e === "port" ? "网络与访问" : "媒体库与入库";
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border py-4 pr-3 last:border-b-0",
@@ -49401,7 +49416,7 @@ function Uwe({ name: e, check: t, navigate: n, configure: r }) {
children: t.label
}), /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: WR[t.status] ?? "未取得"
+ children: GR[t.status] ?? "未取得"
})]
}),
/* @__PURE__ */ (0, x.jsx)("p", {
@@ -49421,8 +49436,8 @@ function Uwe({ name: e, check: t, navigate: n, configure: r }) {
]
});
}
-function Wwe({ group: e, openItem: t, receipt: n }) {
- let r = mk(), i = VP(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
+function Uwe({ group: e, openItem: t, receipt: n }) {
+ let r = mk(), i = HP(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
return /* @__PURE__ */ (0, x.jsx)(Ok, {
summary: `${e.label} · ${e.count === null ? "未取得" : `${e.count.toLocaleString()} 项`}`,
children: e.count === null ? /* @__PURE__ */ (0, x.jsx)(K, {
@@ -49471,10 +49486,10 @@ function Wwe({ group: e, openItem: t, receipt: n }) {
})
});
}
-function Gwe(e) {
+function Wwe(e) {
let t = dt({
- queryKey: HR,
- queryFn: ({ signal: e }) => UR(e),
+ queryKey: UR,
+ queryFn: ({ signal: e }) => WR(e),
staleTime: 1e4
}), n = mk(), [r, i] = (0, b.useState)(""), a = () => void n.run("refresh", async () => {
let e = await t.refetch();
@@ -49501,15 +49516,15 @@ function Gwe(e) {
title: "库健康",
children: /* @__PURE__ */ (0, x.jsxs)(bk, { children: [o.library.issue_at ? /* @__PURE__ */ (0, x.jsxs)("p", {
className: "text-body-2-regular text-text-secondary",
- children: ["处理记录 · ", GR(o.library.issue_at)]
- }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(Wwe, {
+ children: ["处理记录 · ", KR(o.library.issue_at)]
+ }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(Uwe, {
group: n,
...e
}, t))] })
}),
- Hwe.map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(vk, {
+ Vwe.map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(vk, {
title: t,
- children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, x.jsx)(Uwe, {
+ children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, x.jsx)(Hwe, {
name: t,
check: o.checks[t],
...e
@@ -49525,7 +49540,7 @@ function Gwe(e) {
children: [
e.label,
" · ",
- WR[e.status] ?? "未取得"
+ GR[e.status] ?? "未取得"
]
}),
/* @__PURE__ */ (0, x.jsx)(zk, {
@@ -49535,15 +49550,15 @@ function Gwe(e) {
/* @__PURE__ */ (0, x.jsxs)(Ek, { children: [
/* @__PURE__ */ (0, x.jsx)(Dk, {
term: "上次解析成功",
- children: e.last_success_at ? GR(e.last_success_at) : "未取得"
+ children: e.last_success_at ? KR(e.last_success_at) : "未取得"
}),
e.last_check_at ? /* @__PURE__ */ (0, x.jsxs)(Dk, {
term: "上次检查",
- children: [GR(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]
+ children: [KR(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]
}) : null,
/* @__PURE__ */ (0, x.jsx)(Dk, {
term: "冷却截止",
- children: e.cooldown_until ? GR(e.cooldown_until) : "未在冷却"
+ children: e.cooldown_until ? KR(e.cooldown_until) : "未在冷却"
})
] })
]
@@ -49572,21 +49587,21 @@ function Gwe(e) {
}
//#endregion
//#region src/react/feed-new/feed-new-page.tsx
-function Kwe({ host: e, revision: t, helpers: n, actions: r }) {
- let i = dt(yF(null, n.feedRowHtml)), a = (0, b.useRef)(t);
+function Gwe({ host: e, revision: t, helpers: n, actions: r }) {
+ let i = dt(bF(null, n.feedRowHtml)), a = (0, b.useRef)(t);
return (0, b.useEffect)(() => {
- a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: vF(null) }));
- }, [t]), (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(xR, {
+ a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: yF(null) }));
+ }, [t]), (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(SR, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: bF,
+ act: xF,
settled: r.settled
}), e);
}
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function KR({ provider: e, label: t }) {
+function qR({ provider: e, label: t }) {
let n = Rr(e), [r, i] = (0, b.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: t }) : null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("img", {
src: n,
@@ -49598,7 +49613,7 @@ function KR({ provider: e, label: t }) {
className: "size-3.5 shrink-0 rounded-sm object-contain"
}), t ? /* @__PURE__ */ (0, x.jsx)(Eb, { children: t }) : null] });
}
-function qR({ group: e, name: t }) {
+function JR({ group: e, name: t }) {
let { src: n, fallback: r } = er(e), [i, a] = (0, b.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, x.jsx)("img", {
src: o,
@@ -49615,7 +49630,7 @@ function qR({ group: e, name: t }) {
children: $n(t)
});
}
-function JR({ source: e }) {
+function YR({ source: e }) {
let t = Gn(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
return /* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
@@ -49623,7 +49638,7 @@ function JR({ source: e }) {
children: Wn(e)
});
}
-function YR({ source: e }) {
+function XR({ source: e }) {
return /* @__PURE__ */ (0, x.jsx)("a", {
href: e.url,
target: "_blank",
@@ -49633,7 +49648,7 @@ function YR({ source: e }) {
children: e.label
});
}
-function XR({ text: e, prefix: t = "", tone: n = "error" }) {
+function ZR({ text: e, prefix: t = "", tone: n = "error" }) {
let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(!1), [o, s] = (0, b.useState)(!1), c = qn(e);
(0, b.useLayoutEffect)(() => {
let e = r.current;
@@ -49664,8 +49679,8 @@ function XR({ text: e, prefix: t = "", tone: n = "error" }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var ZR = nk(bP, xP, "text-body-2-medium"), qwe = "粘贴来源链接,或输入创作者名、id…", Jwe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Ywe = "识别中…", Xwe = "站内没有查到来源", QR = (e, t) => `${e}:${t.url}`;
-function Zwe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var QR = nk(xP, SP, "text-body-2-medium"), Kwe = "粘贴来源链接,或输入创作者名、id…", qwe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Jwe = "识别中…", Ywe = "站内没有查到来源", $R = (e, t) => `${e}:${t.url}`;
+function Xwe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, b.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
}, [t, r]), /* @__PURE__ */ (0, x.jsxs)(MA, {
@@ -49680,7 +49695,7 @@ function Zwe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: nk(yP, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: nk(bP, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "px-2 py-1.5",
children: /* @__PURE__ */ (0, x.jsx)(uk, { label: "正在查找建议" })
@@ -49690,7 +49705,7 @@ function Zwe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
}), /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? nk(ZR, "bg-background-secondary-default") : ZR,
+ className: t === r ? nk(QR, "bg-background-secondary-default") : QR,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -49710,7 +49725,7 @@ function Zwe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
})] }, `${e.group}-${e.value}`))]
});
}
-function Qwe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function Zwe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let i = (0, b.useRef)(null), [a, o] = (0, b.useState)(!1), s = (e.providers || []).filter((e) => e.followable), c = s.filter((e) => !t.has(e.provider_label)).length, l = c === s.length ? "全部来源" : `${c}/${s.length} 个来源`, u = (e, r) => {
let i = new Set(t);
r ? i.delete(e) : i.add(e), n(i);
@@ -49730,8 +49745,8 @@ function Qwe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: yP,
- children: /* @__PURE__ */ (0, x.jsxs)(HA, {
+ className: bP,
+ children: /* @__PURE__ */ (0, x.jsxs)(UA, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -49751,12 +49766,12 @@ function Qwe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(nF, {
+ children: [/* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, x.jsx)(KR, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, x.jsx)(qR, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "ghost",
@@ -49772,7 +49787,7 @@ function Qwe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function $we({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function Qwe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
if (e.kind === "error") return /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: e.line,
@@ -49791,15 +49806,15 @@ function $we({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = QR(t, e);
- return /* @__PURE__ */ (0, x.jsx)(nF, {
+ let n = $R(t, e);
+ return /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
children: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, x.jsx)(KR, { provider: e.provider }),
+ /* @__PURE__ */ (0, x.jsx)(qR, { provider: e.provider }),
/* @__PURE__ */ (0, x.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -49815,7 +49830,7 @@ function $we({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, x.jsx)(Sk, { children: Xwe }),
+ }) : /* @__PURE__ */ (0, x.jsx)(Sk, { children: Ywe }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("small", {
@@ -49830,7 +49845,7 @@ function $we({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
});
}
-function eTe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function $we({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
let [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(!1), [p, m] = (0, b.useState)(null), [h, g] = (0, b.useState)(-1), _ = (0, b.useRef)(null), v = (0, b.useRef)(null), [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), [T, E] = (0, b.useState)(""), [D, O] = (0, b.useState)(0);
(0, b.useEffect)(() => {
let e = a.trim();
@@ -49850,7 +49865,7 @@ function eTe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [k.data]), { job: j, running: M, outcome: N, start: P, dismiss: ee } = QP({
+ }))), [k.data]), { job: j, running: M, outcome: N, start: P, dismiss: ee } = $P({
queryKey: Mn,
queryFn: ({ signal: e }) => dr(e),
start: (e) => mr([e]),
@@ -49882,7 +49897,7 @@ function eTe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, ae = N?.results || [], oe = ae.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: QR(t, e)
+ key: $R(t, e)
})).filter((e) => !C.has(e.key))), se = ft({
mutationFn: async (e) => {
let t = [], n = [];
@@ -49932,16 +49947,16 @@ function eTe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = e.relatedTarget;
!e.currentTarget.contains(t) && !v.current?.contains(t) && f(!1);
},
- children: [/* @__PURE__ */ (0, x.jsx)(Mj, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Nj, {
"aria-label": "来源链接、名字或 id",
- placeholder: qwe,
+ placeholder: Kwe,
value: a,
leadingIcon: NO,
enterKeyHint: "search",
isDisabled: n,
onChange: o,
onKeyDown: ie
- }), ne ? /* @__PURE__ */ (0, x.jsx)(Zwe, {
+ }), ne ? /* @__PURE__ */ (0, x.jsx)(Xwe, {
field: _,
menu: v,
options: A,
@@ -49951,7 +49966,7 @@ function eTe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onClose: re
}) : null]
}),
- /* @__PURE__ */ (0, x.jsx)(Qwe, {
+ /* @__PURE__ */ (0, x.jsx)(Zwe, {
credentials: t,
hidden: y,
onHidden: S,
@@ -49969,9 +49984,9 @@ function eTe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
/* @__PURE__ */ (0, x.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [M || P.isPending ? /* @__PURE__ */ (0, x.jsx)(GP, {
+ children: [M || P.isPending ? /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
- label: j?.message || (j?.total ? `查找中:${j.checked || 0}/${j.total}` : le ? Jwe : Ywe),
+ label: j?.message || (j?.total ? `查找中:${j.checked || 0}/${j.total}` : le ? qwe : Jwe),
value: j?.checked,
total: j?.total
}) : null, T ? /* @__PURE__ */ (0, x.jsx)(K, {
@@ -49984,7 +49999,7 @@ function eTe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
className: "flex flex-col gap-3",
children: [
/* @__PURE__ */ (0, x.jsx)(wk, { children: "查找结果" }),
- ae.map((e, t) => /* @__PURE__ */ (0, x.jsx)($we, {
+ ae.map((e, t) => /* @__PURE__ */ (0, x.jsx)(Qwe, {
row: e,
at: t,
hidden: y,
@@ -50039,16 +50054,16 @@ function eTe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var tTe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, $R = (e) => e.alias;
-function nTe(e, t, n) {
+var eTe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, ez = (e) => e.alias;
+function tTe(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 ez({ sources: e, name: t, canonicalKey: n }) {
+function tz({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(qR, {
- group: nTe(e, t, n),
+ children: [/* @__PURE__ */ (0, x.jsx)(JR, {
+ group: tTe(e, t, n),
name: t
}), /* @__PURE__ */ (0, x.jsx)("b", {
className: "text-body-medium",
@@ -50056,7 +50071,7 @@ function ez({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function rTe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
+function nTe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
let [a, o] = (0, b.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), p = ft({
mutationFn: async (e) => {
let t = 0;
@@ -50096,7 +50111,7 @@ function rTe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => p.mutateAsync(e)
});
- }, _ = t.filter((e) => a.has($R(e))), v = t.length > 0 && _.length === t.length, y = q(p.isPending);
+ }, _ = t.filter((e) => a.has(ez(e))), v = t.length > 0 && _.length === t.length, y = q(p.isPending);
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: ck({
padding: "none",
@@ -50112,7 +50127,7 @@ function rTe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: [/* @__PURE__ */ (0, x.jsx)(wk, { children: "手动添加别名" }), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: l,
@@ -50120,7 +50135,7 @@ function rTe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: d,
@@ -50169,44 +50184,44 @@ function rTe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, x.jsx)(iF, { children: /* @__PURE__ */ (0, x.jsxs)(rF, {
+ }), /* @__PURE__ */ (0, x.jsx)(aF, { children: /* @__PURE__ */ (0, x.jsxs)(iF, {
"aria-label": "待合并创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(fj, { children: [
- /* @__PURE__ */ (0, x.jsx)(pj, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(pj, { children: [
+ /* @__PURE__ */ (0, x.jsx)(mj, {
id: "select",
- children: /* @__PURE__ */ (0, x.jsx)(nF, {
+ children: /* @__PURE__ */ (0, x.jsx)(rF, {
slot: null,
isSelected: v,
isIndeterminate: _.length > 0 && !v,
"aria-label": "全选待合并别名",
- onChange: (e) => o(e ? new Set(t.map($R)) : /* @__PURE__ */ new Set())
+ onChange: (e) => o(e ? new Set(t.map(ez)) : /* @__PURE__ */ new Set())
})
}),
- /* @__PURE__ */ (0, x.jsx)(pj, {
+ /* @__PURE__ */ (0, x.jsx)(mj, {
id: "canonical",
children: "规范创作者"
}),
- /* @__PURE__ */ (0, x.jsx)(pj, {
+ /* @__PURE__ */ (0, x.jsx)(mj, {
id: "alias",
isRowHeader: !0,
children: "平台别名"
}),
- /* @__PURE__ */ (0, x.jsx)(pj, {
+ /* @__PURE__ */ (0, x.jsx)(mj, {
id: "evidence",
children: "依据"
}),
- /* @__PURE__ */ (0, x.jsx)(pj, {
+ /* @__PURE__ */ (0, x.jsx)(mj, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, x.jsx)(hj, { children: t.map((e) => {
- let t = $R(e);
- return /* @__PURE__ */ (0, x.jsxs)(vj, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(gj, { children: t.map((e) => {
+ let t = ez(e);
+ return /* @__PURE__ */ (0, x.jsxs)(yj, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(bj, { children: /* @__PURE__ */ (0, x.jsx)(nF, {
+ /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)(rF, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -50215,16 +50230,16 @@ function rTe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, x.jsx)(bj, { children: /* @__PURE__ */ (0, x.jsx)(ez, {
+ /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)(tz, {
sources: n,
name: e.canonical
}) }),
- /* @__PURE__ */ (0, x.jsx)(bj, { children: e.alias }),
- /* @__PURE__ */ (0, x.jsx)(bj, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(xj, { children: e.alias }),
+ /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: e.evidence
}) }),
- /* @__PURE__ */ (0, x.jsx)(bj, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
disabled: r,
@@ -50245,23 +50260,23 @@ function rTe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, x.jsx)(iF, { children: /* @__PURE__ */ (0, x.jsxs)(rF, {
+ }), e.length ? /* @__PURE__ */ (0, x.jsx)(aF, { children: /* @__PURE__ */ (0, x.jsxs)(iF, {
"aria-label": "已保存创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(fj, { children: [/* @__PURE__ */ (0, x.jsx)(pj, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(pj, { children: [/* @__PURE__ */ (0, x.jsx)(mj, {
id: "canonical",
isRowHeader: !0,
children: "规范创作者"
- }), /* @__PURE__ */ (0, x.jsx)(pj, {
+ }), /* @__PURE__ */ (0, x.jsx)(mj, {
id: "aliases",
children: "平台别名"
- })] }), /* @__PURE__ */ (0, x.jsx)(hj, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(vj, {
+ })] }), /* @__PURE__ */ (0, x.jsx)(gj, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(yj, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, x.jsx)(bj, { children: /* @__PURE__ */ (0, x.jsx)(ez, {
+ children: [/* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)(tz, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
- }) }), /* @__PURE__ */ (0, x.jsx)(bj, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ }) }), /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "flex flex-wrap items-center gap-1.5",
children: e.aliases.map((e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex items-center gap-1 rounded-md bg-background-secondary-default px-1.5 py-1 text-caption-1-medium text-text-secondary",
@@ -50275,7 +50290,7 @@ function rTe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
...q(h.isPending),
onClick: () => void cs({
title: "移除创作者别名",
- body: tTe(e.name),
+ body: eTe(e.name),
confirmLabel: "移除创作者别名",
onConfirm: () => h.mutateAsync(e.name)
})
@@ -50295,7 +50310,7 @@ function rTe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function tz() {
+function nz() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -50308,24 +50323,24 @@ function tz() {
group: (e) => e
};
}
-function nz(e, t) {
+function rz(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function rz(e, t) {
+function iz(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: nz(n, t[e])
+ [e]: rz(n, t[e])
}));
};
}
-function iz(e) {
+function az(e) {
return e instanceof Function;
}
-function iTe(e) {
+function rTe(e) {
return Array.isArray(e) && e.every((e) => typeof e == "number");
}
-function aTe(e, t) {
+function iTe(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -50335,7 +50350,7 @@ function aTe(e, t) {
};
return r(e), n;
}
-function az(e, t, n) {
+function oz(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -50357,21 +50372,21 @@ function az(e, t, n) {
return i;
};
}
-function oz(e, t, n, r) {
+function sz(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
onChange: r
};
}
-function oTe(e, t, n, r) {
+function aTe(e, t, n, r) {
let i = {
id: `${t.id}_${n.id}`,
row: t,
column: n,
getValue: () => t.getValue(r),
renderValue: () => i.getValue() ?? e.options.renderFallbackValue,
- getContext: az(() => [
+ getContext: oz(() => [
e,
n,
t,
@@ -50383,13 +50398,13 @@ function oTe(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), oz(e.options, "debugCells", "cell.getContext"))
+ }), sz(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
}, {}), i;
}
-function sTe(e, t, n, r) {
+function oTe(e, t, n, r) {
let i = {
...e._getDefaultColumnDef(),
...t
@@ -50406,17 +50421,17 @@ function sTe(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: az(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], oz(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: az(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: oz(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], sz(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: oz(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, oz(e.options, "debugColumns", "column.getLeafColumns"))
+ }, sz(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var sz = "debugHeaders";
-function cz(e, t, n) {
+var cz = "debugHeaders";
+function lz(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -50444,42 +50459,42 @@ function cz(e, t, n) {
t.createHeader == null || t.createHeader(r, e);
}), r;
}
-var cTe = { createTable: (e) => {
- e.getHeaderGroups = az(() => [
+var sTe = { createTable: (e) => {
+ e.getHeaderGroups = oz(() => [
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 lz(t, [
+ return uz(t, [
...a,
...s,
...o
], e);
- }, oz(e.options, sz, "getHeaderGroups")), e.getCenterHeaderGroups = az(() => [
+ }, sz(e.options, cz, "getHeaderGroups")), e.getCenterHeaderGroups = oz(() => [
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))), lz(t, n, e, "center")), oz(e.options, sz, "getCenterHeaderGroups")), e.getLeftHeaderGroups = az(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), uz(t, n, e, "center")), sz(e.options, cz, "getCenterHeaderGroups")), e.getLeftHeaderGroups = oz(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => lz(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), oz(e.options, sz, "getLeftHeaderGroups")), e.getRightHeaderGroups = az(() => [
+ ], (t, n, r) => uz(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), sz(e.options, cz, "getLeftHeaderGroups")), e.getRightHeaderGroups = oz(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => lz(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), oz(e.options, sz, "getRightHeaderGroups")), e.getFooterGroups = az(() => [e.getHeaderGroups()], (e) => [...e].reverse(), oz(e.options, sz, "getFooterGroups")), e.getLeftFooterGroups = az(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), oz(e.options, sz, "getLeftFooterGroups")), e.getCenterFooterGroups = az(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), oz(e.options, sz, "getCenterFooterGroups")), e.getRightFooterGroups = az(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), oz(e.options, sz, "getRightFooterGroups")), e.getFlatHeaders = az(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), oz(e.options, sz, "getFlatHeaders")), e.getLeftFlatHeaders = az(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), oz(e.options, sz, "getLeftFlatHeaders")), e.getCenterFlatHeaders = az(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), oz(e.options, sz, "getCenterFlatHeaders")), e.getRightFlatHeaders = az(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), oz(e.options, sz, "getRightFlatHeaders")), e.getCenterLeafHeaders = az(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => uz(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), sz(e.options, cz, "getRightHeaderGroups")), e.getFooterGroups = oz(() => [e.getHeaderGroups()], (e) => [...e].reverse(), sz(e.options, cz, "getFooterGroups")), e.getLeftFooterGroups = oz(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), sz(e.options, cz, "getLeftFooterGroups")), e.getCenterFooterGroups = oz(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), sz(e.options, cz, "getCenterFooterGroups")), e.getRightFooterGroups = oz(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), sz(e.options, cz, "getRightFooterGroups")), e.getFlatHeaders = oz(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), sz(e.options, cz, "getFlatHeaders")), e.getLeftFlatHeaders = oz(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), sz(e.options, cz, "getLeftFlatHeaders")), e.getCenterFlatHeaders = oz(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), sz(e.options, cz, "getCenterFlatHeaders")), e.getRightFlatHeaders = oz(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), sz(e.options, cz, "getRightFlatHeaders")), e.getCenterLeafHeaders = oz(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), oz(e.options, sz, "getCenterLeafHeaders")), e.getLeftLeafHeaders = az(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), sz(e.options, cz, "getCenterLeafHeaders")), e.getLeftLeafHeaders = oz(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), oz(e.options, sz, "getLeftLeafHeaders")), e.getRightLeafHeaders = az(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), sz(e.options, cz, "getLeftLeafHeaders")), e.getRightLeafHeaders = oz(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), oz(e.options, sz, "getRightLeafHeaders")), e.getLeafHeaders = az(() => [
+ }), sz(e.options, cz, "getRightLeafHeaders")), e.getLeafHeaders = oz(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -50487,9 +50502,9 @@ var cTe = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), oz(e.options, sz, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), sz(e.options, cz, "getLeafHeaders"));
} };
-function lz(e, t, n, r) {
+function uz(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;
@@ -50507,7 +50522,7 @@ function lz(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 = cz(n, c, {
+ let i = lz(n, c, {
id: [
r,
t,
@@ -50524,7 +50539,7 @@ function lz(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) => cz(n, e, {
+ s(t.map((e, t) => lz(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -50542,7 +50557,7 @@ function lz(e, t, n, r) {
});
return c(o[0]?.headers ?? []), o;
}
-var lTe = (e, t, n, r, i, a, o) => {
+var cTe = (e, t, n, r, i, a, o) => {
let s = {
id: t,
index: r,
@@ -50563,7 +50578,7 @@ var lTe = (e, t, n, r, i, a, o) => {
},
renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
subRows: a ?? [],
- getLeafRows: () => aTe(s.subRows, (e) => e.subRows),
+ getLeafRows: () => iTe(s.subRows, (e) => e.subRows),
getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
getParentRows: () => {
let e = [], t = s;
@@ -50574,95 +50589,95 @@ var lTe = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: az(() => [e.getAllLeafColumns()], (t) => t.map((t) => oTe(e, s, t, t.id)), oz(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: az(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), oz(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: oz(() => [e.getAllLeafColumns()], (t) => t.map((t) => aTe(e, s, t, t.id)), sz(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: oz(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), sz(e.options, "debugRows", "getAllCellsByColumnId"))
};
for (let t = 0; t < e._features.length; t++) {
let n = e._features[t];
n == null || n.createRow == null || n.createRow(s, e);
}
return s;
-}, uTe = { createColumn: (e, t) => {
+}, lTe = { createColumn: (e, t) => {
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();
};
-} }, uz = (e, t, n) => {
+} }, dz = (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));
};
-uz.autoRemove = (e) => bz(e);
-var dz = (e, t, n) => {
+dz.autoRemove = (e) => xz(e);
+var fz = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-dz.autoRemove = (e) => bz(e);
-var fz = (e, t, n) => {
+fz.autoRemove = (e) => xz(e);
+var pz = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-fz.autoRemove = (e) => bz(e);
-var pz = (e, t, n) => e.getValue(t)?.includes(n);
-pz.autoRemove = (e) => bz(e);
-var mz = (e, t, n) => !n.some((n) => {
+pz.autoRemove = (e) => xz(e);
+var mz = (e, t, n) => e.getValue(t)?.includes(n);
+mz.autoRemove = (e) => xz(e);
+var hz = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-mz.autoRemove = (e) => bz(e) || !(e != null && e.length);
-var hz = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-hz.autoRemove = (e) => bz(e) || !(e != null && e.length);
-var gz = (e, t, n) => e.getValue(t) === n;
-gz.autoRemove = (e) => bz(e);
-var _z = (e, t, n) => e.getValue(t) == n;
-_z.autoRemove = (e) => bz(e);
-var vz = (e, t, n) => {
+hz.autoRemove = (e) => xz(e) || !(e != null && e.length);
+var gz = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+gz.autoRemove = (e) => xz(e) || !(e != null && e.length);
+var _z = (e, t, n) => e.getValue(t) === n;
+_z.autoRemove = (e) => xz(e);
+var vz = (e, t, n) => e.getValue(t) == n;
+vz.autoRemove = (e) => xz(e);
+var yz = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-vz.resolveFilterValue = (e) => {
+yz.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];
-}, vz.autoRemove = (e) => bz(e) || bz(e[0]) && bz(e[1]);
-var yz = {
- includesString: uz,
- includesStringSensitive: dz,
- equalsString: fz,
- arrIncludes: pz,
- arrIncludesAll: mz,
- arrIncludesSome: hz,
- equals: gz,
- weakEquals: _z,
- inNumberRange: vz
+}, yz.autoRemove = (e) => xz(e) || xz(e[0]) && xz(e[1]);
+var bz = {
+ includesString: dz,
+ includesStringSensitive: fz,
+ equalsString: pz,
+ arrIncludes: mz,
+ arrIncludesAll: hz,
+ arrIncludesSome: gz,
+ equals: _z,
+ weakEquals: vz,
+ inNumberRange: yz
};
-function bz(e) {
+function xz(e) {
return e == null || e === "";
}
-var dTe = {
+var uTe = {
getDefaultColumnDef: () => ({ filterFn: "auto" }),
getInitialState: (e) => ({
columnFilters: [],
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: rz("columnFilters", e),
+ onColumnFiltersChange: iz("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? yz.includesString : typeof n == "number" ? yz.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? yz.equals : Array.isArray(n) ? yz.arrIncludes : yz.weakEquals;
- }, e.getFilterFn = () => iz(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? yz[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" ? bz.includesString : typeof n == "number" ? bz.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? bz.equals : Array.isArray(n) ? bz.arrIncludes : bz.weakEquals;
+ }, e.getFilterFn = () => az(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? bz[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 = nz(n, i ? i.value : void 0);
- if (xz(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = rz(n, i ? i.value : void 0);
+ if (Sz(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -50677,19 +50692,19 @@ var dTe = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => nz(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => rz(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && xz(t.getFilterFn(), e.value, t));
+ return !(t && Sz(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 xz(e, t, n) {
+function Sz(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var Sz = {
+var Cz = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -50725,7 +50740,7 @@ var Sz = {
median: (e, t) => {
if (!t.length) return;
let n = t.map((t) => t.getValue(e));
- if (!iTe(n)) return;
+ if (!rTe(n)) return;
if (n.length === 1) return n[0];
let r = Math.floor(n.length / 2), i = n.sort((e, t) => e - t);
return n.length % 2 == 0 ? (i[r - 1] + i[r]) / 2 : i[r];
@@ -50733,7 +50748,7 @@ var Sz = {
unique: (e, t) => Array.from(new Set(t.map((t) => t.getValue(e))).values()),
uniqueCount: (e, t) => new Set(t.map((t) => t.getValue(e))).size,
count: (e, t) => t.length
-}, fTe = {
+}, dTe = {
getDefaultColumnDef: () => ({
aggregatedCell: (e) => {
var t;
@@ -50746,7 +50761,7 @@ var Sz = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: rz("grouping", e),
+ onGroupingChange: iz("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -50759,11 +50774,11 @@ var Sz = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return Sz.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return Sz.extent;
+ if (typeof n == "number") return Cz.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return Cz.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return iz(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? Sz[e.columnDef.aggregationFn];
+ return az(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? Cz[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -50785,27 +50800,27 @@ var Sz = {
};
}
};
-function pTe(e, t, n) {
+function fTe(e, t, n) {
if (!(t != null && t.length) || !n) return e;
let r = e.filter((e) => !t.includes(e.id));
return n === "remove" ? r : [...t.map((t) => e.find((e) => e.id === t)).filter(Boolean), ...r];
}
-var mTe = {
+var pTe = {
getInitialState: (e) => ({
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: rz("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: iz("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = az((e) => [Oz(t, e)], (t) => t.findIndex((t) => t.id === e.id), oz(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => Oz(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = Oz(t, n);
+ e.getIndex = oz((e) => [kz(t, e)], (t) => t.findIndex((t) => t.id === e.id), sz(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => kz(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = kz(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 = az(() => [
+ }, e._getOrderColumnsFn = oz(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -50820,18 +50835,18 @@ var mTe = {
}
i = [...i, ...n];
}
- return pTe(i, t, n);
- }, oz(e.options, "debugTable", "_getOrderColumnsFn"));
+ return fTe(i, t, n);
+ }, sz(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, Cz = () => ({
+}, wz = () => ({
left: [],
right: []
-}), hTe = {
+}), mTe = {
getInitialState: (e) => ({
- columnPinning: Cz(),
+ columnPinning: wz(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: rz("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: iz("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -50855,75 +50870,75 @@ var mTe = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = az(() => [
+ e.getCenterVisibleCells = oz(() => [
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));
- }, oz(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = az(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, sz(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = oz(() => [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"
- })), oz(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = az(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), sz(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = oz(() => [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"
- })), oz(t.options, "debugRows", "getRightVisibleCells"));
+ })), sz(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 ? Cz() : e.initialState?.columnPinning ?? Cz()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? wz() : e.initialState?.columnPinning ?? wz()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = az(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), oz(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = az(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), oz(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = az(() => [
+ }, e.getLeftLeafColumns = oz(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), sz(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = oz(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), sz(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = oz(() => [
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));
- }, oz(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, sz(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
-function gTe(e) {
+function hTe(e) {
return e || (typeof document < "u" ? document : null);
}
-var wz = {
+var Tz = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, Tz = () => ({
+}, Ez = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
deltaPercentage: null,
isResizingColumn: !1,
columnSizingStart: []
-}), _Te = {
- getDefaultColumnDef: () => wz,
+}), gTe = {
+ getDefaultColumnDef: () => Tz,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: Tz(),
+ columnSizingInfo: Ez(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: rz("columnSizing", e),
- onColumnSizingInfoChange: rz("columnSizingInfo", e)
+ onColumnSizingChange: iz("columnSizing", e),
+ onColumnSizingInfoChange: iz("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? wz.minSize, n ?? e.columnDef.size ?? wz.size), e.columnDef.maxSize ?? wz.maxSize);
- }, e.getStart = az((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? Tz.minSize, n ?? e.columnDef.size ?? Tz.size), e.columnDef.maxSize ?? Tz.maxSize);
+ }, e.getStart = oz((e) => [
e,
- Oz(t, e),
+ kz(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), oz(t.options, "debugColumns", "getStart")), e.getAfter = az((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), sz(t.options, "debugColumns", "getStart")), e.getAfter = oz((e) => [
e,
- Oz(t, e),
+ kz(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), oz(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), sz(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -50945,8 +50960,8 @@ var wz = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), Dz(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 = Dz(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), Oz(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 = Oz(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) => {
@@ -50971,7 +50986,7 @@ var wz = {
deltaPercentage: null,
columnSizingStart: []
}));
- }, p = gTe(n), m = {
+ }, p = hTe(n), m = {
moveHandler: (e) => d(e.clientX),
upHandler: (e) => {
p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -50981,8 +50996,8 @@ var wz = {
upHandler: (e) => {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
- }, g = vTe() ? { passive: !1 } : !1;
- Dz(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) => ({
+ }, g = _Te() ? { passive: !1 } : !1;
+ Oz(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,
@@ -50998,12 +51013,12 @@ var wz = {
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 ? Tz() : e.initialState.columnSizingInfo ?? Tz());
+ e.setColumnSizingInfo(t ? Ez() : e.initialState.columnSizingInfo ?? Ez());
}, 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;
}
-}, Ez = null;
-function vTe() {
- if (typeof Ez == "boolean") return Ez;
+}, Dz = null;
+function _Te() {
+ if (typeof Dz == "boolean") return Dz;
let e = !1;
try {
let t = { get passive() {
@@ -51013,17 +51028,17 @@ function vTe() {
} catch {
e = !1;
}
- return Ez = e, Ez;
+ return Dz = e, Dz;
}
-function Dz(e) {
+function Oz(e) {
return e.type === "touchstart";
}
-var yTe = {
+var vTe = {
getInitialState: (e) => ({
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: rz("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: iz("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -51038,7 +51053,7 @@ var yTe = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = az(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), oz(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = az(() => [
+ e._getAllVisibleCells = oz(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), sz(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = oz(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -51046,10 +51061,10 @@ var yTe = {
...e,
...t,
...n
- ], oz(t.options, "debugRows", "getVisibleCells"));
+ ], sz(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => az(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), oz(e.options, "debugColumns", t));
+ let t = (t, n) => oz(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), sz(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) => {
@@ -51062,20 +51077,20 @@ var yTe = {
};
}
};
-function Oz(e, t) {
+function kz(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
-var bTe = { createTable: (e) => {
+var yTe = { createTable: (e) => {
e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {
if (e._getGlobalFacetedMinMaxValues) return e._getGlobalFacetedMinMaxValues();
};
-} }, xTe = {
+} }, bTe = {
getInitialState: (e) => ({
globalFilter: void 0,
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: rz("globalFilter", e),
+ onGlobalFilterChange: iz("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -51087,22 +51102,22 @@ var bTe = { 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 = () => yz.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => bz.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return iz(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? yz[t];
+ return az(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? bz[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
};
}
-}, STe = {
+}, xTe = {
getInitialState: (e) => ({
expanded: {},
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: rz("expanded", e),
+ onExpandedChange: iz("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -51170,18 +51185,18 @@ var bTe = { createTable: (e) => {
};
};
}
-}, kz = 0, Az = 10, jz = () => ({
- pageIndex: kz,
- pageSize: Az
-}), CTe = {
+}, Az = 0, jz = 10, Mz = () => ({
+ pageIndex: Az,
+ pageSize: jz
+}), STe = {
getInitialState: (e) => ({
...e,
pagination: {
- ...jz(),
+ ...Mz(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: rz("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: iz("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -51194,11 +51209,11 @@ var bTe = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => nz(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? jz() : e.initialState.pagination ?? jz());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => rz(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? Mz() : e.initialState.pagination ?? Mz());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = nz(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = rz(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
@@ -51206,13 +51221,13 @@ var bTe = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? kz : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? kz);
+ e.setPageIndex(t ? Az : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? Az);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? Az : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? Az);
+ e.setPageSize(t ? jz : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? jz);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, nz(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, rz(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -51220,28 +51235,28 @@ var bTe = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = nz(t, e.options.pageCount ?? -1);
+ let r = rz(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = az(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = oz(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, oz(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, sz(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;
}
-}, Mz = () => ({
+}, Nz = () => ({
top: [],
bottom: []
-}), wTe = {
+}), CTe = {
getInitialState: (e) => ({
- rowPinning: Mz(),
+ rowPinning: Nz(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: rz("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: iz("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -51280,7 +51295,7 @@ var bTe = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? Mz() : e.initialState?.rowPinning ?? Mz()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? Nz() : e.initialState?.rowPinning ?? Nz()), 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) => {
@@ -51289,22 +51304,22 @@ var bTe = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = az(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), oz(e.options, "debugRows", "getTopRows")), e.getBottomRows = az(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), oz(e.options, "debugRows", "getBottomRows")), e.getCenterRows = az(() => [
+ })), e.getTopRows = oz(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), sz(e.options, "debugRows", "getTopRows")), e.getBottomRows = oz(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), sz(e.options, "debugRows", "getBottomRows")), e.getCenterRows = oz(() => [
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));
- }, oz(e.options, "debugRows", "getCenterRows"));
+ }, sz(e.options, "debugRows", "getCenterRows"));
}
-}, TTe = {
+}, wTe = {
getInitialState: (e) => ({
rowSelection: {},
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: rz("rowSelection", e),
+ onRowSelectionChange: iz("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -51323,21 +51338,21 @@ var bTe = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- Nz(i, t.id, r, !0, e);
+ Pz(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = az(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? Pz(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = oz(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? Fz(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, oz(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = az(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? Pz(e, n) : {
+ }, sz(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = oz(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? Fz(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, oz(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = az(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? Pz(e, n) : {
+ }, sz(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = oz(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? Fz(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, oz(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, sz(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 = () => {
@@ -51361,17 +51376,17 @@ var bTe = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return Nz(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return Pz(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return Fz(e, n);
+ return Iz(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return Iz(e, n) === "some";
+ return Lz(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return Iz(e, n) === "all";
+ return Lz(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) => {
@@ -51379,16 +51394,16 @@ var bTe = { createTable: (e) => {
};
};
}
-}, Nz = (e, t, n, r, i) => {
+}, Pz = (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) => Nz(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) => Pz(e, t.id, n, r, i));
};
-function Pz(e, t) {
+function Fz(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = Fz(e, n);
+ let o = Iz(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -51401,32 +51416,32 @@ function Pz(e, t) {
rowsById: i
};
}
-function Fz(e, t) {
+function Iz(e, t) {
return t[e.id] ?? !1;
}
-function Iz(e, t, n) {
+function Lz(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() && (Fz(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = Iz(e, t);
+ if ((!a || i) && (e.getCanSelect() && (Iz(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = Lz(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var Lz = /([0-9]+)/gm, ETe = (e, t, n) => Bz(zz(e.getValue(n)).toLowerCase(), zz(t.getValue(n)).toLowerCase()), DTe = (e, t, n) => Bz(zz(e.getValue(n)), zz(t.getValue(n))), OTe = (e, t, n) => Rz(zz(e.getValue(n)).toLowerCase(), zz(t.getValue(n)).toLowerCase()), kTe = (e, t, n) => Rz(zz(e.getValue(n)), zz(t.getValue(n))), ATe = (e, t, n) => {
+var Rz = /([0-9]+)/gm, TTe = (e, t, n) => Vz(Bz(e.getValue(n)).toLowerCase(), Bz(t.getValue(n)).toLowerCase()), ETe = (e, t, n) => Vz(Bz(e.getValue(n)), Bz(t.getValue(n))), DTe = (e, t, n) => zz(Bz(e.getValue(n)).toLowerCase(), Bz(t.getValue(n)).toLowerCase()), OTe = (e, t, n) => zz(Bz(e.getValue(n)), Bz(t.getValue(n))), kTe = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, jTe = (e, t, n) => Rz(e.getValue(n), t.getValue(n));
-function Rz(e, t) {
+}, ATe = (e, t, n) => zz(e.getValue(n), t.getValue(n));
+function zz(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function zz(e) {
+function Bz(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function Bz(e, t) {
- let n = e.split(Lz).filter(Boolean), r = t.split(Lz).filter(Boolean);
+function Vz(e, t) {
+ let n = e.split(Rz).filter(Boolean), r = t.split(Rz).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])) {
@@ -51440,22 +51455,22 @@ function Bz(e, t) {
}
return n.length - r.length;
}
-var Vz = {
- alphanumeric: ETe,
- alphanumericCaseSensitive: DTe,
- text: OTe,
- textCaseSensitive: kTe,
- datetime: ATe,
- basic: jTe
-}, MTe = [
- cTe,
- yTe,
+var Hz = {
+ alphanumeric: TTe,
+ alphanumericCaseSensitive: ETe,
+ text: DTe,
+ textCaseSensitive: OTe,
+ datetime: kTe,
+ basic: ATe
+}, jTe = [
+ sTe,
+ vTe,
+ pTe,
mTe,
- hTe,
+ lTe,
uTe,
- dTe,
+ yTe,
bTe,
- xTe,
{
getInitialState: (e) => ({
sorting: [],
@@ -51466,7 +51481,7 @@ var Vz = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: rz("sorting", e),
+ onSortingChange: iz("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -51474,13 +51489,13 @@ var Vz = {
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 Vz.datetime;
- if (typeof n == "string" && (r = !0, n.split(Lz).length > 1)) return Vz.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return Hz.datetime;
+ if (typeof n == "string" && (r = !0, n.split(Rz).length > 1)) return Hz.alphanumeric;
}
- return r ? Vz.text : Vz.basic;
+ return r ? Hz.text : Hz.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return iz(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? Vz[e.columnDef.sortingFn];
+ return az(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? Hz[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -51517,15 +51532,15 @@ var Vz = {
}, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
}
},
- fTe,
+ dTe,
+ xTe,
STe,
CTe,
wTe,
- TTe,
- _Te
+ gTe
];
-function NTe(e) {
- let t = [...MTe, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {
+function MTe(e) {
+ let t = [...jTe, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {
...r,
...e
}, a = { ...e.initialState ?? {} };
@@ -51551,7 +51566,7 @@ function NTe(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = nz(e, n.options);
+ let t = rz(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -51566,7 +51581,7 @@ function NTe(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: az(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: oz(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -51577,20 +51592,20 @@ function NTe(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), oz(e, "debugColumns", "_getDefaultColumnDef")),
+ }), sz(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: az(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: oz(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
- let a = sTe(n, e, i, r), o = e;
+ let a = oTe(n, e, i, r), o = e;
return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
});
};
return t(e);
- }, oz(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: az(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), oz(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: az(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), oz(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: az(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), oz(e, "debugColumns", "getAllLeafColumns")),
+ }, sz(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: oz(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), sz(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: oz(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), sz(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: oz(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), sz(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -51600,8 +51615,8 @@ function NTe(e) {
}
return n;
}
-function Hz() {
- return (e) => az(() => [e.options.data], (t) => {
+function Uz() {
+ return (e) => oz(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -51610,7 +51625,7 @@ function Hz() {
i === void 0 && (i = 0);
let o = [];
for (let c = 0; c < t.length; c++) {
- let l = lTe(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
+ let l = cTe(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
if (n.flatRows.push(l), n.rowsById[l.id] = l, o.push(l), e.options.getSubRows) {
var s;
l.originalSubRows = e.options.getSubRows(t[c], c), (s = l.originalSubRows) != null && s.length && (l.subRows = r(l.originalSubRows, i + 1, l));
@@ -51619,9 +51634,9 @@ function Hz() {
return o;
};
return n.rows = r(t), n;
- }, oz(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, sz(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function PTe(e) {
+function NTe(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -51632,8 +51647,8 @@ function PTe(e) {
rowsById: e.rowsById
};
}
-function Uz(e) {
- return (e) => az(() => [
+function Wz(e) {
+ return (e) => oz(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -51646,7 +51661,7 @@ function Uz(e) {
rows: a,
flatRows: o,
rowsById: s
- } : PTe({
+ } : NTe({
rows: a,
flatRows: o,
rowsById: s
@@ -51655,32 +51670,32 @@ function Uz(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, oz(e.options, "debugTable", "getPaginationRowModel"));
+ }, sz(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function Wz(e, t) {
- return e ? FTe(e) ? /*#__PURE__*/ b.createElement(e, t) : e : null;
+function Gz(e, t) {
+ return e ? PTe(e) ? /*#__PURE__*/ b.createElement(e, t) : e : null;
}
-function FTe(e) {
- return ITe(e) || typeof e == "function" || LTe(e);
+function PTe(e) {
+ return FTe(e) || typeof e == "function" || ITe(e);
}
-function ITe(e) {
+function FTe(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function LTe(e) {
+function ITe(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function Gz(e) {
+function Kz(e) {
let t = {
state: {},
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = b.useState(() => ({ current: NTe(t) })), [r, i] = b.useState(() => n.current.initialState);
+ }, [n] = b.useState(() => ({ current: MTe(t) })), [r, i] = b.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -51695,7 +51710,7 @@ function Gz(e) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var RTe = rk({
+var LTe = rk({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -51757,8 +51772,8 @@ var RTe = rk({
}
}
});
-function zTe({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = RTe[t];
+function RTe({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = LTe[t];
return /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
className: nk("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? nk("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
@@ -51768,12 +51783,12 @@ function zTe({ state: e, size: t = "md", shape: n = "pill" }) {
})
});
}
-function Kz({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, x.jsx)(qhe, {
+function qz({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, x.jsx)(Khe, {
ref: i,
...a,
className: (t) => nk("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
- children: (e) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(zTe, {
+ children: (e) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(RTe, {
state: e,
size: n,
shape: r
@@ -51785,8 +51800,8 @@ function Kz({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var qz = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", BTe = "输入女优名,到 JavDB 找她的演员页";
-function VTe(e, t) {
+var Jz = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", zTe = "输入女优名,到 JavDB 找她的演员页";
+function BTe(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e.candidates) t.has(r.id) && r.held_by && n.set(r.held_by.id, r.held_by.name);
if (n.size > 1) return {
@@ -51805,10 +51820,10 @@ function VTe(e, t) {
blocked: !1
};
}
-function HTe({ card: e, picked: t, onPick: n }) {
+function VTe({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(nF, {
+ children: [/* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -51835,7 +51850,7 @@ function HTe({ card: e, picked: t, onPick: n }) {
})]
});
}
-function UTe({ readOnly: e, toast: t, onAdded: n }) {
+function HTe({ readOnly: e, toast: t, onAdded: n }) {
let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(/* @__PURE__ */ new Set()), l = mk(), u = () => {
let t = r.trim();
t && !e && l.run("lookup", (e) => Er(t, e), (e) => {
@@ -51849,7 +51864,7 @@ function UTe({ readOnly: e, toast: t, onAdded: n }) {
a && l.run("follow", (e) => Dr(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? VTe(a, s) : null;
+ }, m = a ? BTe(a, s) : null;
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: ck({
padding: "none",
@@ -51864,9 +51879,9 @@ function UTe({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, x.jsx)(Mj, {
+ children: /* @__PURE__ */ (0, x.jsx)(Nj, {
"aria-label": "女优名",
- placeholder: BTe,
+ placeholder: zTe,
value: r,
leadingIcon: NO,
enterKeyHint: "search",
@@ -51891,7 +51906,7 @@ function UTe({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-col gap-3",
children: [
/* @__PURE__ */ (0, x.jsx)(wk, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(HTe, {
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(VTe, {
card: e,
picked: s.has(e.id),
onPick: (t) => c((n) => {
@@ -51926,19 +51941,19 @@ function UTe({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var Jz = (e) => (Number(e) || 0).toLocaleString(), WTe = Object.fromEntries(Object.entries(Rn).map(([e, t]) => [t, e])), Yz = 740;
-function GTe() {
+var Yz = (e) => (Number(e) || 0).toLocaleString(), UTe = Object.fromEntries(Object.entries(Rn).map(([e, t]) => [t, e])), Xz = 740;
+function WTe() {
let [e, t] = (0, b.useState)(!1), n = (0, b.useRef)(null), r = (0, b.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
return;
}
- let r = new ResizeObserver(() => t(e.clientWidth < Yz));
- r.observe(e), n.current = r, t(e.clientWidth < Yz);
+ let r = new ResizeObserver(() => t(e.clientWidth < Xz));
+ r.observe(e), n.current = r, t(e.clientWidth < Xz);
}, []);
return (0, b.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var KTe = {
+var GTe = {
select: "选择",
author: "创作者",
source: "来源",
@@ -51947,7 +51962,7 @@ var KTe = {
checked: "上次检查",
actions: "操作"
};
-function Xz({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function Zz({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, x.jsxs)("nav", {
"aria-label": r,
className: "flex flex-wrap items-center justify-center gap-2",
@@ -51984,33 +51999,33 @@ function Xz({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
]
});
}
-function qTe({ source: e, selected: t, onToggle: n, handlers: r }) {
+function KTe({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-selected": t || void 0,
"data-follow-source-row": "",
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2",
onClick: (e) => {
- DM(e, e.currentTarget) && n(!t);
+ OM(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, x.jsx)(nF, {
+ /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 grow basis-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, x.jsx)(YR, { source: e }), e.last_error ? /* @__PURE__ */ (0, x.jsx)(XR, { text: e.last_error }) : null]
+ children: [/* @__PURE__ */ (0, x.jsx)(XR, { source: e }), e.last_error ? /* @__PURE__ */ (0, x.jsx)(ZR, { text: e.last_error }) : null]
}),
/* @__PURE__ */ (0, x.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, x.jsx)(KR, {
+ children: /* @__PURE__ */ (0, x.jsx)(qR, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, x.jsx)(JR, { source: e }),
+ /* @__PURE__ */ (0, x.jsx)(YR, { source: e }),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-follow-source-controls": "",
className: "contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5",
@@ -52019,7 +52034,7 @@ function qTe({ source: e, selected: t, onToggle: n, handlers: r }) {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular",
children: Ir(e)
}),
- /* @__PURE__ */ (0, x.jsx)(Kz, {
+ /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": `启用 ${e.label}`,
isSelected: e.enabled,
isDisabled: r.readOnly,
@@ -52051,7 +52066,7 @@ function qTe({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function JTe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
+function qTe({ 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(Gn).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = or(r, c);
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
@@ -52065,7 +52080,7 @@ function JTe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
"data-open": n || void 0,
className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
children: [
- /* @__PURE__ */ (0, x.jsx)(qR, {
+ /* @__PURE__ */ (0, x.jsx)(JR, {
group: e,
name: t
}),
@@ -52090,7 +52105,7 @@ function JTe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex shrink-0 items-center gap-1 max-sm:mr-auto max-sm:min-w-0 max-sm:shrink max-sm:flex-wrap",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, x.jsx)(KR, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, x.jsx)(Eb, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, x.jsx)(qR, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, x.jsx)(Eb, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -52122,7 +52137,7 @@ function JTe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
id: f,
hidden: !n,
"data-source-divider": !0,
- children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(qTe, {
+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(KTe, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -52131,8 +52146,8 @@ function JTe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
})]
});
}
-function YTe(e) {
- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, b.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = GTe(), [T, E] = (0, b.useState)(""), D = (0, b.useMemo)(() => nr(g, n, r, _), [
+function JTe(e) {
+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, b.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = WTe(), [T, E] = (0, b.useState)(""), D = (0, b.useMemo)(() => nr(g, n, r, _), [
g,
n,
r,
@@ -52142,7 +52157,7 @@ function YTe(e) {
n,
r,
_
- ]), { job: k, running: A, outcome: j, start: M } = QP({
+ ]), { job: k, running: A, outcome: j, start: M } = $P({
queryKey: jn,
queryFn: ({ signal: e }) => ur(e),
start: (e) => pr(e),
@@ -52229,12 +52244,12 @@ function YTe(e) {
readOnly: c
};
let se = oe.current, ce = (0, b.useMemo)(() => {
- let e = tz(), t = (e) => () => KTe[e] || e;
+ let e = nz(), t = (e) => () => GTe[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)(nF, {
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(rF, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -52246,7 +52261,7 @@ function YTe(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(qR, {
+ children: [/* @__PURE__ */ (0, x.jsx)(JR, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, x.jsx)("span", {
@@ -52260,7 +52275,7 @@ function YTe(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, x.jsx)(YR, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, x.jsx)(XR, { text: e.row.original.source.last_error }) : null]
+ children: [/* @__PURE__ */ (0, x.jsx)(XR, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, x.jsx)(ZR, { text: e.row.original.source.last_error }) : null]
})
}),
e.accessor((e) => e.source.provider_label, {
@@ -52268,13 +52283,13 @@ function YTe(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, x.jsx)(KR, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, x.jsx)(qR, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)(JR, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(YR, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
@@ -52287,7 +52302,7 @@ function YTe(e) {
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, x.jsx)(Kz, {
+ /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": `启用 ${e.row.original.source.label}`,
isSelected: e.row.original.source.enabled,
isDisabled: se.readOnly,
@@ -52317,12 +52332,12 @@ function YTe(e) {
})
];
}, [se]), le = (0, b.useMemo)(() => {
- let e = WTe[n];
+ let e = UTe[n];
return e ? [{
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), ue = (0, b.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), de = a === "table", fe = ir(de ? O.length : D.length, o, i), pe = Gz({
+ }, [n, r]), ue = (0, b.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), de = a === "table", fe = ir(de ? O.length : D.length, o, i), pe = Kz({
data: O,
columns: ce,
getRowId: (e) => String(e.source.id),
@@ -52353,8 +52368,8 @@ function YTe(e) {
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === o ? n.pageIndex !== t.pageIndex && u(n.pageIndex + 1) : f(n.pageSize);
},
- getCoreRowModel: Hz(),
- getPaginationRowModel: Uz()
+ getCoreRowModel: Uz(),
+ getPaginationRowModel: Wz()
}), me = pe.getRowModel().rows, he = de ? me.map((e) => e.original.source.id) : D.slice(fe.start, fe.end).flatMap((e) => e.map((e) => e.id)), ge = or(s, he), _e = [...s], ve = Pr(j), ye = g.filter((e) => e.enabled && (e.last_status === "error" || e.last_status === "unauthorized")).map((e) => e.id), be = Fr(j), xe = D.length > 0 && y.size >= D.length;
return g.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: ck({
@@ -52374,7 +52389,7 @@ function YTe(e) {
children: "关注列表"
}), /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: `${g.length.toLocaleString()} 个来源${v.new ? ` · ${Jz(v.new)} 条未看` : ""}`
+ children: `${g.length.toLocaleString()} 个来源${v.new ? ` · ${Yz(v.new)} 条未看` : ""}`
})]
}),
/* @__PURE__ */ (0, x.jsx)(G, {
@@ -52418,7 +52433,7 @@ function YTe(e) {
onClick: () => d("table")
})]
}),
- /* @__PURE__ */ (0, x.jsx)(YP, {
+ /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
@@ -52426,7 +52441,7 @@ function YTe(e) {
let t = String(e);
l(t, an[t]);
},
- children: nn.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(XP, {
+ children: nn.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: t
}, e))
@@ -52454,7 +52469,7 @@ function YTe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- A ? /* @__PURE__ */ (0, x.jsx)(GP, {
+ A ? /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
label: k?.message || (k?.total ? `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源` : "正在准备检查任务"),
value: k?.checked,
@@ -52545,10 +52560,10 @@ function YTe(e) {
})
]
}),
- de ? /* @__PURE__ */ (0, x.jsx)(iF, {
+ de ? /* @__PURE__ */ (0, x.jsx)(aF, {
follow: !0,
onRowClick: (e) => P(Number(e), !s.has(Number(e))),
- children: /* @__PURE__ */ (0, x.jsxs)(rF, {
+ children: /* @__PURE__ */ (0, x.jsxs)(iF, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: le[0] ? {
@@ -52559,9 +52574,9 @@ function YTe(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, x.jsx)(fj, { children: pe.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in Rn, n = Wz(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, x.jsx)(pj, {
+ children: [/* @__PURE__ */ (0, x.jsx)(pj, { children: pe.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in Rn, n = Gz(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, x.jsx)(mj, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
@@ -52570,20 +52585,20 @@ function YTe(e) {
children: [n, /* @__PURE__ */ (0, x.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, x.jsx)(Wye, {})
+ children: /* @__PURE__ */ (0, x.jsx)(Uye, {})
})]
}) : /* @__PURE__ */ (0, x.jsx)(Eb, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, x.jsx)(hj, {
+ }) }), /* @__PURE__ */ (0, x.jsx)(gj, {
renderEmptyState: () => "这一页没有来源",
- children: me.map((e) => /* @__PURE__ */ (0, x.jsx)(vj, {
+ children: me.map((e) => /* @__PURE__ */ (0, x.jsx)(yj, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(bj, { children: Wz(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(xj, { children: Gz(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(nF, {
+ }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: ge.all,
isIndeterminate: ge.some,
onChange: (e) => ee(he, e),
@@ -52593,7 +52608,7 @@ function YTe(e) {
className: "flex flex-col gap-3",
children: D.slice(fe.start, fe.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, x.jsx)(JTe, {
+ return /* @__PURE__ */ (0, x.jsx)(qTe, {
group: e,
name: Qn(e, _),
handlers: se,
@@ -52613,21 +52628,21 @@ function YTe(e) {
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: `${Jz(fe.start + 1)}–${Jz(fe.end)} / ${Jz(fe.total)} ${de ? "个来源" : "位创作者"}`
+ children: `${Yz(fe.start + 1)}–${Yz(fe.end)} / ${Yz(fe.total)} ${de ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, x.jsx)(YP, {
+ /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(o),
onSelectionChange: (e) => {
e !== null && pe.setPageSize(Number(e));
},
- children: In.map((e) => /* @__PURE__ */ (0, x.jsx)(XP, {
+ children: In.map((e) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: String(e),
children: `每页 ${e} ${de ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(Xz, {
+ /* @__PURE__ */ (0, x.jsx)(Zz, {
page: fe.page,
pages: fe.pages,
onPage: (e) => pe.setPageIndex(e - 1)
@@ -52639,7 +52654,7 @@ function YTe(e) {
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
- children: `未看 ${Jz(v.new)} · 已看 ${Jz(v.seen)} · 已保存 ${Jz(v.saved)} · 已忽略 ${Jz(v.ignored)}`
+ children: `未看 ${Yz(v.new)} · 已看 ${Yz(v.seen)} · 已保存 ${Yz(v.saved)} · 已忽略 ${Yz(v.ignored)}`
}),
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -52691,7 +52706,7 @@ function YTe(e) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var XTe = {
+var YTe = {
select: "选择",
name: "名称",
kind: "类型",
@@ -52701,18 +52716,18 @@ var XTe = {
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, ZTe = /* @__PURE__ */ new Set(["select", "actions"]), Zz = () => H.invalidateQueries({
+}, XTe = /* @__PURE__ */ new Set(["select", "actions"]), Qz = () => H.invalidateQueries({
queryKey: Nn,
exact: !0
-}), Qz = (e) => e.name || e.url;
-function QTe(e) {
+}), $z = (e) => e.name || e.url;
+function ZTe(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function $Te({ source: e }) {
+function QTe({ source: e }) {
return e.last_error ? /* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
color: "rose",
@@ -52727,7 +52742,7 @@ function $Te({ source: e }) {
children: "已暂停"
});
}
-function eEe({ source: e }) {
+function $Te({ source: e }) {
let t = e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
@@ -52736,27 +52751,27 @@ function eEe({ source: e }) {
} : null;
return /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${qz}`,
- dangerouslySetInnerHTML: { __html: ra(Qz(e), t, null, "performer") }
+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${Jz}`,
+ dangerouslySetInnerHTML: { __html: ra($z(e), t, null, "performer") }
});
}
-var tEe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
-function nEe(e) {
+var eEe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
+function tEe(e) {
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));
return n;
}
-function $z(e, t) {
+function eB(e, t) {
let n = e.length === 1 ? e[0] : null;
return cs({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${Qz(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${$z(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
});
}
-function rEe({ readOnly: e, toast: t }) {
+function nEe({ readOnly: e, toast: t }) {
let n = dt({
queryKey: Nn,
queryFn: ({ signal: e }) => Sr(e)
@@ -52781,13 +52796,13 @@ function rEe({ readOnly: e, toast: t }) {
},
onSuccess: (e) => {
let n = e.results.filter((e) => !e.ok), i = e.ids.length - n.length;
- if (s(/* @__PURE__ */ new Set()), Zz(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
+ if (s(/* @__PURE__ */ new Set()), Qz(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
let e = n[0];
r.setError(`${n.length} 条没有写入:${e.ok ? "" : z(e.error)}`);
}
},
onError: (e) => r.setError(z(e))
- }), m = (0, b.useMemo)(() => nEe(a), [a]), h = (0, b.useRef)({
+ }), m = (0, b.useMemo)(() => tEe(a), [a]), h = (0, b.useRef)({
readOnly: e,
shared: m,
busy: null,
@@ -52799,34 +52814,34 @@ function rEe({ readOnly: e, toast: t }) {
readOnly: e,
shared: m,
busy: r.busy,
- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => Cr(e.id, t, n), () => void Zz()),
- fetch: (e) => void r.run(`check-${e.id}`, (t) => Tr(t, [e.id]), () => void Zz()),
- remove: (e) => void $z([e], async () => {
- await wr(e.id), t(`已移除订阅源「${Qz(e)}」`), Zz();
+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => Cr(e.id, t, n), () => void Qz()),
+ fetch: (e) => void r.run(`check-${e.id}`, (t) => Tr(t, [e.id]), () => void Qz()),
+ remove: (e) => void eB([e], async () => {
+ await wr(e.id), t(`已移除订阅源「${$z(e)}」`), Qz();
})
};
let g = (0, b.useMemo)(() => {
- let e = tz(), t = (e) => () => XTe[e] || e;
+ let e = nz(), t = (e) => () => YTe[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)(nF, {
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(rF, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${Qz(e.row.original)}`
+ "aria-label": `选择 ${$z(e.row.original)}`
})
}),
- e.accessor(Qz, {
+ e.accessor($z, {
id: "name",
header: t("name"),
cell: (e) => {
- let t = tEe(e.row.original, h.current.shared);
+ let t = eEe(e.row.original, h.current.shared);
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
children: [
- /* @__PURE__ */ (0, x.jsx)(eEe, { source: e.row.original }),
+ /* @__PURE__ */ (0, x.jsx)($Te, { source: e.row.original }),
e.getValue(),
t ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -52854,13 +52869,13 @@ function rEe({ readOnly: e, toast: t }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: QTe(e.getValue())
+ children: ZTe(e.getValue())
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)($Te, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(QTe, { source: e.row.original })
}),
e.accessor((e) => Kn(e.interval_minutes), {
id: "interval",
@@ -52892,8 +52907,8 @@ function rEe({ readOnly: e, toast: t }) {
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, x.jsx)(Kz, {
- "aria-label": `启用 ${Qz(e.row.original)}`,
+ /* @__PURE__ */ (0, x.jsx)(qz, {
+ "aria-label": `启用 ${$z(e.row.original)}`,
isSelected: e.row.original.enabled,
isDisabled: h.current.readOnly,
onChange: (t) => h.current.toggle(e.row.original, t)
@@ -52903,7 +52918,7 @@ function rEe({ readOnly: e, toast: t }) {
size: "xs",
iconOnly: !0,
leadingIcon: MO,
- "aria-label": `拉取 ${Qz(e.row.original)}`,
+ "aria-label": `拉取 ${$z(e.row.original)}`,
disabled: h.current.readOnly,
...q(h.current.busy === `check-${e.row.original.id}`),
onClick: () => h.current.fetch(e.row.original)
@@ -52913,7 +52928,7 @@ function rEe({ readOnly: e, toast: t }) {
size: "xs",
iconOnly: !0,
leadingIcon: DO,
- "aria-label": `移除 ${Qz(e.row.original)}`,
+ "aria-label": `移除 ${$z(e.row.original)}`,
disabled: h.current.readOnly,
onClick: () => h.current.remove(e.row.original)
})
@@ -52921,7 +52936,7 @@ function rEe({ readOnly: e, toast: t }) {
})
})
];
- }, []), _ = (0, b.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = Gz({
+ }, []), _ = (0, b.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = Kz({
data: a,
columns: g,
getRowId: (e) => String(e.id),
@@ -52937,24 +52952,24 @@ function rEe({ readOnly: e, toast: t }) {
let t = typeof e == "function" ? e(_) : e;
s(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
},
- getCoreRowModel: Hz(),
- getPaginationRowModel: Uz()
+ getCoreRowModel: Uz(),
+ getPaginationRowModel: Wz()
});
if (!i) return n.error ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "打不开订阅源",
children: z(n.error)
}) : /* @__PURE__ */ (0, x.jsx)(Sk, { children: "正在读订阅源。" });
- let y = () => void r.run("check", (e) => Tr(e), () => void Zz()), S = (e) => s((t) => {
+ let y = () => void r.run("check", (e) => Tr(e), () => void Qz()), S = (e) => s((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
}), C = a.filter((e) => o.has(e.id)), w = a.filter((e) => e.last_error);
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, x.jsx)(UTe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(HTe, {
readOnly: e,
toast: t,
- onAdded: () => void Zz()
+ onAdded: () => void Qz()
}), /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": "JAV 订阅列表",
className: ck({
@@ -52991,7 +53006,7 @@ function rEe({ readOnly: e, toast: t }) {
children: w.map((e) => /* @__PURE__ */ (0, x.jsx)("li", {
className: "min-w-0 truncate",
title: e.last_error || "",
- children: `${Qz(e)}:${qn(e.last_error || "") || "未说明原因"}`
+ children: `${$z(e)}:${qn(e.last_error || "") || "未说明原因"}`
}, e.id))
}),
children: "这些订阅源这一轮没有取到新条目。"
@@ -53029,7 +53044,7 @@ function rEe({ readOnly: e, toast: t }) {
size: "small",
disabled: e,
...q(p.isPending),
- onClick: () => void $z(C, () => p.mutateAsync({
+ onClick: () => void eB(C, () => p.mutateAsync({
ids: C.map((e) => e.id),
action: "remove"
})),
@@ -53043,22 +53058,22 @@ function rEe({ readOnly: e, toast: t }) {
})
]
}),
- a.length ? /* @__PURE__ */ (0, x.jsx)(iF, {
+ a.length ? /* @__PURE__ */ (0, x.jsx)(aF, {
onRowClick: (e) => S(Number(e)),
- children: /* @__PURE__ */ (0, x.jsxs)(rF, {
+ children: /* @__PURE__ */ (0, x.jsxs)(iF, {
"aria-label": "JAV 订阅源",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsx)(fj, { children: v.getHeaderGroups()[0].headers.map((e) => {
- let t = Wz(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, x.jsx)(pj, {
+ children: [/* @__PURE__ */ (0, x.jsx)(pj, { children: v.getHeaderGroups()[0].headers.map((e) => {
+ let t = Gz(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, x.jsx)(mj, {
id: e.id,
isRowHeader: e.column.id === "name",
- children: ZTe.has(e.column.id) ? /* @__PURE__ */ (0, x.jsx)(Eb, { children: t }) : t
+ children: XTe.has(e.column.id) ? /* @__PURE__ */ (0, x.jsx)(Eb, { children: t }) : t
}, e.id);
- }) }), /* @__PURE__ */ (0, x.jsx)(hj, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, x.jsx)(vj, {
+ }) }), /* @__PURE__ */ (0, x.jsx)(gj, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, x.jsx)(yj, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(bj, { children: Wz(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(xj, { children: Gz(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
}) : /* @__PURE__ */ (0, x.jsx)(lk, {
@@ -53074,19 +53089,19 @@ function rEe({ readOnly: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: `${(f.start + 1).toLocaleString()}–${f.end.toLocaleString()} / ${f.total.toLocaleString()} 个订阅源`
}),
- /* @__PURE__ */ (0, x.jsx)(YP, {
+ /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(u),
onSelectionChange: (e) => {
e !== null && (d(Number(e)), l(1));
},
- children: In.map((e) => /* @__PURE__ */ (0, x.jsx)(XP, {
+ children: In.map((e) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: String(e),
children: `每页 ${e} 条`
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(Xz, {
+ /* @__PURE__ */ (0, x.jsx)(Zz, {
label: "JAV 订阅分页",
page: f.page,
pages: f.pages,
@@ -53108,12 +53123,12 @@ function rEe({ readOnly: e, toast: t }) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var eB = [
+var tB = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"]
-], tB = (e) => eB.some(([t]) => t === e);
-function nB({ term: e, figure: t, unit: n }) {
+], nB = (e) => tB.some(([t]) => t === e);
+function rB({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: ck({
padding: "none",
@@ -53135,8 +53150,8 @@ function nB({ term: e, figure: t, unit: n }) {
})]
});
}
-function iEe(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, openServiceConfiguration: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, b.useState)(tB(e.tab) ? e.tab : "list"), [d, f] = (0, b.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, b.useState)(() => sn(e.sort, e.dir).sort), [h, g] = (0, b.useState)(() => sn(e.sort, e.dir).dir), [_, v] = (0, b.useState)(zn(e.layout) ? e.layout : "default"), [y, S] = (0, b.useState)(Bn(e.pageSize)), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), T = dt({
+function rEe(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, openServiceConfiguration: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, b.useState)(nB(e.tab) ? e.tab : "list"), [d, f] = (0, b.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, b.useState)(() => sn(e.sort, e.dir).sort), [h, g] = (0, b.useState)(() => sn(e.sort, e.dir).dir), [_, v] = (0, b.useState)(zn(e.layout) ? e.layout : "default"), [y, S] = (0, b.useState)(Bn(e.pageSize)), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), T = dt({
queryKey: kn,
queryFn: ({ signal: e }) => cr(e)
}), E = dt({
@@ -53179,64 +53194,64 @@ function iEe(e) {
children: s
}) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: uye,
+ className: lye,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, x.jsx)(nB, {
+ /* @__PURE__ */ (0, x.jsx)(rB, {
term: "关注创作者",
figure: M.length,
unit: "位"
}),
- /* @__PURE__ */ (0, x.jsx)(nB, {
+ /* @__PURE__ */ (0, x.jsx)(rB, {
term: "启用来源",
figure: P,
unit: `/ ${A.length}`
}),
- /* @__PURE__ */ (0, x.jsx)(nB, {
+ /* @__PURE__ */ (0, x.jsx)(rB, {
term: "检查失败",
figure: N,
unit: "个来源"
}),
- /* @__PURE__ */ (0, x.jsx)(nB, {
+ /* @__PURE__ */ (0, x.jsx)(rB, {
term: "未看更新",
figure: O.counts?.new || 0,
unit: "条"
}),
- /* @__PURE__ */ (0, x.jsx)(nB, {
+ /* @__PURE__ */ (0, x.jsx)(rB, {
term: "JAV 订阅",
figure: F,
unit: "位"
}),
- /* @__PURE__ */ (0, x.jsx)(nB, {
+ /* @__PURE__ */ (0, x.jsx)(rB, {
term: "未看新作",
figure: D.data?.unread || 0,
unit: "条"
})
]
}),
- /* @__PURE__ */ (0, x.jsxs)(wj, {
+ /* @__PURE__ */ (0, x.jsxs)(Tj, {
selectedKey: l,
onSelectionChange: (e) => {
let t = String(e);
- tB(t) && (u(t), j({ tab: t }));
+ nB(t) && (u(t), j({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, x.jsx)(Tj, {
+ /* @__PURE__ */ (0, x.jsx)(Ej, {
"aria-label": "关注管理区域",
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: eB.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(Ej, {
+ children: tB.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(Dj, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: t
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(Dj, {
+ /* @__PURE__ */ (0, x.jsx)(Oj, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, x.jsx)(YTe, {
+ children: /* @__PURE__ */ (0, x.jsx)(JTe, {
data: O,
sort: p,
dir: h,
@@ -53266,16 +53281,16 @@ function iEe(e) {
}
})
}),
- /* @__PURE__ */ (0, x.jsxs)(Dj, {
+ /* @__PURE__ */ (0, x.jsxs)(Oj, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, x.jsx)(eTe, {
+ children: [/* @__PURE__ */ (0, x.jsx)($we, {
data: O,
credentials: k,
readOnly: o,
toast: r,
openCredentials: a
- }), /* @__PURE__ */ (0, x.jsx)(rTe, {
+ }), /* @__PURE__ */ (0, x.jsx)(nTe, {
groups: O.author_aliases || [],
readOnly: o,
toast: r,
@@ -53283,10 +53298,10 @@ function iEe(e) {
sources: O.sources
})]
}),
- /* @__PURE__ */ (0, x.jsx)(Dj, {
+ /* @__PURE__ */ (0, x.jsx)(Oj, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, x.jsx)(rEe, {
+ children: /* @__PURE__ */ (0, x.jsx)(nEe, {
readOnly: o,
toast: r
})
@@ -53302,15 +53317,15 @@ function iEe(e) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function rB({ value: e }) {
+function iB({ value: e }) {
return /* @__PURE__ */ (0, x.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 aEe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
-function iB({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
+var iEe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
+function aB({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
let a = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
let e = a.current;
@@ -53334,14 +53349,14 @@ function iB({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
},
className: `relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0 ${i}`,
children: e.map((e) => {
- let n = e.symbol ? Ij(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? Lj(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
role: "tab",
"data-tab": e.value,
"aria-selected": i,
tabIndex: i ? 0 : -1,
- className: aEe,
+ className: iEe,
onClick: () => {
i || r(e.value);
},
@@ -53352,12 +53367,12 @@ function iB({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
}
//#endregion
//#region src/react/index/index-tags.tsx
-var aB = () => /* @__PURE__ */ (0, x.jsx)("span", {
+var oB = () => /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function oEe({ tag: e, actions: t }) {
+function aEe({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center gap-1",
@@ -53365,13 +53380,13 @@ function oEe({ tag: e, actions: t }) {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": GF(t.online, e.cat),
+ "data-tag-cat": KF(t.online, e.cat),
"aria-pressed": n,
title: e.label,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 flex-1 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [
- /* @__PURE__ */ (0, x.jsx)(aB, {}),
+ /* @__PURE__ */ (0, x.jsx)(oB, {}),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -53381,7 +53396,7 @@ function oEe({ tag: e, actions: t }) {
children: e.n.toLocaleString()
})
]
- }), t.online ? null : /* @__PURE__ */ (0, x.jsx)(Uj, { item: {
+ }), t.online ? null : /* @__PURE__ */ (0, x.jsx)(Wj, { item: {
kind: "tag",
name: e.k,
entity_id: e.entity_id,
@@ -53389,7 +53404,7 @@ function oEe({ tag: e, actions: t }) {
} })]
});
}
-function sEe({ groups: e, actions: t }) {
+function oEe({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
@@ -53402,10 +53417,10 @@ function sEe({ groups: e, actions: t }) {
}),
children: [/* @__PURE__ */ (0, x.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, x.jsx)(rB, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, x.jsx)(iB, { value: n.length })]
}), /* @__PURE__ */ (0, x.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, x.jsx)(oEe, {
+ children: n.map((e) => /* @__PURE__ */ (0, x.jsx)(aEe, {
tag: e,
actions: t
}, e.k))
@@ -53413,8 +53428,8 @@ function sEe({ groups: e, actions: t }) {
}, e))
});
}
-var cEe = "\xA0";
-function lEe({ tags: e, actions: t }) {
+var sEe = "\xA0";
+function cEe({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -53424,16 +53439,16 @@ function lEe({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": GF(t.online, e.cat),
+ "data-tag-cat": KF(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 + cEe, /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [e.label + sEe, /* @__PURE__ */ (0, x.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
})]
- }), t.online ? null : /* @__PURE__ */ (0, x.jsx)(Uj, { item: {
+ }), t.online ? null : /* @__PURE__ */ (0, x.jsx)(Wj, { item: {
kind: "tag",
name: e.k,
entity_id: e.entity_id,
@@ -53442,7 +53457,7 @@ function lEe({ tags: e, actions: t }) {
}, e.k))
});
}
-var uEe = [[
+var lEe = [[
"cloud",
"标签云",
"tags"
@@ -53451,16 +53466,16 @@ var uEe = [[
"字母表",
"text-aa"
]];
-function dEe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+function uEe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
return /* @__PURE__ */ (0, x.jsx)(Uk, {
label: "标签筛选",
topLabel: "标签类型",
top: e.map(([e, r]) => /* @__PURE__ */ (0, x.jsxs)(Wk, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : GF(n, e),
+ "data-tag-cat": e === "all" ? "all" : KF(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, x.jsx)(aB, {}), r]
+ children: [/* @__PURE__ */ (0, x.jsx)(oB, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("span", {
@@ -53479,19 +53494,19 @@ function dEe({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, x.jsx)(YA, {
+ /* @__PURE__ */ (0, x.jsx)(XA, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${Xj}`,
- children: uEe.map(([e, t, n]) => {
- let r = Ij(n);
- return /* @__PURE__ */ (0, x.jsx)(XA, {
+ className: `ml-auto ${Zj}`,
+ children: lEe.map(([e, t, n]) => {
+ let r = Lj(n);
+ return /* @__PURE__ */ (0, x.jsx)(ZA, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: Zj,
+ className: Qj,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: t,
className: "contents",
@@ -53503,13 +53518,13 @@ function dEe({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function fEe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+function dEe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
return /* @__PURE__ */ (0, x.jsxs)(Ww, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e.toLocaleString()} 个标签`,
children: [
- /* @__PURE__ */ (0, x.jsx)(nF, {
+ /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -53541,7 +53556,7 @@ function fEe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var pEe = [{
+var fEe = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -53549,7 +53564,7 @@ var pEe = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], mEe = [{
+}], pEe = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -53557,7 +53572,7 @@ var pEe = [{
value: "online",
label: "在线",
symbol: "rss"
-}], hEe = [
+}], mEe = [
{
value: "performers",
label: "艺人",
@@ -53573,7 +53588,7 @@ var pEe = [{
label: "在线",
symbol: "rss"
}
-], gEe = {
+], hEe = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -53593,20 +53608,20 @@ var pEe = [{
"layout-grid"
]]
};
-function _Ee({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, x.jsx)(qj, {
- "aria-label": `${PF[e]}索引版式`,
+function gEe({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, x.jsx)(Jj, {
+ "aria-label": `${FF[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${Jj}`,
- children: gEe[zF(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = Ij(n);
- return /* @__PURE__ */ (0, x.jsx)(XA, {
+ className: `flex-none max-board-narrow:order-3 ${Yj}`,
+ children: hEe[BF(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = Lj(n);
+ return /* @__PURE__ */ (0, x.jsx)(ZA, {
value: e,
"aria-label": t,
- className: Vge,
+ className: Bge,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: t,
className: "contents",
@@ -53616,8 +53631,8 @@ function _Ee({ kind: e, layout: t, onChange: n }) {
})
});
}
-var vEe = Ij("search");
-function yEe({ label: e, value: t, onQuery: n }) {
+var _Ee = Lj("search");
+function vEe({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, b.useState)(t), a = (0, b.useRef)(!1), o = (0, b.useRef)(void 0);
(0, b.useEffect)(() => () => clearTimeout(o.current), []);
let s = (e) => {
@@ -53632,15 +53647,15 @@ function yEe({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, x.jsx)(kj, {
+ children: /* @__PURE__ */ (0, x.jsx)(Aj, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, x.jsx)(jj, {
+ children: /* @__PURE__ */ (0, x.jsx)(Mj, {
type: "search",
- leadingIcon: vEe,
+ leadingIcon: _Ee,
spellCheck: !1,
autoComplete: "off",
enterKeyHint: "search",
@@ -53651,14 +53666,14 @@ function yEe({ label: e, value: t, onQuery: n }) {
})
});
}
-function bEe(e) {
- let [t, n] = (0, b.useState)(() => BF({
+function yEe(e) {
+ let [t, n] = (0, b.useState)(() => VF({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, i] = (0, b.useState)(e.layout), [a, o] = (0, b.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, b.useState)("any"), l = (0, b.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = PF[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";
+ })), [r, i] = (0, b.useState)(e.layout), [a, o] = (0, b.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, b.useState)("any"), l = (0, b.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = FF[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";
(0, b.useEffect)(() => {
if (t.kind === e.kind && t.scope === e.scope && t.category === e.category) return;
let n = !0;
@@ -53676,7 +53691,7 @@ function bEe(e) {
...r
};
y(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, C = WF(VF(t)), w = pt({
+ }, C = GF(HF(t)), w = pt({
queryKey: C.queryKey,
queryFn: ({ pageParam: e, signal: t }) => C.queryFn({
pageParam: e,
@@ -53685,7 +53700,7 @@ function bEe(e) {
initialPageParam: 0,
getNextPageParam: C.getNextPageParam,
placeholderData: v ? de : void 0
- }), T = $be(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = exe(T.length, !!w.hasNextPage), O = `${u}:${f}:${d}`, k = (0, b.useRef)(null), A = w.data?.pages[0]?.categories;
+ }), T = Qbe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = $be(T.length, !!w.hasNextPage), O = `${u}:${f}:${d}`, k = (0, b.useRef)(null), A = w.data?.pages[0]?.categories;
A && !w.isPlaceholderData && (k.current = {
key: O,
counts: A
@@ -53697,14 +53712,14 @@ function bEe(e) {
let P = (0, b.useMemo)(() => u === "tags" ? T.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [T, u]), ee = (0, b.useMemo)(() => u === "tags" && p === "alphabet" ? rxe(P, (t) => e.tagLabel(t)) : [], [
+ })) : [], [T, u]), ee = (0, b.useMemo)(() => u === "tags" && p === "alphabet" ? nxe(P, (t) => e.tagLabel(t)) : [], [
P,
p,
u
]), F = (t) => {
i(t), e.savePreference({ layout: t });
- }, te = u === "tags" ? /* @__PURE__ */ (0, x.jsx)(iB, {
- tabs: mEe,
+ }, te = u === "tags" ? /* @__PURE__ */ (0, x.jsx)(aB, {
+ tabs: pEe,
value: f,
label: "词表",
onChange: (e) => {
@@ -53714,8 +53729,8 @@ function bEe(e) {
view: e === "online" ? "alphabet" : p
});
}
- }) : zF(u) ? /* @__PURE__ */ (0, x.jsx)(iB, {
- tabs: pEe,
+ }) : BF(u) ? /* @__PURE__ */ (0, x.jsx)(aB, {
+ tabs: fEe,
value: u,
label: "公司类型",
onChange: (e) => S({ kind: e })
@@ -53724,7 +53739,7 @@ function bEe(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
}) : e.showTags([t], "all");
- }, re = (g ? IF : FF).filter(N);
+ }, re = (g ? LF : IF).filter(N);
return /* @__PURE__ */ (0, x.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -53739,22 +53754,22 @@ function bEe(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: h
}),
- RF(u) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ zF(u) ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: w.isPending || w.isError ? "" : D
}) : null,
- RF(u) ? /* @__PURE__ */ (0, x.jsx)(_Ee, {
+ zF(u) ? /* @__PURE__ */ (0, x.jsx)(gEe, {
kind: u,
layout: r,
onChange: F
}) : null,
- /* @__PURE__ */ (0, x.jsx)(Wj, { kind: u === "tags" ? "tag" : u === "studios" ? "studio" : u === "agencies" ? "agency" : u === "creators" ? "creator" : "performer" }),
+ /* @__PURE__ */ (0, x.jsx)(Gj, { kind: u === "tags" ? "tag" : u === "studios" ? "studio" : u === "agencies" ? "agency" : u === "creators" ? "creator" : "performer" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, x.jsx)(yEe, {
+ /* @__PURE__ */ (0, x.jsx)(vEe, {
label: `过滤${h}`,
value: d,
onQuery: (e) => {
@@ -53763,8 +53778,8 @@ function bEe(e) {
})
]
}),
- u === "performers" || u === "creators" ? /* @__PURE__ */ (0, x.jsx)(iB, {
- tabs: hEe,
+ u === "performers" || u === "creators" ? /* @__PURE__ */ (0, x.jsx)(aB, {
+ tabs: mEe,
value: _ ? "online" : u,
label: "人物名册",
onChange: (t) => {
@@ -53778,8 +53793,8 @@ function bEe(e) {
te,
u === "performers" && f === "local" ? /* @__PURE__ */ (0, x.jsx)("div", {
"aria-label": "身份分类",
- className: NF,
- children: MF.filter((e) => e[0] === m || N(e)).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(G, {
+ className: PF,
+ children: NF.filter((e) => e[0] === m || N(e)).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(G, {
variant: m === e ? "primary" : "secondary",
size: "small",
"aria-pressed": m === e,
@@ -53787,7 +53802,7 @@ function bEe(e) {
children: t
}, e))
}) : null,
- u === "tags" ? /* @__PURE__ */ (0, x.jsx)(dEe, {
+ u === "tags" ? /* @__PURE__ */ (0, x.jsx)(uEe, {
categories: re,
category: m,
online: g,
@@ -53813,7 +53828,7 @@ function bEe(e) {
}) }
});
if (w.isError) return /* @__PURE__ */ (0, x.jsx)(lk, {
- icon: Ij("alert"),
+ icon: Lj("alert"),
title: `没能读取${h}`,
actions: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -53822,18 +53837,18 @@ function bEe(e) {
}),
children: _t(w.error)
});
- if (!T.length) return /* @__PURE__ */ (0, x.jsx)(SEe, {
+ if (!T.length) return /* @__PURE__ */ (0, x.jsx)(xEe, {
kind: u,
filtered: !!d || m !== "all",
online: g || _,
configurable: e.configurable
});
- if (_) return /* @__PURE__ */ (0, x.jsx)(oxe, {
+ if (_) return /* @__PURE__ */ (0, x.jsx)(axe, {
items: T,
layout: r,
props: e
});
- if (RF(u)) return /* @__PURE__ */ (0, x.jsx)(JF, {
+ if (zF(u)) return /* @__PURE__ */ (0, x.jsx)(YF, {
kind: u,
items: T,
layout: r,
@@ -53844,10 +53859,10 @@ function bEe(e) {
picked: a,
press: ne
};
- return p === "alphabet" ? /* @__PURE__ */ (0, x.jsx)(sEe, {
+ return p === "alphabet" ? /* @__PURE__ */ (0, x.jsx)(oEe, {
groups: ee,
actions: t
- }) : /* @__PURE__ */ (0, x.jsx)(lEe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(cEe, {
tags: P,
actions: t
});
@@ -53868,7 +53883,7 @@ function bEe(e) {
}) : "载入更多"
})
}) : null,
- u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, x.jsx)(fEe, {
+ u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, x.jsx)(dEe, {
count: a.size,
match: s,
onMatch: c,
@@ -53881,16 +53896,16 @@ function bEe(e) {
]
});
}
-var xEe = {
+var bEe = {
tags: "标签",
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所"
};
-function SEe({ kind: e, filtered: t, online: n, configurable: r }) {
+function xEe({ kind: e, filtered: t, online: n, configurable: r }) {
if (t) return /* @__PURE__ */ (0, x.jsx)(lk, {
- icon: Ij("search"),
+ icon: Lj("search"),
title: "没有符合条件的内容",
actions: /* @__PURE__ */ (0, x.jsx)(sk, {
variant: "primary",
@@ -53899,13 +53914,13 @@ function SEe({ kind: e, filtered: t, online: n, configurable: r }) {
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : xEe[e], a = /* @__PURE__ */ (0, x.jsx)(sk, {
+ let i = n && e === "performers" ? "创作者" : bEe[e], a = /* @__PURE__ */ (0, x.jsx)(sk, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
});
return /* @__PURE__ */ (0, x.jsx)(lk, {
- icon: Ij(e === "tags" ? "tags" : "user-round"),
+ icon: Lj(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [r ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "primary",
@@ -53915,15 +53930,15 @@ function SEe({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var oB = {
+var sB = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, CEe = (e) => oB[e.junk_kind || "other"] || oB.other;
-function wEe(e) {
+}, SEe = (e) => sB[e.junk_kind || "other"] || sB.other;
+function CEe(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -53934,21 +53949,21 @@ function wEe(e) {
glyph: "check"
};
}
-var sB = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), TEe = (e, t) => [
+var cB = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), wEe = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function EEe({ kind: e, view: t }) {
+function TEe({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function DEe(e, t) {
- let n = await B(`/api/ads?${EEe(e)}`, t);
+async function EEe(e, t) {
+ let n = await B(`/api/ads?${TEe(e)}`, t);
return {
...n,
items: n.items || []
@@ -53956,19 +53971,19 @@ async function DEe(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function cB({ name: e }) {
+function lB({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-var lB = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function OEe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
- let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), d = e.junk_kind || "other", [f, p] = CEe(e), m = String(e.name || ""), h = wEe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {
- t.target.closest("[data-junk-actions]") || lB(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+var uB = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function DEe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
+ let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), d = e.junk_kind || "other", [f, p] = SEe(e), m = String(e.name || ""), h = CEe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {
+ t.target.closest("[data-junk-actions]") || uB(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- t.stopPropagation(), lB(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
+ t.stopPropagation(), uB(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
}, S = (t) => {
t.preventDefault(), t.stopPropagation(), s !== "reveal" && (c("reveal"), u(""), a.reveal(e).then(u, () => {}).finally(() => c("")));
}, C = (t) => (n) => {
@@ -53999,7 +54014,7 @@ function OEe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"data-junk-kind": d,
"data-selected": n ? "" : void 0,
onClick: v,
- onMouseDown: OM,
+ onMouseDown: kM,
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
@@ -54007,7 +54022,7 @@ function OEe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, x.jsx)(cB, { name: p }), /* @__PURE__ */ (0, x.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, x.jsx)(lB, { name: p }), /* @__PURE__ */ (0, x.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-art": "thumb",
@@ -54019,7 +54034,7 @@ function OEe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, x.jsx)(cB, { name: "check" })
+ children: /* @__PURE__ */ (0, x.jsx)(lB, { name: "check" })
})
]
}),
@@ -54056,7 +54071,7 @@ function OEe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [s === "reveal" ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: $a("正在定位") }
- }) : /* @__PURE__ */ (0, x.jsx)(cB, { name: "folder-open" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ }) : /* @__PURE__ */ (0, x.jsx)(lB, { name: "folder-open" }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -54068,7 +54083,7 @@ function OEe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": h.label,
...w(h.operation),
onClick: C(h.operation),
- children: [/* @__PURE__ */ (0, x.jsx)(cB, { name: h.glyph }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(lB, { name: h.glyph }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -54080,7 +54095,7 @@ function OEe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...w("dispose"),
onClick: C("dispose"),
- children: [/* @__PURE__ */ (0, x.jsx)(cB, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(lB, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -54095,7 +54110,7 @@ function OEe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var kEe = (0, b.memo)(OEe), uB = [
+var OEe = (0, b.memo)(DEe), dB = [
[
"",
"全部",
@@ -54131,65 +54146,65 @@ var kEe = (0, b.memo)(OEe), uB = [
"其它",
"hard-drive"
]
-], AEe = (e) => uB.find(([t]) => t === e)?.[0] ?? "";
-function dB(e) {
+], kEe = (e) => dB.find(([t]) => t === e)?.[0] ?? "";
+function fB(e) {
let t = new URLSearchParams(e);
return {
- kind: AEe(t.get("type")),
+ kind: kEe(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
-function fB(e = "", t = "pending") {
+function pB(e = "", t = "pending") {
let n = new URLSearchParams();
e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");
let r = n.toString();
return `/junk-files${r ? `?${r}` : ""}`;
}
-function pB(e) {
+function mB(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: fB("", "pending")
+ href: pB("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: fB("", "dismissed")
+ href: pB("", "dismissed")
};
}
-var mB = (e) => e === "dismissed" ? "已排除" : "待判断", hB = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
-function jEe({ kind: e, view: t }) {
- let n = uB.map(([n, r, i]) => `<a href="${fB(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${hB(i)}${R(r)}</a>`).join(""), r = pB(t);
- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${DP(mB(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${hB(r.glyph)}${r.label}</a></nav></div></div></div>`;
+var hB = (e) => e === "dismissed" ? "已排除" : "待判断", gB = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
+function AEe({ kind: e, view: t }) {
+ let n = dB.map(([n, r, i]) => `<a href="${pB(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${gB(i)}${R(r)}</a>`).join(""), r = mB(t);
+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${OP(hB(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${gB(r.glyph)}${r.label}</a></nav></div></div></div>`;
}
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function gB({ name: e }) {
+function _B({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-function _B({ scope: e, count: t }) {
+function vB({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function MEe({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = VP(), a = (0, b.useRef)(null), { kind: o, view: s } = e, c = Kk(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? uB.map(([e]) => sB(t, e)).join(",") : ""}`), l = pB(s), u = (e) => {
+function jEe({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = HP(), a = (0, b.useRef)(null), { kind: o, view: s } = e, c = Kk(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? dB.map(([e]) => cB(t, e)).join(",") : ""}`), l = mB(s), u = (e) => {
let t = e.target.closest("a");
- !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || fB()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || pB()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, x.jsx)(LR, {
- label: mB(s),
+ children: /* @__PURE__ */ (0, x.jsx)(RR, {
+ label: hB(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -54209,17 +54224,17 @@ function MEe({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- uB.map(([e, n, r]) => /* @__PURE__ */ (0, x.jsxs)("a", {
- href: fB(e, s),
+ dB.map(([e, n, r]) => /* @__PURE__ */ (0, x.jsxs)("a", {
+ href: pB(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, x.jsx)(gB, { name: r }),
+ /* @__PURE__ */ (0, x.jsx)(_B, { name: r }),
n,
- /* @__PURE__ */ (0, x.jsx)(_B, {
+ /* @__PURE__ */ (0, x.jsx)(vB, {
scope: e,
- count: t ? sB(t, e) : 0
+ count: t ? cB(t, e) : 0
})
]
}, e || "all")),
@@ -54233,9 +54248,9 @@ function MEe({ route: e, page: t, failed: n, onNavigate: r }) {
"aria-current": s === "dismissed" ? "page" : void 0,
onPointerEnter: s === "dismissed" ? void 0 : c.hover,
children: [
- /* @__PURE__ */ (0, x.jsx)(gB, { name: l.glyph }),
+ /* @__PURE__ */ (0, x.jsx)(_B, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, x.jsx)(_B, {
+ /* @__PURE__ */ (0, x.jsx)(vB, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -54248,33 +54263,33 @@ function MEe({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var NEe = Ij("check"), PEe = (e, t) => e[1] === t.view && e[2] === t.kind;
-function FEe(e) {
+var MEe = Lj("check"), NEe = (e, t) => e[1] === t.view && e[2] === t.kind;
+function PEe(e) {
let t = {
kind: e.kind,
view: e.view
}, n = dt({
- queryKey: TEe(t, e.revision),
- queryFn: ({ signal: e }) => DEe(t, e),
- placeholderData: (e, n) => n && PEe(n.queryKey, t) ? e : void 0
+ queryKey: wEe(t, e.revision),
+ queryFn: ({ signal: e }) => EEe(t, e),
+ placeholderData: (e, n) => n && NEe(n.queryKey, t) ? e : void 0
});
(0, b.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = IEe(e.countRow), i = n.isPending;
+ let r = FEe(e.countRow), i = n.isPending;
(0, b.useLayoutEffect)(() => {
let t = e.countRow;
t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, i]), (0, b.useLayoutEffect)(() => {
r && n.data && uo(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(MEe, {
+ let { navigate: a } = e.actions, o = r ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(jEe, {
route: t,
page: n.data,
failed: n.isError && !n.data,
onNavigate: a
}), r) : null;
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [o, /* @__PURE__ */ (0, x.jsx)(LEe, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [o, /* @__PURE__ */ (0, x.jsx)(IEe, {
props: e,
data: n.data,
pending: i,
@@ -54282,7 +54297,7 @@ function FEe(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function IEe(e) {
+function FEe(e) {
let [t, n] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
if (!e) return;
@@ -54292,8 +54307,8 @@ function IEe(e) {
};
}, [e]), t;
}
-function LEe({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = wM(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, b.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, b.useCallback)(() => {
+function IEe({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = TM(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, b.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, b.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
return /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -54301,14 +54316,14 @@ function LEe({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-grid-reveal": a.fading ? "" : void 0,
children: [a.layer, (() => {
if (n) return null;
- if (!t) return /* @__PURE__ */ (0, x.jsx)(TM, {
+ if (!t) return /* @__PURE__ */ (0, x.jsx)(EM, {
message: _t(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
return /* @__PURE__ */ (0, x.jsx)(lk, {
- icon: NEe,
+ icon: MEe,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -54318,7 +54333,7 @@ function LEe({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-media-grid": "",
"data-junk-grid": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: u.map((t) => /* @__PURE__ */ (0, x.jsx)(kEe, {
+ children: u.map((t) => /* @__PURE__ */ (0, x.jsx)(OEe, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -54327,7 +54342,7 @@ function LEe({ props: e, data: t, pending: n, error: r, retry: i }) {
actions: e.actions
}, t.id))
}),
- u.length < l.length ? /* @__PURE__ */ (0, x.jsx)(REe, { onMore: f }, s) : null,
+ u.length < l.length ? /* @__PURE__ */ (0, x.jsx)(LEe, { onMore: f }, s) : null,
u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, x.jsx)("p", {
"data-junk-truncated": "",
className: "py-6 text-center text-caption-1-regular text-text-secondary",
@@ -54337,7 +54352,7 @@ function LEe({ props: e, data: t, pending: n, error: r, retry: i }) {
})()]
});
}
-function REe({ onMore: e }) {
+function LEe({ onMore: e }) {
let t = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
let n = t.current;
@@ -54355,7 +54370,7 @@ function REe({ onMore: e }) {
}
//#endregion
//#region src/react/components/source-avatar.tsx
-function vB({ code: e, person: t, detail: n = !1 }) {
+function yB({ code: e, person: t, detail: n = !1 }) {
let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(n || typeof IntersectionObserver > "u");
(0, b.useEffect)(() => {
if (!r.current || i) return;
@@ -54389,12 +54404,12 @@ function vB({ code: e, person: t, detail: n = !1 }) {
}
//#endregion
//#region src/react/jav/discovery-faces.tsx
-function zEe({ item: e }) {
+function REe({ item: e }) {
let t = e.performer_refs?.length ? e.performer_refs : [...new Set(e.performers.split(/[,,、;/]/).filter(Boolean))].map((e) => ({ name: e }));
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-media-avatars": "",
children: t.slice(0, 3).map((t) => {
- let n = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, x.jsx)(vB, {
+ let n = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, x.jsx)(yB, {
code: e.code,
person: t
}) } : { dangerouslySetInnerHTML: { __html: ra(t.name, t, null) } };
@@ -54413,18 +54428,18 @@ function zEe({ item: e }) {
}
//#endregion
//#region src/react/jav/jav-navigation.ts
-var yB = [
+var bB = [
["library", "馆藏"],
["discover", "发现"],
["wants", "想要"]
-], bB = (e) => yB.some(([t]) => t === e) ? e : "library", BEe = (e) => bB(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
-function VEe(e) {
+], xB = (e) => bB.some(([t]) => t === e) ? e : "library", zEe = (e) => xB(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
+function BEe(e) {
let t = new URLSearchParams(e);
return t.delete("tab"), t.set("jav", "1"), "/?" + t;
}
//#endregion
//#region src/react/jav/discovery-sorts.ts
-var xB = [
+var SB = [
[
"taste",
"口味",
@@ -54451,10 +54466,10 @@ var xB = [
"按番号排序"
]
];
-function SB(e) {
+function CB(e) {
return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";
}
-function HEe(e) {
+function VEe(e) {
if (typeof e != "number" || !Number.isFinite(e)) return {
score: "—",
label: "资料未取得",
@@ -54480,8 +54495,8 @@ function HEe(e) {
}
//#endregion
//#region src/jav-skeleton.ts
-var CB = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, UEe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, wB = "w-full min-w-0";
-function TB() {
+var wB = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, HEe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, TB = "w-full min-w-0";
+function EB() {
return [
"w-20",
"w-16",
@@ -54491,8 +54506,8 @@ function TB() {
"w-24"
].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-7.5 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");
}
-function EB(e, t = FT()) {
- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${CB("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${UEe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${CB("80%")}${CB("60%")}${CB("40%")}</div></div>`).join("")}</div>`;
+function DB(e, t = FT()) {
+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${wB("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${HEe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${wB("80%")}${wB("60%")}${wB("40%")}</div></div>`).join("")}</div>`;
let n = UT({
...HT({
active: !0,
@@ -54501,62 +54516,62 @@ function EB(e, t = FT()) {
}),
size: t
});
- return `<div data-media-grid class="${wB}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card class="flex min-w-0 flex-col gap-3">
+ return `<div data-media-grid class="${TB}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card class="flex min-w-0 flex-col gap-3">
<span data-jav-skeleton-cover class="skeleton block w-full rounded-2lg" style="aspect-ratio:${n}"></span>
- <div class="flex h-10 flex-col">${CB("85%")}${CB("65%")}</div>
- <div class="flex h-10 items-center gap-2"><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span>${CB("55%")}</div>
+ <div class="flex h-10 flex-col">${wB("85%")}${wB("65%")}</div>
+ <div class="flex h-10 items-center gap-2"><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span>${wB("55%")}</div>
<div data-media-tags><span class="skeleton block h-5 w-20 rounded-md"></span><span class="skeleton block h-5 w-24 rounded-md"></span></div>
<div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div>
</div>`).join("")}</div>`;
}
-function WEe(e) {
+function UEe(e) {
let t = e === "wants" ? "筛选想要" : "筛选推荐";
return `<div class="peach-react"><div class="flex w-full flex-col gap-6">
- <div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${TP({
+ <div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${EP({
variant: "primary",
label: "查找资源",
attrs: "disabled data-skeleton-action"
})}</div>
- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${yB.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>
- <form aria-label="${t}">${wP("筛选番号、女优或标题", "", t)}</form>
- ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${CB("100%")}</div>${EB(e)}` : `<section class="flex min-w-0 flex-col gap-4">${GEe()}<div data-jav-metadata class="flex min-w-0 flex-wrap items-center justify-between gap-3">${TP({
+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${bB.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>
+ <form aria-label="${t}">${TP("筛选番号、女优或标题", "", t)}</form>
+ ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${wB("100%")}</div>${DB(e)}` : `<section class="flex min-w-0 flex-col gap-4">${WEe()}<div data-jav-metadata class="flex min-w-0 flex-wrap items-center justify-between gap-3">${EP({
variant: "secondary",
size: "small",
label: "更新资料",
attrs: "disabled data-skeleton-action"
- })}</div>${EB(e)}</section>`}</div></div>`;
+ })}</div>${DB(e)}</section>`}</div></div>`;
}
-function GEe() {
- let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-7.5 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${FT() === e ? "data-selected=\"true\"" : ""} class="flex size-7.5 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${CP(t, "size-4")}</span>`;
+function WEe() {
+ let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-7.5 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${FT() === e ? "data-selected=\"true\"" : ""} class="flex size-7.5 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${wP(t, "size-4")}</span>`;
return `<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col">
<div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">
- <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${TB()}</div></div>
+ <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${EB()}</div></div>
</div>
<div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2">
<span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>
<span data-entity-sorts><span data-entity-layout class="inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg">${t("big", "maximize")}${t("small", "layout-grid")}</span>
- ${xB.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? CP("arrow-down", "size-3.5") : ""}</button>`).join("")}
+ ${SB.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? wP("arrow-down", "size-3.5") : ""}</button>`).join("")}
</span>
</div>
</div>`;
}
//#endregion
//#region src/react/activity/work-code.ts
-var DB = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), OB = (e, t) => !!DB(e) && DB(e) === DB(t);
+var OB = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), kB = (e, t) => !!OB(e) && OB(e) === OB(t);
//#endregion
//#region src/react/activity/resource-search.tsx
-function KEe({ className: e }) {
+function GEe({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
className: e,
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: $a("") }
});
}
-function qEe(e) {
+function KEe(e) {
return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";
}
-function JEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
- let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(() => qEe(t)), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(null), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(""), y = mk(), S = (0, b.useRef)(null);
+function qEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
+ let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(() => KEe(t)), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(null), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(""), y = mk(), S = (0, b.useRef)(null);
(0, b.useEffect)(() => () => S.current?.abort(), []);
let C = () => {
if (!a.trim() || y.busy) return;
@@ -54572,7 +54587,7 @@ function JEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
let e = new AbortController();
S.current = e, B(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {
if (e.signal.aborted) return;
- let r = (n.items || []).find((e) => OB(e.code, t));
+ let r = (n.items || []).find((e) => kB(e.code, t));
i(r ? {
code: r.code,
title: String(r.catalog_title || r.name || ""),
@@ -54598,13 +54613,13 @@ function JEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
] }) : null,
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "按番号查找资源",
value: a,
maxLength: 80,
placeholder: "输入番号,按回车搜索",
enterKeyHint: "search",
- leadingIcon: y.busy ? KEe : NO,
+ leadingIcon: y.busy ? GEe : NO,
isReadOnly: !!y.busy,
"aria-busy": !!y.busy,
onChange: o,
@@ -54614,7 +54629,7 @@ function JEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, x.jsx)(wk, { children: "优先寻找" }), /* @__PURE__ */ (0, x.jsxs)(YP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(wk, { children: "优先寻找" }), /* @__PURE__ */ (0, x.jsxs)(XP, {
"aria-label": "优先寻找",
selectedKey: s,
isDisabled: !!y.busy,
@@ -54622,15 +54637,15 @@ function JEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
e !== null && c(String(e));
},
children: [
- /* @__PURE__ */ (0, x.jsx)(XP, {
+ /* @__PURE__ */ (0, x.jsx)(ZP, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, x.jsx)(XP, {
+ /* @__PURE__ */ (0, x.jsx)(ZP, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, x.jsx)(XP, {
+ /* @__PURE__ */ (0, x.jsx)(ZP, {
id: "uncensored",
children: "无码"
})
@@ -54639,12 +54654,12 @@ function JEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex gap-3 max-sm:flex-col",
- children: [/* @__PURE__ */ (0, x.jsx)(Mj, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Nj, {
label: "最小体积(GiB)",
inputMode: "decimal",
value: l,
onChange: u
- }), /* @__PURE__ */ (0, x.jsx)(Mj, {
+ }), /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "最大体积(GiB)",
inputMode: "decimal",
value: d,
@@ -54699,19 +54714,19 @@ function JEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}
//#endregion
//#region src/react/activity/cloud-download-dialog.tsx
-var YEe = {
+var JEe = {
submitted: "已提交离线下载,进度在活动页",
adopted: "这个磁力已有任务,没有重复提交",
adopted_remote: "远端已有同一任务,已接管"
};
-function kB({ prefill: e, close: t, receipt: n, provider: r }) {
- return /* @__PURE__ */ (0, x.jsx)(Nj, {
+function AB({ prefill: e, close: t, receipt: n, provider: r }) {
+ return /* @__PURE__ */ (0, x.jsx)(Pj, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
},
width: "form",
- children: e ? /* @__PURE__ */ (0, x.jsx)(XEe, {
+ children: e ? /* @__PURE__ */ (0, x.jsx)(YEe, {
prefill: e,
close: t,
receipt: n,
@@ -54719,7 +54734,7 @@ function kB({ prefill: e, close: t, receipt: n, provider: r }) {
}) : null
});
}
-function XEe({ prefill: e, close: t, receipt: n, provider: r }) {
+function YEe({ prefill: e, close: t, receipt: n, provider: r }) {
let i = dt({
queryKey: Rk,
queryFn: ({ signal: e }) => B(`${Lk}?limit=50`, e),
@@ -54738,7 +54753,7 @@ function XEe({ prefill: e, close: t, receipt: n, provider: r }) {
onClick: t
})]
});
- return a ? /* @__PURE__ */ (0, x.jsx)(ZEe, {
+ return a ? /* @__PURE__ */ (0, x.jsx)(XEe, {
header: o,
snapshot: a,
prefill: e,
@@ -54767,7 +54782,7 @@ function XEe({ prefill: e, close: t, receipt: n, provider: r }) {
]
});
}
-function ZEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
+function XEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
let o = C(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, b.useState)(c?.key || "pikpak"), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(n.code ?? ""), [h, g] = (0, b.useState)(c?.target || ""), [_, v] = (0, b.useState)(n.code ? n : null), [y, S] = (0, b.useState)(""), w = t.available && s.some((e) => e.key === l), T = mk(), E = (0, b.useRef)(null), D = (e) => {
u(e), g(s.find((t) => t.key === e)?.target ?? "");
};
@@ -54786,7 +54801,7 @@ function ZEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
};
S(""), T.run("submit", (e) => V(Lk, t, "POST", e), (e) => {
o.invalidateQueries({ queryKey: Rk });
- let t = YEe[e.outcome];
+ let t = JEe[e.outcome];
if (e.ok && t) {
i(t), r();
return;
@@ -54823,22 +54838,22 @@ function ZEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
].filter(Boolean).join(" · ") }) : null]
})]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(JEe, {
+ /* @__PURE__ */ (0, x.jsx)(qEe, {
initialCode: n.code ?? "",
reason: n.searchReason,
onSearch: (e) => {
- OB(e, _?.code) || (v(OB(e, n.code) ? n : null), f("")), m(e);
+ kB(e, _?.code) || (v(kB(e, n.code) ? n : null), f("")), m(e);
},
- onWork: (e) => v((t) => e ? OB(t?.code, e.code) ? {
+ onWork: (e) => v((t) => e ? kB(t?.code, e.code) ? {
...t,
...e,
origin: t?.origin || e.origin
- } : e : OB(t?.code, n.code) ? t : null),
+ } : e : kB(t?.code, n.code) ? t : null),
choose: (e, t) => {
f(e), m(t), E.current?.focus();
}
}),
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
ref: E,
label: "磁力链接",
placeholder: "magnet:?xt=urn:btih:…",
@@ -54851,14 +54866,14 @@ function ZEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
className: "flex flex-col gap-1",
children: [
/* @__PURE__ */ (0, x.jsx)(wk, { children: "下载到" }),
- /* @__PURE__ */ (0, x.jsx)(YP, {
+ /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "下载到",
selectedKey: l,
isDisabled: !s.length,
onSelectionChange: (e) => {
e !== null && D(String(e));
},
- children: s.map((e) => /* @__PURE__ */ (0, x.jsx)(XP, {
+ children: s.map((e) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e.key,
textValue: e.label,
children: /* @__PURE__ */ (0, x.jsx)(Ik, {
@@ -54881,7 +54896,7 @@ function ZEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: "下载渠道设置"
})]
}),
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "目标目录",
placeholder: "/云下载",
autoComplete: "off",
@@ -54889,14 +54904,14 @@ function ZEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
value: h,
onChange: g
}),
- n.code ? null : /* @__PURE__ */ (0, x.jsx)(Mj, {
+ n.code ? null : /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "番号",
placeholder: "可不填",
autoComplete: "off",
maxLength: 60,
value: p,
onChange: (e) => {
- m(e), OB(e, _?.code) || v(null);
+ m(e), kB(e, _?.code) || v(null);
}
}),
y || T.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: y || T.error }) : null
@@ -54920,18 +54935,18 @@ function ZEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
}
//#endregion
//#region src/react/wants/wants.ts
-var AB = "/api/wants", jB = ["wants"], QEe = (e) => [
+var jB = "/api/wants", MB = ["wants"], ZEe = (e) => [
"wants",
"follow",
e
-], $Ee = [
+], QEe = [
["searching", "待找"],
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], MB = (e) => B(AB, e);
-function eDe(e, t) {
- H.setQueryData(jB, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
+], NB = (e) => B(jB, e);
+function $Ee(e, t) {
+ H.setQueryData(MB, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
...n,
items: n.items.map((n) => n.id === e ? {
...n,
@@ -54939,26 +54954,26 @@ function eDe(e, t) {
} : n)
} : n);
}
-var tDe = (e, t) => B(`${AB}?follow=${encodeURIComponent(e)}`, t), NB = (e, t) => V(AB, {
+var eDe = (e, t) => B(`${jB}?follow=${encodeURIComponent(e)}`, t), PB = (e, t) => V(jB, {
action: "add",
...e
-}, "POST", t), PB = (e, t) => V(AB, {
+}, "POST", t), FB = (e, t) => V(jB, {
action: "remove",
ids: e
-}, "POST", t), nDe = (e, t) => V(AB, {
+}, "POST", t), tDe = (e, t) => V(jB, {
action: "reset",
ids: e
-}, "POST", t), FB = () => H.invalidateQueries({ queryKey: jB }), IB = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
-function rDe(e) {
+}, "POST", t), IB = () => H.invalidateQueries({ queryKey: MB }), LB = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+function nDe(e) {
return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";
}
//#endregion
//#region src/react/publication-cache.ts
-var LB = 864e5, RB = (e) => {
+var RB = 864e5, zB = (e) => {
let t = new Date(e);
return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());
};
-function zB(e) {
+function BB(e) {
let t = /^(\d{4})-(\d{2})-(\d{2})(?:$|T)/.exec(e || "");
if (!t) return;
let n = Number(t[1]), r = Number(t[2]) - 1, i = Number(t[3]), a = new Date(Date.UTC(n, r, i));
@@ -54966,26 +54981,26 @@ function zB(e) {
let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();
return Date.UTC(n, r + 1, Math.min(i, o));
}
-function iDe(e, t = Date.now()) {
- let n = zB(e);
- return n !== void 0 && RB(t) > n ? Infinity : LB;
+function rDe(e, t = Date.now()) {
+ let n = BB(e);
+ return n !== void 0 && zB(t) > n ? Infinity : RB;
}
-function BB(e, t, n = Date.now()) {
- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : iDe(t, n) === Infinity ? RB(e) > zB(t) : n - e < LB;
+function VB(e, t, n = Date.now()) {
+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : rDe(t, n) === Infinity ? zB(e) > BB(t) : n - e < RB;
}
//#endregion
//#region src/react/wants/resource-cache.ts
-var VB = "peach.want-resources.v1";
-function HB(e) {
+var HB = "peach.want-resources.v1";
+function UB(e) {
return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);
}
-function UB(e, t, n) {
- return !!e && !e.cache_stale && (e.state === "error" || !HB(e) ? Date.now() - t < 6e4 : BB(t, n));
+function WB(e, t, n) {
+ return !!e && !e.cache_stale && (e.state === "error" || !UB(e) ? Date.now() - t < 6e4 : VB(t, n));
}
-function WB() {
+function GB() {
try {
- let e = JSON.parse(localStorage.getItem(VB) || "[]");
- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && HB(e.result) && e.result.items.every((e) => e && [
+ let e = JSON.parse(localStorage.getItem(HB) || "[]");
+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && UB(e.result) && e.result.items.every((e) => e && [
"magnet",
"ed2k",
"url"
@@ -54994,23 +55009,23 @@ function WB() {
return [];
}
}
-function aDe(e, t) {
- let n = WB().find((t) => t.code === e);
- return n && BB(n.saved, t) ? n : void 0;
+function iDe(e, t) {
+ let n = GB().find((t) => t.code === e);
+ return n && VB(n.saved, t) ? n : void 0;
}
-function oDe(e) {
- let t = new Map(WB().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
+function aDe(e) {
+ let t = new Map(GB().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
for (let r of e) {
if (!r.code) continue;
let e = t.get(`all-sources:${r.code}`);
- e && BB(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
+ e && VB(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
}
return n;
}
-function sDe(e, t) {
- if (t.state === "ready" && HB(t)) try {
- let n = WB().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
- localStorage.setItem(VB, JSON.stringify([{
+function oDe(e, t) {
+ if (t.state === "ready" && UB(t)) try {
+ let n = GB().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
+ localStorage.setItem(HB, JSON.stringify([{
code: e,
saved: Number.isFinite(r) ? r : Date.now(),
result: t
@@ -55019,16 +55034,16 @@ function sDe(e, t) {
}
//#endregion
//#region src/react/wants/resource-display.ts
-function cDe(e) {
+function sDe(e) {
let t = /^([\d,]+)\s*B$/i.exec(e.trim());
return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? Ut(Number(t[1].replaceAll(",", ""))) : e || "大小未知";
}
-function lDe(e) {
+function cDe(e) {
return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;
}
//#endregion
//#region src/react/wants/want-magnets.tsx
-function GB({ icon: e, children: t, title: n }) {
+function KB({ icon: e, children: t, title: n }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
title: n,
className: "inline-flex items-center gap-1",
@@ -55038,8 +55053,8 @@ function GB({ icon: e, children: t, title: n }) {
}), t]
});
}
-function KB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
- let s = (0, b.useRef)(null), [c, l] = (0, b.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, b.useState)([]), f = mk(), p = C(), m = (0, b.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, b.useMemo)(() => aDe(h, e.release_date), [h, e.release_date]);
+function qB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
+ let s = (0, b.useRef)(null), [c, l] = (0, b.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, b.useState)([]), f = mk(), p = C(), m = (0, b.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, b.useMemo)(() => iDe(h, e.release_date), [h, e.release_date]);
(0, b.useEffect)(() => {
if (!s.current || c) return;
let e = new IntersectionObserver((t) => {
@@ -55059,22 +55074,22 @@ function KB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
],
queryFn: async ({ signal: t }) => {
let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await B(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);
- return m.current = n && i.state === "busy", sDe(h, i), i;
+ return m.current = n && i.state === "busy", oDe(h, i), i;
},
initialData: g?.result,
initialDataUpdatedAt: g?.saved,
enabled: c,
retry: !1,
- staleTime: (t) => UB(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
+ staleTime: (t) => WB(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
gcTime: 864e5,
- refetchOnMount: (t) => !UB(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
+ refetchOnMount: (t) => !WB(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
refetchOnWindowFocus: !1,
refetchInterval: (e) => e.state.data?.state === "busy" && 3e3
});
(0, b.useEffect)(() => {
_.data?.source_url && a?.(_.data.source_url);
}, [_.data?.source_url, a]), (0, b.useEffect)(() => {
- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && eDe(e.id, _.data.items.some((e) => e.protocol === "magnet"));
+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && $Ee(e.id, _.data.items.some((e) => e.protocol === "magnet"));
}, [
_.data,
o,
@@ -55127,7 +55142,7 @@ function KB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}) : null,
_.data?.warnings?.map((e) => /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
- children: lDe(e)
+ children: cDe(e)
}, e)),
_.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, x.jsx)(sk, {
variant: "secondary",
@@ -55172,25 +55187,25 @@ function KB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
"data-resource-facts": "",
className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",
children: [
- /* @__PURE__ */ (0, x.jsx)(GB, {
+ /* @__PURE__ */ (0, x.jsx)(KB, {
icon: gde,
children: e.source
}),
- /* @__PURE__ */ (0, x.jsx)(GB, {
+ /* @__PURE__ */ (0, x.jsx)(KB, {
icon: kO,
title: `来源大小:${e.size}`,
- children: cDe(e.size)
+ children: sDe(e.size)
}),
- e.files ? /* @__PURE__ */ (0, x.jsx)(GB, {
+ e.files ? /* @__PURE__ */ (0, x.jsx)(KB, {
icon: sde,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, x.jsx)(GB, {
+ /* @__PURE__ */ (0, x.jsx)(KB, {
icon: $ue,
title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",
children: e.date ? e.date.slice(0, 10) : "日期未知"
}),
- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, x.jsx)(GB, {
+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, x.jsx)(KB, {
icon: jO,
children: e
}, e))
@@ -55248,21 +55263,21 @@ function KB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}
//#endregion
//#region src/react/wants/want-list.tsx
-var uDe = {
+var lDe = {
code: "手动添加",
feed: "订阅新作",
follow: "关注"
-}, dDe = [
+}, uDe = [
["all", "全部"],
["available", "有磁链"],
["missing", "没磁链"]
-], qB = (e) => [
+], JB = (e) => [
e.release_date,
e.studio,
e.performers,
- uDe[e.origin]
+ lDe[e.origin]
].filter(Boolean).join(" · ");
-function fDe({ want: e }) {
+function dDe({ want: e }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "relative inline-grid w-card-cover shrink-0 aspect-card-cover place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default max-sm:w-24",
children: [/* @__PURE__ */ (0, x.jsx)("span", {
@@ -55278,7 +55293,7 @@ function fDe({ want: e }) {
}) : null]
});
}
-function pDe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
+function fDe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
let [l, u] = (0, b.useState)(""), d = e.link || l || (e.code ? `https://javdb.com/search?q=${encodeURIComponent(e.code)}&f=all` : "");
return /* @__PURE__ */ (0, x.jsxs)("li", {
"data-want-id": e.id,
@@ -55288,29 +55303,29 @@ function pDe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
}),
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-start gap-4 max-sm:gap-3",
- children: [/* @__PURE__ */ (0, x.jsx)(fDe, { want: e }), /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(dDe, { want: e }), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-1",
children: [
/* @__PURE__ */ (0, x.jsxs)("p", {
className: "flex min-w-0 flex-wrap items-baseline gap-x-2",
children: [/* @__PURE__ */ (0, x.jsx)("b", {
className: "min-w-0 text-headline-medium wrap-anywhere text-text-primary",
- children: IB(e)
+ children: LB(e)
}), e.code && e.title ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 truncate text-body-2-regular text-text-secondary",
children: e.title
}) : null]
}),
- qB(e) ? /* @__PURE__ */ (0, x.jsx)("p", {
+ JB(e) ? /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: qB(e)
+ children: JB(e)
}) : null,
!e.code || e.phase === "unreleased" || e.phase === "acquired" ? /* @__PURE__ */ (0, x.jsx)("p", {
"data-want-note": "",
className: "text-caption-1-regular text-text-secondary",
- children: rDe(e)
+ children: nDe(e)
}) : null,
- e.scrape_error ? /* @__PURE__ */ (0, x.jsx)(XR, {
+ e.scrape_error ? /* @__PURE__ */ (0, x.jsx)(ZR, {
text: e.scrape_error,
prefix: "资料未取得:",
tone: "muted"
@@ -55355,7 +55370,7 @@ function pDe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
})
]
})]
- }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, x.jsx)(KB, {
+ }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, x.jsx)(qB, {
want: e,
readOnly: t,
downloads: o,
@@ -55365,8 +55380,8 @@ function pDe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
}) : null]
});
}
-function mDe({ phase: e, label: t, rows: n, row: r }) {
- let [i, a] = (0, b.useState)(1), [o, s] = (0, b.useState)("all"), c = oDe(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = ir(d.length, 20, i);
+function pDe({ phase: e, label: t, rows: n, row: r }) {
+ let [i, a] = (0, b.useState)(1), [o, s] = (0, b.useState)("all"), c = aDe(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = ir(d.length, 20, i);
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": t,
"data-want-phase": e,
@@ -55380,19 +55395,19 @@ function mDe({ phase: e, label: t, rows: n, row: r }) {
className: "text-body-2-regular tabular-nums text-text-secondary",
children: n.length.toLocaleString()
})]
- }), e === "searching" ? /* @__PURE__ */ (0, x.jsx)(qj, {
+ }), e === "searching" ? /* @__PURE__ */ (0, x.jsx)(Jj, {
name: "want-magnet-filter",
"aria-label": "待找磁链筛选",
orientation: "horizontal",
value: o,
- className: Jj,
+ className: Yj,
onChange: (e) => {
s(e), a(1);
},
- children: dDe.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(XA, {
+ children: uDe.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(ZA, {
value: e,
"aria-label": t,
- className: Yj,
+ className: Xj,
children: [t, /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-caption-1-regular tabular-nums text-text-tertiary",
children: (e === "all" ? n.length : e === "available" ? u.length : n.length - u.length).toLocaleString()
@@ -55416,7 +55431,7 @@ function mDe({ phase: e, label: t, rows: n, row: r }) {
children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular tabular-nums text-text-secondary",
children: `${(f.start + 1).toLocaleString()}–${f.end.toLocaleString()} / ${f.total.toLocaleString()} 条`
- }), /* @__PURE__ */ (0, x.jsx)(Xz, {
+ }), /* @__PURE__ */ (0, x.jsx)(Zz, {
label: `${t}分页`,
page: f.page,
pages: f.pages,
@@ -55426,26 +55441,26 @@ function mDe({ phase: e, label: t, rows: n, row: r }) {
]
});
}
-function hDe({ readOnly: e, toast: t, query: n = "" }) {
+function mDe({ readOnly: e, toast: t, query: n = "" }) {
let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), s = mk(), c = dt({
- queryKey: jB,
- queryFn: ({ signal: e }) => MB(e),
+ queryKey: MB,
+ queryFn: ({ signal: e }) => NB(e),
staleTime: 3e4,
refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1
}), l = () => {
let n = r.trim();
- n && !e && s.run("add", (e) => NB({ code: n }, e), (e) => {
- t(e.created ? `已加入想要:${IB(e.want)}` : `${IB(e.want)} 已经在想要里`), i(""), FB();
+ n && !e && s.run("add", (e) => PB({ code: n }, e), (e) => {
+ t(e.created ? `已加入想要:${LB(e.want)}` : `${LB(e.want)} 已经在想要里`), i(""), IB();
});
}, u = (e) => {
e.key === "Enter" && !e.nativeEvent.isComposing && (e.preventDefault(), l());
}, d = (e) => {
- s.run(`remove:${e.id}`, (t) => PB([e.id], t), () => {
- t(`已移除:${IB(e)}`), FB();
+ s.run(`remove:${e.id}`, (t) => FB([e.id], t), () => {
+ t(`已移除:${LB(e)}`), IB();
});
}, f = (e) => {
- s.run(`reset:${e.id}`, (t) => nDe([e.id], t), () => {
- t(`${IB(e)} 回到待找`), FB();
+ s.run(`reset:${e.id}`, (t) => tDe([e.id], t), () => {
+ t(`${LB(e)} 回到待找`), IB();
});
}, p = c.data, m = (p?.items || []).filter((e) => !n || [
e.code,
@@ -55474,7 +55489,7 @@ function hDe({ readOnly: e, toast: t, query: n = "" }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-64 grow max-sm:min-w-0",
- children: /* @__PURE__ */ (0, x.jsx)(Mj, {
+ children: /* @__PURE__ */ (0, x.jsx)(Nj, {
"aria-label": "番号",
placeholder: "输入番号,例如 SSIS-950",
value: r,
@@ -55505,7 +55520,7 @@ function hDe({ readOnly: e, toast: t, query: n = "" }) {
c.isPending ? /* @__PURE__ */ (0, x.jsx)("div", {
role: "status",
"aria-label": "正在读取想要",
- dangerouslySetInnerHTML: { __html: EB("wants") }
+ dangerouslySetInnerHTML: { __html: DB("wants") }
}) : null,
p?.scraping ? /* @__PURE__ */ (0, x.jsx)(Sk, {
role: "status",
@@ -55533,13 +55548,13 @@ function hDe({ readOnly: e, toast: t, query: n = "" }) {
title: n ? "没有符合条件的作品" : "还没有想要的作品",
children: n ? "试试其他番号、女优或标题。" : "输入番号,添加想看的作品。"
}) : null,
- $Ee.map(([n, r]) => {
+ QEe.map(([n, r]) => {
let i = m.filter((e) => e.phase === n);
- return i.length ? /* @__PURE__ */ (0, x.jsx)(mDe, {
+ return i.length ? /* @__PURE__ */ (0, x.jsx)(pDe, {
phase: n,
label: r,
rows: i,
- row: (n) => /* @__PURE__ */ (0, x.jsx)(pDe, {
+ row: (n) => /* @__PURE__ */ (0, x.jsx)(fDe, {
want: n,
readOnly: e,
busy: s.busy,
@@ -55560,7 +55575,7 @@ function hDe({ readOnly: e, toast: t, query: n = "" }) {
}, n.id)
}, n) : null;
}),
- /* @__PURE__ */ (0, x.jsx)(kB, {
+ /* @__PURE__ */ (0, x.jsx)(AB, {
prefill: a,
close: () => o(null),
receipt: t,
@@ -55571,13 +55586,13 @@ function hDe({ readOnly: e, toast: t, query: n = "" }) {
}
//#endregion
//#region src/react/jav/jav.ts
-var JB = (e, t = "taste", n = "desc") => [
+var YB = (e, t = "taste", n = "desc") => [
"jav-discoveries",
e,
t,
n
];
-function YB(e, t, n = {}) {
+function XB(e, t, n = {}) {
let r = new URLSearchParams({
scope: e,
limit: "100",
@@ -55586,27 +55601,27 @@ function YB(e, t, n = {}) {
});
return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), B(`/api/jav/discoveries?${r}`, t);
}
-function XB(e, t, n) {
+function ZB(e, t, n) {
let r = ua({
...e,
is_jav: !0
}, t, !1, n);
return r.html || !e.cover_url ? r.html : ca(e, t).replace(/ src="[^"]*"/, ` src="${R(e.cover_url)}" referrerpolicy="no-referrer" data-jav-image="${e.id}" data-jav-cover="${R(e.cover_url)}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`);
}
-async function gDe(e, t) {
+async function hDe(e, t) {
e === "wants" ? await H.ensureQueryData({
- queryKey: jB,
- queryFn: () => MB(t),
+ queryKey: MB,
+ queryFn: () => NB(t),
staleTime: 3e4,
revalidateIfStale: !0
}) : e === "discover" && await H.fetchQuery({
- queryKey: JB("external"),
- queryFn: () => YB("external", t)
+ queryKey: YB("external"),
+ queryFn: () => XB("external", t)
});
}
//#endregion
//#region src/react/jav/jav-header.tsx
-function ZB({ tab: e, navigate: t, find: n }) {
+function QB({ tab: e, navigate: t, find: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex w-full flex-col gap-4",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -55620,25 +55635,25 @@ function ZB({ tab: e, navigate: t, find: n }) {
onClick: n,
children: "查找资源"
})]
- }), /* @__PURE__ */ (0, x.jsx)(iB, {
- tabs: yB.map(([e, t]) => ({
+ }), /* @__PURE__ */ (0, x.jsx)(aB, {
+ tabs: bB.map(([e, t]) => ({
value: e,
label: t
})),
value: e,
label: "JAV 分区",
className: "",
- onChange: (e) => t(BEe(e))
+ onChange: (e) => t(zEe(e))
})]
});
}
-function _De({ navigate: e, receipt: t }) {
+function gDe({ navigate: e, receipt: t }) {
let [n, r] = (0, b.useState)(null);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(ZB, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(QB, {
tab: "library",
navigate: e,
find: () => r({})
- }), /* @__PURE__ */ (0, x.jsx)(kB, {
+ }), /* @__PURE__ */ (0, x.jsx)(AB, {
prefill: n,
close: () => r(null),
receipt: t
@@ -55646,13 +55661,13 @@ function _De({ navigate: e, receipt: t }) {
}
//#endregion
//#region src/react/jav/jav-page.tsx
-var vDe = Ij("search");
-function yDe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
+var _De = Lj("search");
+function vDe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
let [i, a] = (0, b.useState)(null), [o, s] = (0, b.useState)("");
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex w-full flex-col gap-6",
children: [
- /* @__PURE__ */ (0, x.jsx)(ZB, {
+ /* @__PURE__ */ (0, x.jsx)(QB, {
tab: e,
navigate: n,
find: () => a({})
@@ -55662,29 +55677,29 @@ function yDe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
onSubmit: (e) => {
e.preventDefault();
},
- children: /* @__PURE__ */ (0, x.jsx)(Mj, {
+ children: /* @__PURE__ */ (0, x.jsx)(Nj, {
type: "search",
"aria-label": e === "discover" ? "筛选推荐" : "筛选想要",
placeholder: "筛选番号、女优或标题",
- leadingIcon: vDe,
+ leadingIcon: _De,
value: o,
onChange: s,
enterKeyHint: "search"
})
}),
- e === "discover" ? /* @__PURE__ */ (0, x.jsx)(bDe, {
+ e === "discover" ? /* @__PURE__ */ (0, x.jsx)(yDe, {
readOnly: t,
receipt: r,
resource: a,
query: o.trim(),
navigate: n,
clearText: () => s("")
- }) : /* @__PURE__ */ (0, x.jsx)(hDe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(mDe, {
readOnly: t,
toast: r,
query: o.trim()
}),
- /* @__PURE__ */ (0, x.jsx)(kB, {
+ /* @__PURE__ */ (0, x.jsx)(AB, {
prefill: i,
close: () => a(null),
receipt: r
@@ -55692,7 +55707,7 @@ function yDe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
]
});
}
-function bDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
+function yDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
let [o, s] = (0, b.useState)("external"), [c, l] = (0, b.useState)(""), [u, d] = (0, b.useState)("taste"), [f, p] = (0, b.useState)(!1), m = (0, b.useRef)(null);
(0, b.useEffect)(() => {
let e = [...m.current?.querySelectorAll("[data-catalog-scroll],[data-catalog-tags],[data-filter-row=\"bottom\"]") || []].map((e) => Po(e, { drag: !0 }));
@@ -55705,12 +55720,12 @@ function bDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
home: !1,
portrait: !1
})), v = (0, b.useRef)({}), y = (0, b.useRef)(!1), S = (0, b.useRef)(!1), C = f ? "asc" : "desc", w = dt({
- queryKey: JB(o, u, C),
+ queryKey: YB(o, u, C),
retry: !1,
refetchOnWindowFocus: !1,
queryFn: ({ signal: e }) => {
let t = y.current, n = S.current;
- return y.current = !1, S.current = !1, YB(o, e, {
+ return y.current = !1, S.current = !1, XB(o, e, {
sort: u,
direction: C,
jobId: t ? void 0 : v.current[o],
@@ -55771,7 +55786,7 @@ function bDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
})]
}), /* @__PURE__ */ (0, x.jsx)("div", {
"data-catalog-tags": "",
- dangerouslySetInnerHTML: M ? { __html: TB() } : void 0,
+ dangerouslySetInnerHTML: M ? { __html: EB() } : void 0,
children: M ? null : A.map((e) => /* @__PURE__ */ (0, x.jsxs)(Wk, {
"data-catalog-tag": e,
"data-entity-press": "",
@@ -55801,13 +55816,13 @@ function bDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}) : null,
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
- children: [/* @__PURE__ */ (0, x.jsx)(vM, {
+ children: [/* @__PURE__ */ (0, x.jsx)(yM, {
label: "JAV 卡片版式",
value: g,
options: AT,
onChange: WT
- }), /* @__PURE__ */ (0, x.jsx)(bM, {
- sorts: xB.map(([e, t, n]) => ({
+ }), /* @__PURE__ */ (0, x.jsx)(xM, {
+ sorts: SB.map(([e, t, n]) => ({
key: e,
label: t,
ariaLabel: n,
@@ -55824,7 +55839,7 @@ function bDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
M ? /* @__PURE__ */ (0, x.jsx)("div", {
role: "status",
"aria-label": "正在读取推荐",
- dangerouslySetInnerHTML: { __html: EB("discover", g) }
+ dangerouslySetInnerHTML: { __html: DB("discover", g) }
}) : null,
w.error ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -55836,7 +55851,7 @@ function bDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
className: "flex min-w-0 flex-wrap items-center justify-between gap-3",
children: [T?.status === "running" ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(GP, {
+ children: /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
label: `正在读取作品资料 · ${T.completed} / ${T.total} 部`,
value: T.completed,
@@ -55882,13 +55897,13 @@ function bDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}) : null,
/* @__PURE__ */ (0, x.jsx)("div", {
"data-media-grid": "",
- className: wB,
+ className: TB,
style: { "--card-ratio": _ },
children: j.map((r) => {
- let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = XB(r, g, h.value.javImage), s = HEe(r.taste_score ?? r.score), u = [
+ let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = ZB(r, g, h.value.javImage), s = VEe(r.taste_score ?? r.score), u = [
s.label,
- `口味 ${SB(r.taste_score ?? r.score)}`,
- w.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${SB(r.ranking_score)}` : "",
+ `口味 ${CB(r.taste_score ?? r.score)}`,
+ w.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${CB(r.ranking_score)}` : "",
r.source_score == null ? "" : `来源评分 ${r.source_score.toFixed(1)} / 5`,
...r.reasons || []
].filter(Boolean).join(" · ");
@@ -55908,12 +55923,12 @@ function bDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"data-media-pic": "",
"data-jav-cover-box": "",
className: "relative inline-grid place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default",
- children: o ? /* @__PURE__ */ (0, x.jsx)(EM, {
+ children: o ? /* @__PURE__ */ (0, x.jsx)(DM, {
artwork: {
kind: "cover",
html: o
},
- identity: XB(r, "small", h.value.javImage),
+ identity: ZB(r, "small", h.value.javImage),
relayout: (e) => zs(e, g)
}) : /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-nopic": "",
@@ -55933,7 +55948,7 @@ function bDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"data-jav-identity": "",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-jav-faces": "",
- children: /* @__PURE__ */ (0, x.jsx)(zEe, { item: r })
+ children: /* @__PURE__ */ (0, x.jsx)(REe, { item: r })
}), /* @__PURE__ */ (0, x.jsx)("p", {
className: "min-w-0 truncate text-body-2-regular text-text-secondary",
title: a,
@@ -55979,8 +55994,8 @@ function bDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
disabled: e || r.wanted || !!r.asset_id,
...q(E.busy === String(r.id)),
onClick: () => {
- E.run(String(r.id), (e) => NB({ code: r.code }, e), () => {
- t("已加入想要"), FB(), w.refetch();
+ E.run(String(r.id), (e) => PB({ code: r.code }, e), () => {
+ t("已加入想要"), IB(), w.refetch();
});
},
children: r.asset_id ? "已入库" : r.wanted ? "已加入想要" : "想要"
@@ -56005,12 +56020,12 @@ function bDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var QB = "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", xDe = {
- gray: `${QB} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${QB} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${QB} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var $B = "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", bDe = {
+ gray: `${$B} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${$B} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${$B} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function SDe({ value: e, max: t }) {
+function xDe({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, x.jsxs)("svg", {
role: "progressbar",
@@ -56038,16 +56053,16 @@ function SDe({ value: e, max: t }) {
})]
});
}
-function CDe(e) {
- let { job: t } = KP(e), n = t.data, r = t.isError ? n ? QM : z(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function SDe(e) {
+ let { job: t } = qP(e), n = t.data, r = t.isError ? n ? $M : z(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
if (!r && !o && !a) return null;
- let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : eN(n) + (c ? ` · ${Pk(l, c)}` : "")), d = s === "gray" ? pde : ide;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : tN(n) + (c ? ` · ${Pk(l, c)}` : "")), d = s === "gray" ? pde : ide;
return /* @__PURE__ */ (0, x.jsxs)("aside", {
role: a ? "alert" : "status",
- className: xDe[s],
+ className: bDe[s],
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && c ? /* @__PURE__ */ (0, x.jsx)(SDe, {
+ children: [o && c ? /* @__PURE__ */ (0, x.jsx)(xDe, {
value: l,
max: c
}) : /* @__PURE__ */ (0, x.jsx)(d, {
@@ -56067,32 +56082,32 @@ function CDe(e) {
}
//#endregion
//#region src/react/playlists/playlists.ts
-var wDe = "/api/playlists", $B = "/api/playlist", eV = ["playlists"], tV = (e) => B(wDe, e);
-async function TDe(e) {
+var CDe = "/api/playlists", eV = "/api/playlist", tV = ["playlists"], nV = (e) => B(CDe, e);
+async function wDe(e) {
await H.fetchQuery({
- queryKey: eV,
- queryFn: () => tV(e),
+ queryKey: tV,
+ queryFn: () => nV(e),
staleTime: 0
});
}
-var nV = () => H.invalidateQueries({
- queryKey: eV,
+var rV = () => H.invalidateQueries({
+ queryKey: tV,
exact: !0
-}), EDe = (e) => e.current_asset_id || e.preview_asset_id || null, rV = (e) => `/poster?id=${e}&c=4`, DDe = (e) => V($B, {
+}), TDe = (e) => e.current_asset_id || e.preview_asset_id || null, iV = (e) => `/poster?id=${e}&c=4`, EDe = (e) => V(eV, {
action: "create",
name: e,
asset_ids: []
-}), iV = (e, t) => V($B, {
+}), aV = (e, t) => V(eV, {
action: "rename",
id: e,
name: t
-}), aV = (e) => V($B, {
+}), oV = (e) => V(eV, {
action: "delete",
id: e
-}), ODe = (e) => B(`${$B}?id=${e}`).catch(() => null);
-function kDe(e) {
+}), DDe = (e) => B(`${eV}?id=${e}`).catch(() => null);
+function ODe(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return V($B, {
+ return V(eV, {
action: "create",
name: e.name,
asset_ids: t,
@@ -56102,18 +56117,18 @@ function kDe(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var ADe = Ij("ellipsis"), jDe = Ij("pencil"), MDe = Ij("trash"), NDe = Ij("playlist"), oV = nk(bP, xP, "text-body-2-medium"), sV = "播放列表名称不能为空", cV = (e) => async () => {
+var kDe = Lj("ellipsis"), ADe = Lj("pencil"), jDe = Lj("trash"), MDe = Lj("playlist"), sV = nk(xP, SP, "text-body-2-medium"), cV = "播放列表名称不能为空", lV = (e) => async () => {
try {
await e();
} finally {
- nV();
+ rV();
}
};
-function PDe({ toast: e }) {
+function NDe({ toast: e }) {
let [t, n] = (0, b.useState)(""), [r, i] = (0, b.useState)(""), a = ft({
- mutationFn: (e) => DDe(e),
+ mutationFn: (e) => EDe(e),
onSuccess: (t) => {
- n(""), i(""), nV(), e("已新建播放列表", { undo: cV(() => aV(t.playlist.id)) });
+ n(""), i(""), rV(), e("已新建播放列表", { undo: lV(() => oV(t.playlist.id)) });
},
onError: (e) => i(z(e) || "新建失败")
});
@@ -56121,12 +56136,12 @@ function PDe({ toast: e }) {
"data-playlist-create": "",
"aria-label": "新建播放列表",
onSubmit: (e) => {
- e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(sV));
+ e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(cV));
},
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none",
- children: /* @__PURE__ */ (0, x.jsx)(Mj, {
+ children: /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -56145,7 +56160,7 @@ function PDe({ toast: e }) {
})]
});
}
-function FDe({ target: e, close: t, toast: n }) {
+function PDe({ target: e, close: t, toast: n }) {
let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(""), s = (0, b.useRef)(null);
(0, b.useEffect)(() => {
if (!e) return;
@@ -56156,13 +56171,13 @@ function FDe({ target: e, close: t, toast: n }) {
return () => cancelAnimationFrame(t);
}, [e]);
let c = ft({
- mutationFn: ({ row: e, value: t }) => iV(e.id, t),
+ mutationFn: ({ row: e, value: t }) => aV(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), nV(), n("已重命名播放列表", { undo: cV(() => iV(r.id, r.name)) });
+ t(), rV(), n("已重命名播放列表", { undo: lV(() => aV(r.id, r.name)) });
},
onError: (e) => o(z(e))
});
- return /* @__PURE__ */ (0, x.jsx)(Nj, {
+ return /* @__PURE__ */ (0, x.jsx)(Pj, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -56176,7 +56191,7 @@ function FDe({ target: e, close: t, toast: n }) {
n ? c.mutate({
row: e,
value: n
- }) : o(sV);
+ }) : o(cV);
},
className: "flex min-h-0 flex-col",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -56185,7 +56200,7 @@ function FDe({ target: e, close: t, toast: n }) {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, x.jsx)(Mj, {
+ }), /* @__PURE__ */ (0, x.jsx)(Nj, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -56213,7 +56228,7 @@ function FDe({ target: e, close: t, toast: n }) {
})
});
}
-function IDe({ name: e, onRename: t, onDelete: n }) {
+function FDe({ name: e, onRename: t, onDelete: n }) {
let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -56227,7 +56242,7 @@ function IDe({ 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, x.jsx)(ADe, {
+ children: /* @__PURE__ */ (0, x.jsx)(kDe, {
"aria-hidden": !0,
className: "size-4.5"
})
@@ -56237,23 +56252,23 @@ function IDe({ name: e, onRename: t, onDelete: n }) {
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: yP,
- children: /* @__PURE__ */ (0, x.jsxs)(vP, {
+ className: bP,
+ children: /* @__PURE__ */ (0, x.jsxs)(yP, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: oV,
+ className: sV,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, x.jsx)(jDe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(ADe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: oV,
+ className: sV,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, x.jsx)(MDe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(jDe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -56261,13 +56276,13 @@ function IDe({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function LDe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
+function IDe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
let a = dt({
- queryKey: eV,
- queryFn: ({ signal: e }) => tV(e)
+ queryKey: tV,
+ queryFn: ({ signal: e }) => nV(e)
}), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(i);
(0, b.useEffect)(() => {
- c.current !== i && (c.current = i, nV());
+ c.current !== i && (c.current = i, rV());
}, [i]);
let l = a.data, u = l?.items ?? [], d = (e) => {
cs({
@@ -56276,8 +56291,8 @@ function LDe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await ODe(e.id);
- await aV(e.id), nV(), r("已删除播放列表", t ? { undo: cV(() => kDe(t)) } : void 0);
+ let t = await DDe(e.id);
+ await oV(e.id), rV(), r("已删除播放列表", t ? { undo: lV(() => ODe(t)) } : void 0);
}
});
};
@@ -56292,7 +56307,7 @@ function LDe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}), /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, x.jsx)(PDe, { toast: r })]
+ })] }), /* @__PURE__ */ (0, x.jsx)(NDe, { toast: r })]
}),
/* @__PURE__ */ (0, x.jsx)("div", {
className: "mx-auto w-full max-w-board",
@@ -56300,20 +56315,20 @@ function LDe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: u.map((r) => {
- let i = EDe(r), a = r.name.trim() || "未命名播放列表";
- return /* @__PURE__ */ (0, x.jsx)(LM, {
+ let i = TDe(r), a = r.name.trim() || "未命名播放列表";
+ return /* @__PURE__ */ (0, x.jsx)(RM, {
"data-playlist-card": String(r.id),
name: a,
caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: r.item_count,
- poster: r.preview_asset_id ? rV(r.preview_asset_id) : null,
- flipImages: async () => (r.preview_ids || []).map(rV),
+ poster: r.preview_asset_id ? iV(r.preview_asset_id) : null,
+ flipImages: async () => (r.preview_ids || []).map(iV),
canFlip: n,
faces: r.faces || [],
onOpenEntity: t,
...i ? { onOpen: () => e(r.id, i) } : {},
openLabel: `打开播放列表 ${a}`,
- menu: /* @__PURE__ */ (0, x.jsx)(IDe, {
+ menu: /* @__PURE__ */ (0, x.jsx)(FDe, {
name: a,
onRename: () => s(r),
onDelete: () => d(r)
@@ -56321,15 +56336,15 @@ function LDe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}, r.id);
})
}) : /* @__PURE__ */ (0, x.jsx)(lk, {
- icon: NDe,
+ icon: MDe,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
- }) : a.isError ? /* @__PURE__ */ (0, x.jsx)(TM, {
+ }) : a.isError ? /* @__PURE__ */ (0, x.jsx)(EM, {
message: z(a.error) || "播放列表读取失败",
onRetry: () => void a.refetch()
}) : null
}),
- /* @__PURE__ */ (0, x.jsx)(FDe, {
+ /* @__PURE__ */ (0, x.jsx)(PDe, {
target: o,
close: () => s(null),
toast: r
@@ -56339,7 +56354,7 @@ function LDe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function RDe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
+function LDe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
let o = () => t(e.id);
return /* @__PURE__ */ (0, x.jsxs)("li", {
"data-goal-id": e.id,
@@ -56359,7 +56374,7 @@ function RDe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, x.jsx)("img", {
- src: uN(e),
+ src: dN(e),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -56407,7 +56422,7 @@ function RDe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
origin: `asset:${e.id}`,
searchReason: e.reason || "",
duration: e.duration,
- cover: uN(e)
+ cover: dN(e)
}),
children: "查找资源"
}) : null, /* @__PURE__ */ (0, x.jsx)(G, {
@@ -56419,10 +56434,10 @@ function RDe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
})]
});
}
-function zDe({ toast: e, ...t }) {
+function RDe({ toast: e, ...t }) {
let [n, r] = (0, b.useState)(null), i = dt({
- queryKey: cN,
- queryFn: ({ signal: e }) => lN(e)
+ queryKey: lN,
+ queryFn: ({ signal: e }) => uN(e)
}), a = i.data;
if (!a) return /* @__PURE__ */ (0, x.jsx)(dk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -56431,14 +56446,14 @@ function zDe({ toast: e, ...t }) {
}) });
let o = a.items || [];
return o.length ? /* @__PURE__ */ (0, x.jsxs)(dk, { children: [
- /* @__PURE__ */ (0, x.jsx)(LR, {
+ /* @__PURE__ */ (0, x.jsx)(RR, {
label: "待升级",
figure: `${Number(a.total || 0).toLocaleString()} 部作品`,
flush: !0
}),
/* @__PURE__ */ (0, x.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: o.map((e) => /* @__PURE__ */ (0, x.jsx)(RDe, {
+ children: o.map((e) => /* @__PURE__ */ (0, x.jsx)(LDe, {
item: e,
...t,
searchResources: r
@@ -56448,7 +56463,7 @@ function zDe({ toast: e, ...t }) {
className: "mt-6 text-center text-caption-1-regular text-text-secondary",
children: `显示前 ${o.length.toLocaleString()} 部,共 ${Number(a.total).toLocaleString()} 部。`
}) : null,
- /* @__PURE__ */ (0, x.jsx)(kB, {
+ /* @__PURE__ */ (0, x.jsx)(AB, {
prefill: n,
close: () => r(null),
receipt: e
@@ -56462,8 +56477,8 @@ function zDe({ toast: e, ...t }) {
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function BDe(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 = fve(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), S = y.length ? "统一选择来源" : "所选项目无共同来源";
+function zDe(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 = dve(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), S = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
@@ -56471,29 +56486,29 @@ function BDe(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(YP, {
+ /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(XP, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, x.jsxs)(YP, {
+ i.length > 1 ? /* @__PURE__ */ (0, x.jsxs)(XP, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, x.jsx)(XP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(ZP, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(XP, {
+ }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -56517,7 +56532,7 @@ function BDe(e) {
visible: c.size > 0,
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, x.jsxs)(YP, {
+ b ? /* @__PURE__ */ (0, x.jsxs)(XP, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -56525,10 +56540,10 @@ function BDe(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, x.jsx)(XP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(ZP, {
id: "",
children: S
- }), y.map((e) => /* @__PURE__ */ (0, x.jsx)(XP, {
+ }), y.map((e) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: e
}, e))]
@@ -56564,7 +56579,7 @@ function BDe(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var VDe = {
+var BDe = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -56574,14 +56589,14 @@ var VDe = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, lV = "reviewgenretags";
-function HDe({ tags: e }) {
+}, uV = "reviewgenretags";
+function VDe({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("datalist", {
- id: lV,
+ id: uV,
children: e.map((e) => /* @__PURE__ */ (0, x.jsx)("option", { value: e }, e))
}) : null;
}
-function uV({ candidate: e, selectable: t = !1 }) {
+function dV({ 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, x.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
@@ -56618,7 +56633,7 @@ function uV({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, x.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: VDe[e] || e
+ children: BDe[e] || e
}),
/* @__PURE__ */ (0, x.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -56633,32 +56648,32 @@ function uV({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function UDe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function HDe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, x.jsx)(uV, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, x.jsx)(YA, {
+ children: /* @__PURE__ */ (0, x.jsx)(dV, { candidate: a[0] })
+ }) : /* @__PURE__ */ (0, x.jsx)(XA, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, x.jsx)(XA, {
+ children: a.map((e) => /* @__PURE__ */ (0, x.jsx)(ZA, {
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, x.jsx)(uV, {
+ children: /* @__PURE__ */ (0, x.jsx)(dV, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function WDe({ genre: e, tags: t, locked: n, toast: r }) {
+function UDe({ genre: e, tags: t, locked: n, toast: r }) {
let [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), c = ft({
- mutationFn: (t) => bve(e, t),
+ mutationFn: (t) => yve(e, t),
onSuccess: async (t, n) => {
- t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Sve()) : s(t.error || "服务端拒绝了这次收录");
+ t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await xve()) : s(t.error || "服务端拒绝了这次收录");
},
onError: (e) => s(z(e))
}), l = () => {
@@ -56673,16 +56688,16 @@ function WDe({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, x.jsx)(kj, {
+ /* @__PURE__ */ (0, x.jsx)(Aj, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(jj, {
+ children: /* @__PURE__ */ (0, x.jsx)(Mj, {
size: "small",
- list: t.length ? lV : void 0,
+ list: t.length ? uV : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -56714,8 +56729,8 @@ function WDe({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function GDe({ row: e, tags: t, locked: n, toast: r }) {
- let i = _ve(e);
+function WDe({ row: e, tags: t, locked: n, toast: r }) {
+ let i = gve(e);
return i.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -56723,7 +56738,7 @@ function GDe({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, x.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(WDe, {
+ }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(UDe, {
genre: e,
tags: t,
locked: n,
@@ -56733,12 +56748,12 @@ function GDe({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var dV = (e = "") => /^https?:\/\//i.test(e) ? e : "", KDe = (e = "") => dV(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function fV({ url: e }) {
- let t = KDe(e || "");
- return /* @__PURE__ */ (0, x.jsx)(qDe, { source: t }, t);
+var fV = (e = "") => /^https?:\/\//i.test(e) ? e : "", GDe = (e = "") => fV(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function pV({ url: e }) {
+ let t = GDe(e || "");
+ return /* @__PURE__ */ (0, x.jsx)(KDe, { source: t }, t);
}
-function qDe({ source: e }) {
+function KDe({ source: e }) {
let [t, n] = (0, b.useState)("idle");
return (0, b.useEffect)(() => {
if (t !== "loading") return;
@@ -56775,7 +56790,7 @@ function qDe({ source: e }) {
})]
});
}
-function pV({ asset: e, openItem: t }) {
+function mV({ asset: e, openItem: t }) {
let n = e.name || "";
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
@@ -56808,14 +56823,14 @@ function pV({ asset: e, openItem: t }) {
})]
});
}
-function JDe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function qDe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"aria-label": `打开创作者页:${t}`,
onClick: () => i(e, t),
- className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${qz}`,
+ className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${Jz}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -56831,8 +56846,8 @@ function JDe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function YDe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = dV(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function JDe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = fV(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, x.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -56857,7 +56872,7 @@ function YDe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, x.jsx)(fV, { url: e.preview_url }),
+ /* @__PURE__ */ (0, x.jsx)(pV, { url: e.preview_url }),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -56900,7 +56915,7 @@ function YDe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function XDe({ assets: e, picked: t, onPicked: n, locked: r }) {
+function YDe({ assets: e, picked: t, onPicked: n, locked: r }) {
let [i, a] = (0, b.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
@@ -56956,7 +56971,7 @@ function XDe({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, x.jsx)(tF, {
+ children: /* @__PURE__ */ (0, x.jsx)(nF, {
size: "sm",
state: {
isSelected: n,
@@ -56976,22 +56991,22 @@ function XDe({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var ZDe = ck({
+var XDe = ck({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), mV = "flex min-h-6 min-w-0 items-center", hV = 2, QDe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function $De(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, b.useRef)(!1), m = VP(), h = VP(), g = t === "metadata_fields", _ = cve[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, S = mve(t, n), C = vN(t, n), w = _N(t, n), T = hve(n), E = gve(n), D = gN(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, x.jsxs)("div", {
+}), hV = "flex min-h-6 min-w-0 items-center", gV = 2, ZDe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function QDe(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, b.useRef)(!1), m = HP(), h = HP(), g = t === "metadata_fields", _ = sve[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, S = pve(t, n), C = yN(t, n), w = vN(t, n), T = mve(n), E = hve(n), D = _N(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [O.slice(0, hV).map((e) => /* @__PURE__ */ (0, x.jsx)(pV, {
+ children: [O.slice(0, gV).map((e) => /* @__PURE__ */ (0, x.jsx)(mV, {
asset: e,
openItem: f.openItem
- }, e.id)), O.length > hV ? /* @__PURE__ */ (0, x.jsx)("p", {
+ }, e.id)), O.length > gV ? /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: `另有 ${(O.length - hV).toLocaleString()} 部对照作品`
+ children: `另有 ${(O.length - gV).toLocaleString()} 部对照作品`
}) : null]
- }) : y ? /* @__PURE__ */ (0, x.jsx)(JDe, {
+ }) : y ? /* @__PURE__ */ (0, x.jsx)(qDe, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -57002,14 +57017,14 @@ function $De(e) {
image_version: n.image_version,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, x.jsx)(pV, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, x.jsx)(mV, {
openItem: f.openItem,
asset: {
id: n.asset_id,
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, M = g ? /* @__PURE__ */ (0, x.jsx)(UDe, {
+ }) : null, M = g ? /* @__PURE__ */ (0, x.jsx)(HDe, {
row: n,
fieldName: C,
value: r.candidateKey,
@@ -57018,7 +57033,7 @@ function $De(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, x.jsx)(XDe, {
+ }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, x.jsx)(YDe, {
assets: k,
picked: r.assets,
locked: s,
@@ -57031,15 +57046,15 @@ function $De(e) {
icon: dde,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, x.jsx)(YDe, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, x.jsx)(JDe, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, x.jsx)(fV, { url: n.preview_url }), N = y ? j : C ? /* @__PURE__ */ (0, x.jsxs)("h4", {
- className: `${mV} flex-wrap gap-2`,
+ }) : /* @__PURE__ */ (0, x.jsx)(pV, { url: n.preview_url }), N = y ? j : C ? /* @__PURE__ */ (0, x.jsxs)("h4", {
+ className: `${hV} flex-wrap gap-2`,
children: [/* @__PURE__ */ (0, x.jsx)("span", {
title: C,
className: "flex max-w-full min-w-0 overflow-hidden rounded-md",
@@ -57054,7 +57069,7 @@ function $De(e) {
children: w
})]
}) : /* @__PURE__ */ (0, x.jsx)("h4", {
- className: mV,
+ className: hV,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: S,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -57064,20 +57079,20 @@ function $De(e) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": S,
"data-review-key": n.item_key,
- className: `${ZDe} ${QDe(t)} overflow-hidden`,
+ className: `${XDe} ${ZDe(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, x.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
s ? null : /* @__PURE__ */ (0, x.jsx)("span", {
- className: `${mV} shrink-0`,
+ className: `${hV} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, x.jsx)(nF, {
+ children: /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: a,
"aria-label": `选择 ${S}`,
onChange: (e) => o(p.current, e)
@@ -57121,7 +57136,7 @@ function $De(e) {
})
}) : null,
M,
- /* @__PURE__ */ (0, x.jsx)(GDe, {
+ /* @__PURE__ */ (0, x.jsx)(WDe, {
row: n,
tags: u,
locked: s,
@@ -57184,8 +57199,8 @@ function $De(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var eOe = "flex cursor-pointer items-center justify-between gap-2";
-function tOe({ page: e, pages: t, onPage: n }) {
+var $De = "flex cursor-pointer items-center justify-between gap-2";
+function eOe({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, x.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -57222,34 +57237,34 @@ function tOe({ page: e, pages: t, onPage: n }) {
]
});
}
-function nOe(e) {
+function tOe(e) {
let [t, n] = (0, b.useState)(() => matchMedia("(max-width:900px)").matches);
(0, b.useEffect)(() => {
let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, b.useState)(mN(e.category) ? e.category : sve), [p, m] = (0, b.useState)("candidates"), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(1), [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, b.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, b.useState)(/* @__PURE__ */ new Map()), [D, O] = (0, b.useState)(""), k = (0, b.useRef)(null), [A, j] = (0, b.useState)(0), [M, N] = (0, b.useState)(""), P = (0, b.useRef)(!0);
+ let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, b.useState)(hN(e.category) ? e.category : ove), [p, m] = (0, b.useState)("candidates"), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(1), [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, b.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, b.useState)(/* @__PURE__ */ new Map()), [D, O] = (0, b.useState)(""), k = (0, b.useRef)(null), [A, j] = (0, b.useState)(0), [M, N] = (0, b.useState)(""), P = (0, b.useRef)(!0);
(0, b.useEffect)(() => () => {
P.current = !1;
}, []);
let ee = dt({
- queryKey: fN,
- queryFn: ({ signal: e }) => bN(e)
+ queryKey: pN,
+ queryFn: ({ signal: e }) => xN(e)
}), F = ee.data || {
sections: {},
counts: {}
- }, te = F.sections[d] || [], ne = d === "metadata_fields", re = c, ie = lve(te, ne), ae = ie.some(([e]) => e === p) ? p : "candidates", oe = hN(te, ae), se = oe.some((e) => e.key === h) ? h : "", ce = dve(uve(te, ae, se), _), le = ce.rows.map((e) => e.item_key), ue = new Set(le), de = oe.map((e) => ({
+ }, te = F.sections[d] || [], ne = d === "metadata_fields", re = c, ie = cve(te, ne), ae = ie.some(([e]) => e === p) ? p : "candidates", oe = gN(te, ae), se = oe.some((e) => e.key === h) ? h : "", ce = uve(lve(te, ae, se), _), le = ce.rows.map((e) => e.item_key), ue = new Set(le), de = oe.map((e) => ({
...e,
rows: e.rows.filter((e) => ue.has(e.item_key))
- })).filter((e) => e.rows.length), fe = (e) => C.get(e.item_key) || vve(e), pe = te.filter((e) => y.has(e.item_key)), me = (e) => {
+ })).filter((e) => e.rows.length), fe = (e) => C.get(e.item_key) || _ve(e), pe = te.filter((e) => y.has(e.item_key)), me = (e) => {
let t = new Set(e);
S((e) => new Set([...e].filter((e) => !t.has(e)))), w((e) => new Map([...e].filter(([e]) => !t.has(e)))), E((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, he = (e, t) => E((n) => new Map(n).set(e, t)), ge = (e) => {
f(e), m("candidates"), g(""), v(1), S(/* @__PURE__ */ new Set()), w(/* @__PURE__ */ new Map()), E(/* @__PURE__ */ new Map()), O(""), k.current = null, r({ category: e === "metadata_fields" ? "" : e });
}, _e = ft({
- mutationFn: ({ row: e, status: t }) => xN(yN(d, e, t, fe(e))),
+ mutationFn: ({ row: e, status: t }) => SN(bN(d, e, t, fe(e))),
onSuccess: (e, { row: t, status: n }) => {
- e.ok ? (SN(d, [t.item_key]), me([t.item_key]), s(yve(n))) : he(t.item_key, e.error || "服务端拒绝了这次判定");
+ e.ok ? (CN(d, [t.item_key]), me([t.item_key]), s(vve(n))) : he(t.item_key, e.error || "服务端拒绝了这次判定");
},
onError: (e, { row: t }) => he(t.item_key, z(e))
}), ve = ft({
@@ -57259,7 +57274,7 @@ function nOe(e) {
if (!P.current) break;
O(`正在处理 ${i} / ${t.length}`);
try {
- let t = await xN(yN(d, a, e, fe(a)));
+ let t = await SN(bN(d, a, e, fe(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -57273,7 +57288,7 @@ function nOe(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- SN(d, t), me(t), n.forEach(([e, t]) => he(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ CN(d, t), me(t), n.forEach(([e, t]) => he(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
O(z(e));
@@ -57297,7 +57312,7 @@ function nOe(e) {
j(e), N("");
let t = await o(e);
P.current && (j(0), N(t));
- }, Se = Cve(F.mirror, l), Ce = F.genre_tags || [], we = {
+ }, Se = Sve(F.mirror, l), Ce = F.genre_tags || [], we = {
openItem: i,
openEntity: a,
onReveal: xe,
@@ -57321,13 +57336,13 @@ function nOe(e) {
}) : void 0,
children: Se
}) : null,
- /* @__PURE__ */ (0, x.jsx)(HDe, { tags: Ce }),
- /* @__PURE__ */ (0, x.jsxs)(wj, {
+ /* @__PURE__ */ (0, x.jsx)(VDe, { tags: Ce }),
+ /* @__PURE__ */ (0, x.jsxs)(Tj, {
orientation: t ? "horizontal" : "vertical",
selectedKey: d,
onSelectionChange: (e) => {
let t = String(e);
- mN(t) && ge(t);
+ hN(t) && ge(t);
},
className: "flex flex-col gap-5 review-split:flex-row review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -57336,27 +57351,27 @@ function nOe(e) {
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
id: "reviewcategories",
children: "复核分类"
- }), /* @__PURE__ */ (0, x.jsx)(Tj, {
+ }), /* @__PURE__ */ (0, x.jsx)(Ej, {
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
- children: ove.map((e) => {
+ children: ave.map((e) => {
let t = Number(F.counts[e] || 0);
- return /* @__PURE__ */ (0, x.jsxs)(Ej, {
+ return /* @__PURE__ */ (0, x.jsxs)(Dj, {
id: e,
- className: eOe,
- children: [pN[e], t ? /* @__PURE__ */ (0, x.jsx)("span", {
+ className: $De,
+ children: [mN[e], t ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
}) : null]
}, e);
})
})]
- }), /* @__PURE__ */ (0, x.jsxs)(Dj, {
+ }), /* @__PURE__ */ (0, x.jsxs)(Oj, {
id: d,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- te.length && !re ? /* @__PURE__ */ (0, x.jsx)(BDe, {
+ te.length && !re ? /* @__PURE__ */ (0, x.jsx)(zDe, {
groupOptions: ie,
groupBy: ae,
onGroupBy: (e) => {
@@ -57372,7 +57387,7 @@ function nOe(e) {
onSelected: S,
selectedRows: pe,
metadata: ne,
- approvable: pe.every((e) => gN(d, e)),
+ approvable: pe.every((e) => _N(d, e)),
busy: ve.isPending,
feedback: D,
onUnifySource: be,
@@ -57397,7 +57412,7 @@ function nOe(e) {
})]
}) : null, /* @__PURE__ */ (0, x.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)($De, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(QDe, {
category: d,
row: e,
choice: fe(e),
@@ -57405,7 +57420,7 @@ function nOe(e) {
selected: y.has(e.item_key),
onSelect: (t, n) => S((r) => {
let i = new Set(r);
- return k.current = pve(i, le, k.current, e.item_key, t, n), i;
+ return k.current = fve(i, le, k.current, e.item_key, t, n), i;
}),
locked: re,
busy: _e.isPending && _e.variables?.row.item_key === e.item_key,
@@ -57436,7 +57451,7 @@ function nOe(e) {
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
- /* @__PURE__ */ (0, x.jsx)(tOe, {
+ /* @__PURE__ */ (0, x.jsx)(eOe, {
page: ce.page,
pages: ce.pages,
onPage: v
@@ -57449,13 +57464,9 @@ function nOe(e) {
}
//#endregion
//#region src/react/scraping/custom-source-data.ts
-var gV = "/api/custom-metadata", _V = ["custom-metadata"], vV = (e) => B(gV, e), rOe = "/api/scraping", iOe = "/api/scraping/settings", aOe = "/api/scraping/check", yV = "/api/scraping/cover", oOe = "/api/scraping/amane-bridge", sOe = "/api/scraping/amane-bridge/check", cOe = "/api/scraping/amane-bridge/rebuild", bV = ["scraping"], xV = ["scraping", "cover"], SV = ["scraping", "amane-bridge"], CV = (e) => B(rOe, e), wV = (e) => B(yV, e), TV = (e) => B(oOe, e);
-async function lOe(e) {
+var _V = "/api/custom-metadata", vV = ["custom-metadata"], yV = (e) => B(_V, e), nOe = "/api/scraping", rOe = "/api/scraping/settings", iOe = "/api/scraping/check", bV = "/api/scraping/cover", aOe = "/api/scraping/amane-bridge", oOe = "/api/scraping/amane-bridge/check", sOe = "/api/scraping/amane-bridge/rebuild", xV = ["scraping"], SV = ["scraping", "cover"], CV = ["scraping", "amane-bridge"], wV = (e) => B(nOe, e), TV = (e) => B(bV, e), EV = (e) => B(aOe, e);
+async function cOe(e) {
await Promise.all([
- H.fetchQuery({
- queryKey: bV,
- queryFn: () => CV(e)
- }),
H.fetchQuery({
queryKey: xV,
queryFn: () => wV(e)
@@ -57465,26 +57476,30 @@ async function lOe(e) {
queryFn: () => TV(e)
}),
H.fetchQuery({
- queryKey: _V,
- queryFn: () => vV(e)
+ queryKey: CV,
+ queryFn: () => EV(e)
+ }),
+ H.fetchQuery({
+ queryKey: vV,
+ queryFn: () => yV(e)
})
]);
}
-function uOe(e, t) {
+function lOe(e, t) {
return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");
}
//#endregion
//#region src/react/settings-panel/legacy-controls.tsx
-var EV = (e) => e.map(([e, t, n]) => n ? [
+var DV = (e) => e.map(([e, t, n]) => n ? [
e,
t,
n
] : [e, t]);
-function DV({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
+function OV({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
let u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(l);
return f.current = l, (0, b.useLayoutEffect)(() => {
let e = u.current;
- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Qo(t, n, EV(r), i, {
+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Qo(t, n, DV(r), i, {
attr: a,
className: o,
text: s
@@ -57502,13 +57517,13 @@ function DV({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:
ref: u
});
}
-function OV({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {
+function kV({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {
let d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(-1), m = (0, b.useRef)(l);
return m.current = l, (0, b.useLayoutEffect)(() => {
let e = d.current;
if (!e) return;
if (p.current !== c || !f.current) {
- e.innerHTML = Ka(EV(n), r, { label: t });
+ e.innerHTML = Ka(DV(n), r, { label: t });
let i = qa(e.firstElementChild);
i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;
}
@@ -57521,7 +57536,7 @@ function OV({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function dOe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function uOe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
let s = (0, b.useRef)(null), c = (0, b.useRef)(null), l = (0, b.useRef)({
onStep: a,
onSettle: o
@@ -57556,7 +57571,7 @@ function dOe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
}
//#endregion
//#region src/react/scraping/custom-sources.tsx
-var fOe = [
+var dOe = [
["code", "番号"],
["title", "标题"],
["studio", "厂牌"],
@@ -57564,7 +57579,7 @@ var fOe = [
["release_date", "发行日期"],
["performers", "演员(文本数组)"],
["tags", "标签(文本数组)"]
-], pOe = [
+], fOe = [
["censored", "有码"],
["amateur", "素人"],
["uncensored", "无码"],
@@ -57573,7 +57588,7 @@ var fOe = [
["other", "其他"],
["unsure", "待核番号"],
["unknown", "未知"]
-], mOe = () => ({
+], pOe = () => ({
name: "",
endpoint: "",
enabled: !1,
@@ -57583,11 +57598,11 @@ var fOe = [
},
content_types: ["censored"]
});
-function hOe({ receipt: e }) {
+function mOe({ receipt: e }) {
let [t, n] = (0, b.useState)(null), r = dt({
- queryKey: _V,
- queryFn: ({ signal: e }) => vV(e)
- }), i = mk(), a = (e) => H.setQueryData(_V, e);
+ queryKey: vV,
+ queryFn: ({ signal: e }) => yV(e)
+ }), i = mk(), a = (e) => H.setQueryData(vV, e);
return /* @__PURE__ */ (0, x.jsx)(vk, {
title: "自定义元数据来源",
children: /* @__PURE__ */ (0, x.jsxs)(bk, { children: [
@@ -57616,7 +57631,7 @@ function hOe({ receipt: e }) {
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
...q(i.busy === t.id),
- onClick: () => void i.run(t.id, (e) => V(gV, {
+ onClick: () => void i.run(t.id, (e) => V(_V, {
...t,
enabled: !t.enabled
}, "POST", e), (n) => {
@@ -57631,7 +57646,7 @@ function hOe({ receipt: e }) {
body: `删除「${R(t.name)}」后,采集将不再查询这个来源。`,
confirmLabel: "删除来源",
onConfirm: async () => {
- a(await V(gV, {
+ a(await V(_V, {
action: "delete",
id: t.id
})), n(null), e("已删除来源");
@@ -57644,10 +57659,10 @@ function hOe({ receipt: e }) {
i.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: i.error }) : null,
t ? null : /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- onClick: () => n(mOe()),
+ onClick: () => n(pOe()),
children: "添加来源"
}),
- t ? /* @__PURE__ */ (0, x.jsx)(gOe, {
+ t ? /* @__PURE__ */ (0, x.jsx)(hOe, {
initial: t,
cancel: () => n(null),
saved: (t) => {
@@ -57657,7 +57672,7 @@ function hOe({ receipt: e }) {
] })
});
}
-function gOe({ initial: e, cancel: t, saved: n }) {
+function hOe({ initial: e, cancel: t, saved: n }) {
let [r, i] = (0, b.useState)(e), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(""), l = (0, b.useRef)(0), u = mk(), d = (e) => {
l.current++, i((t) => ({
...t,
@@ -57668,16 +57683,16 @@ function gOe({ initial: e, cancel: t, saved: n }) {
"aria-label": "元数据来源配置",
"aria-busy": u.busy === "preview",
onSubmit: (e) => {
- e.preventDefault(), u.run("save", (e) => V(gV, r, "POST", e), n);
+ e.preventDefault(), u.run("save", (e) => V(_V, r, "POST", e), n);
},
children: [/* @__PURE__ */ (0, x.jsxs)(bk, { children: [
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "来源名称",
value: r.name,
maxLength: 80,
onChange: (e) => d({ name: e })
}),
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "JSON 接口地址",
value: r.endpoint,
maxLength: 2048,
@@ -57686,7 +57701,7 @@ function gOe({ initial: e, cancel: t, saved: n }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(wk, { children: "来源连接方式" }), /* @__PURE__ */ (0, x.jsx)(OV, {
+ children: [/* @__PURE__ */ (0, x.jsx)(wk, { children: "来源连接方式" }), /* @__PURE__ */ (0, x.jsx)(kV, {
id: "custom-source-network",
label: "来源连接方式",
epoch: 0,
@@ -57697,7 +57712,7 @@ function gOe({ initial: e, cancel: t, saved: n }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(wk, { children: "接口番号格式" }), /* @__PURE__ */ (0, x.jsx)(OV, {
+ children: [/* @__PURE__ */ (0, x.jsx)(wk, { children: "接口番号格式" }), /* @__PURE__ */ (0, x.jsx)(kV, {
id: "custom-source-code-format",
label: "接口番号格式",
epoch: 0,
@@ -57712,7 +57727,7 @@ function gOe({ initial: e, cancel: t, saved: n }) {
})]
}),
/* @__PURE__ */ (0, x.jsx)(Sk, { children: "填写公开 JSON 接口和响应字段路径,例如 data.title。番号字段用于核对作品身份。" }),
- fOe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(Mj, {
+ dOe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(Nj, {
label: `${t}字段路径`,
value: r.fields[e] || "",
onChange: (t) => {
@@ -57724,18 +57739,18 @@ function gOe({ initial: e, cancel: t, saved: n }) {
className: "flex flex-wrap gap-3",
role: "group",
"aria-label": "适用内容类型",
- children: pOe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(nF, {
+ children: fOe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: r.content_types.includes(e),
onChange: (t) => d({ content_types: t ? [...r.content_types, e] : r.content_types.filter((t) => t !== e) }),
children: t
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(nF, {
+ /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: r.enabled,
onChange: (e) => d({ enabled: e }),
children: "启用来源"
}),
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "试查番号(回车查询)",
value: a,
onChange: (e) => {
@@ -57745,7 +57760,7 @@ function gOe({ initial: e, cancel: t, saved: n }) {
if (e.key !== "Enter" || e.nativeEvent.isComposing) return;
e.preventDefault();
let t = l.current;
- u.run("preview", (e) => V(gV, {
+ u.run("preview", (e) => V(_V, {
...r,
code: a,
action: "preview"
@@ -57779,19 +57794,19 @@ function gOe({ initial: e, cancel: t, saved: n }) {
}
//#endregion
//#region src/react/scraping/scraping-page.tsx
-var kV = [["peach", "Peach 代理"], ["direct", "直接连接"]];
-function _Oe(e) {
- return kV.some(([t]) => t === e) || !e ? [...kV] : [...kV, [e, e]];
+var AV = [["peach", "Peach 代理"], ["direct", "直接连接"]];
+function gOe(e) {
+ return AV.some(([t]) => t === e) || !e ? [...AV] : [...AV, [e, e]];
}
-function vOe(e) {
+function _Oe(e) {
try {
return new URL(e).host || e;
} catch {
return e;
}
}
-var AV = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function jV({ source: e }) {
+var jV = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function MV({ source: e }) {
if (e === "makers") return /* @__PURE__ */ (0, x.jsx)(Que, {
"aria-hidden": !0,
className: "size-4 shrink-0"
@@ -57813,16 +57828,16 @@ function jV({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function yOe() {
- return /* @__PURE__ */ (0, x.jsx)(jV, { source: "github" });
+function vOe() {
+ return /* @__PURE__ */ (0, x.jsx)(MV, { source: "github" });
}
-function bOe({ source: e, toast: t }) {
- let [n, r] = (0, b.useState)(e.network), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(AV[0][0]), [u, d] = (0, b.useState)(""), [f, p] = (0, b.useState)(""), m = (0, b.useRef)(null);
+function yOe({ source: e, toast: t }) {
+ let [n, r] = (0, b.useState)(e.network), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(jV[0][0]), [u, d] = (0, b.useState)(""), [f, p] = (0, b.useState)(""), m = (0, b.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
let g = ft({
- mutationFn: (t) => V(iOe, {
+ mutationFn: (t) => V(rOe, {
source: e.source,
network: n,
cookie: i,
@@ -57830,12 +57845,12 @@ function bOe({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- H.setQueryData(bV, (t) => t && {
+ H.setQueryData(xV, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = ft({ mutationFn: () => V(aOe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = ft({ mutationFn: () => V(iOe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, S = () => {
v || (_.reset(), g.mutate(!0));
@@ -57859,22 +57874,22 @@ function bOe({ source: e, toast: t }) {
onSubmit: y,
aside: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, x.jsx)(jV, { source: e.source }), e.login ? /* @__PURE__ */ (0, x.jsx)(Tk, {
+ children: [/* @__PURE__ */ (0, x.jsx)(MV, { source: e.source }), e.login ? /* @__PURE__ */ (0, x.jsx)(Tk, {
href: e.login,
- children: vOe(e.login)
+ children: _Oe(e.login)
}) : null]
}),
children: [
/* @__PURE__ */ (0, x.jsx)(yk, { children: /* @__PURE__ */ (0, x.jsx)(hk, {
label: "连接方式",
- children: /* @__PURE__ */ (0, x.jsx)(YP, {
+ children: /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "连接方式",
className: "w-44 min-w-0",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: _Oe(n).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(XP, {
+ children: gOe(n).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: t
}, e))
@@ -57905,20 +57920,20 @@ function bOe({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, x.jsx)(qj, {
+ /* @__PURE__ */ (0, x.jsx)(Jj, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: Jj,
- children: AV.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(XA, {
+ className: Yj,
+ children: jV.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZA, {
value: e,
- className: Yj,
+ className: Xj,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, x.jsx)(Mj, {
+ c === "paste" ? /* @__PURE__ */ (0, x.jsx)(Nj, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -57956,7 +57971,7 @@ function bOe({ source: e, toast: t }) {
T ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: T }) : null,
E.map((t) => /* @__PURE__ */ (0, x.jsx)(K, {
tone: t.ok ? "success" : "error",
- children: uOe(t, e.label)
+ children: lOe(t, e.label)
}, t.label))
]
}) : null,
@@ -57982,11 +57997,11 @@ function bOe({ source: e, toast: t }) {
]
});
}
-function xOe({ toast: e }) {
- let [t, n] = (0, b.useState)(""), { running: r, outcome: i, start: a } = QP({
- queryKey: xV,
- queryFn: ({ signal: e }) => wV(e),
- start: () => V(yV, { code: t }),
+function bOe({ toast: e }) {
+ let [t, n] = (0, b.useState)(""), { running: r, outcome: i, start: a } = $P({
+ queryKey: SV,
+ queryFn: ({ signal: e }) => TV(e),
+ start: () => V(bV, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
@@ -58001,7 +58016,7 @@ function xOe({ toast: e }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(Mj, {
+ children: /* @__PURE__ */ (0, x.jsx)(Nj, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -58028,11 +58043,11 @@ function xOe({ toast: e }) {
] })
});
}
-function SOe({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = QP({
- queryKey: SV,
- queryFn: ({ signal: e }) => TV(e),
- start: () => V(cOe, {}),
+function xOe({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = $P({
+ queryKey: CV,
+ queryFn: ({ signal: e }) => EV(e),
+ start: () => V(sOe, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -58041,7 +58056,7 @@ function SOe({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = ft({ mutationFn: () => V(sOe, {}) }), o = t.data;
+ }), a = ft({ mutationFn: () => V(oOe, {}) }), o = t.data;
if (!o) return t.error ? /* @__PURE__ */ (0, x.jsx)(vk, {
title: "amane",
children: /* @__PURE__ */ (0, x.jsx)(bk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
@@ -58054,7 +58069,7 @@ function SOe({ toast: e }) {
title: "amane",
aside: /* @__PURE__ */ (0, x.jsx)(Tk, {
href: o.repository,
- leadingIcon: yOe,
+ leadingIcon: vOe,
children: o.repository
}),
children: [
@@ -58123,23 +58138,23 @@ function SOe({ toast: e }) {
]
});
}
-function COe({ toast: e }) {
+function SOe({ toast: e }) {
let t = dt({
- queryKey: bV,
- queryFn: ({ signal: e }) => CV(e)
+ queryKey: xV,
+ queryFn: ({ signal: e }) => wV(e)
}), n = t.data;
return n ? /* @__PURE__ */ (0, x.jsxs)(dk, { children: [
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, x.jsx)(xOe, { toast: e }),
- /* @__PURE__ */ (0, x.jsx)(hOe, { receipt: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, x.jsx)(bOe, {
+ /* @__PURE__ */ (0, x.jsx)(bOe, { toast: e }),
+ /* @__PURE__ */ (0, x.jsx)(mOe, { receipt: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, x.jsx)(yOe, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, x.jsx)(SOe, { toast: e })
+ /* @__PURE__ */ (0, x.jsx)(xOe, { toast: e })
] }) : /* @__PURE__ */ (0, x.jsx)(dk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "采集来源读取失败",
@@ -58148,21 +58163,21 @@ function COe({ toast: e }) {
}
//#endregion
//#region src/react/search/search.ts
-var MV = /* @__PURE__ */ new Set([
+var NV = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), NV = /* @__PURE__ */ new Set(["asset"]), PV = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function wOe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
+]), PV = /* @__PURE__ */ new Set(["asset"]), FV = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function COe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
let s = 0, c = [], l = (e) => {
let t = {
...e,
index: s++
};
return c.push(t), t;
- }, u = t.filter((t) => !e || PV(t).includes(PV(e)));
+ }, u = t.filter((t) => !e || FV(t).includes(FV(e)));
if (!e) {
let e = u.length ? {
label: "搜索记录",
@@ -58209,7 +58224,7 @@ function wOe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: n,
more: r
};
- }, h = p.filter((e) => !NV.has(e.kind)).map(m), g = p.filter((e) => NV.has(e.kind)).map(m), _ = d && !p.some((e) => e.items.length);
+ }, h = p.filter((e) => !PV.has(e.kind)).map(m), g = p.filter((e) => PV.has(e.kind)).map(m), _ = d && !p.some((e) => e.items.length);
return {
tabs: d && a.length > 1 ? [...a] : null,
recent: f,
@@ -58219,17 +58234,17 @@ function wOe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: c
};
}
-function TOe(e, t, n = Math.random) {
+function wOe(e, t, n = Math.random) {
let r = [...e];
for (let e = r.length - 1; e > 0; --e) {
let t = Math.floor(n() * (e + 1));
[r[e], r[t]] = [r[t], r[e]];
}
- return r.filter((e) => !t.some((t) => PV(t) === PV(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => FV(t) === FV(e))).slice(0, 5);
}
//#endregion
//#region src/react/search/search-page.tsx
-var EOe = () => ({
+var TOe = () => ({
history: [],
pool: [],
poolRequest: 0,
@@ -58245,7 +58260,7 @@ var EOe = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), FV = (e) => wOe({
+}), IV = (e) => COe({
query: e.query,
history: e.history,
picks: e.picks,
@@ -58253,18 +58268,18 @@ var EOe = () => ({
groups: e.groups,
tabs: e.tabs,
kind: e.kind
-}), DOe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), IV = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
+}), EOe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), LV = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
-function OOe(e) {
+function DOe(e) {
let t = (0, b.useRef)(e);
t.current = e;
let n = (0, b.useRef)(null);
- n.current ??= EOe();
+ n.current ??= TOe();
let r = n.current, i = (0, b.useRef)(null), [, a] = (0, b.useReducer)((e) => e + 1, 0), o = (0, b.useRef)(null);
- o.current ??= kOe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= OOe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
let s = o.current;
(0, b.useLayoutEffect)(() => {
let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();
@@ -58277,7 +58292,7 @@ function OOe(e) {
let e = i.current?.closest("[data-search-menu]");
r.rewind && e && (e.scrollTop = 0), r.rewind = !1, r.reveal && i.current?.querySelector("[data-search-option][data-active]")?.scrollIntoView({ block: "nearest" }), r.reveal = !1;
});
- let c = FV(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, x.jsx)(jOe, {
+ let c = IV(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, x.jsx)(AOe, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -58301,7 +58316,7 @@ function OOe(e) {
"data-search-root": "",
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, x.jsx)(AOe, {
+ c.tabs ? /* @__PURE__ */ (0, x.jsx)(kOe, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -58327,7 +58342,7 @@ function OOe(e) {
]
});
}
-function kOe(e, t, n, r) {
+function OOe(e, t, n, r) {
let i = () => e().input, a = () => document.activeElement === i(), o = () => t.history.slice(0, e().historyLimit), s = (n) => {
t.history = n.slice(0, e().historyLimit);
}, c = async () => {
@@ -58338,7 +58353,7 @@ function kOe(e, t, n, r) {
t.history = Array.isArray(e.items) ? e.items.map(String) : [];
} catch {}
}, l = (t) => {
- t && e().historyLimit && (s([t, ...o().filter((e) => PV(e) !== PV(t))]), V("/api/search-history", { query: t }).catch(() => null));
+ t && e().historyLimit && (s([t, ...o().filter((e) => FV(e) !== FV(t))]), V("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -58375,9 +58390,9 @@ function kOe(e, t, n, r) {
let i = n();
i && e().helpers.dismiss(i), t.active = -1, r();
}, m = () => {
- t.query = i().value.trim(), t.picks = t.query ? [] : TOe(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : wOe(t.pool, o()), t.active = -1;
let a = n();
- a && (DOe(FV(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (EOe(IV(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, h = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -58389,7 +58404,7 @@ function kOe(e, t, n, r) {
n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), m(), t.rewind = !0, d(n, e).then(() => {
a() && t.kind === e && m();
}));
- }, _ = () => f() ? FV(t).options : [], v = (e) => {
+ }, _ = () => f() ? IV(t).options : [], v = (e) => {
let n = _();
return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;
}, y = (t, n) => {
@@ -58398,7 +58413,7 @@ function kOe(e, t, n, r) {
}, b = (t, n) => {
i().blur(), l(n), e().actions.openEntity(t, n);
}, x = (t) => {
- t.type === "more" ? (y(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && MV.has(t.kind) ? b(t.kind, t.value) : (i().value = t.value, y(!1, !0));
+ t.type === "more" ? (y(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && NV.has(t.kind) ? b(t.kind, t.value) : (i().value = t.value, y(!1, !0));
};
return {
input: (t) => {
@@ -58442,12 +58457,12 @@ function kOe(e, t, n, r) {
await V("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => PV(t) !== PV(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => FV(t) !== FV(e))), t.active = -1, r();
},
pickKind: g
};
}
-function AOe({ tabs: e, kind: t, onPick: n, wire: r }) {
+function kOe({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, b.useRef)(null);
(0, b.useLayoutEffect)(() => {
r(i.current);
@@ -58459,7 +58474,7 @@ function AOe({ tabs: e, kind: t, onPick: n, wire: r }) {
"aria-selected": t === e,
onMouseDown: (e) => e.preventDefault(),
onClick: () => n(e),
- children: [r, i ? /* @__PURE__ */ (0, x.jsx)(rB, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, x.jsx)(iB, { value: i }) : null]
}, e || "all");
return /* @__PURE__ */ (0, x.jsxs)("div", {
ref: i,
@@ -58469,8 +58484,8 @@ function AOe({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var LV = (e) => e.preventDefault();
-function jOe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+var RV = (e) => e.preventDefault();
+function AOe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -58482,40 +58497,40 @@ function jOe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-search-option": "more",
...o,
- onMouseDown: LV,
+ onMouseDown: RV,
children: [
"查看全部 ",
e.total.toLocaleString(),
" 个视频",
- /* @__PURE__ */ (0, x.jsx)(IV, { name: "chevron-right" })
+ /* @__PURE__ */ (0, x.jsx)(LV, { name: "chevron-right" })
]
});
if (e.type !== "suggest") return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, x.jsx)(IV, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, x.jsx)(LV, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, x.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-remove-history": e.value,
"aria-label": `删除历史 ${e.value}`,
- onMouseDown: LV,
+ onMouseDown: RV,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, x.jsx)(IV, { name: "x" })
+ children: /* @__PURE__ */ (0, x.jsx)(LV, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = MV.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = NV.has(c) ? c : void 0;
if (c === "asset") {
let e = [s.who, s.code ? s.title : ""].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-search-option": "work",
"data-open-item": s.id,
...o,
- children: [/* @__PURE__ */ (0, x.jsx)(RV, {
+ children: [/* @__PURE__ */ (0, x.jsx)(zV, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -58541,7 +58556,7 @@ function jOe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- /* @__PURE__ */ (0, x.jsx)(zV, {
+ /* @__PURE__ */ (0, x.jsx)(BV, {
item: s,
kind: c
}),
@@ -58561,11 +58576,11 @@ function jOe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-open-work": e.id,
"aria-label": `打开 ${e.code || s.value}`,
- onMouseDown: LV,
+ onMouseDown: RV,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, x.jsx)(RV, {
+ children: /* @__PURE__ */ (0, x.jsx)(zV, {
card: e,
helpers: n
})
@@ -58579,7 +58594,7 @@ function jOe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, x.jsx)(zV, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, x.jsx)(BV, {
item: s,
kind: c
}) : null,
@@ -58592,13 +58607,13 @@ function jOe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function RV({ card: e, helpers: t }) {
+function zV({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function zV({ item: e, kind: t }) {
+function BV({ item: e, kind: t }) {
let n = {
id: e.entity_id,
has_image: e.has_image,
@@ -58614,45 +58629,45 @@ function zV({ item: e, kind: t }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var BV = "/api/configuration", MOe = "/api/pick-folder", VV = ["configuration"], HV = (e) => B(BV, e);
-async function NOe(e) {
+var VV = "/api/configuration", jOe = "/api/pick-folder", HV = ["configuration"], UV = (e) => B(VV, e);
+async function MOe(e) {
await H.fetchQuery({
- queryKey: VV,
- queryFn: () => HV(e)
+ queryKey: HV,
+ queryFn: () => UV(e)
});
}
//#endregion
//#region src/react/settings/configuration-panel.ts
-var UV = "flex flex-col gap-6";
-function WV(e) {
+var WV = "flex flex-col gap-6";
+function GV(e) {
return e ? {
- className: e.active ? `${UV} ui-board-group-active` : UV,
+ className: e.active ? `${WV} ui-board-group-active` : WV,
"data-board-group": String(e.index),
id: e.id,
role: "tabpanel",
"aria-labelledby": e.labelledBy
- } : { className: UV };
+ } : { className: WV };
}
//#endregion
//#region src/react/settings/download-settings.tsx
-var POe = "/api/configuration/downloads", GV = "/api/configuration/downloads/check", FOe = "/api/configuration/downloads/folder", IOe = "/api/configuration/downloads/pikpak/login", LOe = "/api/configuration/downloads/pikpak/logout", KV = "/api/configuration/downloads/pikpak/browser-login", qV = 2e3;
-function ROe({ initial: e, receipt: t, panel: n }) {
+var NOe = "/api/configuration/downloads", KV = "/api/configuration/downloads/check", POe = "/api/configuration/downloads/folder", FOe = "/api/configuration/downloads/pikpak/login", IOe = "/api/configuration/downloads/pikpak/logout", qV = "/api/configuration/downloads/pikpak/browser-login", JV = 2e3;
+function LOe({ initial: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- ...WV(n),
- children: /* @__PURE__ */ (0, x.jsx)(zOe, {
+ ...GV(n),
+ children: /* @__PURE__ */ (0, x.jsx)(ROe, {
initial: e,
receipt: t
})
});
}
-function zOe({ initial: e, receipt: t }) {
+function ROe({ initial: e, receipt: t }) {
let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(""), o = n.pikpak.logged_in || !!i.trim();
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(BOe, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(zOe, {
state: n,
settle: r,
receipt: t,
pikpakAccount: o
- }), /* @__PURE__ */ (0, x.jsx)(HOe, {
+ }), /* @__PURE__ */ (0, x.jsx)(VOe, {
state: n,
settle: r,
receipt: t,
@@ -58660,8 +58675,8 @@ function zOe({ initial: e, receipt: t }) {
setUsername: a
})] });
}
-function BOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
- let [i, a] = (0, b.useState)(e.config), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(String(e.config.wait_hours)), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(""), [m, h] = (0, b.useState)(JV), [g, _] = (0, b.useState)(""), [v, y] = (0, b.useState)(!1), S = mk(), C = (e) => i.targets[e] ?? "", w = (e, t) => a({
+function zOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
+ let [i, a] = (0, b.useState)(e.config), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(String(e.config.wait_hours)), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(""), [m, h] = (0, b.useState)(YV), [g, _] = (0, b.useState)(""), [v, y] = (0, b.useState)(!1), S = mk(), C = (e) => i.targets[e] ?? "", w = (e, t) => a({
...i,
targets: {
...i.targets,
@@ -58690,7 +58705,7 @@ function BOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
target: !e.config.targets[115],
root: !e.config.pikpak_root
};
- S.run("auto", (e) => B(GV, e), (e) => E(e, t), (e) => _(z(e)));
+ S.run("auto", (e) => B(KV, e), (e) => E(e, t), (e) => _(z(e)));
}, []), /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "云下载",
onSubmit: (e) => {
@@ -58704,18 +58719,18 @@ function BOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
token: o,
pikpak_account: r
};
- S.run("save", (e) => V(POe, f, "POST", e), (e) => {
+ S.run("save", (e) => V(NOe, f, "POST", e), (e) => {
let { report: r, ...i } = e;
t(i), a(i.config), l(String(i.config.wait_hours)), s(""), r ? E(r, {
address: !i.config.clouddrive_address,
target: u,
root: !i.config.pikpak_root
- }, i.config.targets[115] ?? "") : (d(null), p(""), h(JV), y(!1), _("")), n("已保存配置");
+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(YV), y(!1), _("")), n("已保存配置");
}, (e) => _(z(e)));
},
children: [
/* @__PURE__ */ (0, x.jsxs)(bk, { children: [
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "CloudDrive2 地址",
placeholder: "留空自动查找",
autoComplete: "off",
@@ -58727,7 +58742,7 @@ function BOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
clouddrive_address: e
})
}),
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "CloudDrive2 API 令牌",
type: "password",
autoComplete: "off",
@@ -58738,7 +58753,7 @@ function BOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: s
}),
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: /* @__PURE__ */ (0, x.jsx)(Ik, {
source: "115",
label: "115 目标目录"
@@ -58753,7 +58768,7 @@ function BOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: (e) => w("115", e)
}),
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: /* @__PURE__ */ (0, x.jsx)(Ik, {
source: "pikpak",
label: "PikPak 目标目录"
@@ -58771,7 +58786,7 @@ function BOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
children: [/* @__PURE__ */ (0, x.jsx)(wk, { children: /* @__PURE__ */ (0, x.jsx)(Ik, {
source: "pikpak",
label: "PikPak 根目录对应的媒体文件夹"
- }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, x.jsx)(YP, {
+ }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "PikPak 根目录对应的媒体文件夹",
selectedKey: i.pikpak_root || null,
isDisabled: !e.available,
@@ -58780,13 +58795,13 @@ function BOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
...i,
pikpak_root: e === null ? "" : String(e)
}),
- children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, x.jsx)(XP, {
+ children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: e
}, e))
}) : /* @__PURE__ */ (0, x.jsx)(Sk, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]
}),
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "等待上限(小时)",
type: "number",
inputMode: "numeric",
@@ -58801,7 +58816,7 @@ function BOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
divided: !0,
children: /* @__PURE__ */ (0, x.jsx)(uk, { label: "正在检查 CloudDrive2" })
}) : null,
- u ? /* @__PURE__ */ (0, x.jsx)(VOe, {
+ u ? /* @__PURE__ */ (0, x.jsx)(BOe, {
report: u,
detected: f,
suggested: m,
@@ -58813,7 +58828,7 @@ function BOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- S.run("folder", (e) => V(FOe, t, "POST", e), (t) => {
+ S.run("folder", (e) => V(POe, t, "POST", e), (t) => {
d(t), h((t) => ({
...t,
target: {
@@ -58845,7 +58860,7 @@ function BOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- S.run("check", (e) => V(GV, t, "POST", e), (t) => E(t, e), (e) => _(z(e)));
+ S.run("check", (e) => V(KV, t, "POST", e), (t) => E(t, e), (e) => _(z(e)));
},
disabled: !e.available,
...q(S.busy === "check"),
@@ -58860,12 +58875,12 @@ function BOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
]
});
}
-var JV = {
+var YV = {
target: null,
root: "",
saved: !1
};
-function VOe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
+function BOe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
let a = n.target;
return /* @__PURE__ */ (0, x.jsxs)(bk, {
divided: !0,
@@ -58919,30 +58934,30 @@ function VOe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
] }), e.problems.map((e) => /* @__PURE__ */ (0, x.jsx)(Ck, { children: e }, e))]
});
}
-function HOe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
+function VOe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
let [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(!1), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(""), h = mk(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
(0, b.useEffect)(() => {
if (!v) return;
let e = new AbortController(), r, i = async () => {
try {
- let r = await B(KV, e.signal);
+ let r = await B(qV, e.signal);
if (e.signal.aborted || (t(r), r.pikpak_browser.state === "done" ? n("已登录 PikPak") : r.pikpak_browser.state !== "waiting" && m(r.pikpak_browser.message), r.pikpak_browser.state !== "waiting")) return;
} catch (t) {
if (e.signal.aborted) return;
f(z(t));
}
- r = setTimeout(i, qV);
+ r = setTimeout(i, JV);
};
- return r = setTimeout(i, qV), () => {
+ return r = setTimeout(i, JV), () => {
e.abort(), clearTimeout(r);
};
}, [v]);
let y = () => {
- m(""), h.run("browser", (e) => V(KV, {}, "POST", e), (e) => {
+ m(""), h.run("browser", (e) => V(qV, {}, "POST", e), (e) => {
t(e), f("");
}, (e) => f(z(e)));
}, S = () => {
- h.run("cancel", (e) => V(`${KV}/cancel`, {}, "POST", e), (e) => {
+ h.run("cancel", (e) => V(`${qV}/cancel`, {}, "POST", e), (e) => {
t(e), f(""), m(e.pikpak_browser.message);
}, (e) => f(z(e)));
}, C = (e) => {
@@ -58952,15 +58967,15 @@ function HOe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
password: a,
remember: s
};
- h.run("login", (e) => V(IOe, i, "POST", e), (e) => {
+ h.run("login", (e) => V(FOe, i, "POST", e), (e) => {
t(e.settings), f(""), e.ok ? (u(""), o(""), n("已登录 PikPak")) : u(e.captcha_url ?? "");
}, (e) => f(z(e)));
}, w = () => {
- h.run("logout", (e) => V(LOe, {}, "POST", e), (e) => {
+ h.run("logout", (e) => V(IOe, {}, "POST", e), (e) => {
t(e), f(""), n("已登出 PikPak");
}, (e) => f(z(e)));
}, T = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "账号",
placeholder: "邮箱或手机号",
autoComplete: "username",
@@ -58969,7 +58984,7 @@ function HOe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: i
}),
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "密码",
type: "password",
autoComplete: "current-password",
@@ -58978,7 +58993,7 @@ function HOe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: o
}),
- /* @__PURE__ */ (0, x.jsx)(nF, {
+ /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: s,
isDisabled: !e.available,
onChange: c,
@@ -59060,28 +59075,28 @@ function HOe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var UOe = [
+var HOe = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function WOe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
+function UOe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...WV(r),
+ ...GV(r),
children: [
- /* @__PURE__ */ (0, x.jsx)(qOe, { facts: e.facts }),
- /* @__PURE__ */ (0, x.jsx)(GOe, {
+ /* @__PURE__ */ (0, x.jsx)(KOe, { facts: e.facts }),
+ /* @__PURE__ */ (0, x.jsx)(WOe, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, x.jsx)(JOe, {
+ e.uninstall ? /* @__PURE__ */ (0, x.jsx)(qOe, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function GOe({ receipt: e, reopenTutorial: t }) {
+function WOe({ receipt: e, reopenTutorial: t }) {
let n = mk();
return /* @__PURE__ */ (0, x.jsx)("section", {
"aria-label": "安装教程",
@@ -59097,7 +59112,7 @@ function GOe({ receipt: e, reopenTutorial: t }) {
}) }), n.error ? /* @__PURE__ */ (0, x.jsx)(bk, { children: /* @__PURE__ */ (0, x.jsx)(Ck, { children: n.error }) }) : null] })
});
}
-function KOe({ initial: e, receipt: t }) {
+function GOe({ initial: e, receipt: t }) {
let [n, r] = (0, b.useState)(e.mode), [i, a] = (0, b.useState)(e.interval_hours), o = mk(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => V("/api/configuration/automatic-updates", {
mode: n,
@@ -59111,7 +59126,7 @@ function KOe({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, x.jsxs)(yk, { children: [
/* @__PURE__ */ (0, x.jsx)(hk, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, x.jsx)(Kz, {
+ children: /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
@@ -59120,7 +59135,7 @@ function KOe({ initial: e, receipt: t }) {
}),
/* @__PURE__ */ (0, x.jsx)(hk, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, x.jsx)(Kz, {
+ children: /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
@@ -59130,14 +59145,14 @@ function KOe({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, x.jsx)(hk, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, x.jsx)(YP, {
+ children: /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: UOe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(XP, {
+ children: HOe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: t
}, e))
@@ -59157,7 +59172,7 @@ function KOe({ initial: e, receipt: t }) {
]
});
}
-function qOe({ facts: e }) {
+function KOe({ facts: e }) {
return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "运行信息",
children: [/* @__PURE__ */ (0, x.jsx)(Ek, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(Dk, {
@@ -59176,7 +59191,7 @@ function qOe({ facts: e }) {
}) })]
});
}
-function JOe({ uninstall: e, receipt: t }) {
+function qOe({ uninstall: e, receipt: t }) {
let [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(""), o = () => void cs({
title: "卸载 Peach",
danger: !0,
@@ -59198,7 +59213,7 @@ function JOe({ uninstall: e, receipt: t }) {
/* @__PURE__ */ (0, x.jsx)(hk, {
label: "完全卸载",
description: "同时删除设置、本地数据库、观看记录、凭据和缓存",
- children: /* @__PURE__ */ (0, x.jsx)(Kz, {
+ children: /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "完全卸载",
isSelected: n,
isDisabled: !e.full_available || !!i,
@@ -59207,7 +59222,7 @@ function JOe({ uninstall: e, receipt: t }) {
}),
/* @__PURE__ */ (0, x.jsx)(Ok, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, x.jsx)(WP, {
+ children: c.map((e) => /* @__PURE__ */ (0, x.jsx)(GP, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
@@ -59229,23 +59244,23 @@ function JOe({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var YV = /* @__PURE__ */ new Set([
+var XV = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), YOe = [
+]), JOe = [
65,
67,
90
-], XV = 120;
-function XOe({ initial: e, initialJob: t }) {
+], ZV = 120;
+function YOe({ initial: e, initialJob: t }) {
let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, b.useState)(""), c = mk(), l = (0, b.useRef)(!1), u = (0, b.useRef)(!0), d = YV.has(i.state);
+ }), [o, s] = (0, b.useState)(""), c = mk(), l = (0, b.useRef)(!1), u = (0, b.useRef)(!0), d = XV.has(i.state);
(0, b.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -59262,7 +59277,7 @@ function XOe({ initial: e, initialJob: t }) {
(0, b.useEffect)(() => {
i.state !== "ready" || l.current || (l.current = !0, p());
}, [i.state]), (0, b.useEffect)(() => {
- let e = new AbortController(), t = YV.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = XV.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
let t = await B("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
@@ -59275,9 +59290,9 @@ function XOe({ initial: e, initialJob: t }) {
let n = await B("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= XV && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= ZV && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < XV && (n = setTimeout(c, t));
+ !e.signal.aborted && o < ZV && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -59332,7 +59347,7 @@ function XOe({ initial: e, initialJob: t }) {
/* @__PURE__ */ (0, x.jsx)(pk, {
label: "更新准备进度",
value: i.progress,
- stops: YOe
+ stops: JOe
}),
/* @__PURE__ */ (0, x.jsxs)(Sk, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
/* @__PURE__ */ (0, x.jsx)(Sk, { children: _ })
@@ -59369,26 +59384,26 @@ function XOe({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function ZOe({ data: e, receipt: t, panel: n }) {
+function XOe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...WV(n),
+ ...GV(n),
children: [
- e.startup ? /* @__PURE__ */ (0, x.jsx)(QOe, {
+ e.startup ? /* @__PURE__ */ (0, x.jsx)(ZOe, {
startup: e.startup,
receipt: t
}) : null,
- e.automatic_updates ? /* @__PURE__ */ (0, x.jsx)(KOe, {
+ e.automatic_updates ? /* @__PURE__ */ (0, x.jsx)(GOe, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, x.jsx)(XOe, {
+ e.updates ? /* @__PURE__ */ (0, x.jsx)(YOe, {
initial: e.updates,
initialJob: e.update_job
}) : null
]
});
}
-function QOe({ startup: e, receipt: t }) {
+function ZOe({ startup: e, receipt: t }) {
let [n, r] = (0, b.useState)(e.enabled), [i, a] = (0, b.useState)(e.silent), [o, s] = (0, b.useState)(e.desktop), c = mk(), l = e.available && !e.desktop_message;
return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "开机自启",
@@ -59403,7 +59418,7 @@ function QOe({ startup: e, receipt: t }) {
/* @__PURE__ */ (0, x.jsxs)(yk, { children: [
/* @__PURE__ */ (0, x.jsx)(hk, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, x.jsx)(Kz, {
+ children: /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
@@ -59412,7 +59427,7 @@ function QOe({ startup: e, receipt: t }) {
}),
/* @__PURE__ */ (0, x.jsx)(hk, {
label: "只启动托盘,不打开网页",
- children: /* @__PURE__ */ (0, x.jsx)(Kz, {
+ children: /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "只启动托盘,不打开网页",
isSelected: i,
isDisabled: !e.available || !n,
@@ -59422,7 +59437,7 @@ function QOe({ startup: e, receipt: t }) {
/* @__PURE__ */ (0, x.jsx)(hk, {
label: "在桌面创建快捷方式",
description: e.desktop_message || void 0,
- children: /* @__PURE__ */ (0, x.jsx)(Kz, {
+ children: /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -59445,7 +59460,7 @@ function QOe({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/restart-redirect.ts
-var ZV = 8e3, $Oe = [
+var QV = 8e3, QOe = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -59464,12 +59479,12 @@ var ZV = 8e3, $Oe = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], eke = [
+], $Oe = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function tke() {
+function eke() {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: "@container flex flex-col gap-3",
children: /* @__PURE__ */ (0, x.jsxs)(Ok, {
@@ -59483,14 +59498,14 @@ function tke() {
/* @__PURE__ */ (0, x.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: $Oe.map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
+ children: QOe.map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, x.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: eke.map(([t, n]) => /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: $Oe.map(([t, n]) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, x.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -59521,7 +59536,7 @@ function tke() {
}
//#endregion
//#region src/react/settings/folder-rows.tsx
-function nke({ className: e }) {
+function tke({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -59534,12 +59549,12 @@ function nke({ className: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-folder-search" })
});
}
-var QV = [
+var $V = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], $V = (e) => Ja[e] || "database", rke = (e) => e === "115" || e === "pikpak";
-function ike({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
+], eH = (e) => Ja[e] || "database", nke = (e) => e === "115" || e === "pikpak";
+function rke({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)([]), [l, u] = (0, b.useState)(null), [d, f] = (0, b.useState)(null), p = (0, b.useRef)(!1), m = (0, b.useRef)([]);
(0, b.useLayoutEffect)(() => {
l !== null && (m.current[l]?.focus(), u(null));
@@ -59582,7 +59597,7 @@ function ike({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick:
}
};
}
-function ake({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {
+function ike({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {
let u = (0, b.useRef)(null), d = () => {
let e = u.current;
e && e.ownerDocument.activeElement !== e && (e.scrollLeft = e.scrollWidth);
@@ -59595,7 +59610,7 @@ function ake({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
className: "min-w-0 flex-1",
"aria-label": e,
placeholder: "本机文件夹路径",
@@ -59613,8 +59628,8 @@ function ake({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
className: "flex h-9 shrink-0 items-center",
children: c
}) : null,
- /* @__PURE__ */ (0, x.jsx)(UP, {
- icon: nke,
+ /* @__PURE__ */ (0, x.jsx)(WP, {
+ icon: tke,
"aria-label": "选择文件夹",
onClick: o,
...q(a)
@@ -59633,23 +59648,23 @@ function ake({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
})]
});
}
-function oke({ index: e, value: t, onChange: n, options: r = QV }) {
- return /* @__PURE__ */ (0, x.jsx)(YP, {
+function ake({ index: e, value: t, onChange: n, options: r = $V }) {
+ return /* @__PURE__ */ (0, x.jsx)(XP, {
className: "w-full @lg:w-60",
"aria-label": `媒体来源 ${e + 1}`,
selectedKey: t,
onSelectionChange: (e) => {
e !== null && n(String(e));
},
- children: r.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(XP, {
+ children: r.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(ZP, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, x.jsx)(kk, { mark: $V(e) }), t]
+ children: [/* @__PURE__ */ (0, x.jsx)(kk, { mark: eH(e) }), t]
}, e))
});
}
-function ske({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
- return /* @__PURE__ */ (0, x.jsx)(Mj, {
+function oke({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
+ return /* @__PURE__ */ (0, x.jsx)(Nj, {
label: n,
placeholder: r,
value: e,
@@ -59658,7 +59673,7 @@ function ske({ value: e, onChange: t, label: n = "Windows 中的对应路径", p
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var eH = [
+var tH = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -59702,13 +59717,13 @@ var eH = [
["star", "收藏"],
["tags", "主题"]
];
-function cke(e) {
+function ske(e) {
let t = e === "local" ? "" : Ja[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var tH = "auto";
-function lke({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, b.useRef)(null), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(e), [l, u] = cke(n);
+var nH = "auto";
+function cke({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, b.useRef)(null), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(e), [l, u] = ske(n);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
ref: i,
variant: "secondary",
@@ -59722,7 +59737,7 @@ function lke({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, x.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(kk, { mark: e || l }), ((e) => e && eH.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, x.jsx)(kk, { mark: e || l }), ((e) => e && tH.find(([t]) => t === e)?.[1] || u)(e)]
})
}), /* @__PURE__ */ (0, x.jsx)(MA, {
triggerRef: i,
@@ -59730,8 +59745,8 @@ function lke({ value: e, label: t, kind: n = "local", onChange: r }) {
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: yP,
- children: /* @__PURE__ */ (0, x.jsxs)(HA, {
+ className: bP,
+ children: /* @__PURE__ */ (0, x.jsxs)(UA, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
@@ -59740,17 +59755,17 @@ function lke({ value: e, label: t, kind: n = "local", onChange: r }) {
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, x.jsx)(YA, {
+ /* @__PURE__ */ (0, x.jsx)(XA, {
"aria-label": "候选图标",
- value: s || tH,
- onChange: (e) => c(e === tH ? "" : e),
+ value: s || nH,
+ onChange: (e) => c(e === nH ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: eH.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(XA, {
- value: e || tH,
+ children: tH.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZA, {
+ value: e || nH,
"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, x.jsx)(kk, { mark: e || l })
- }, e || tH))
+ }, e || nH))
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -59772,9 +59787,9 @@ function lke({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var uke = "/api/configuration/push-discovery", dke = "/api/configuration/push-discovery/secret";
-function fke({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.prefixes), [o, s] = (0, b.useState)(""), c = mk(), l = VP(), u = n.media_roots, [d, f] = (0, b.useState)(e), p = (e, n) => {
+var lke = "/api/configuration/push-discovery", uke = "/api/configuration/push-discovery/secret";
+function dke({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.prefixes), [o, s] = (0, b.useState)(""), c = mk(), l = HP(), u = n.media_roots, [d, f] = (0, b.useState)(e), p = (e, n) => {
r(e), f(e), a(e.prefixes), s(""), t(n);
}, m = (e, t) => a((n) => n.map((n, r) => r === e ? {
...n,
@@ -59787,9 +59802,9 @@ function fke({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => V(uke, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(z(e)));
+ c.run("save", (e) => V(lke, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(z(e)));
}, g = () => {
- c.run("secret", (e) => V(dke, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(z(e)));
+ c.run("secret", (e) => V(uke, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(z(e)));
}, _ = () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看配置」选中自己复制。"));
}, v = `已入库 ${d.queue.ingested} 个文件` + (d.queue.pending ? `,队列里还有 ${d.queue.pending} 条` : ""), y = d.local_running ? `正在监视 ${d.local_roots.join("、")}` : d.local_message || "没有运行";
@@ -59801,7 +59816,7 @@ function fke({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, x.jsx)(hk, {
label: "新文件落地就入库",
description: d.enabled ? v : void 0,
- children: /* @__PURE__ */ (0, x.jsx)(Kz, {
+ children: /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -59814,7 +59829,7 @@ function fke({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, x.jsx)(hk, {
label: "监视本机文件夹",
description: d.enabled && d.watch_local ? y : void 0,
- children: /* @__PURE__ */ (0, x.jsx)(Kz, {
+ children: /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -59826,7 +59841,7 @@ function fke({ initial: e, receipt: t }) {
}),
/* @__PURE__ */ (0, x.jsx)(hk, {
label: "接收 CloudDrive2 通知",
- children: /* @__PURE__ */ (0, x.jsx)(Kz, {
+ children: /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -59878,7 +59893,7 @@ function fke({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -59887,13 +59902,13 @@ function fke({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, x.jsx)(YP, {
+ /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, x.jsx)(XP, {
+ children: u.map((e) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: e
}, e))
@@ -59941,22 +59956,22 @@ function fke({ initial: e, receipt: t }) {
}
//#endregion
//#region src/application/initial-follow-ranges.ts
-var nH = [
+var rH = [
["0", "不限时间"],
["7", "最近 7 天"],
["30", "最近 30 天"],
["90", "最近 90 天"]
-], pke = [
+], fke = [
["off", "关闭"],
["precise", "每 10 秒一张"],
["coarse", "每 30 秒一张"]
];
-function mke({ epoch: e = 0 }) {
+function pke({ epoch: e = 0 }) {
let t = dt({
- queryKey: zN,
- queryFn: ({ signal: e }) => Ave(e),
+ queryKey: BN,
+ queryFn: ({ signal: e }) => kve(e),
refetchOnMount: "always"
- }), n = Nve(), r = n.reset;
+ }), n = Mve(), r = n.reset;
(0, b.useEffect)(() => {
r();
}, [e, r]);
@@ -59969,14 +59984,14 @@ function mke({ epoch: e = 0 }) {
description: "仅采集本机磁盘上的视频。",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "videoThumbnailSetting",
- children: /* @__PURE__ */ (0, x.jsx)(YP, {
+ children: /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "缩略图采集间隔",
selectedKey: i?.mode || "off",
isDisabled: !i || t.isFetching || n.isPending,
onSelectionChange: (e) => {
e !== null && n.mutate(String(e));
},
- children: pke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(XP, {
+ children: fke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: t
}, e))
@@ -59997,23 +60012,23 @@ function mke({ epoch: e = 0 }) {
]
});
}
-function hke({ receipt: e }) {
+function mke({ receipt: e }) {
let t = wT();
(0, b.useSyncExternalStore)(t.subscribe, t.version);
let n = dt({
- queryKey: LN,
- queryFn: ({ signal: e }) => BN(e),
+ queryKey: RN,
+ queryFn: ({ signal: e }) => VN(e),
refetchOnMount: "always"
- }), r = VN(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
+ }), r = HN(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "关注采集",
children: [/* @__PURE__ */ (0, x.jsxs)(yk, { children: [
- /* @__PURE__ */ (0, x.jsx)(gke, {}),
+ /* @__PURE__ */ (0, x.jsx)(hke, {}),
/* @__PURE__ */ (0, x.jsx)(hk, {
label: "首次采集范围",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "followInitialDaysSetting",
- children: /* @__PURE__ */ (0, x.jsx)(YP, {
+ children: /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "首次采集范围",
selectedKey: String(i),
isDisabled: n.isFetching || r.isPending,
@@ -60022,7 +60037,7 @@ function hke({ receipt: e }) {
typeof n.followInitialDays == "number" && (t.value.followInitialDays = n.followInitialDays), t.save(), e("已保存首次采集范围");
} });
},
- children: nH.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(XP, {
+ children: rH.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: t
}, e))
@@ -60043,12 +60058,12 @@ function hke({ receipt: e }) {
}) : null]
});
}
-function gke() {
+function hke() {
let e = dt({
- queryKey: RN,
- queryFn: ({ signal: e }) => kve(e),
+ queryKey: zN,
+ queryFn: ({ signal: e }) => Ove(e),
refetchOnMount: "always"
- }), t = Mve(), n = e.data, r = (0, b.useRef)(Yw(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, b.useState)("60"), [o, s] = (0, b.useState)(!1);
+ }), t = jve(), n = e.data, r = (0, b.useRef)(Yw(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, b.useState)("60"), [o, s] = (0, b.useState)(!1);
(0, b.useEffect)(() => {
n?.enabled && (r.current = n.interval_minutes, a(String(n.interval_minutes)));
}, [n]);
@@ -60062,7 +60077,7 @@ function gke() {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
id: "followScheduleSetting",
className: "flex min-w-0 flex-wrap items-center justify-end gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(Kz, {
+ children: [/* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "自动检查更新",
isSelected: n?.enabled === !0,
isDisabled: c,
@@ -60071,7 +60086,7 @@ function gke() {
}
}), n?.enabled ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(Mj, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Nj, {
type: "number",
inputMode: "numeric",
name: "follow-interval",
@@ -60106,29 +60121,29 @@ function gke() {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var _ke = (e) => QV.find(([t]) => t === e)?.[1] ?? e, vke = async (e) => (await V(MOe, { initial: e })).path, rH = (e = "") => ({
+var gke = (e) => $V.find(([t]) => t === e)?.[1] ?? e, _ke = async (e) => (await V(jOe, { initial: e })).path, iH = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function yke(e) {
- let t = e.media_sources?.filter((e) => QV.some(([t]) => t === e.location));
+function vke(e) {
+ let t = e.media_sources?.filter((e) => $V.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) => rH(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => iH(e));
}
-var bke = (e) => !(e instanceof en) || e.status !== 400 ? null : e.body?.errors ?? null;
-function xke({ data: e, receipt: t, panel: n }) {
+var yke = (e) => !(e instanceof en) || e.status !== 400 ? null : e.body?.errors ?? null;
+function bke({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...WV(n),
+ ...GV(n),
children: [
- e.editable ? /* @__PURE__ */ (0, x.jsx)(Ske, {
+ e.editable ? /* @__PURE__ */ (0, x.jsx)(xke, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, x.jsx)(K, {
@@ -60136,29 +60151,29 @@ function xke({ data: e, receipt: t, panel: n }) {
title: "只读",
children: e.notice
}),
- e.editable ? null : /* @__PURE__ */ (0, x.jsx)(Cke, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, x.jsx)(fke, {
+ e.editable ? null : /* @__PURE__ */ (0, x.jsx)(Ske, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, x.jsx)(dke, {
initial: e.push_discovery,
receipt: t
}) : null,
- /* @__PURE__ */ (0, x.jsx)(mke, {})
+ /* @__PURE__ */ (0, x.jsx)(pke, {})
]
});
}
-function Ske({ data: e, receipt: t }) {
- let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = ike({
- initial: () => yke(e),
- blank: () => rH(),
- pickFolder: vke,
+function xke({ data: e, receipt: t }) {
+ let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = rke({
+ initial: () => vke(e),
+ blank: () => iH(),
+ pickFolder: _ke,
describe: z
}), [d, f] = (0, b.useState)(!1), [p, m] = (0, b.useState)(""), [h, g] = (0, b.useState)(null), _ = (0, b.useRef)(e.revision), v = mk();
(0, b.useEffect)(() => {
if (!h) return;
- let e = setTimeout(() => location.assign(h.url), ZV);
+ let e = setTimeout(() => location.assign(h.url), QV);
return () => clearTimeout(e);
}, [h]);
let y = (r) => {
- r.preventDefault(), m(""), v.run("save", (t) => V(BV, {
+ r.preventDefault(), m(""), v.run("save", (t) => V(VV, {
revision: _.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -60167,7 +60182,7 @@ function Ske({ data: e, receipt: t }) {
}, "POST", t), (e) => {
_.current = e.revision, s([]), t("已保存配置"), g(e);
}, (e) => {
- let t = bke(e);
+ let t = yke(e);
s(t?.media_dirs ?? []), (!t || t.port) && m(t?.port || z(e));
});
};
@@ -60187,7 +60202,7 @@ function Ske({ data: e, receipt: t }) {
]
}) })
});
- let S = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, C = n.some((e) => rke(e.location)), w = C ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
+ let S = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, C = n.some((e) => nke(e.location)), w = C ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "媒体文件夹",
onSubmit: y,
@@ -60200,7 +60215,7 @@ function Ske({ data: e, receipt: t }) {
role: "group",
"aria-label": "媒体文件夹",
className: "flex flex-col gap-3",
- children: n.map((t, i) => /* @__PURE__ */ (0, x.jsxs)(ake, {
+ children: n.map((t, i) => /* @__PURE__ */ (0, x.jsxs)(ike, {
label: `媒体文件夹 ${i + 1}`,
path: t.path,
onPath: (e) => r(i, { path: e }),
@@ -60209,14 +60224,14 @@ function Ske({ data: e, receipt: t }) {
picking: c === i,
onPick: () => void l(i),
onRemove: n.length > 1 ? () => a(i) : void 0,
- status: S(t.path) ? /* @__PURE__ */ (0, x.jsx)(iH, { online: S(t.path)?.online }) : null,
+ status: S(t.path) ? /* @__PURE__ */ (0, x.jsx)(aH, { online: S(t.path)?.online }) : null,
children: [
- /* @__PURE__ */ (0, x.jsx)(oke, {
+ /* @__PURE__ */ (0, x.jsx)(ake, {
index: i,
value: t.location,
onChange: (e) => r(i, { location: e })
}),
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
className: "min-w-40 flex-1",
"aria-label": `媒体库名称 ${i + 1}`,
maxLength: 80,
@@ -60224,13 +60239,13 @@ function Ske({ data: e, receipt: t }) {
value: t.library,
onChange: (e) => r(i, { library: e })
}),
- /* @__PURE__ */ (0, x.jsx)(lke, {
+ /* @__PURE__ */ (0, x.jsx)(cke, {
label: `媒体库图标 ${i + 1}`,
value: t.library_icon,
kind: t.location,
onChange: (e) => r(i, { library_icon: e })
}),
- e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(ske, {
+ e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(oke, {
value: t.root,
onChange: (e) => r(i, { root: e })
}) : null
@@ -60245,7 +60260,7 @@ function Ske({ data: e, receipt: t }) {
})
]
}),
- C ? /* @__PURE__ */ (0, x.jsx)(tke, {}) : null,
+ C ? /* @__PURE__ */ (0, x.jsx)(eke, {}) : null,
w.map((e) => /* @__PURE__ */ (0, x.jsxs)(Sk, { children: [
"未检测到 ",
e.name,
@@ -60256,7 +60271,7 @@ function Ske({ data: e, receipt: t }) {
})
] }, e.name)),
e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: "Windows 对应路径应与馆藏中记录的路径一致。" }) : null,
- /* @__PURE__ */ (0, x.jsx)(nF, {
+ /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: d,
onChange: f,
children: "保存后扫描并补全资料"
@@ -60276,7 +60291,7 @@ function Ske({ data: e, receipt: t }) {
})]
});
}
-function iH({ online: e }) {
+function aH({ online: e }) {
return e === !0 ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-mount": "online",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",
@@ -60300,14 +60315,14 @@ function iH({ online: e }) {
}), "未检测"]
});
}
-function Cke({ data: e }) {
+function Ske({ data: e }) {
let t = e.media_sources, n = mk();
return t ? /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "挂载状态",
children: [
/* @__PURE__ */ (0, x.jsx)(Ek, { children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(Dk, {
- term: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(kk, { mark: $V(e.location) }), _ke(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, x.jsx)(iH, { online: e.online })]
+ term: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(kk, { mark: eH(e.location) }), gke(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, x.jsx)(aH, { online: e.online })]
}, t)) }),
n.error ? /* @__PURE__ */ (0, x.jsx)(bk, {
divided: !0,
@@ -60315,7 +60330,7 @@ function Cke({ data: e }) {
}) : null,
/* @__PURE__ */ (0, x.jsx)(xk, { children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- onClick: () => void n.run("refresh", (e) => HV(e), (e) => H.setQueryData(VV, e)),
+ onClick: () => void n.run("refresh", (e) => UV(e), (e) => H.setQueryData(HV, e)),
...q(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -60324,8 +60339,8 @@ function Cke({ data: e }) {
}
//#endregion
//#region src/react/settings/password-pair.tsx
-function wke({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Mj, {
+function Cke({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Nj, {
id: "access-password",
type: "password",
label: e,
@@ -60338,7 +60353,7 @@ function wke({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
validationBehavior: "aria",
isInvalid: !a && !!o,
hint: a ? s : o || s
- }), /* @__PURE__ */ (0, x.jsx)(Mj, {
+ }), /* @__PURE__ */ (0, x.jsx)(Nj, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -60355,12 +60370,12 @@ function wke({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var Tke = {
+var wke = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function Eke({ initial: e, receipt: t }) {
+function Tke({ initial: e, receipt: t }) {
let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(""), [u, d] = (0, b.useState)(!1), [f, p] = (0, b.useState)({}), m = (0, b.useRef)(null), h = mk(), g = (e) => {
e.preventDefault();
let f = {};
@@ -60377,7 +60392,7 @@ function Eke({ initial: e, receipt: t }) {
let t = e instanceof en ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(z(e));
});
- }, _ = Tke[n.mode], v = n.mode !== "locked";
+ }, _ = wke[n.mode], v = n.mode !== "locked";
return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "访问密码",
onSubmit: g,
@@ -60390,12 +60405,12 @@ function Eke({ initial: e, receipt: t }) {
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, x.jsx)(nF, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, x.jsx)(Mj, {
+ n.mode === "password" ? /* @__PURE__ */ (0, x.jsx)(Nj, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -60408,7 +60423,7 @@ function Eke({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, x.jsx)(wke, {
+ v ? /* @__PURE__ */ (0, x.jsx)(Cke, {
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
password: o,
confirmation: c,
@@ -60435,11 +60450,11 @@ function Eke({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/port-settings.tsx
-function Dke({ data: e, receipt: t }) {
+function Eke({ data: e, receipt: t }) {
let [n, r] = (0, b.useState)(String(e.port)), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(null), c = mk();
return (0, b.useEffect)(() => {
if (!o) return;
- let e = setTimeout(() => location.assign(o.url), ZV);
+ let e = setTimeout(() => location.assign(o.url), QV);
return () => clearTimeout(e);
}, [o]), o ? /* @__PURE__ */ (0, x.jsx)(vk, {
title: "本机访问端口",
@@ -60455,7 +60470,7 @@ function Dke({ data: e, receipt: t }) {
}) : /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "本机访问端口",
onSubmit: (r) => {
- r.preventDefault(), a(""), c.run("save", (t) => V(BV, {
+ r.preventDefault(), a(""), c.run("save", (t) => V(VV, {
revision: e.revision,
media_dirs: e.media_dirs,
...e.media_sources ? { media_sources: e.media_sources } : {},
@@ -60468,7 +60483,7 @@ function Dke({ data: e, receipt: t }) {
t?.port ? a(t.port) : c.setError(z(e));
});
},
- children: [/* @__PURE__ */ (0, x.jsxs)(bk, { children: [/* @__PURE__ */ (0, x.jsx)(Mj, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(bk, { children: [/* @__PURE__ */ (0, x.jsx)(Nj, {
id: "configPort",
label: "端口",
inputMode: "numeric",
@@ -60493,19 +60508,19 @@ function Dke({ data: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var Oke = 2e3, kke = [["quick", "临时链接"], ["named", "命名隧道"]], Ake = {
+var Dke = 2e3, Oke = [["quick", "临时链接"], ["named", "命名隧道"]], kke = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function jke({ revision: e, initial: t, receipt: n }) {
+function Ake({ revision: e, initial: t, receipt: n }) {
let [r, i] = (0, b.useState)(t), [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(t.mode), [l, u] = (0, b.useState)(t.hostname), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)({}), h = mk(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, b.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- HV(e.signal).then((t) => {
- !e.signal.aborted && t.tunnel && (H.setQueryData(VV, t), i(t.tunnel), o(t.revision));
+ UV(e.signal).then((t) => {
+ !e.signal.aborted && t.tunnel && (H.setQueryData(HV, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, Oke);
+ }, Dke);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -60530,20 +60545,20 @@ function jke({ revision: e, initial: t, receipt: n }) {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
children: [/* @__PURE__ */ (0, x.jsxs)(bk, { children: [
- r.named_available ? /* @__PURE__ */ (0, x.jsx)(qj, {
+ r.named_available ? /* @__PURE__ */ (0, x.jsx)(Jj, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: Jj,
- children: kke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(XA, {
+ className: Yj,
+ children: Oke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZA, {
value: e,
- className: Yj,
+ className: Xj,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, x.jsx)(Sk, { children: Ake[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Sk, { children: kke[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Nj, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -60554,7 +60569,7 @@ function jke({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "Cloudflare Zero Trust 里指向这台电脑的主机名。"
- }), /* @__PURE__ */ (0, x.jsx)(Mj, {
+ }), /* @__PURE__ */ (0, x.jsx)(Nj, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -60603,28 +60618,28 @@ function jke({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var Mke = [
+var jke = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function Nke({ data: e, receipt: t, panel: n }) {
+function Mke({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...WV(n),
+ ...GV(n),
children: [
- e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, x.jsx)(Dke, {
+ e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, x.jsx)(Eke, {
data: e,
receipt: t
}) : null,
- e.peach_proxy ? /* @__PURE__ */ (0, x.jsx)(Pke, {
+ e.peach_proxy ? /* @__PURE__ */ (0, x.jsx)(Nke, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, x.jsx)(Eke, {
+ e.access ? /* @__PURE__ */ (0, x.jsx)(Tke, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, x.jsx)(jke, {
+ e.tunnel ? /* @__PURE__ */ (0, x.jsx)(Ake, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -60632,7 +60647,7 @@ function Nke({ data: e, receipt: t, panel: n }) {
]
});
}
-function Pke({ initial: e, receipt: t }) {
+function Nke({ initial: e, receipt: t }) {
let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.mode), [o, s] = (0, b.useState)(""), c = mk();
return /* @__PURE__ */ (0, x.jsxs)(vk, {
id: "peachProxy",
@@ -60648,13 +60663,13 @@ function Pke({ initial: e, receipt: t }) {
children: [
/* @__PURE__ */ (0, x.jsx)(yk, { children: /* @__PURE__ */ (0, x.jsx)(hk, {
label: "连接方式",
- children: /* @__PURE__ */ (0, x.jsx)(YP, {
+ children: /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: Mke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(XP, {
+ children: jke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: t
}, e))
@@ -60663,7 +60678,7 @@ function Pke({ initial: e, receipt: t }) {
i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, x.jsxs)(bk, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, x.jsx)(Mj, {
+ i === "proxy" ? /* @__PURE__ */ (0, x.jsx)(Nj, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -60690,11 +60705,11 @@ function Pke({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var Fke = "将清除这个来源在本机和共享副本中的登录凭据。", Ike = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function Lke(e, t) {
+var Pke = "将清除这个来源在本机和共享副本中的登录凭据。", Fke = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function Ike(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function Rke({ row: e }) {
+function Lke({ row: e }) {
if (Br(e)) return /* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
color: "lime",
@@ -60707,7 +60722,7 @@ function Rke({ row: e }) {
children: zr[e.requirement] || ""
});
}
-function zke({ row: e, readOnly: t, toast: n }) {
+function Rke({ row: e, readOnly: t, toast: n }) {
let [r, i] = (0, b.useState)({}), [a, o] = (0, b.useState)(""), s = Br(e), c = ft({
mutationFn: (t) => br(e.provider, t),
onSuccess: (e, t) => {
@@ -60731,10 +60746,10 @@ function zke({ row: e, readOnly: t, toast: n }) {
e.howto ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: e.howto }) : null,
/* @__PURE__ */ (0, x.jsx)("div", {
className: "flex w-full flex-col gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, x.jsx)(Mj, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, x.jsx)(Nj, {
type: "password",
label: n,
- placeholder: Lke(e, n),
+ placeholder: Ike(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -60762,7 +60777,7 @@ function zke({ row: e, readOnly: t, toast: n }) {
...q(c.isPending),
onClick: () => void cs({
title: "清除来源凭据",
- body: Fke,
+ body: Pke,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -60774,7 +60789,7 @@ function zke({ row: e, readOnly: t, toast: n }) {
(e.shared_fields || []).length ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
e.path ? /* @__PURE__ */ (0, x.jsx)(Ok, {
summary: "凭据文件",
- children: /* @__PURE__ */ (0, x.jsx)(WP, {
+ children: /* @__PURE__ */ (0, x.jsx)(GP, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -60783,19 +60798,19 @@ function zke({ row: e, readOnly: t, toast: n }) {
]
});
}
-function Bke({ row: e, readOnly: t, toast: n }) {
+function zke({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-2",
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, x.jsx)(KR, { provider: e.provider })
+ children: /* @__PURE__ */ (0, x.jsx)(qR, { provider: e.provider })
}),
/* @__PURE__ */ (0, x.jsx)("b", {
className: "min-w-0 text-body-medium wrap-anywhere text-text-primary",
children: e.provider_label
}),
- /* @__PURE__ */ (0, x.jsx)(Rke, { row: e }),
+ /* @__PURE__ */ (0, x.jsx)(Lke, { row: e }),
e.missing.length ? /* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
color: "rose",
@@ -60813,7 +60828,7 @@ function Bke({ row: e, readOnly: t, toast: n }) {
/* @__PURE__ */ (0, x.jsx)(Ok, {
summary: Br(e) ? "修改凭据" : "填写凭据",
defaultOpen: e.requirement === "required" && !Br(e),
- children: /* @__PURE__ */ (0, x.jsx)(zke, {
+ children: /* @__PURE__ */ (0, x.jsx)(Rke, {
row: e,
readOnly: t,
toast: n
@@ -60822,12 +60837,12 @@ function Bke({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "凭据文件权限过宽",
- children: Ike
+ children: Fke
}) : null
]
});
}
-function Vke({ data: e, readOnly: t, toast: n }) {
+function Bke({ data: e, readOnly: t, toast: n }) {
let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !Br(e));
return r.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: ck({
@@ -60868,7 +60883,7 @@ function Vke({ data: e, readOnly: t, toast: n }) {
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(Bke, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(zke, {
row: e,
readOnly: t,
toast: n
@@ -60884,10 +60899,10 @@ function Vke({ data: e, readOnly: t, toast: n }) {
}
//#endregion
//#region src/configuration-copy.ts
-var Hke = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Uke = "只填域名,留空用默认地址";
+var Vke = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Hke = "只填域名,留空用默认地址";
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function Wke({ initial: e, receipt: t }) {
+function Uke({ initial: e, receipt: t }) {
let [n, r] = (0, b.useState)(e.sites), i = mk(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
@@ -60902,8 +60917,8 @@ function Wke({ initial: e, receipt: t }) {
});
},
children: [/* @__PURE__ */ (0, x.jsxs)(bk, { children: [
- /* @__PURE__ */ (0, x.jsx)(Sk, { children: Hke }),
- n.map((e) => /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Sk, { children: Vke }),
+ n.map((e) => /* @__PURE__ */ (0, x.jsx)(Nj, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -60912,7 +60927,7 @@ function Wke({ initial: e, receipt: t }) {
placeholder: e.default_host,
onChange: (t) => a(e.key, t),
validationBehavior: "aria",
- hint: Uke
+ hint: Hke
}, e.key)),
i.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: i.error }) : null
] }), /* @__PURE__ */ (0, x.jsx)(xk, { children: /* @__PURE__ */ (0, x.jsx)(G, {
@@ -60924,19 +60939,19 @@ function Wke({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/indexer-settings.tsx
-var aH = "/api/configuration/indexers";
-function Gke({ receipt: e }) {
+var oH = "/api/configuration/indexers";
+function Wke({ receipt: e }) {
let t = dt({
queryKey: ["indexers"],
- queryFn: ({ signal: e }) => B(aH, e),
+ queryFn: ({ signal: e }) => B(oH, e),
refetchOnMount: "always"
});
- return t.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: z(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, x.jsx)(uk, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, x.jsx)(Kke, {
+ return t.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: z(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, x.jsx)(uk, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, x.jsx)(Gke, {
initial: t.data,
receipt: e
}) : null;
}
-function Kke({ initial: e, receipt: t }) {
+function Gke({ initial: e, receipt: t }) {
let [n, r] = (0, b.useState)(e.indexers), i = mk(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
...t
@@ -60944,7 +60959,7 @@ function Kke({ initial: e, receipt: t }) {
return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "资源搜索",
onSubmit: (e) => {
- e.preventDefault(), i.run("save", (e) => V(aH, { indexers: n }, "POST", e), (e) => {
+ e.preventDefault(), i.run("save", (e) => V(oH, { indexers: n }, "POST", e), (e) => {
r(e.indexers), t("已保存索引器");
});
},
@@ -60956,14 +60971,14 @@ function Kke({ initial: e, receipt: t }) {
n.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4",
children: [
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: `索引器 ${t + 1} 名称`,
value: e.name,
maxLength: 80,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { name: t })
}),
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: `索引器 ${t + 1} Torznab 地址`,
value: e.url,
type: "url",
@@ -60972,7 +60987,7 @@ function Kke({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { url: t })
}),
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: `索引器 ${t + 1} API key`,
type: "password",
autoComplete: "new-password",
@@ -60981,13 +60996,13 @@ function Kke({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { api_key: t })
}),
- /* @__PURE__ */ (0, x.jsx)(nF, {
+ /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: e.enabled,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { enabled: t }),
children: "启用"
}),
- e.api_key_set ? /* @__PURE__ */ (0, x.jsx)(nF, {
+ e.api_key_set ? /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: !!e.clear_api_key,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { clear_api_key: t }),
@@ -61024,7 +61039,7 @@ function Kke({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/source-settings.tsx
-function qke({ data: e, receipt: t, panel: n }) {
+function Kke({ data: e, receipt: t, panel: n }) {
let r = dt({
queryKey: An,
queryFn: ({ signal: e }) => lr(e),
@@ -61032,14 +61047,14 @@ function qke({ data: e, receipt: t, panel: n }) {
refetchOnMount: "always"
});
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...WV(n),
+ ...GV(n),
children: [
/* @__PURE__ */ (0, x.jsx)("div", { children: /* @__PURE__ */ (0, x.jsx)(sk, {
href: "/scraping",
variant: "secondary",
children: "采集来源与登录状态"
}) }),
- r.data ? /* @__PURE__ */ (0, x.jsx)(Vke, {
+ r.data ? /* @__PURE__ */ (0, x.jsx)(Bke, {
data: r.data,
readOnly: !!e.ledger_read_only,
toast: t
@@ -61048,23 +61063,23 @@ function qke({ data: e, receipt: t, panel: n }) {
title: "来源凭据未取得",
children: z(r.error)
}) : n?.active === !1 ? null : /* @__PURE__ */ (0, x.jsx)(uk, { label: "正在读取来源凭据" }),
- e.entry_links ? /* @__PURE__ */ (0, x.jsx)(Wke, {
+ e.entry_links ? /* @__PURE__ */ (0, x.jsx)(Uke, {
initial: e.entry_links,
receipt: t
}) : null,
- /* @__PURE__ */ (0, x.jsx)(Gke, { receipt: t }),
- /* @__PURE__ */ (0, x.jsx)(hke, { receipt: t })
+ /* @__PURE__ */ (0, x.jsx)(Wke, { receipt: t }),
+ /* @__PURE__ */ (0, x.jsx)(mke, { receipt: t })
]
});
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function Jke({ receipt: e, reopenTutorial: t, section: n = "" }) {
+function qke({ receipt: e, reopenTutorial: t, section: n = "" }) {
let r = dt({
- queryKey: VV,
- queryFn: ({ signal: e }) => HV(e)
+ queryKey: HV,
+ queryFn: ({ signal: e }) => UV(e)
}), i = r.data;
- return i ? /* @__PURE__ */ (0, x.jsx)(Xke, {
+ return i ? /* @__PURE__ */ (0, x.jsx)(Yke, {
data: i,
receipt: e,
reopenTutorial: t,
@@ -61078,9 +61093,9 @@ function Jke({ receipt: e, reopenTutorial: t, section: n = "" }) {
})
});
}
-var Yke = 0;
-function Xke({ data: e, receipt: t, reopenTutorial: n, section: r }) {
- let [i] = (0, b.useState)(() => `board-tabs-${++Yke}`), [a, o] = (0, b.useState)(r), [s, c] = (0, b.useState)(() => matchMedia("(max-width:900px)").matches);
+var Jke = 0;
+function Yke({ data: e, receipt: t, reopenTutorial: n, section: r }) {
+ let [i] = (0, b.useState)(() => `board-tabs-${++Jke}`), [a, o] = (0, b.useState)(r), [s, c] = (0, b.useState)(() => matchMedia("(max-width:900px)").matches);
(0, b.useEffect)(() => {
let e = matchMedia("(max-width:900px)"), t = () => c(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
@@ -61091,21 +61106,21 @@ function Xke({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}, d = !!(e.peach_proxy || e.access || e.tunnel || e.editable && e.port_editable !== !1), f = e.downloads, p = [
{
title: "媒体库与入库",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(xke, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(bke, {
...u,
panel: e
})
},
{
title: "来源与订阅",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(qke, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(Kke, {
...u,
panel: e
})
},
...f ? [{
title: "下载渠道",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(ROe, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(LOe, {
initial: f,
receipt: t,
panel: e
@@ -61113,7 +61128,7 @@ function Xke({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}] : [],
...d ? [{
title: "网络与访问",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(Nke, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(Mke, {
...u,
panel: e
})
@@ -61121,8 +61136,8 @@ function Xke({ data: e, receipt: t, reopenTutorial: n, section: r }) {
{
title: "应用与维护",
body: (e) => /* @__PURE__ */ (0, x.jsxs)("div", {
- ...WV(e),
- children: [/* @__PURE__ */ (0, x.jsx)(ZOe, { ...u }), /* @__PURE__ */ (0, x.jsx)(WOe, {
+ ...GV(e),
+ children: [/* @__PURE__ */ (0, x.jsx)(XOe, { ...u }), /* @__PURE__ */ (0, x.jsx)(UOe, {
...u,
reopenTutorial: n
})]
@@ -61173,7 +61188,7 @@ function Xke({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}
//#endregion
//#region src/react/settings-panel/glow-settings.tsx
-var Zke = [
+var Xke = [
[
"strength",
"强度",
@@ -61200,7 +61215,7 @@ var Zke = [
100
]
];
-function Qke({ host: e, spot: t, index: n, glow: r }) {
+function Zke({ host: e, spot: t, index: n, glow: r }) {
let i = Ose[n], a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)("all");
(0, b.useLayoutEffect)(() => {
let [e, t, n] = [
@@ -61278,7 +61293,7 @@ function Qke({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function $ke({ host: e }) {
+function Qke({ host: e }) {
let t = e.store.value.homeGlow, n = lT(t.preset);
return /* @__PURE__ */ (0, x.jsxs)("section", {
"data-glow-setting": "",
@@ -61308,7 +61323,7 @@ function $ke({ host: e }) {
}),
/* @__PURE__ */ (0, x.jsx)("div", {
"data-glow-fields": "",
- children: Zke.map(([r, i, a]) => /* @__PURE__ */ (0, x.jsx)(dOe, {
+ children: Xke.map(([r, i, a]) => /* @__PURE__ */ (0, x.jsx)(uOe, {
field: r,
label: i,
max: a,
@@ -61330,7 +61345,7 @@ function $ke({ host: e }) {
hidden: n,
children: [/* @__PURE__ */ (0, x.jsx)("h4", { children: "颜色" }), /* @__PURE__ */ (0, x.jsx)("div", {
"data-glow-stops": "",
- children: oT.map((n, r) => /* @__PURE__ */ (0, x.jsx)(Qke, {
+ children: oT.map((n, r) => /* @__PURE__ */ (0, x.jsx)(Zke, {
host: e,
spot: n,
index: r,
@@ -61355,7 +61370,7 @@ function $ke({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/number-setting.tsx
-var eAe = {
+var $ke = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -61396,22 +61411,22 @@ var eAe = {
optional: !0,
fallback: 60
}
-}, oH = (e) => `peach.number.${e}`;
-function sH(e, t) {
+}, sH = (e) => `peach.number.${e}`;
+function cH(e, t) {
if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";
let n = e / 1440;
return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;
}
-function cH({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = eAe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, b.useRef)(0);
- d.current ||= Yw(Number(localStorage.getItem(oH(e))), o, s, n && n > 0 ? n : l);
+function lH({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
+ let a = $ke[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, b.useRef)(0);
+ d.current ||= Yw(Number(localStorage.getItem(sH(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, b.useState)(n ?? 0), [m, h] = (0, b.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, b.useState)(""), v = (0, b.useRef)(null), y = (0, b.useRef)(i);
y.current = i, (0, b.useLayoutEffect)(() => {
n !== null && (p(n), n > 0 && h(String(n)));
}, [n]);
let S = () => {
let t = v.current;
- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(oH(e), String(d.current)), y.current(d.current)));
+ t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(sH(e), String(d.current)), y.current(d.current)));
}, C = (0, b.useRef)(S);
C.current = S, (0, b.useEffect)(() => {
let e = v.current;
@@ -61421,7 +61436,7 @@ function cH({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}, []);
let w = f > 0, T = () => {
let t = v.current;
- t?.removeAttribute("aria-invalid"), _(""), w ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(oH(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
+ t?.removeAttribute("aria-invalid"), _(""), w ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(sH(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
}, E = r || n === null;
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-number-setting": "",
@@ -61458,7 +61473,7 @@ function cH({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
}), /* @__PURE__ */ (0, x.jsxs)("span", {
"aria-hidden": "true",
- children: [c, sH(Number(m), c) ? ` · ${sH(Number(m), c)}` : ""]
+ children: [c, cH(Number(m), c) ? ` · ${cH(Number(m), c)}` : ""]
})]
}), /* @__PURE__ */ (0, x.jsx)("small", {
id: `${e}-error`,
@@ -61472,13 +61487,13 @@ function cH({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
//#endregion
//#region src/react/sidebar/sidebar-order.ts
-function lH(e) {
- let { mutate: t } = VN();
+function uH(e) {
+ let { mutate: t } = HN();
return (0, b.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
}
-function uH(e, t, n, r) {
+function dH(e, t, n, r) {
if (t === n) return null;
let i = [...e], a = i.indexOf(t);
if (a < 0) return null;
@@ -61488,17 +61503,17 @@ function uH(e, t, n, r) {
}
//#endregion
//#region src/react/settings-panel/sidebar-order.tsx
-var tAe = "__home__", dH = (e) => e === "" ? tAe : e;
-function nAe({ host: e }) {
- let t = lH(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, b.useState)(null), [c, l] = (0, b.useState)(!1), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (e, r, i) => {
- let a = uH(n, e, r, i);
+var eAe = "__home__", fH = (e) => e === "" ? eAe : e;
+function tAe({ host: e }) {
+ let t = uH(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, b.useState)(null), [c, l] = (0, b.useState)(!1), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (e, r, i) => {
+ let a = dH(n, e, r, i);
a && t(a);
}, _ = (e, r) => {
let i = n.indexOf(e), a = i + r;
if (i < 0 || a < 0 || a >= n.length) return;
let o = [...n];
[o[i], o[a]] = [o[a], o[i]], t(o);
- }, v = a.find(([e]) => dH(e) === o) ?? a[0], y = () => {
+ }, v = a.find(([e]) => fH(e) === o) ?? a[0], y = () => {
h.current && Va(h.current), l(!1);
}, S = () => {
let e = h.current;
@@ -61519,7 +61534,7 @@ function nAe({ host: e }) {
}, T = (e) => ({
draggable: !0,
onDragStart: (t) => {
- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", dH(e));
+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", fH(e));
},
onDragOver: (t) => {
if (u === null || u === e) return;
@@ -61593,7 +61608,7 @@ function nAe({ host: e }) {
})
]
})]
- }, dH(e))), /* @__PURE__ */ (0, x.jsxs)("div", {
+ }, fH(e))), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-sidebar-add-row": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-sidebar-add-picker": "",
@@ -61626,15 +61641,15 @@ function nAe({ host: e }) {
children: a.map(([e, t, n]) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
role: "option",
- "data-sidebar-add-option": dH(e),
+ "data-sidebar-add-option": fH(e),
"aria-selected": v?.[0] === e,
tabIndex: v?.[0] === e ? 0 : -1,
onKeyDown: C,
onClick: () => {
- s(dH(e)), y(), m.current?.focus();
+ s(fH(e)), y(), m.current?.focus();
},
children: [/* @__PURE__ */ (0, x.jsx)(hO, { name: n ?? "" }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
- }, dH(e)))
+ }, fH(e)))
}) : null]
}), /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -61651,13 +61666,13 @@ function nAe({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/settings-panel.tsx
-var fH = [
+var pH = [
["外观与导航", "ri-palette-line"],
["浏览与播放", "ri-play-circle-line"],
["JAV 与新作", "jav"],
["搜索与推荐", "ri-search-line"],
["内容显示", "ri-shield-check-line"]
-], rAe = [
+], nAe = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -61666,7 +61681,7 @@ var fH = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], iAe = [["desc", "降序"], ["asc", "升序"]], aAe = [[
+], rAe = [["desc", "降序"], ["asc", "升序"]], iAe = [[
"cover",
"官方封面",
""
@@ -61674,7 +61689,7 @@ var fH = [
"thumbnail",
"预览图",
""
-]], oAe = [
+]], aAe = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -61693,83 +61708,83 @@ var fH = [
"切片",
"隐藏切片"
]
-], sAe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", pH = null, mH = {
+], oAe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", mH = null, hH = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
configurable: null
-}, hH = 0, gH = null, _H = /* @__PURE__ */ new Set();
-function cAe(e) {
- return _H.add(e), () => {
- _H.delete(e);
+}, gH = 0, _H = null, vH = /* @__PURE__ */ new Set();
+function sAe(e) {
+ return vH.add(e), () => {
+ vH.delete(e);
};
}
-function lAe() {
- for (let e of [..._H]) e();
+function cAe() {
+ for (let e of [...vH]) e();
}
-function vH(e) {
- mH = {
- ...mH,
+function yH(e) {
+ hH = {
+ ...hH,
...e
- }, (0, mt.flushSync)(lAe);
+ }, (0, mt.flushSync)(cAe);
}
-async function uAe(e) {
- let t = mH.epoch, n = await e.configurable();
- mH.open && mH.epoch === t && vH({ configurable: n });
+async function lAe(e) {
+ let t = hH.epoch, n = await e.configurable();
+ hH.open && hH.epoch === t && yH({ configurable: n });
}
-function dAe(e = "") {
- let t = pH;
+function uAe(e = "") {
+ let t = mH;
if (!t) return;
- Ra(), hH += 1, gH ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let n = fH.findIndex(([t]) => t === e), r = jve();
- vH({
+ Ra(), gH += 1, _H ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
+ let n = pH.findIndex(([t]) => t === e), r = Ave();
+ yH({
open: !0,
closing: !1,
configurable: null,
- epoch: mH.epoch + 1,
- tab: n >= 0 ? n : mH.tab
+ epoch: hH.epoch + 1,
+ tab: n >= 0 ? n : hH.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), uAe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), lAe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
-function yH() {
- if (!mH.open || mH.closing) return;
- let e = ++hH;
- vH({ closing: !0 });
+function bH() {
+ if (!hH.open || hH.closing) return;
+ let e = ++gH;
+ yH({ closing: !0 });
let t = () => {
- e === hH && mH.closing && (vH({
+ e === gH && hH.closing && (yH({
open: !1,
closing: !1
- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), gH instanceof HTMLElement && document.contains(gH) && gH.focus(), gH = null);
+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), _H instanceof HTMLElement && document.contains(_H) && _H.focus(), _H = null);
};
matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(t) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", t, { once: !0 }), setTimeout(t, 380));
}
-var fAe = {
- open: dAe,
- close: yH,
- isOpen: () => mH.open,
+var dAe = {
+ open: uAe,
+ close: bH,
+ isOpen: () => hH.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function pAe(e) {
- return pH = e, fAe;
+function fAe(e) {
+ return mH = e, dAe;
}
-function mAe() {
- let e = (0, b.useSyncExternalStore)(cAe, () => mH);
- return pH ? /* @__PURE__ */ (0, x.jsx)(_Ae, {
- host: pH,
+function pAe() {
+ let e = (0, b.useSyncExternalStore)(sAe, () => hH);
+ return mH ? /* @__PURE__ */ (0, x.jsx)(gAe, {
+ host: mH,
view: e
}) : null;
}
-function hAe(e) {
+function mAe(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(sAe)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(oAe)].filter((e) => e.getClientRects().length > 0);
if (!t.length) return;
let n = t[0], r = t[t.length - 1];
e.shiftKey && document.activeElement === n ? (e.preventDefault(), r.focus()) : !e.shiftKey && document.activeElement === r && (e.preventDefault(), n.focus());
}
-var bH = (e) => `settings-tab-${e}`, xH = (e) => `settings-group-${e}`;
-function gAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
+var xH = (e) => `settings-tab-${e}`, SH = (e) => `settings-group-${e}`;
+function hAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
let a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(e), l = (0, b.useRef)([]), u = (e, t) => {
let n = o.current;
if (!n) return;
@@ -61797,7 +61812,7 @@ function gAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
c.current = e, d.current(l.current[e], t);
}, [e, t]);
let f = (e, t) => {
- let n = fH.length, r = t;
+ let n = pH.length, r = t;
if (e.key === "ArrowRight" || e.key === "ArrowDown") r = (t + 1) % n;
else if (e.key === "ArrowLeft" || e.key === "ArrowUp") r = (t + n - 1) % n;
else if (e.key === "Home") r = 0;
@@ -61826,11 +61841,11 @@ function gAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
role: "presentation",
children: "设置"
}),
- fH.map(([t, n], r) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ pH.map(([t, n], r) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
role: "tab",
- id: bH(r),
- "aria-controls": xH(r),
+ id: xH(r),
+ "aria-controls": SH(r),
"aria-selected": r === e,
tabIndex: r === e ? 0 : -1,
ref: (e) => {
@@ -61861,17 +61876,17 @@ function gAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
]
});
}
-function SH({ index: e, tab: t, children: n }) {
+function CH({ index: e, tab: t, children: n }) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
"data-setting-group": "",
- id: xH(e),
+ id: SH(e),
role: "tabpanel",
- "aria-labelledby": bH(e),
+ "aria-labelledby": xH(e),
hidden: e !== t,
- children: [/* @__PURE__ */ (0, x.jsx)("h3", { children: fH[e][0] }), n]
+ children: [/* @__PURE__ */ (0, x.jsx)("h3", { children: pH[e][0] }), n]
});
}
-function CH({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
+function wH({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
return /* @__PURE__ */ (0, x.jsxs)("label", {
"data-setting-row": "",
children: [/* @__PURE__ */ (0, x.jsxs)("span", { children: [/* @__PURE__ */ (0, x.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, x.jsx)("small", {
@@ -61888,7 +61903,7 @@ function CH({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se
})]
});
}
-function wH({ title: e, description: t, kind: n, children: r }) {
+function TH({ title: e, description: t, kind: n, children: r }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-setting-row": "",
"data-setting-sort": n === "sort" ? "" : void 0,
@@ -61896,7 +61911,7 @@ function wH({ title: e, description: t, kind: n, children: r }) {
children: [/* @__PURE__ */ (0, x.jsxs)("span", { children: [/* @__PURE__ */ (0, x.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, x.jsx)("small", { children: t }) : t] }), r]
});
}
-function _Ae({ host: e, view: t }) {
+function gAe({ host: e, view: t }) {
(0, b.useSyncExternalStore)(e.store.subscribe, e.store.version);
let n = e.store.value, r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(t.tab), l = () => {
let [e, t] = [i.current, o.current];
@@ -61917,7 +61932,7 @@ function _Ae({ host: e, view: t }) {
s.current?.();
});
let d = t.epoch, f = (e) => {
- e !== mH.tab && vH({ tab: e });
+ e !== hH.tab && yH({ tab: e });
}, p = () => e.store.save();
return /* @__PURE__ */ (0, x.jsx)("section", {
"data-settings-panel": "",
@@ -61928,9 +61943,9 @@ function _Ae({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: hAe,
+ onKeyDown: mAe,
onClick: (e) => {
- e.target === e.currentTarget && yH();
+ e.target === e.currentTarget && bH();
},
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-settings-card": "",
@@ -61941,38 +61956,38 @@ function _Ae({ host: e, view: t }) {
ref: a,
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
id: "settingsTitle",
- children: fH[t.tab][0]
+ children: pH[t.tab][0]
}), /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
id: "settingsClose",
"aria-label": "关闭设置",
- onClick: yH,
+ onClick: bH,
children: /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-x" })
})
})]
}),
- /* @__PURE__ */ (0, x.jsx)(gAe, {
+ /* @__PURE__ */ (0, x.jsx)(hAe, {
tab: t.tab,
epoch: d,
configurable: t.configurable,
onSelect: f,
openConfiguration: () => {
- yH(), e.openConfiguration();
+ bH(), e.openConfiguration();
}
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-settings-scroll": "",
ref: o,
children: [
- /* @__PURE__ */ (0, x.jsxs)(SH, {
+ /* @__PURE__ */ (0, x.jsxs)(CH, {
index: 0,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, x.jsx)(wH, {
+ /* @__PURE__ */ (0, x.jsx)(TH, {
title: "主题",
- children: /* @__PURE__ */ (0, x.jsx)(DV, {
+ children: /* @__PURE__ */ (0, x.jsx)(OV, {
id: "themeSetting",
name: "theme",
legend: "主题",
@@ -62000,7 +62015,7 @@ function _Ae({ host: e, view: t }) {
onChange: (t) => e.setHighContrast(t.target.checked)
})]
}),
- /* @__PURE__ */ (0, x.jsx)(CH, {
+ /* @__PURE__ */ (0, x.jsx)(wH, {
id: "uiSoundsSetting",
title: "界面音效",
checked: n.uiSounds,
@@ -62008,7 +62023,7 @@ function _Ae({ host: e, view: t }) {
n.uiSounds = t, p(), e.changed("uiSounds");
}
}),
- /* @__PURE__ */ (0, x.jsx)(CH, {
+ /* @__PURE__ */ (0, x.jsx)(wH, {
id: "homeGlowSetting",
title: "侧栏光晕",
checked: n.homeGlow.on,
@@ -62016,40 +62031,40 @@ function _Ae({ host: e, view: t }) {
n.homeGlow.on = t, p(), e.changed("glow");
}
}),
- /* @__PURE__ */ (0, x.jsx)($ke, { host: e }),
+ /* @__PURE__ */ (0, x.jsx)(Qke, { host: e }),
/* @__PURE__ */ (0, x.jsxs)("section", {
"data-sidebar-setting": "",
"aria-labelledby": "sidebarOrderTitle",
children: [/* @__PURE__ */ (0, x.jsx)("span", { children: /* @__PURE__ */ (0, x.jsx)("b", {
id: "sidebarOrderTitle",
children: "导航入口与顺序"
- }) }), /* @__PURE__ */ (0, x.jsx)(nAe, { host: e })]
+ }) }), /* @__PURE__ */ (0, x.jsx)(tAe, { host: e })]
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(yAe, {
+ /* @__PURE__ */ (0, x.jsx)(vAe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, x.jsx)(bAe, {
+ /* @__PURE__ */ (0, x.jsx)(yAe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, x.jsxs)(SH, {
+ /* @__PURE__ */ (0, x.jsxs)(CH, {
index: 3,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, x.jsx)(CAe, {
+ /* @__PURE__ */ (0, x.jsx)(SAe, {
host: e,
epoch: d
}),
- /* @__PURE__ */ (0, x.jsx)(wH, {
+ /* @__PURE__ */ (0, x.jsx)(TH, {
title: "相关推荐数量",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "relatedLimitSetting",
- children: /* @__PURE__ */ (0, x.jsx)(cH, {
+ children: /* @__PURE__ */ (0, x.jsx)(lH, {
id: "relatedLimitSetting",
label: "相关推荐数量",
value: n.relatedLimit,
@@ -62059,24 +62074,24 @@ function _Ae({ host: e, view: t }) {
}, d)
})
}),
- /* @__PURE__ */ (0, x.jsx)(wH, {
+ /* @__PURE__ */ (0, x.jsx)(TH, {
title: "口味与记录",
children: /* @__PURE__ */ (0, x.jsx)("div", {
className: "peach-react",
children: /* @__PURE__ */ (0, x.jsx)(sk, {
variant: "secondary",
href: "/taste",
- onClick: yH,
+ onClick: bH,
children: "打开口味与记录"
})
})
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(SH, {
+ /* @__PURE__ */ (0, x.jsx)(CH, {
index: 4,
tab: t.tab,
- children: /* @__PURE__ */ (0, x.jsx)(CH, {
+ children: /* @__PURE__ */ (0, x.jsx)(wH, {
id: "censorSetting",
title: "SFW 模式",
describedBy: "sfwDescription",
@@ -62091,7 +62106,7 @@ function _Ae({ host: e, view: t }) {
})
});
}
-function vAe(e, t) {
+function _Ae(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = io("arrow-up", "arrow-down", "a", {
@@ -62101,17 +62116,17 @@ function vAe(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function yAe({ host: e, tab: t, epoch: n }) {
+function vAe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save(), a = r.defaultSort === "seed", o = r.defaultSortDirection === "asc";
- return /* @__PURE__ */ (0, x.jsxs)(SH, {
+ return /* @__PURE__ */ (0, x.jsxs)(CH, {
index: 1,
tab: t,
children: [
- /* @__PURE__ */ (0, x.jsx)(wH, {
+ /* @__PURE__ */ (0, x.jsx)(TH, {
title: "每批加载作品",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "batchSizeSetting",
- children: /* @__PURE__ */ (0, x.jsx)(cH, {
+ children: /* @__PURE__ */ (0, x.jsx)(lH, {
id: "batchSizeSetting",
label: "每批作品",
value: r.batchSize,
@@ -62121,24 +62136,24 @@ function yAe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, x.jsx)(wH, {
+ /* @__PURE__ */ (0, x.jsx)(TH, {
title: "默认排序",
kind: "sort",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-setting-sort-controls": "",
- children: [/* @__PURE__ */ (0, x.jsx)(OV, {
+ children: [/* @__PURE__ */ (0, x.jsx)(kV, {
id: "defaultSortSetting",
label: "默认排序",
- options: rAe,
+ options: nAe,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
r.defaultSort = t, i(), e.changed("defaultSort");
}
- }), /* @__PURE__ */ (0, x.jsx)(OV, {
+ }), /* @__PURE__ */ (0, x.jsx)(kV, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: iAe,
+ options: rAe,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -62146,13 +62161,13 @@ function yAe({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => vAe(e, o)
+ decorate: (e) => _Ae(e, o)
})]
})
}),
- /* @__PURE__ */ (0, x.jsx)(wH, {
+ /* @__PURE__ */ (0, x.jsx)(TH, {
title: "视频卡片大小",
- children: /* @__PURE__ */ (0, x.jsx)(DV, {
+ children: /* @__PURE__ */ (0, x.jsx)(OV, {
id: "javSizeSetting",
name: "video-size",
legend: "视频卡片大小",
@@ -62165,16 +62180,16 @@ function yAe({ host: e, tab: t, epoch: n }) {
onChoose: (t) => e.setVideoLayout(t)
})
}),
- /* @__PURE__ */ (0, x.jsx)(SAe, {
+ /* @__PURE__ */ (0, x.jsx)(xAe, {
host: e,
epoch: n
})
]
});
}
-function bAe({ host: e, tab: t, epoch: n }) {
+function yAe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
- return /* @__PURE__ */ (0, x.jsxs)(SH, {
+ return /* @__PURE__ */ (0, x.jsxs)(CH, {
index: 2,
tab: t,
children: [
@@ -62182,13 +62197,13 @@ function bAe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品显示"
}),
- /* @__PURE__ */ (0, x.jsx)(wH, {
+ /* @__PURE__ */ (0, x.jsx)(TH, {
title: "默认图片",
- children: /* @__PURE__ */ (0, x.jsx)(DV, {
+ children: /* @__PURE__ */ (0, x.jsx)(OV, {
id: "javImageSetting",
name: "jav-image",
legend: "默认图片",
- options: aAe,
+ options: iAe,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -62216,7 +62231,7 @@ function bAe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "新作显示"
}),
- /* @__PURE__ */ (0, x.jsx)(CH, {
+ /* @__PURE__ */ (0, x.jsx)(wH, {
id: "feedAutoScrollSetting",
title: "新作自动滚动",
checked: r.feedAutoScroll,
@@ -62224,7 +62239,7 @@ function bAe({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- oAe.map(([t, n, r, i]) => /* @__PURE__ */ (0, x.jsx)(xAe, {
+ aAe.map(([t, n, r, i]) => /* @__PURE__ */ (0, x.jsx)(bAe, {
host: e,
id: t,
settingKey: n,
@@ -62234,8 +62249,8 @@ function bAe({ host: e, tab: t, epoch: n }) {
]
});
}
-function xAe({ host: e, id: t, settingKey: n, label: r, title: i }) {
- let a = VN(), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(null), l = e.store.value, u = (t) => {
+function bAe({ host: e, id: t, settingKey: n, label: r, title: i }) {
+ let a = HN(), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(null), l = e.store.value, u = (t) => {
s(t), Yo(c.current), a.mutate({ [n]: t }, {
onSuccess: (i) => {
l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
@@ -62259,14 +62274,14 @@ function xAe({ host: e, id: t, settingKey: n, label: r, title: i }) {
})]
});
}
-function SAe({ host: e, epoch: t }) {
+function xAe({ host: e, epoch: t }) {
let n = e.store.value, r = () => e.store.save();
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(wH, {
+ /* @__PURE__ */ (0, x.jsx)(TH, {
title: "悬停预览延迟",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "hoverDelaySetting",
- children: /* @__PURE__ */ (0, x.jsx)(cH, {
+ children: /* @__PURE__ */ (0, x.jsx)(lH, {
id: "hoverDelaySetting",
label: "悬停预览延迟",
value: n.hoverDelaySeconds,
@@ -62276,7 +62291,7 @@ function SAe({ host: e, epoch: t }) {
}, t)
})
}),
- /* @__PURE__ */ (0, x.jsx)(CH, {
+ /* @__PURE__ */ (0, x.jsx)(wH, {
id: "detailAutoplaySetting",
title: "打开详情自动播放",
checked: n.detailAutoplay,
@@ -62284,7 +62299,7 @@ function SAe({ host: e, epoch: t }) {
n.detailAutoplay = e, r();
}
}),
- /* @__PURE__ */ (0, x.jsx)(CH, {
+ /* @__PURE__ */ (0, x.jsx)(wH, {
id: "miniplayerSetting",
title: "离开详情后小窗播放",
checked: n.miniplayer,
@@ -62292,11 +62307,11 @@ function SAe({ host: e, epoch: t }) {
n.miniplayer = t, r(), e.changed("miniplayer");
}
}),
- /* @__PURE__ */ (0, x.jsx)(wH, {
+ /* @__PURE__ */ (0, x.jsx)(TH, {
title: "快进 / 快退步长",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "seekSecondsSetting",
- children: /* @__PURE__ */ (0, x.jsx)(cH, {
+ children: /* @__PURE__ */ (0, x.jsx)(lH, {
id: "seekSecondsSetting",
label: "快进 / 快退",
value: n.seekSeconds,
@@ -62308,13 +62323,13 @@ function SAe({ host: e, epoch: t }) {
})
] });
}
-function CAe({ host: e, epoch: t }) {
- let n = e.store.value, r = VN();
- return /* @__PURE__ */ (0, x.jsx)(wH, {
+function SAe({ host: e, epoch: t }) {
+ let n = e.store.value, r = HN();
+ return /* @__PURE__ */ (0, x.jsx)(TH, {
title: "搜索记录数量",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "searchHistoryLimitSetting",
- children: /* @__PURE__ */ (0, x.jsx)(cH, {
+ children: /* @__PURE__ */ (0, x.jsx)(lH, {
id: "searchHistoryLimitSetting",
label: "搜索记录",
value: n.searchHistoryLimit,
@@ -62327,68 +62342,68 @@ function CAe({ host: e, epoch: t }) {
}
//#endregion
//#region src/react/sidebar/sidebar-island.tsx
-var TH = "__home__", wAe = {
+var EH = "__home__", CAe = {
creator: 26,
tag: 30,
tech: 16
-}, EH = 180, DH = null, OH = {
+}, DH = 180, OH = null, kH = {
props: {
content: null,
filters: {},
latest: null
},
epoch: 0
-}, kH = /* @__PURE__ */ new Set();
-function TAe(e) {
- return kH.add(e), () => {
- kH.delete(e);
+}, AH = /* @__PURE__ */ new Set();
+function wAe(e) {
+ return AH.add(e), () => {
+ AH.delete(e);
};
}
-function AH() {
- for (let e of [...kH]) e();
+function jH() {
+ for (let e of [...AH]) e();
}
-var EAe = {
+var TAe = {
render(e) {
- OH = {
- ...OH,
+ kH = {
+ ...kH,
props: e
- }, (0, mt.flushSync)(AH);
+ }, (0, mt.flushSync)(jH);
},
navChanged() {
- OH = {
- ...OH,
- epoch: OH.epoch + 1
- }, (0, mt.flushSync)(AH);
+ kH = {
+ ...kH,
+ epoch: kH.epoch + 1
+ }, (0, mt.flushSync)(jH);
}
};
-function DAe(e) {
- return DH = e, OH = {
- ...OH,
+function EAe(e) {
+ return OH = e, kH = {
+ ...kH,
props: {
content: null,
filters: {},
latest: null
}
- }, EAe;
+ }, TAe;
}
-function OAe() {
- let e = (0, b.useSyncExternalStore)(TAe, () => OH);
- return DH ? /* @__PURE__ */ (0, x.jsx)(kAe, {
- host: DH,
+function DAe() {
+ let e = (0, b.useSyncExternalStore)(wAe, () => kH);
+ return OH ? /* @__PURE__ */ (0, x.jsx)(OAe, {
+ host: OH,
props: e.props,
epoch: e.epoch
}) : null;
}
-function kAe({ host: e, props: t, epoch: n }) {
+function OAe({ host: e, props: t, epoch: n }) {
let r = (0, b.useSyncExternalStore)(e.store.subscribe, e.store.version);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("div", { "data-sidebar-head": "" }),
- /* @__PURE__ */ (0, x.jsx)(AAe, {
+ /* @__PURE__ */ (0, x.jsx)(kAe, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, x.jsx)(MAe, {
+ t.content ? /* @__PURE__ */ (0, x.jsx)(jAe, {
host: e,
content: t.content,
filters: t.filters,
@@ -62396,8 +62411,8 @@ function kAe({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function AAe({ host: e, epoch: t, version: n }) {
- let r = lH(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = Kk(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || TH : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function kAe({ host: e, epoch: t, version: n }) {
+ let r = uH(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = Kk(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || EH : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, b.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
return [
@@ -62415,7 +62430,7 @@ function AAe({ host: e, epoch: t, version: n }) {
}, _ = (e) => ({
draggable: !0,
onDragStart: (t) => {
- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || TH);
+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || EH);
},
onDragOver: (t) => {
if (f === null || f === e) return;
@@ -62430,7 +62445,7 @@ function AAe({ host: e, epoch: t, version: n }) {
t.preventDefault();
let n = f, a = m?.key === e && m.after;
g();
- let o = n === null ? null : uH(i, n, e, a);
+ let o = n === null ? null : dH(i, n, e, a);
o && r(o);
},
onDragEnd: g
@@ -62454,15 +62469,15 @@ function AAe({ host: e, epoch: t, version: n }) {
src: "/peach-logo.png",
alt: ""
}) : /* @__PURE__ */ (0, x.jsx)(hO, { name: r }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
- }, t || TH))
+ }, t || EH))
}), v ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)("span", {
"data-sidebar-glide": "",
"aria-hidden": "true",
ref: l
}), v) : null] });
}
-var jH = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function jAe(e) {
+var MH = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
+function AAe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -62475,7 +62490,7 @@ function jAe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function MAe({ host: e, content: t, filters: n, latest: r }) {
+function jAe({ host: e, content: t, filters: n, latest: r }) {
let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;
(0, b.useLayoutEffect)(() => {
t.kind === "catalog" && uo(e.scroll, "drawer");
@@ -62484,8 +62499,8 @@ function MAe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? NAe(e, t.facets, n, r, i) : PAe(e, t, n), o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, x.jsx)(FAe, {
+ let a = t.kind === "catalog" ? MAe(e, t.facets, n, r, i) : NAe(e, t, n), o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, x.jsx)(PAe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -62494,11 +62509,11 @@ function MAe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function NAe(e, t, n, r, i) {
- let a = jAe(r), o = (t, r, i) => {
+function MAe(e, t, n, r, i) {
+ let a = AAe(r), o = (t, r, i) => {
if (!t.length) return null;
- let o = jH(n, r);
- return /* @__PURE__ */ (0, x.jsx)(PH, {
+ let o = MH(n, r);
+ return /* @__PURE__ */ (0, x.jsx)(FH, {
rows: t,
filterKey: r,
multi: i,
@@ -62508,7 +62523,7 @@ function NAe(e, t, n, r, i) {
});
}, s = (t, s, c, l, u, d) => {
if (!c.length) return null;
- let f = jH(n, l), p = c.some((e) => f.includes(e.value));
+ let f = MH(n, l), p = c.some((e) => f.includes(e.value));
if (!d) return {
title: t,
kind: s,
@@ -62520,12 +62535,12 @@ function NAe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, x.jsx)(LAe, {
+ body: /* @__PURE__ */ (0, x.jsx)(IAe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: wAe[d],
+ limit: CAe[d],
filterKey: l,
selected: f,
counts: a,
@@ -62540,7 +62555,7 @@ function NAe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, x.jsx)(LH, {
+ body: /* @__PURE__ */ (0, x.jsx)(RH, {
host: e,
filters: n
})
@@ -62554,7 +62569,7 @@ function NAe(e, t, n, r, i) {
title: "关注标签",
kind: "online",
active: !1,
- body: /* @__PURE__ */ (0, x.jsx)(FH, {
+ body: /* @__PURE__ */ (0, x.jsx)(IH, {
rows: t.followTags,
host: e,
selected: null,
@@ -62563,14 +62578,14 @@ function NAe(e, t, n, r, i) {
} : null
];
}
-function PAe(e, t, n) {
- let r = t.providers || [], i = jH(n, "provider"), a = new Set(t.selected);
+function NAe(e, t, n) {
+ let r = t.providers || [], i = MH(n, "provider"), a = new Set(t.selected);
return [
r.length ? {
title: "来源",
kind: "src",
active: r.some((e) => i.includes(e.value)),
- body: /* @__PURE__ */ (0, x.jsx)(PH, {
+ body: /* @__PURE__ */ (0, x.jsx)(FH, {
rows: r,
filterKey: "provider",
multi: !1,
@@ -62584,7 +62599,7 @@ function PAe(e, t, n) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, x.jsx)(LH, {
+ body: /* @__PURE__ */ (0, x.jsx)(RH, {
host: e,
filters: n,
commit: e.setFollowDuration
@@ -62594,7 +62609,7 @@ function PAe(e, t, n) {
title: "内容标签",
kind: "online",
active: t.tags.some((e) => a.has(e.value)),
- body: /* @__PURE__ */ (0, x.jsx)(FH, {
+ body: /* @__PURE__ */ (0, x.jsx)(IH, {
rows: t.tags,
host: e,
selected: a,
@@ -62603,19 +62618,19 @@ function PAe(e, t, n) {
} : null
];
}
-function MH(e, t) {
+function NH(e, t) {
let n = null;
try {
n = sessionStorage.getItem(`peach.sidebar.group.${e}`);
} catch {}
return n === null ? t : n === "open";
}
-function FAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
- let o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)(() => MH(e, n)), u = (0, b.useRef)(!1);
+function PAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
+ let o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)(() => NH(e, n)), u = (0, b.useRef)(!1);
(0, b.useLayoutEffect)(() => {
let t = o.current, r = s.current;
if (!t || !r) return;
- let i = u.current ? MH(e, n) : c;
+ let i = u.current ? NH(e, n) : c;
u.current = !0, t.open !== i && (t.open = i, r.inert = !i, r.style.height = "", r.classList.contains("ui-fcollapse") && r.classList.toggle("ui-fcollapse-settled", i), l(i));
}, [i]);
let d = (t) => {
@@ -62647,7 +62662,7 @@ function FAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
children: /* @__PURE__ */ (0, x.jsx)("div", {
"data-sidebar-body": "",
id: `sidebar-group-${encodeURIComponent(e)}`,
- children: /* @__PURE__ */ (0, x.jsx)(NH.Provider, {
+ children: /* @__PURE__ */ (0, x.jsx)(PH.Provider, {
value: d,
children: a
})
@@ -62656,15 +62671,15 @@ function FAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
})]
});
}
-var NH = (0, b.createContext)(() => {});
-function IAe({ dot: e }) {
+var PH = (0, b.createContext)(() => {});
+function FAe({ dot: e }) {
return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, x.jsx)(hO, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, x.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
alt: ""
}) : /* @__PURE__ */ (0, x.jsx)("i", { "data-sidebar-cost": e.cost }) : null;
}
-function PH({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
+function FH({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => {
@@ -62681,7 +62696,7 @@ function PH({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
title: e.offline || e.label,
onClick: () => o(t, e.value, n),
children: [
- /* @__PURE__ */ (0, x.jsx)(IAe, { dot: e.dot }),
+ /* @__PURE__ */ (0, x.jsx)(FAe, { dot: e.dot }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -62696,8 +62711,8 @@ function PH({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
})
});
}
-function LAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
- let u = (0, b.useContext)(NH), [d, f] = (0, b.useState)(null), [p, m] = (0, b.useState)(e);
+function IAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
+ let u = (0, b.useContext)(PH), [d, f] = (0, b.useState)(null), [p, m] = (0, b.useState)(e);
p !== e && (m(e), f(null));
let h = (0, b.useRef)(null), g = (0, b.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;
return (0, b.useLayoutEffect)(() => {
@@ -62712,7 +62727,7 @@ function LAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
e.body.classList.add("ui-fcollapse"), Sa(e.body, e.before, () => !!t?.open && !e.body.inert);
}
t(), requestAnimationFrame(t);
- }, [d, _]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(PH, {
+ }, [d, _]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(FH, {
rows: _ ? v : v.slice(0, i),
filterKey: a,
multi: !1,
@@ -62740,7 +62755,7 @@ function LAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
children: /* @__PURE__ */ (0, x.jsx)(hO, { name: "chevron-down" })
}) : null] });
}
-function FH({ rows: e, host: t, selected: n, badges: r }) {
+function IH({ rows: e, host: t, selected: n, badges: r }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
@@ -62762,10 +62777,10 @@ function FH({ rows: e, host: t, selected: n, badges: r }) {
}, e.value))
});
}
-var IH = (e, t) => e ? Math.min(EH, Number(e) / 60) : t;
-function LH({ host: e, filters: t, commit: n = e.setDuration }) {
- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, b.useState)(r), [o, s] = (0, b.useState)(() => [IH(t.dur_min, 0), IH(t.dur_max, EH)]), [c, l] = (0, b.useState)("max");
- i !== r && (a(r), s([IH(t.dur_min, 0), IH(t.dur_max, EH)]));
+var LH = (e, t) => e ? Math.min(DH, Number(e) / 60) : t;
+function RH({ host: e, filters: t, commit: n = e.setDuration }) {
+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, b.useState)(r), [o, s] = (0, b.useState)(() => [LH(t.dur_min, 0), LH(t.dur_max, DH)]), [c, l] = (0, b.useState)("max");
+ i !== r && (a(r), s([LH(t.dur_min, 0), LH(t.dur_max, DH)]));
let [u, d] = o, f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(o);
h.current = o;
let g = (e, t) => {
@@ -62778,11 +62793,11 @@ function LH({ host: e, filters: t, commit: n = e.setDuration }) {
}, [n]), (0, b.useLayoutEffect)(() => {
let e = f.current;
if (!e) return;
- e.style.setProperty("--lo", `${u / EH * 100}%`), e.style.setProperty("--hi", `${d / EH * 100}%`);
+ e.style.setProperty("--lo", `${u / DH * 100}%`), e.style.setProperty("--hi", `${d / DH * 100}%`);
let t = e.getBoundingClientRect();
e.querySelectorAll("[data-sidebar-range-tip]").forEach((e) => {
let n = e.dataset.rangeEnd === "max" ? d : u;
- e.style.left = `${n / EH * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
+ e.style.left = `${n / DH * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
let r = e.getBoundingClientRect(), i = r.right > t.right ? t.right - r.right : r.left < t.left ? t.left - r.left : 0;
i && e.style.setProperty("--range-tip-shift", `${Math.round(i)}px`);
});
@@ -62792,7 +62807,7 @@ function LH({ host: e, filters: t, commit: n = e.setDuration }) {
"data-range-end": e,
"data-range-active": c === e ? "" : void 0,
"aria-hidden": "true",
- children: e === "max" && t >= EH ? "不限" : `${t} 分钟`
+ children: e === "max" && t >= DH ? "不限" : `${t} 分钟`
});
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-sidebar-duration": "",
@@ -62807,7 +62822,7 @@ function LH({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMin",
type: "range",
min: "0",
- max: EH,
+ max: DH,
step: "5",
value: u,
"aria-label": "最短时长(分钟)",
@@ -62818,7 +62833,7 @@ function LH({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMax",
type: "range",
min: "0",
- max: EH,
+ max: DH,
step: "5",
value: d,
"aria-label": "最长时长(分钟)",
@@ -62833,23 +62848,23 @@ function LH({ host: e, filters: t, commit: n = e.setDuration }) {
}
//#endregion
//#region src/configuration-skeleton.ts
-var RAe = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${TP({
+var LAe = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${EP({
label: "保存配置",
attrs: "disabled data-skeleton-action"
-})}</div></div></section>`, RH = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div><span class="skeleton ${n}"></span></div>`;
-function zAe() {
+})}</div></div></section>`, zH = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div><span class="skeleton ${n}"></span></div>`;
+function RAe() {
return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${[
"媒体库与入库",
"来源与订阅",
"下载渠道",
"网络与访问",
"应用与维护"
- ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${RAe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${RH("媒体文件夹", "", "ui-configuration-skeleton-select")}${RH("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;
+ ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${LAe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${zH("媒体文件夹", "", "ui-configuration-skeleton-select")}${zH("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;
}
//#endregion
//#region src/management-skeletons.ts
-var zH = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", BH = (e = "60%") => `<span class="${zH} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, VH = "disabled data-skeleton-action", HH = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function BAe() {
+var BH = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", VH = (e = "60%") => `<span class="${BH} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, HH = "disabled data-skeleton-action", UH = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
+function zAe() {
let e = [
"馆藏视频",
"看过",
@@ -62857,27 +62872,27 @@ function BAe() {
"使用空间"
].map((e, t) => `
<div class="min-w-0 rounded-2xl shadow-card flex flex-col overflow-hidden pt-4 text-left ${t === 0 ? "ring-2 ring-border-focus-ring bg-background-primary-default" : "bg-background-secondary-default"}">
- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${zH} size-7 max-sm:size-6"></i>${e}</span>
- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${BH("4em")}</b>
- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${BH("6em")}</small>
- </div>`).join(""), t = (e) => `<section class="${HH}" data-stats-chart>
- <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${BH("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>
+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${BH} size-7 max-sm:size-6"></i>${e}</span>
+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${VH("4em")}</b>
+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${VH("6em")}</small>
+ </div>`).join(""), t = (e) => `<section class="${UH}" data-stats-chart>
+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${VH("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>
<svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[
76,
54,
32
].map((e) => `<circle cx="100" cy="100" r="${e}"/>`).join("")}</svg>
- <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${BH()}</span><b class="text-title-2-medium">${BH("3em")}</b><small class="text-caption-1-regular">${BH()}</small></div>`).join("")}</div>
+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${VH()}</span><b class="text-title-2-medium">${VH("3em")}</b><small class="text-caption-1-regular">${VH()}</small></div>`).join("")}</div>
</section>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
- <p class="text-caption-1-regular text-text-secondary">账本当前快照 · ${BH("12em")}</p>
+ <p class="text-caption-1-regular text-text-secondary">账本当前快照 · ${VH("12em")}</p>
<div class="flex flex-col gap-4"><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-stats-metrics>${e}</div>
<div class="flex flex-col gap-5"><div class="inline-grid w-full gap-5 md:grid-cols-2">${t("网盘与本地")}${t("媒体库")}</div>
<div class="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">${[
"时长",
"画质",
"文件类型"
- ].map((e) => `<section class="${HH}"><h3 class="text-title-2-medium">${e}</h3><div class="${zH} h-64"></div></section>`).join("")}</div>
+ ].map((e) => `<section class="${UH}"><h3 class="text-title-2-medium">${e}</h3><div class="${BH} h-64"></div></section>`).join("")}</div>
</div>
</div>
<section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
@@ -62886,11 +62901,11 @@ function BAe() {
"最近看过",
"标签来源"
].map((e) => `<span>${e}</span>`).join("")}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${zH} h-7"></div>`).join("")}</div>
+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${BH} h-7"></div>`).join("")}</div>
</section>
</div></div>`;
}
-function VAe() {
+function BAe() {
let e = (e) => `<div class="inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto rounded-2lg bg-background-tertiary-default p-1" data-taste-segments>${e.map((e, t) => `<span class="flex min-h-7 flex-none items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover"${t === 0 ? " data-selected=\"true\"" : ""}>${e}</span>`).join("")}</div>`, t = [
"浏览记录",
"口味维度",
@@ -62898,20 +62913,20 @@ function VAe() {
"私有导出"
].map((e) => `
<div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default flex flex-col overflow-hidden pt-4 text-left">
- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${zH} size-7 max-sm:size-6"></i>${e}</span>
- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${BH("4em")}</b>
- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${BH("6em")}</small>
- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${zH} h-6"></div>`).join(""), r = (e) => `<section class="${HH}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${zH} h-40"></div></section>`;
+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${BH} size-7 max-sm:size-6"></i>${e}</span>
+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${VH("4em")}</b>
+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${VH("6em")}</small>
+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${BH} h-6"></div>`).join(""), r = (e) => `<section class="${UH}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${BH} h-40"></div></section>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
<div class="flex flex-col gap-5">
<div class="flex flex-wrap items-center justify-between gap-3">${e(["浏览器记录", "Peach 内部"])}
- <div class="flex flex-wrap items-center gap-2">${EP("全部时间")}<span data-button-group data-split-button data-variant="primary">${TP({
+ <div class="flex flex-wrap items-center gap-2">${DP("全部时间")}<span data-button-group data-split-button data-variant="primary">${EP({
glyph: "compass",
label: "读取浏览器历史",
- attrs: VH
- })}${TP({
+ attrs: HH
+ })}${EP({
glyph: "chevron-down",
- attrs: VH
+ attrs: HH
})}</span></div>
</div>
<div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-taste-metrics>${t}</div>
@@ -62929,11 +62944,11 @@ function VAe() {
4,
5
].map((t) => `${(100 + e * Math.sin(t * Math.PI / 3)).toFixed(1)},${(100 - e * Math.cos(t * Math.PI / 3)).toFixed(1)}`).join(" ")}"/>`).join("")}</svg>
- <small class="text-caption-1-regular">${BH("8em")}</small></div>
+ <small class="text-caption-1-regular">${VH("8em")}</small></div>
<div class="flex min-w-0 grow flex-col justify-around gap-3">${n}</div>
</section>
<div class="inline-grid w-full items-start gap-5 lg:grid-cols-2">${r("浏览活跃时间")}${r("每日活跃")}</div>
- <section class="${HH}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${zH} h-72 max-sm:h-48"></div></section>
+ <section class="${UH}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${BH} h-72 max-sm:h-48"></div></section>
<section class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col">
<div class="px-4 pt-3">${e([
"标签",
@@ -62941,128 +62956,128 @@ function VAe() {
"常访问网站",
"浏览候选"
])}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${zH} h-7"></div>`).join("")}</div>
+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${BH} h-7"></div>`).join("")}</div>
</section>
</div>
</div></div>`;
}
-function HAe() {
+function VAe() {
let e = `<div class="duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4">
- <span class="${zH} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>
- <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${BH("70%")}</span>
- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${BH("3em")}</span>`).join("")}
- <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${BH("75%")}</span>
+ <span class="${BH} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>
+ <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${VH("70%")}</span>
+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${VH("3em")}</span>`).join("")}
+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${VH("75%")}</span>
</div>`, t = `<section class="mb-6 overflow-hidden rounded-surface bg-background-secondary-default dark:bg-background-primary-default" data-duplicate-group>
<div class="flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default">
- <b class="text-title-2-medium">${BH("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${BH("8em")}</span>
+ <b class="text-title-2-medium">${VH("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${VH("8em")}</span>
<span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${[
"留最大",
"留最长",
"整组回收"
- ].map((e) => TP({
+ ].map((e) => EP({
variant: "secondary",
size: "small",
label: e,
- attrs: VH
+ attrs: HH
})).join("")}</span>
</div>${e.repeat(2)}</section>`;
return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5">
<div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">
- <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${BH("4em")}</strong></div><p class="text-body-regular text-text-secondary">${BH("12em")}</p>
+ <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${VH("4em")}</strong></div><p class="text-body-regular text-text-secondary">${VH("12em")}</p>
</div>
- <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${VH} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${HH} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
${t.repeat(2)}
</div></div>`;
}
-function UAe() {
+function HAe() {
let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card border border-separator-border flex flex-col gap-3 p-3">
- <div class="flex min-w-0 gap-4"><span class="${zH} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>
- <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${BH("80%")}</h3><p class="text-body-2-regular">${BH("60%")}</p></div>
+ <div class="flex min-w-0 gap-4"><span class="${BH} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>
+ <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${VH("80%")}</h3><p class="text-body-2-regular">${VH("60%")}</p></div>
</div>
- <footer class="flex justify-end">${TP({
+ <footer class="flex justify-end">${EP({
variant: "secondary",
size: "small",
label: "查看版本",
- attrs: VH
+ attrs: HH
})}</footer>
</li>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
- ${DP("待升级")}
+ ${OP("待升级")}
<ul class="card-grid-cover gap-5">${e.repeat(6)}</ul>
</div></div>`;
}
//#endregion
//#region src/board-skeleton.ts
-var UH = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, WH = () => `${UH("80%")}${UH("48%")}`, GH = (e, t) => e.repeat(t), KH = "disabled data-skeleton-action", qH = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, JH = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, WAe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", YH = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var WH = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, GH = () => `${WH("80%")}${WH("48%")}`, KH = (e, t) => e.repeat(t), qH = "disabled data-skeleton-action", JH = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, YH = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, UAe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", XH = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
"关注创作者",
"启用来源",
"检查失败",
"未看更新",
"JAV 订阅",
"未看新作"
-].map((e) => `<div class="${WAe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${qH("3em")}</b></div>`).join("")}</div>`, XH = [
+].map((e) => `<div class="${UAe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${JH("3em")}</b></div>`).join("")}</div>`, ZH = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"]
-], GAe = (e = "") => XH.some(([t]) => t === e) ? e : "list", ZH = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${XH.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, QH = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, KAe = ({ table: e, sort: t, dir: n }) => {
+], WAe = (e = "") => ZH.some(([t]) => t === e) ? e : "list", QH = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${ZH.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, $H = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, GAe = ({ table: e, sort: t, dir: n }) => {
let r = nn.find(([e]) => e === t)[1];
- return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${qH("132px")}</span></span>${TP({
+ return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${JH("132px")}</span></span>${EP({
glyph: "refresh-cw",
label: "检查全部",
compact: !0,
- attrs: KH
- })}<span data-follow-toolbar-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span data-button-group role="group">${TP({
+ attrs: qH
+ })}<span data-follow-toolbar-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span data-button-group role="group">${EP({
variant: "ghost",
glyph: "layout-grid",
attrs: `aria-pressed="${!e}"`
- })}${TP({
+ })}${EP({
variant: "ghost",
glyph: "table",
attrs: `aria-pressed="${e}"`
- })}</span>${EP(r)}${TP({
+ })}</span>${DP(r)}${EP({
variant: "secondary",
glyph: n === "asc" ? "arrow-up" : "arrow-down"
- })}${e ? "" : TP({
+ })}${e ? "" : EP({
variant: "secondary",
glyph: "chevron-up",
label: "全部收起",
compact: !0,
- attrs: KH
+ attrs: qH
})}</span></div>`;
-}, $H = () => `<span class="flex shrink-0 items-center gap-1">${TP({
+}, eU = () => `<span class="flex shrink-0 items-center gap-1">${EP({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: KH
-})}${TP({
+ attrs: qH
+})}${EP({
variant: "secondary",
size: "small",
glyph: "trash",
- attrs: KH
-})}</span>`, qAe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${QH()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${qH("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${JH(14, 14)}</span>${JH(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${qH("113px")}</span>${$H()}</span></div>`, eU = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${JH(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${qH("92px")}</b>${TP({
+ attrs: qH
+})}</span>`, KAe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${$H()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${JH("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${YH(14, 14)}</span>${YH(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${JH("113px")}</span>${eU()}</span></div>`, tU = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${YH(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${JH("92px")}</b>${EP({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: KH
-})}<span data-follow-author-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${JH(14, 14)}${JH(14, 14)}</span>${TP({
+ attrs: qH
+})}<span data-follow-author-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${YH(14, 14)}${YH(14, 14)}</span>${EP({
variant: "secondary",
size: "small",
glyph: "check-check",
label: "全选",
- attrs: KH
-})}${TP({
+ attrs: qH
+})}${EP({
variant: "secondary",
size: "small",
glyph: "chevron-up",
label: "收起",
- attrs: KH
-})}</span></div><div data-source-divider>${GH(qAe(), e)}</div></section>`, JAe = () => {
+ attrs: qH
+})}</span></div><div data-source-divider>${KH(KAe(), e)}</div></section>`, qAe = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, YAe = [
+}, JAe = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -63070,64 +63085,64 @@ var UH = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, WH
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], XAe = {
+], YAe = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, ZAe = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", QAe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${YAe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${XAe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${ZAe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${GH(`<tr>${[
- QH(),
- `<span class="flex min-w-0 items-center gap-2">${JH(32, 32, !0)}${qH("5em")}</span>`,
- qH("10em"),
- `<span class="flex items-center gap-1.5">${JH(14, 14)}${qH("4em")}</span>`,
- JH(48, 24),
- qH("113px"),
- $H()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, $Ae = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${qH("111px")}</span>${EP(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${JH(204, 32)}</div>`, eje = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${qH("120px")}</h3>${[
+}, XAe = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", ZAe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${JAe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${YAe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${XAe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${KH(`<tr>${[
+ $H(),
+ `<span class="flex min-w-0 items-center gap-2">${YH(32, 32, !0)}${JH("5em")}</span>`,
+ JH("10em"),
+ `<span class="flex items-center gap-1.5">${YH(14, 14)}${JH("4em")}</span>`,
+ YH(48, 24),
+ JH("113px"),
+ eU()
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, QAe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${JH("111px")}</span>${DP(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${YH(204, 32)}</div>`, $Ae = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${JH("120px")}</h3>${[
"72%",
"56%",
"64%",
"40%"
-].map((e) => `<span class="text-body-medium">${qH(e)}</span>`).join("")}</div>`, tje = (e) => {
- let t = GAe(e.followTab);
- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${YH()}<div class="flex flex-col gap-6">${ZH(t)}<div class="flex flex-col gap-4">${eje()}</div></div></div></div>`;
- let n = e.followLayout === "table", r = sn(e.followSort, e.followDir), i = e.followPageSize || JAe(), a = n ? QAe(i, r) : `${QH("全选本页")}<div class="flex flex-col gap-3">${eU(3)}${eU(4)}${eU(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${YH()}<div class="flex flex-col gap-6">${ZH(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${KAe({
+].map((e) => `<span class="text-body-medium">${JH(e)}</span>`).join("")}</div>`, eje = (e) => {
+ let t = WAe(e.followTab);
+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${XH()}<div class="flex flex-col gap-6">${QH(t)}<div class="flex flex-col gap-4">${$Ae()}</div></div></div></div>`;
+ let n = e.followLayout === "table", r = sn(e.followSort, e.followDir), i = e.followPageSize || qAe(), a = n ? ZAe(i, r) : `${$H("全选本页")}<div class="flex flex-col gap-3">${tU(3)}${tU(4)}${tU(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${XH()}<div class="flex flex-col gap-6">${QH(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${GAe({
table: n,
...r
- })}${a}${$Ae(n, i)}</div></div></div></div></div>`;
+ })}${a}${QAe(n, i)}</div></div></div></div></div>`;
};
-function nje() {
- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${UH("85%")}${UH("65%")}${GH(WH(), 4)}</div></aside></div>`;
+function tje() {
+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${WH("85%")}${WH("65%")}${KH(GH(), 4)}</div></aside></div>`;
}
-function rje(e, t = {}) {
+function nje(e, t = {}) {
let n = "";
- if (e === "/stats") n = BAe();
- else if (e === "/jav") n = WEe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
- else if (e === "/taste") n = VAe();
- else if (e === "/follow-manage") n = tje(t);
- else if (e === "/configuration") n = zAe();
+ if (e === "/stats") n = zAe();
+ else if (e === "/jav") n = UEe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
+ else if (e === "/taste") n = BAe();
+ else if (e === "/follow-manage") n = eje(t);
+ else if (e === "/configuration") n = RAe();
else if (e === "/activity") n = `<div class="ui-activitypage">${[
"正在进行",
"被挡下的",
"最近完成"
- ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${UH("35%")}${WH()}</div></article></div></section>`).join("")}</div>`;
- else if (e === "/duplicates") n = HAe();
- else if (e === "/quality-goals") n = UAe();
- else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${UH("200px")}</div></header><div class="ui-playlistcards">${GH(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${WH()}</div></div></article>`, 6)}</div></section>`;
+ ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${WH("35%")}${GH()}</div></article></div></section>`).join("")}</div>`;
+ else if (e === "/duplicates") n = VAe();
+ else if (e === "/quality-goals") n = HAe();
+ else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${WH("200px")}</div></header><div class="ui-playlistcards">${KH(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${GH()}</div></div></article>`, 6)}</div></section>`;
else return "";
return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var tU = (e) => ["follow-item", e], ije = (e) => `/api/follow?item=${encodeURIComponent(e)}`, aje = "/api/follow/save", oje = "/api/follow/media/hide", nU = class extends Error {
+var nU = (e) => ["follow-item", e], rje = (e) => `/api/follow?item=${encodeURIComponent(e)}`, ije = "/api/follow/save", aje = "/api/follow/media/hide", rU = class extends Error {
constructor() {
super("这条关注内容已不存在");
}
};
-async function rU(e, t) {
- let n = await B(ije(e), t);
+async function iU(e, t) {
+ let n = await B(rje(e), t);
for (let t of n.groups || []) {
let r = $r(t).find((t) => t.id === e);
if (r) return {
@@ -63137,9 +63152,9 @@ async function rU(e, t) {
aliases: n.author_aliases || []
};
}
- throw new nU();
+ throw new rU();
}
-function sje(e) {
+function oje(e) {
for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {
if (!t?.group) continue;
let n = $r(t.group).find((t) => t.id === e);
@@ -63150,20 +63165,20 @@ function sje(e) {
}
return null;
}
-async function iU(e, t) {
- let n = tU(e.id), r = ei(e.id), i = H.getQueryData(Jr) ? null : H.fetchQuery({
+async function aU(e, t) {
+ let n = nU(e.id), r = ei(e.id), i = H.getQueryData(Jr) ? null : H.fetchQuery({
queryKey: Jr,
queryFn: () => Yr(t)
}), a = r ? {
...r,
item: r.item
- } : H.getQueryData(n) ?? sje(e.id);
+ } : H.getQueryData(n) ?? oje(e.id);
a ? H.setQueryData(n, a) : await H.fetchQuery({
queryKey: n,
- queryFn: () => rU(e.id, t)
+ queryFn: () => iU(e.id, t)
}), await i;
}
-function cje(e, t, n, r) {
+function sje(e, t, n, r) {
let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && ci(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
return {
embedded: i,
@@ -63178,32 +63193,32 @@ function cje(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var lje = (e) => $r(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), uje = {
+var cje = (e) => $r(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), lje = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, dje = {
+}, uje = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function fje(e) {
+function dje(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return uje[t] || t;
+ return lje[t] || t;
} catch {
return "外部文件页";
}
}
-function aU(e, t) {
- return dje[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function oU(e, t) {
+ return uje[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function pje(e, t, n = "") {
+function fje(e, t, n = "") {
let r = n;
!r && e.is_release && (r = t.variant_label || t.variant_kind || ""), r ||= t.variant_kind === "wip" ? "WIP" : t.variant_label || t.variant_kind || "视频";
let i = e.is_release ? t.summary || (t.has_media ? "(仅附件)" : "(无正文)") : t.title;
@@ -63212,54 +63227,54 @@ function pje(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var mje = (e) => String(e.name || "").trim(), oU = (e, t) => e.tag_types?.[t] || "unknown", hje = /* @__PURE__ */ new Set([
+var pje = (e) => String(e.name || "").trim(), sU = (e, t) => e.tag_types?.[t] || "unknown", mje = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function gje(e, t) {
- let n = oU(e, t);
- return `r34-${hje.has(n) ? n : "general"}`;
+function hje(e, t) {
+ let n = sU(e, t);
+ return `r34-${mje.has(n) ? n : "general"}`;
}
-var sU = [
+var cU = [
"copyright",
"character",
"artist",
"general",
"metadata"
];
-function _je(e, t) {
+function gje(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = sU.indexOf(oU(e, t));
- return n < 0 ? sU.length : n;
+ let n = cU.indexOf(sU(e, t));
+ return n < 0 ? cU.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function cU(e, t) {
+function lU(e, t) {
let n = t.find((t) => t.id === e.source_id), r = t.filter((e) => n?.author_key && e.author_key === n.author_key);
return !r.length && n && r.push(n), r;
}
-var vje = (e, t) => ({
+var _je = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), lU = (e) => e?.size ? { size: e.size } : {};
-function yje(e, t) {
+}), uU = (e) => e?.size ? { size: e.size } : {};
+function vje(e, t) {
let { images: n, kind: r, src: i, selected: a } = t;
return n.length ? n.map((t) => ({
src: `/follow-stream?id=${e.id}&media=${t.index}`,
thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,
name: t.name || e.title,
- source: aU(t, e),
- ...lU(t)
+ source: oU(t, e),
+ ...uU(t)
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: aU(a, e),
- ...lU(a)
+ source: oU(a, e),
+ ...uU(a)
}] : e.thumb_url ? [{
src: e.thumb_url,
thumb: e.thumb_url,
@@ -63267,7 +63282,7 @@ function yje(e, t) {
source: e.provider_label || e.provider || "在线图片"
}] : [];
}
-var bje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", uU = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => ho(e, {
+var yje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", dU = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => ho(e, {
variant: r || (t ? "cards" : "panel"),
className: n,
gridClass: s,
@@ -63275,7 +63290,7 @@ var bje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", uU
...i ? { count: i } : {},
...a === void 0 ? {} : { fill: a },
...o ? { cardRatio: o } : {}
-}), xje = [
+}), bje = [
"元数据字段",
"创作者标签",
"厂牌 Logo",
@@ -63285,40 +63300,40 @@ var bje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", uU
"FC2 评论标记",
"FC2 跨号相似",
"片尾/出处证据"
-], Sje = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${R(e)}">
+], xje = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${R(e)}">
<div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>
- <div class="reviewtabs" data-section-items>${xje.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${R(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
+ <div class="reviewtabs" data-section-items>${bje.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${R(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
<div class="reviewbulkbar reviewbulktoolbar" aria-hidden="true">${"<span class=\"skeleton reviewtoolskeleton\"></span>".repeat(3)}</div>
- <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, Cje = {
- "/data-cleanup": () => FP(),
- "/resource-sync": () => FP(),
- "/review": () => Sje(),
+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, Sje = {
+ "/data-cleanup": () => IP(),
+ "/resource-sync": () => IP(),
+ "/review": () => xje(),
"/diagnostics": () => mo(),
"/scraping": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
- ${uU("正在读取采集来源", {
+ ${dU("正在读取采集来源", {
cards: !0,
count: 4,
fill: !1,
className: "cleanup-skeleton"
})}</div>`
};
-function dU(e, { followLayout: t, followSort: n, followDir: r }) {
- return rje(e, {
+function fU(e, { followLayout: t, followSort: n, followDir: r }) {
+ return nje(e, {
followLayout: t,
...e === "/follow-manage" ? {
followSort: n,
followDir: r
} : {}
- }) || (Cje[e] ?? (() => uU("正在读取页面")))();
+ }) || (Sje[e] ?? (() => dU("正在读取页面")))();
}
-var fU = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function pU(e, t) {
- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = fU(t);
+var pU = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function mU(e, t) {
+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = pU(t);
(!r || r !== n) && (e.innerHTML = t, Co(e));
}
//#endregion
//#region src/react/components/mix-queue.tsx
-function mU({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
+function hU({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
let c = (0, b.useRef)(null), l = (0, b.useCallback)((e) => {
c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);
}, [a]);
@@ -63354,7 +63369,7 @@ function mU({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,
})]
});
}
-function hU({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
+function gU({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
let s = /* @__PURE__ */ (0, x.jsx)("span", {
"data-mix-item-text": "",
children: a
@@ -63377,7 +63392,7 @@ function hU({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var wje = ({ label: e, count: t }) => /* @__PURE__ */ (0, x.jsxs)("h3", {
+var Cje = ({ label: e, count: t }) => /* @__PURE__ */ (0, x.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
@@ -63387,7 +63402,7 @@ var wje = ({ label: e, count: t }) => /* @__PURE__ */ (0, x.jsxs)("h3", {
});
//#endregion
//#region src/react/components/related-section.tsx
-function gU({ children: e, wireDrag: t, busy: n, ...r }) {
+function _U({ children: e, wireDrag: t, busy: n, ...r }) {
let i = (0, b.useCallback)((e) => {
e && (Co(e), t(e));
}, [t]);
@@ -63408,14 +63423,14 @@ function gU({ children: e, wireDrag: t, busy: n, ...r }) {
}
//#endregion
//#region src/react/components/detail-continuation.tsx
-function _U({ queue: e, children: t, editionCards: n }) {
+function vU({ queue: e, children: t, editionCards: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-detail-continuation": "",
"data-edition-cards": n == null ? void 0 : Math.min(3, n),
children: [e, t]
});
}
-function vU(e, t, n) {
+function yU(e, t, n) {
(0, b.useLayoutEffect)(() => {
let n = e.current;
if (!n) return;
@@ -63434,7 +63449,7 @@ function vU(e, t, n) {
n
]);
}
-function yU({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
+function bU({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
let a = (0, b.useRef)(null), [o, s] = (0, b.useState)(!0), c = e.some((e) => e.video), l = !!i;
if ((0, b.useEffect)(() => {
let e = a.current?.querySelector("[data-media-thumbnails]"), t = Po(e, { fade: !1 });
@@ -63501,7 +63516,7 @@ function yU({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
"data-media-thumbnails": "",
role: "group",
"aria-label": "媒体缩略图",
- children: e.map((e, r) => /* @__PURE__ */ (0, x.jsx)(Tje, {
+ children: e.map((e, r) => /* @__PURE__ */ (0, x.jsx)(wje, {
item: e,
selected: r === t,
label: e.label || `第 ${r + 1} 张`,
@@ -63523,7 +63538,7 @@ function yU({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
]
});
}
-function Tje({ item: e, selected: t, label: n, onSelect: r, render: i }) {
+function wje({ item: e, selected: t, label: n, onSelect: r, render: i }) {
let a = (0, b.useRef)(null), [o, s] = (0, b.useState)(typeof IntersectionObserver > "u");
return (0, b.useEffect)(() => {
if (!a.current || o) return;
@@ -63548,14 +63563,14 @@ function Tje({ item: e, selected: t, label: n, onSelect: r, render: i }) {
}
//#endregion
//#region src/react/follow-detail/follow-related.ts
-var Eje = (e, t, n) => [
+var Tje = (e, t, n) => [
"follow-feed",
"related",
e,
t,
n
];
-function bU(e, t, n, r) {
+function xU(e, t, n, r) {
let i = new Set((t.group ? $r(t.group) : [t.item]).map((e) => e.id)), a = /* @__PURE__ */ new Set(), o = new Set(t.item.tags || []), s = t.sources.find((e) => e.id === t.item.source_id)?.author_key, c = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e]));
return e.flatMap((e) => e.groups || []).filter((e) => {
let t = $r(e);
@@ -63570,7 +63585,7 @@ function bU(e, t, n, r) {
};
}).sort((e, t) => Number(t.sameAuthor) - Number(e.sameAuthor) || t.common - e.common || e.order - t.order).slice(0, r).map((e) => e.group);
}
-async function Dje(e, t, n, r) {
+async function Eje(e, t, n, r) {
let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {
...si(i),
status: "new",
@@ -63584,29 +63599,29 @@ async function Dje(e, t, n, r) {
}, t), r);
return o.push(n), n;
}, c = await s(i, 0);
- return bU(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && bU(o, e, t, n).length < n && await s("", 0), {
+ return xU(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && xU(o, e, t, n).length < n && await s("", 0), {
pages: o,
pageParams: o.map((e) => e.offset || 0)
};
}
//#endregion
//#region src/react/follow-detail/follow-detail-page.tsx
-var xU = (e) => Number(e) > 0, Oje = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var SU = (e) => Number(e) > 0, Dje = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: L(e) }
-}), SU = L("external-link", "ui-externalmark");
-function kje(e) {
+}), CU = L("external-link", "ui-externalmark");
+function Oje(e) {
let { id: t, actions: n } = e, r = dt({
- queryKey: tU(t),
- queryFn: ({ signal: e }) => rU(t, e)
+ queryKey: nU(t),
+ queryFn: ({ signal: e }) => iU(t, e)
}), i = dt({
queryKey: Jr,
queryFn: ({ signal: e }) => Yr(e)
}), a = (0, b.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, b.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, x.jsx)(Mje, {
+ return r.data ? /* @__PURE__ */ (0, x.jsx)(jje, {
...e,
data: r.data,
- context: vje(r.data, a),
+ context: _je(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, x.jsx)("div", {
@@ -63615,9 +63630,9 @@ function kje(e) {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-media": "",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, x.jsx)(CU, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(wU, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? Aje(r.error) ? /* @__PURE__ */ (0, x.jsx)(jje, { onBack: n.close }) : /* @__PURE__ */ (0, x.jsx)(TM, {
+ children: r.isError ? kje(r.error) ? /* @__PURE__ */ (0, x.jsx)(Aje, { onBack: n.close }) : /* @__PURE__ */ (0, x.jsx)(EM, {
message: _t(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -63625,8 +63640,8 @@ function kje(e) {
})
});
}
-var Aje = (e) => e instanceof nU || e instanceof en && e.status === 404;
-function jje({ onBack: e }) {
+var kje = (e) => e instanceof rU || e instanceof en && e.status === 404;
+function Aje({ onBack: e }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-detail-gone": "",
onClick: (t) => {
@@ -63635,7 +63650,7 @@ function jje({ onBack: e }) {
dangerouslySetInnerHTML: { __html: Qa("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }
});
}
-var CU = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
+var wU = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -63644,8 +63659,8 @@ var CU = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function Mje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
- let { item: c, group: l } = e, u = cje(c, l, n, i), d = Rje(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, b.useState)({
+function jje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
+ let { item: c, group: l } = e, u = sje(c, l, n, i), d = Lje(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, b.useState)({
key: "",
kind: ""
}), h = {
@@ -63665,20 +63680,20 @@ function Mje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
c,
u.kind
]);
- let g = !u.embedded.length && u.collection ? lje(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, x.jsx)(DU, {
+ let g = !u.embedded.length && u.collection ? cje(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, x.jsx)(OU, {
item: c,
current: u.selected.index,
helpers: o,
actions: s,
onMedia: r
- }) : u.collection ? g ? /* @__PURE__ */ (0, x.jsx)(DU, {
+ }) : u.collection ? g ? /* @__PURE__ */ (0, x.jsx)(OU, {
item: g,
current: null,
helpers: o,
actions: s,
onMedia: r,
currentId: c.id
- }) : /* @__PURE__ */ (0, x.jsx)(Fje, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Pje, {
group: u.collection,
itemId: c.id,
helpers: o,
@@ -63688,14 +63703,14 @@ function Mje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
"data-stage-grid": "",
"data-with-queue": _ ? "" : void 0,
"data-follow-detail": "",
- children: [/* @__PURE__ */ (0, x.jsx)(Pje, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Nje, {
item: c,
media: u,
helpers: o,
actions: s,
onMedia: r,
issues: h
- }, f), /* @__PURE__ */ (0, x.jsx)(Ije, {
+ }, f), /* @__PURE__ */ (0, x.jsx)(Fje, {
item: c,
data: e,
context: t,
@@ -63705,9 +63720,9 @@ function Mje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
helpers: o,
actions: s
})]
- }), /* @__PURE__ */ (0, x.jsx)(_U, {
+ }), /* @__PURE__ */ (0, x.jsx)(vU, {
queue: _,
- children: a > 0 ? /* @__PURE__ */ (0, x.jsx)(Nje, {
+ children: a > 0 ? /* @__PURE__ */ (0, x.jsx)(Mje, {
data: e,
media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,
limit: a,
@@ -63717,33 +63732,33 @@ function Mje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
}) : null
})] });
}
-function Nje({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
+function Mje({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
let o = dt({
- queryKey: Eje(e.item.id, t, n),
- queryFn: ({ signal: r }) => Dje(e, t, n, r)
- }), [s] = (0, b.useState)(() => uU("正在读取推荐", {
+ queryKey: Tje(e.item.id, t, n),
+ queryFn: ({ signal: r }) => Eje(e, t, n, r)
+ }), [s] = (0, b.useState)(() => dU("正在读取推荐", {
cards: !0,
className: "related-skeleton"
})), c = (0, b.useMemo)(() => ({
openDetail: a.openItem,
openAuthor: a.openAuthor,
canFlip: () => !1
- }), [a]), l = bU(o.data?.pages || [], e, t, n);
+ }), [a]), l = xU(o.data?.pages || [], e, t, n);
if (o.isError || o.data && !l.length) return null;
let u = o.data?.pages.at(-1)?.sources || e.sources, d = {
...r,
sources: u,
aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases
};
- return /* @__PURE__ */ (0, x.jsx)(gU, {
+ return /* @__PURE__ */ (0, x.jsx)(_U, {
"data-follow-related": "",
wireDrag: i.wireDrag,
busy: o.isPending,
- children: o.data ? l.map((e) => /* @__PURE__ */ (0, x.jsx)(fI, {
+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, x.jsx)(pI, {
variant: "next",
group: e,
media: t,
- authorSources: cU(e.primary, u),
+ authorSources: lU(e.primary, u),
context: d,
selected: !1,
selectMode: !1,
@@ -63756,9 +63771,9 @@ function Nje({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
})
});
}
-function Pje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
- let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, b.useRef)(null), p = yje(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, b.useState)(g);
- vU(f, "[data-follow-detail-poster]", v);
+function Nje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
+ let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, b.useRef)(null), p = vje(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, b.useState)(g);
+ yU(f, "[data-follow-detail-poster]", v);
let S = (0, b.useRef)({
item: e,
selected: o
@@ -63773,14 +63788,14 @@ function Pje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-framed": d ? "" : void 0,
style: { "--follow-frame-ratio": d ? d.toFixed(4) : void 0 },
children: [
- /* @__PURE__ */ (0, x.jsx)(CU, { onClose: n.close }),
+ /* @__PURE__ */ (0, x.jsx)(wU, { onClose: n.close }),
h ? null : g ? /* @__PURE__ */ (0, x.jsx)("img", {
"data-follow-detail-poster": "",
"data-zoomable": p.length ? "" : void 0,
src: v,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: p.length ? () => void rI(Math.max(0, l), p) : void 0,
+ onClick: p.length ? () => void iI(Math.max(0, l), p) : void 0,
onError: () => {
_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();
}
@@ -63788,10 +63803,10 @@ function Pje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: eM(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: tM(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, x.jsx)("span", { children: "没有可用预览" })]
}),
- u ? /* @__PURE__ */ (0, x.jsx)(yU, {
+ u ? /* @__PURE__ */ (0, x.jsx)(bU, {
items: c,
position: l,
onSelect: r
@@ -63799,11 +63814,11 @@ function Pje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
]
});
}
-var wU = ({ kind: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var TU = ({ kind: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: L(e === "image" ? "image-off" : "play") }
});
-function TU({ src: e }) {
+function EU({ src: e }) {
let [t, n] = (0, b.useState)(!1);
return t ? null : /* @__PURE__ */ (0, x.jsx)("img", {
src: e,
@@ -63813,27 +63828,27 @@ function TU({ src: e }) {
onError: () => n(!0)
});
}
-function EU(e) {
+function DU(e) {
return (0, b.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
-function Fje({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = ci(e), a = EU(n);
- return /* @__PURE__ */ (0, x.jsx)(mU, {
+function Pje({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = ci(e), a = DU(n);
+ return /* @__PURE__ */ (0, x.jsx)(hU, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
onClose: r.close,
listRef: a,
- summary: `${nM(e.primary)} · ${i.length} 个视频`,
+ summary: `${rM(e.primary)} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = pje(e, n, i ? n.provider_label : ""), o = i ? eM(n.provider, n.provider_label) : "";
- return /* @__PURE__ */ (0, x.jsxs)(hU, {
+ let i = e.duplicates.includes(n), a = fje(e, n, i ? n.provider_label : ""), o = i ? tM(n.provider, n.provider_label) : "";
+ return /* @__PURE__ */ (0, x.jsxs)(gU, {
current: n.id === t,
"data-follow-queue-item": n.id,
onClick: () => r.openItem(n.id),
- pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(TU, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(wU, { kind: "video" }), xU(n.duration) ? /* @__PURE__ */ (0, x.jsx)("i", {
+ pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(EU, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(TU, { kind: "video" }), SU(n.duration) ? /* @__PURE__ */ (0, x.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: Vt(n.duration)
@@ -63851,15 +63866,15 @@ function Fje({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, x.jsx)("time", {
dateTime: n.published_at || "",
- children: dM(n)
+ children: fM(n)
})]
})]
}, n.id);
})
});
}
-function DU({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = EU(r), c = [];
+function OU({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = DU(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -63869,26 +63884,26 @@ function DU({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, c.push(n)), n.items.push(e);
});
let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);
- return /* @__PURE__ */ (0, x.jsx)(mU, {
+ return /* @__PURE__ */ (0, x.jsx)(hU, {
kind: "media",
"data-follow-queue": "",
title: "多媒体",
onClose: i.close,
listRef: s,
- summary: `${nM(e)} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, x.jsx)(wje, {
+ summary: `${rM(e)} · ${o.length} 个媒体`,
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, x.jsx)(Cje, {
label: n.label,
count: n.items.length
- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, x.jsxs)(hU, {
+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, x.jsxs)(gU, {
current: n.index === t,
"data-follow-media-owner": e.id,
"data-follow-media-item": n.index,
"data-media-kind": n.media_kind || "",
onClick: () => l(n),
- pic: n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(TU, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(wU, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(EU, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(TU, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, x.jsx)("b", {
"data-middle-truncate": "",
- children: mje(n)
+ children: pje(n)
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -63896,13 +63911,13 @@ function DU({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function Ije({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function Fje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
let { kind: c, selected: l, src: u } = r, d = {
primary: e,
variants: [],
duplicates: [],
has_wip: e.variant_kind === "wip"
- }, f = cM(d, e), p = oM(e, cU(e, t.sources), n), m = p.credited ? "" : e.author && It(e.author) !== It(p.author) ? e.author : "", h = lM(e, n), g = _je(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
+ }, f = lM(d, e), p = sM(e, lU(e, t.sources), n), m = p.credited ? "" : e.author && It(e.author) !== It(p.author) ? e.author : "", h = uM(e, n), g = gje(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -63918,7 +63933,7 @@ function Ije({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-title": "",
"data-follow-detail-name": "",
"data-reveal-line": "",
- dangerouslySetInnerHTML: { __html: sM(d, e) + R(nM(e)) }
+ dangerouslySetInnerHTML: { __html: cM(d, e) + R(rM(e)) }
}), e.url ? /* @__PURE__ */ (0, x.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -63926,7 +63941,7 @@ function Ije({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: SU }
+ dangerouslySetInnerHTML: { __html: CU }
}) : null]
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -63934,8 +63949,8 @@ function Ije({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, x.jsx)("span", { children: dM(e) }),
- xU(e.duration) ? /* @__PURE__ */ (0, x.jsx)("span", { children: Vt(e.duration) }) : null,
+ /* @__PURE__ */ (0, x.jsx)("span", { children: fM(e) }),
+ SU(e.duration) ? /* @__PURE__ */ (0, x.jsx)("span", { children: Vt(e.duration) }) : null,
f ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: f }
@@ -63952,7 +63967,7 @@ function Ije({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: "创作者"
}), /* @__PURE__ */ (0, x.jsx)("div", {
"data-id-row": "",
- children: p.entityName ? /* @__PURE__ */ (0, x.jsxs)(uI, {
+ children: p.entityName ? /* @__PURE__ */ (0, x.jsxs)(dI, {
name: p.entityName,
actions: s,
"data-id-cell": "creator",
@@ -63984,7 +63999,7 @@ function Ije({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: [m ? /* @__PURE__ */ (0, x.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, x.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]
}) : null]
}),
- e.summary ? /* @__PURE__ */ (0, x.jsx)(Lje, { text: e.summary }, e.id) : null,
+ e.summary ? /* @__PURE__ */ (0, x.jsx)(Ije, { text: e.summary }, e.id) : null,
h ? /* @__PURE__ */ (0, x.jsx)("p", {
"data-follow-media-issue": "",
children: h
@@ -64007,9 +64022,9 @@ function Ije({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [fje(e), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [dje(e), /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: SU }
+ dangerouslySetInnerHTML: { __html: CU }
})]
}, e))
}) : null,
@@ -64109,7 +64124,7 @@ function Ije({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...y(`restore:${e.index}`),
onClick: () => i.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, x.jsx)(TU, { src: e.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(Oje, { name: "image-off" }), /* @__PURE__ */ (0, x.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, x.jsx)(EU, { src: e.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(Dje, { name: "image-off" }), /* @__PURE__ */ (0, x.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -64123,7 +64138,7 @@ function Ije({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-follow-detail-tags": "",
children: g.map((t) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
- "data-tag-cat": gje(e, t),
+ "data-tag-cat": hje(e, t),
"data-follow-tag": t,
onClick: () => s.openTag(t),
children: o.tagLabel(t)
@@ -64133,7 +64148,7 @@ function Ije({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function Lje({ text: e }) {
+function Ije({ text: e }) {
let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(!1);
return (0, b.useLayoutEffect)(() => {
let e = t.current;
@@ -64156,8 +64171,8 @@ function Lje({ text: e }) {
children: n ? "收起" : "展开"
}) : null] });
}
-function Rje(e, t, n) {
- let r = e.id, i = tU(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), l = (e, t) => o((n) => {
+function Lje(e, t, n) {
+ let r = e.id, i = nU(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), u = (e) => {
@@ -64176,7 +64191,7 @@ function Rje(e, t, n) {
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && FB(), t.toast(bje(n), { undo: i === "saved" ? void 0 : async () => {
+ u(n), c(""), n === "ignored" && IB(), t.toast(yje(n), { undo: i === "saved" ? void 0 : async () => {
await V(wn, {
item: r,
to: i
@@ -64186,7 +64201,7 @@ function Rje(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), p = ft({
- mutationFn: () => V(aje, { item: r }),
+ mutationFn: () => V(ije, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到账本");
},
@@ -64194,7 +64209,7 @@ function Rje(e, t, n) {
onSettled: () => l("save", !1)
}), m = ft({
mutationFn: async ({ index: e, hidden: t }) => {
- await V(oje, {
+ await V(aje, {
item: r,
media: e,
hidden: t
@@ -64210,12 +64225,12 @@ function Rje(e, t, n) {
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
}), h = dt({
- queryKey: QEe(r),
- queryFn: ({ signal: e }) => tDe(r, e)
+ queryKey: ZEe(r),
+ queryFn: ({ signal: e }) => eDe(r, e)
}).data?.want ?? null, g = ft({
- mutationFn: async (e) => (e ? await PB([e.id]) : await NB({ follow: r }), !e),
+ mutationFn: async (e) => (e ? await FB([e.id]) : await PB({ follow: r }), !e),
onSuccess: (e) => {
- c(""), t.toast(e ? "已加入想要" : "已取消想要"), FB();
+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), IB();
},
onError: d,
onSettled: () => l("want", !1)
@@ -64255,7 +64270,7 @@ function Rje(e, t, n) {
}
//#endregion
//#region src/react/components/identity-cell.tsx
-function OU({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a, openByName: o = !1 }) {
+function kU({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a, openByName: o = !1 }) {
let s = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-id-face": "",
dangerouslySetInnerHTML: { __html: `<span>${R(qt(t.name))}</span>` + na({
@@ -64296,7 +64311,7 @@ function OU({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a, op
children: c
});
}
-function kU({ people: e, onOpen: t }) {
+function AU({ people: e, onOpen: t }) {
if (!e.length) return null;
let n = (e) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
@@ -64328,7 +64343,7 @@ function kU({ people: e, onOpen: t }) {
}
//#endregion
//#region src/react/components/folded-title.ts
-function AU(e) {
+function jU(e) {
let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(!1);
return (0, b.useLayoutEffect)(() => {
let e = t.current;
@@ -64346,7 +64361,7 @@ function AU(e) {
}
//#endregion
//#region src/react/components/source-picture.tsx
-function jU({ item: e, image: t, thumbnail: n = !1 }) {
+function MU({ item: e, image: t, thumbnail: n = !1 }) {
let r = t === "cover" && e.has_cover, i = !r && (t !== "cover" || e.source_image), a = dt({
queryKey: [
"jav-image",
@@ -64389,9 +64404,9 @@ function jU({ item: e, image: t, thumbnail: n = !1 }) {
}
//#endregion
//#region src/react/item-detail/catalog-picture.tsx
-function MU({ item: e, image: t, thumbnail: n = !1, source: r = !1 }) {
+function NU({ item: e, image: t, thumbnail: n = !1, source: r = !1 }) {
let [i, a] = (0, b.useState)(!1), [o, s] = (0, b.useState)(0);
- if (r && t > 0 && e.code) return /* @__PURE__ */ (0, x.jsx)(jU, {
+ if (r && t > 0 && e.code) return /* @__PURE__ */ (0, x.jsx)(MU, {
item: {
code: e.code,
has_cover: !1,
@@ -64420,47 +64435,47 @@ function MU({ item: e, image: t, thumbnail: n = !1, source: r = !1 }) {
}
//#endregion
//#region src/react/jav-detail/jav-detail.ts
-var NU = (e) => ["jav-detail", e], PU = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), zje = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), FU = (e, t) => H.ensureQueryData({
- queryKey: NU(e.code),
- queryFn: () => PU(e.code, t),
+var PU = (e) => ["jav-detail", e], FU = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), Rje = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), IU = (e, t) => H.ensureQueryData({
+ queryKey: PU(e.code),
+ queryFn: () => FU(e.code, t),
staleTime: 216e5,
revalidateIfStale: !0
});
-function Bje(e, t) {
+function zje(e, t) {
if (!e.ok || !e.more) return;
let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));
return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;
}
//#endregion
//#region src/react/item-detail/external-playback.tsx
-var IU = "peach.external-player.v1", LU = [
+var LU = "peach.external-player.v1", RU = [
["m3u", "M3U 播放列表"],
["vlc-ios", "VLC(iPhone / iPad)"],
["iina", "IINA(Mac)"]
];
-function Vje(e, t, n) {
+function Bje(e, t, n) {
return e === "vlc-ios" ? `vlc-x-callback://x-callback-url/stream?url=${encodeURIComponent(t)}` : e === "iina" ? `iina://weblink?url=${encodeURIComponent(t)}` : n;
}
-function Hje({ id: e }) {
+function Vje({ id: e }) {
let [t, n] = (0, b.useState)(() => {
try {
- return LU.find(([e]) => e === localStorage.getItem(IU))?.[0] || "m3u";
+ return RU.find(([e]) => e === localStorage.getItem(LU))?.[0] || "m3u";
} catch {
return "m3u";
}
}), [r, i] = (0, b.useState)(null), a = mk();
return /* @__PURE__ */ (0, x.jsxs)("details", { children: [/* @__PURE__ */ (0, x.jsx)("summary", { children: "外部播放器 / VR" }), /* @__PURE__ */ (0, x.jsxs)(bk, { children: [
- /* @__PURE__ */ (0, x.jsx)(OV, {
+ /* @__PURE__ */ (0, x.jsx)(kV, {
id: `external-player-${e}`,
label: "此设备的外部播放器",
- options: LU,
+ options: RU,
value: t,
epoch: 0,
onPick: (e) => {
- let t = LU.find(([t]) => t === e)?.[0] || "m3u";
+ let t = RU.find(([t]) => t === e)?.[0] || "m3u";
n(t);
try {
- localStorage.setItem(IU, t);
+ localStorage.setItem(LU, t);
} catch {}
}
}),
@@ -64476,11 +64491,11 @@ function Hje({ id: e }) {
a.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: a.error }) : null,
r ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("a", {
- href: Vje(t, r.url, r.playlist),
+ href: Bje(t, r.url, r.playlist),
rel: "noreferrer",
- children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${LU.find(([e]) => e === t)?.[1]}`
+ children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${RU.find(([e]) => e === t)?.[1]}`
}),
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "网络播放地址",
value: r.url,
isReadOnly: !0
@@ -64491,25 +64506,25 @@ function Hje({ id: e }) {
}
//#endregion
//#region src/react/components/overlay-host.ts
-function Uje(e) {
+function Hje(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
if (t) return t;
let n = e.ownerDocument.createElement("div");
return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;
}
-function Wje(e) {
+function Uje(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return Uje(n ?? t.body);
+ return Hje(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var Gje = "/api/cover-crop", Kje = (e, t) => V(Gje, {
+var Wje = "/api/cover-crop", Gje = (e, t) => V(Wje, {
code: e,
box: t
});
//#endregion
//#region src/react/cover-crop/cover-crop-page.tsx
-function RU({ className: e }) {
+function zU({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -64522,7 +64537,7 @@ function RU({ className: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-crop" })
});
}
-function qje({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function Kje({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, b.useState)(!1), o = (0, b.useRef)(null);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("button", {
ref: o,
@@ -64533,15 +64548,15 @@ function qje({ code: e, coverUrl: t, box: n, onSaved: r }) {
title: "裁剪封面:框出正封那一块",
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, x.jsx)(RU, { className: "size-3.75" })
+ children: /* @__PURE__ */ (0, x.jsx)(zU, { className: "size-3.75" })
}), /* @__PURE__ */ (0, x.jsx)(Lx, {
- getContainer: () => Wje(o.current),
- children: /* @__PURE__ */ (0, x.jsx)(Nj, {
+ getContainer: () => Uje(o.current),
+ children: /* @__PURE__ */ (0, x.jsx)(Pj, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, x.jsx)(Jje, {
+ children: /* @__PURE__ */ (0, x.jsx)(qje, {
code: e,
coverUrl: t,
box: n,
@@ -64551,9 +64566,9 @@ function qje({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function Jje({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(null), [l, u] = (0, b.useState)(!0), d = VP(), f = ft({
- mutationFn: (t) => Kje(e, t),
+function qje({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(null), [l, u] = (0, b.useState)(!0), d = HP(), f = ft({
+ mutationFn: (t) => Gje(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -64565,15 +64580,15 @@ function Jje({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : qxe(e, Ki);
- c(SI(t, e, null));
+ } : Kxe(e, Ki);
+ c(CI(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, x.jsx)(Pj, { children: /* @__PURE__ */ (0, x.jsx)(RU, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, x.jsx)(Fj, { children: /* @__PURE__ */ (0, x.jsx)(zU, { className: "size-6" }) }),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
@@ -64592,7 +64607,7 @@ function Jje({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsx)(UP, {
+ /* @__PURE__ */ (0, x.jsx)(WP, {
icon: wO,
size: "small",
"aria-label": "关闭",
@@ -64603,24 +64618,24 @@ function Jje({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, x.jsx)("div", {
ref: d,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: /* @__PURE__ */ (0, x.jsx)(DI, {
+ children: /* @__PURE__ */ (0, x.jsx)(OI, {
src: t,
aspect: l ? Ki : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- bI(e) && p(e);
+ xI(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, x.jsx)(Kz, {
+ children: [/* @__PURE__ */ (0, x.jsx)(qz, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(SI(s, a, Ki));
+ u(e), e && s && a && c(CI(s, a, Ki));
},
children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -64649,14 +64664,14 @@ function Jje({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}
//#endregion
//#region src/react/item-detail/item-detail-page.tsx
-var zU = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var BU = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: L(e) }
-}), BU = ({ html: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+}), VU = ({ html: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
-}), VU = (e) => Number(e) > 0 ? Ut(Number(e)) : "大小未知";
-function Yje(e) {
+}), HU = (e) => Number(e) > 0 ? Ut(Number(e)) : "大小未知";
+function Jje(e) {
let { queue: t, actions: n } = e, r = dt({
queryKey: t ? vD(t) : ["item-queue", "none"],
queryFn: ({ signal: n }) => DD(t, e.helpers, n),
@@ -64674,9 +64689,9 @@ function Yje(e) {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-media": "",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, x.jsx)(HU, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(UU, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, x.jsx)(TM, {
+ children: e ? /* @__PURE__ */ (0, x.jsx)(EM, {
message: _t(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -64686,13 +64701,13 @@ function Yje(e) {
})
});
}
- return /* @__PURE__ */ (0, x.jsx)(Xje, {
+ return /* @__PURE__ */ (0, x.jsx)(Yje, {
...e,
item: ile(o.data, i),
queue: i
}, o.data.id);
}
-var HU = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
+var UU = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -64701,8 +64716,8 @@ var HU = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function Xje(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = fMe(t, r, i.tagLabel), o = (0, b.useRef)(t);
+function Yje(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = dMe(t, r, i.tagLabel), o = (0, b.useRef)(t);
(0, b.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, b.useEffect)(() => {
@@ -64717,7 +64732,7 @@ function Xje(e) {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
- children: [/* @__PURE__ */ (0, x.jsx)(Zje, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Xje, {
item: t,
gate: s,
helpers: i,
@@ -64730,22 +64745,22 @@ function Xje(e) {
autoplay: !0
}, c.id);
}
- }), /* @__PURE__ */ (0, x.jsx)(nMe, {
+ }), /* @__PURE__ */ (0, x.jsx)(tMe, {
item: t,
queue: n,
write: a,
helpers: i,
actions: r
})]
- }), /* @__PURE__ */ (0, x.jsx)(_U, {
+ }), /* @__PURE__ */ (0, x.jsx)(vU, {
editionCards: n?.kind === "editions" ? n.items.length : void 0,
- queue: n ? /* @__PURE__ */ (0, x.jsx)($je, {
+ queue: n ? /* @__PURE__ */ (0, x.jsx)(Qje, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, x.jsx)(dMe, {
+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, x.jsx)(uMe, {
...e,
item: n ? {
...t,
@@ -64754,14 +64769,14 @@ function Xje(e) {
}) : null
})] });
}
-function Zje({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
+function Xje({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
let [o, s] = (0, b.useState)(t ? "" : "auto"), c = (0, b.useRef)(null), [l, u] = (0, b.useState)(-2);
- vU(c, "[data-catalog-picture], [data-jav-picture]", l);
+ yU(c, "[data-catalog-picture], [data-jav-picture]", l);
let d = (0, b.useRef)(!1), f = dt({
- queryKey: NU(e.code || ""),
+ queryKey: PU(e.code || ""),
queryFn: ({ signal: t }) => {
let n = d.current;
- return d.current = !1, PU(e.code, t, n);
+ return d.current = !1, FU(e.code, t, n);
},
staleTime: 216e5,
enabled: !!e.is_jav && !!e.code && !e.sample_images?.length
@@ -64806,26 +64821,26 @@ function Zje({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
"data-item-gallery": h ? "" : void 0,
"data-item-picture": l === -2 ? void 0 : "",
children: [
- /* @__PURE__ */ (0, x.jsx)(HU, { onClose: r.close }),
+ /* @__PURE__ */ (0, x.jsx)(UU, { onClose: r.close }),
h ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": l !== -2,
onClick: () => g(l === -2 ? m[0].index : -2),
- children: [/* @__PURE__ */ (0, x.jsx)(zU, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
+ children: [/* @__PURE__ */ (0, x.jsx)(BU, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
}),
- l === -2 ? null : /* @__PURE__ */ (0, x.jsx)(MU, {
+ l === -2 ? null : /* @__PURE__ */ (0, x.jsx)(NU, {
item: e,
image: l,
source: p.find((e) => e.index === l)?.source
}, l),
- /* @__PURE__ */ (0, x.jsx)(yU, {
+ /* @__PURE__ */ (0, x.jsx)(bU, {
items: m,
position: Math.max(0, m.findIndex((e) => e.index === l)),
onSelect: g,
below: !0,
- renderThumbnail: (t) => /* @__PURE__ */ (0, x.jsx)(MU, {
+ renderThumbnail: (t) => /* @__PURE__ */ (0, x.jsx)(NU, {
item: e,
image: t.index === -2 ? m[0].index : t.index,
source: p.find((e) => e.index === (t.index === -2 ? m[0].index : t.index))?.source,
@@ -64850,7 +64865,7 @@ function Zje({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: "重试样图"
})
}) : null,
- t === "offline" ? /* @__PURE__ */ (0, x.jsx)(Qje, {
+ t === "offline" ? /* @__PURE__ */ (0, x.jsx)(Zje, {
item: e,
badge: y,
helpers: n,
@@ -64860,7 +64875,7 @@ function Zje({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, x.jsx)(BU, { html: y }),
+ /* @__PURE__ */ (0, x.jsx)(VU, { html: y }),
/* @__PURE__ */ (0, x.jsx)("b", { children: "在线资产" }),
/* @__PURE__ */ (0, x.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -64875,12 +64890,12 @@ function Zje({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
id: "gate",
"data-item-gate": "metered",
onClick: () => s("clicked"),
- children: [/* @__PURE__ */ (0, x.jsx)(BU, { html: y }), /* @__PURE__ */ (0, x.jsxs)("span", { children: ["点此开始拉流 · ", VU(e.size)] })]
+ children: [/* @__PURE__ */ (0, x.jsx)(VU, { html: y }), /* @__PURE__ */ (0, x.jsxs)("span", { children: ["点此开始拉流 · ", HU(e.size)] })]
}) : null
]
});
}
-function Qje({ item: e, badge: t, helpers: n, actions: r }) {
+function Zje({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, b.useState)(!1), [o, s] = (0, b.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -64891,7 +64906,7 @@ function Qje({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, x.jsx)(BU, { html: t }),
+ /* @__PURE__ */ (0, x.jsx)(VU, { html: t }),
/* @__PURE__ */ (0, x.jsx)("b", { children: "脱盘模式" }),
/* @__PURE__ */ (0, x.jsx)("span", { children: n.offlineReason(e.location || "") }),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -64905,8 +64920,8 @@ function Qje({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function $je({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = vle(e), a = (0, b.useRef)(null), o = tMe(e, t, r), s = (0, b.useRef)(o);
+function Qje({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = vle(e), a = (0, b.useRef)(null), o = eMe(e, t, r), s = (0, b.useRef)(o);
s.current = o;
let c = (0, b.useCallback)((t) => {
a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -64914,7 +64929,7 @@ function $je({ queue: e, itemId: t, helpers: n, actions: r }) {
attribute: "data-queue-row",
onMove: (e, t, n) => s.current.move(+e, +t, n)
}));
- }, [n, e.kind]), l = eMe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)("button", {
+ }, [n, e.kind]), l = $je(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -64933,7 +64948,7 @@ function $je({ queue: e, itemId: t, helpers: n, actions: r }) {
seedId: e.seedId,
playlistId: e.playlistId
};
- return /* @__PURE__ */ (0, x.jsx)(mU, {
+ return /* @__PURE__ */ (0, x.jsx)(hU, {
kind: e.kind,
title: i.title,
summary: i.summary,
@@ -64946,7 +64961,7 @@ function $je({ queue: e, itemId: t, helpers: n, actions: r }) {
"data-queue-edition": "",
children: i.edition_label
}) : null, s = e.kind === "playlist" && kD(i);
- return /* @__PURE__ */ (0, x.jsxs)(hU, {
+ return /* @__PURE__ */ (0, x.jsxs)(gU, {
current: i.id === t,
"data-queue-item": i.id,
row: { "data-queue-row": i.id },
@@ -64956,25 +64971,25 @@ function $je({ queue: e, itemId: t, helpers: n, actions: r }) {
onClick: () => {
s || r.openQueueItem(d, i.id);
},
- pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(BU, { html: pa(i, n.javImage()) }), /* @__PURE__ */ (0, x.jsx)("i", {
+ pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(VU, { html: pa(i, n.javImage()) }), /* @__PURE__ */ (0, x.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: Vt(i.duration)
})] }),
- lead: /* @__PURE__ */ (0, x.jsx)(BU, { html: ga(i) }),
+ lead: /* @__PURE__ */ (0, x.jsx)(VU, { html: ga(i) }),
after: e.kind === "playlist" ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-queue-edit": "",
children: [/* @__PURE__ */ (0, x.jsx)("i", {
"data-queue-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, x.jsx)(zU, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, x.jsx)(BU, { name: "grip-vertical" })
}), /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-queue-remove": i.id,
title: "移出播放列表",
"aria-label": "移出播放列表",
onClick: () => o.remove(i.id),
- children: /* @__PURE__ */ (0, x.jsx)(zU, { name: "x" })
+ children: /* @__PURE__ */ (0, x.jsx)(BU, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, x.jsxs)("span", {
@@ -64991,7 +65006,7 @@ function $je({ queue: e, itemId: t, helpers: n, actions: r }) {
})
});
}
-function eMe(e, t) {
+function $je(e, t) {
let n = ft({ mutationFn: (t) => V(yD, {
action: "create",
name: t,
@@ -65005,7 +65020,7 @@ function eMe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function tMe(e, t, n) {
+function eMe(e, t, n) {
let r = vD({
kind: "playlist",
playlistId: e.playlistId
@@ -65068,7 +65083,7 @@ function tMe(e, t, n) {
}
};
}
-function nMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function tMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-stage-side": "",
@@ -65076,7 +65091,7 @@ function nMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(rMe, {
+ /* @__PURE__ */ (0, x.jsx)(nMe, {
item: e,
queue: t,
helpers: r,
@@ -65088,7 +65103,7 @@ function nMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, x.jsx)(aMe, {
+ /* @__PURE__ */ (0, x.jsx)(iMe, {
item: e,
write: n
}),
@@ -65099,7 +65114,7 @@ function nMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: [
e.width && e.height ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, x.jsx)(zU, { name: "monitor" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, x.jsx)(BU, { name: "monitor" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [
e.width,
"×",
e.height
@@ -65107,11 +65122,11 @@ function nMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null,
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, x.jsx)(zU, { name: "hard-drive" }), /* @__PURE__ */ (0, x.jsx)("span", { children: VU(e.size) })]
+ children: [/* @__PURE__ */ (0, x.jsx)(BU, { name: "hard-drive" }), /* @__PURE__ */ (0, x.jsx)("span", { children: HU(e.size) })]
}),
e.release_date ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, x.jsx)(zU, { name: "calendar" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, x.jsx)(BU, { name: "calendar" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
@@ -65119,23 +65134,23 @@ function nMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"data-open-region": e.region || "",
title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",
onClick: () => i.openRegion(e.region || ""),
- children: [/* @__PURE__ */ (0, x.jsx)(zU, { name: "globe" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, x.jsx)(BU, { name: "globe" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsx)(oMe, {
+ /* @__PURE__ */ (0, x.jsx)(aMe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, x.jsx)(sMe, {
+ /* @__PURE__ */ (0, x.jsx)(oMe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, x.jsx)(lMe, { item: e }),
- e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, x.jsx)(Hje, { id: e.id }, e.id) : null,
+ /* @__PURE__ */ (0, x.jsx)(cMe, { item: e }),
+ e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, x.jsx)(Vje, { id: e.id }, e.id) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -65149,7 +65164,7 @@ function nMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.liked,
...o("like"),
onClick: () => n.preference({ liked: !e.liked }),
- children: /* @__PURE__ */ (0, x.jsx)(zU, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, x.jsx)(BU, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -65161,7 +65176,7 @@ function nMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-controls": "preferencePanel",
"data-has-reason": String(!!e.like_reason),
onClick: () => c((e) => !e),
- children: /* @__PURE__ */ (0, x.jsx)(zU, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, x.jsx)(BU, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -65172,7 +65187,7 @@ function nMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "dislike",
...o("dislike"),
onClick: () => n.feedback("dislike"),
- children: /* @__PURE__ */ (0, x.jsx)(zU, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(BU, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -65183,7 +65198,7 @@ function nMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "seen",
...o("seen"),
onClick: () => n.feedback("seen"),
- children: /* @__PURE__ */ (0, x.jsx)(zU, { name: "eye" })
+ children: /* @__PURE__ */ (0, x.jsx)(BU, { name: "eye" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -65194,7 +65209,7 @@ function nMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.watch_later,
...o("later"),
onClick: n.later,
- children: /* @__PURE__ */ (0, x.jsx)(zU, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, x.jsx)(BU, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -65203,7 +65218,7 @@ function nMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, x.jsx)(zU, { name: "playlist" })
+ children: /* @__PURE__ */ (0, x.jsx)(BU, { name: "playlist" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -65214,7 +65229,7 @@ function nMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.better_version,
...o("quality"),
onClick: n.quality,
- children: /* @__PURE__ */ (0, x.jsx)(zU, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, x.jsx)(BU, { name: "sparkles" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -65225,11 +65240,11 @@ function nMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.disposal === "trash",
...o("dispose"),
onClick: () => n.feedback("dispose"),
- children: /* @__PURE__ */ (0, x.jsx)(zU, { name: "trash" })
+ children: /* @__PURE__ */ (0, x.jsx)(BU, { name: "trash" })
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(uMe, {
+ /* @__PURE__ */ (0, x.jsx)(lMe, {
item: e,
open: s,
write: n
@@ -65240,7 +65255,7 @@ function nMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...o("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, x.jsx)(zU, { name: "sperm" }),
+ /* @__PURE__ */ (0, x.jsx)(BU, { name: "sperm" }),
/* @__PURE__ */ (0, x.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, x.jsx)("b", {
className: "mono",
@@ -65253,8 +65268,8 @@ function nMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function rMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
- let { text: a, expanded: o, foldable: s, toggle: c } = AU(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + ble(e, t);
+function nMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+ let { text: a, expanded: o, foldable: s, toggle: c } = jU(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + ble(e, t);
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -65281,11 +65296,11 @@ function rMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
"aria-label": o ? "收起标题" : "展开标题",
title: o ? "收起标题" : "展开完整标题",
onClick: c,
- children: /* @__PURE__ */ (0, x.jsx)(zU, { name: o ? "chevron-up" : "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(BU, { name: o ? "chevron-up" : "chevron-down" })
}),
e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, x.jsx)(qje, {
+ children: /* @__PURE__ */ (0, x.jsx)(Kje, {
code: e.cover_key || e.code || "",
coverUrl: Qi(e),
box: e.poster_box || null,
@@ -65297,7 +65312,7 @@ function rMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, x.jsx)(iMe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, x.jsx)(rMe, {
id: e.id,
actions: r,
onStatus: i
@@ -65307,7 +65322,7 @@ function rMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function iMe({ id: e, actions: t, onStatus: n }) {
+function rMe({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, b.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -65337,10 +65352,10 @@ function iMe({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, x.jsx)(zU, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, x.jsx)(BU, { name: "folder-sync" })
})] });
}
-function aMe({ item: e, write: t }) {
+function iMe({ item: e, write: t }) {
let n = ND(e.rating);
return /* @__PURE__ */ (0, x.jsxs)("div", {
id: "detailRating",
@@ -65364,7 +65379,7 @@ function aMe({ item: e, write: t }) {
"aria-label": e === n ? `取消评分(当前 ${e} 星)` : `评为 ${e} 星`,
...t.busyAttrs(`rate:${e}`),
onClick: () => t.rate(e),
- children: /* @__PURE__ */ (0, x.jsx)(zU, { name: "star" })
+ children: /* @__PURE__ */ (0, x.jsx)(BU, { name: "star" })
}, e))
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-rating-value": "",
@@ -65373,10 +65388,10 @@ function aMe({ item: e, write: t }) {
})]
});
}
-function oMe({ item: e, actions: t }) {
+function aMe({ item: e, actions: t }) {
let n = (0, b.useMemo)(() => ole(e), [e]), [r, i] = (0, b.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r;
- return /* @__PURE__ */ (0, x.jsx)(OU, {
+ return /* @__PURE__ */ (0, x.jsx)(kU, {
kind: e,
person: n,
onOpen: t.openEntity,
@@ -65408,7 +65423,7 @@ function oMe({ item: e, actions: t }) {
onClick: t.openUnowned,
children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, x.jsx)(zU, { name: "user-round" })
+ children: /* @__PURE__ */ (0, x.jsx)(BU, { name: "user-round" })
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -65439,13 +65454,13 @@ function oMe({ item: e, actions: t }) {
children: [c.length ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-identity-primary": "",
children: c
- }) : null, /* @__PURE__ */ (0, x.jsx)(kU, {
+ }) : null, /* @__PURE__ */ (0, x.jsx)(AU, {
people: n.series,
onOpen: t.openEntity
})]
});
}
-function sMe({ item: e, write: t, helpers: n, actions: r }) {
+function oMe({ item: e, write: t, helpers: n, actions: r }) {
let i = lle(e, n);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-tags": "",
@@ -65466,16 +65481,16 @@ function sMe({ item: e, write: t, helpers: n, actions: r }) {
"aria-label": `删除标签 ${n.tagLabel(e.k)}`,
...t.busyAttrs(`tag:${e.k}`),
onClick: () => t.removeTag(e),
- children: /* @__PURE__ */ (0, x.jsx)(zU, { name: "x" })
+ children: /* @__PURE__ */ (0, x.jsx)(BU, { name: "x" })
})]
- }, e.k)), /* @__PURE__ */ (0, x.jsx)(cMe, {
+ }, e.k)), /* @__PURE__ */ (0, x.jsx)(sMe, {
item: e,
write: t,
helpers: n
})]
});
}
-function cMe({ item: e, write: t, helpers: n }) {
+function sMe({ item: e, write: t, helpers: n }) {
let r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(!1), [s, c] = (0, b.useState)(!1), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(-1), h = (0, b.useCallback)(() => {
i.current && Va(i.current), c(!1);
}, []);
@@ -65525,7 +65540,7 @@ function cMe({ item: e, write: t, helpers: n }) {
"aria-pressed": i,
onClick: () => v(t, i),
children: [
- /* @__PURE__ */ (0, x.jsx)(zU, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, x.jsx)(BU, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-pick-name": "",
children: n.tagLabel(t.k)
@@ -65548,7 +65563,7 @@ function cMe({ item: e, write: t, helpers: n }) {
onClick: () => {
i.current && (Ba(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));
},
- children: /* @__PURE__ */ (0, x.jsx)(zU, { name: "plus" })
+ children: /* @__PURE__ */ (0, x.jsx)(BU, { name: "plus" })
}), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: i,
id: "tagPicker",
@@ -65558,7 +65573,7 @@ function cMe({ item: e, write: t, helpers: n }) {
hidden: !0,
children: [/* @__PURE__ */ (0, x.jsxs)("label", {
"data-tag-search": "",
- children: [/* @__PURE__ */ (0, x.jsx)(zU, { name: "search" }), /* @__PURE__ */ (0, x.jsx)("input", {
+ children: [/* @__PURE__ */ (0, x.jsx)(BU, { name: "search" }), /* @__PURE__ */ (0, x.jsx)("input", {
ref: a,
id: "tagPickSearch",
maxLength: 80,
@@ -65599,7 +65614,7 @@ function cMe({ item: e, write: t, helpers: n }) {
onClick: () => {
h(), t.addTag(g.create);
},
- children: [/* @__PURE__ */ (0, x.jsx)(zU, { name: "plus" }), /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(BU, { name: "plus" }), /* @__PURE__ */ (0, x.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -65614,7 +65629,7 @@ function cMe({ item: e, write: t, helpers: n }) {
})]
})] });
}
-function lMe({ item: e }) {
+function cMe({ item: e }) {
let t = wle(e);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-item-trace": "",
@@ -65649,7 +65664,7 @@ function lMe({ item: e }) {
})]
});
}
-function uMe({ item: e, open: t, write: n }) {
+function lMe({ item: e, open: t, write: n }) {
let [r, i] = (0, b.useState)(e.like_reason || ""), a = (0, b.useRef)(null);
(0, b.useEffect)(() => {
t && a.current?.focus();
@@ -65688,15 +65703,15 @@ function uMe({ item: e, open: t, write: n }) {
})]
});
}
-function dMe(e) {
+function uMe(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = dt({
queryKey: tle(t.id, n),
queryFn: async ({ signal: e }) => (await B(rle(t.id, n), e)).items || []
}), [o] = (0, b.useState)(() => r.relatedSkeletonHtml());
- return a.isError || a.data && !a.data.length ? null : /* @__PURE__ */ (0, x.jsx)(gU, {
+ return a.isError || a.data && !a.data.length ? null : /* @__PURE__ */ (0, x.jsx)(_U, {
wireDrag: r.wireDrag,
busy: a.isPending,
- children: a.data ? /* @__PURE__ */ (0, x.jsx)(RM, {
+ children: a.data ? /* @__PURE__ */ (0, x.jsx)(zM, {
mode: "items",
variant: "next",
items: a.data,
@@ -65709,10 +65724,10 @@ function dMe(e) {
revision: 0,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : /* @__PURE__ */ (0, x.jsx)(BU, { html: o })
+ }) : /* @__PURE__ */ (0, x.jsx)(VU, { html: o })
});
}
-function fMe(e, t, n) {
+function dMe(e, t, n) {
let r = e.id, i = _D(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), d = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
@@ -65854,10 +65869,10 @@ function fMe(e, t, n) {
}
//#endregion
//#region src/react/jav-detail/review-cache.ts
-var UU = "peach.jav-reviews.v1";
-function WU() {
+var WU = "peach.jav-reviews.v1";
+function GU() {
try {
- let e = localStorage.getItem(UU) || "[]";
+ let e = localStorage.getItem(WU) || "[]";
if (e.length > 2e6) return [];
let t = JSON.parse(e);
return Array.isArray(t) ? t.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.ok === !0 && !e.result.cache_stale && Number.isInteger(e.result.page) && e.result.page >= 1 && e.result.page <= 8 && Array.isArray(e.result.items) && e.result.items.length <= 10 && e.result.items.every((e) => typeof e?.id == "string" && typeof e.content == "string" && typeof e.username == "string" && typeof e.created_at == "string")) : [];
@@ -65865,21 +65880,21 @@ function WU() {
return [];
}
}
-function pMe(e, t) {
+function fMe(e, t) {
if (t.ok && !t.cache_stale) try {
let n = Date.parse(t.checked_at || ""), r = [{
code: e,
saved: Number.isFinite(n) ? n : Date.now(),
result: t
- }, ...WU().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
- i.length <= 2e6 && localStorage.setItem(UU, i);
+ }, ...GU().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
+ i.length <= 2e6 && localStorage.setItem(WU, i);
} catch {}
}
-function mMe(e, t) {
- let n = WU(), r = [], i = Infinity;
+function pMe(e, t) {
+ let n = GU(), r = [], i = Infinity;
for (let a = 1; a <= 8; a++) {
let o = n.find((t) => t.code === e && t.result.page === a);
- if (!o || !BB(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
+ if (!o || !VB(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
}
return r.length ? {
pages: r,
@@ -65887,17 +65902,17 @@ function mMe(e, t) {
saved: i
} : void 0;
}
-function hMe(e, t, n) {
- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && BB(Date.parse(e.checked_at || "") || t, n));
+function mMe(e, t, n) {
+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && VB(Date.parse(e.checked_at || "") || t, n));
}
//#endregion
//#region src/react/jav-detail/jav-detail-page.tsx
-function gMe(e) {
+function hMe(e) {
let t = (0, b.useRef)(!1), n = dt({
- queryKey: NU(e.code),
+ queryKey: PU(e.code),
queryFn: ({ signal: n }) => {
let r = t.current;
- return t.current = !1, PU(e.code, n, r);
+ return t.current = !1, FU(e.code, n, r);
},
staleTime: 216e5
}), r = () => {
@@ -65907,21 +65922,21 @@ function gMe(e) {
"data-jav-detail": "",
"data-item-detail": "",
"data-stage-grid": "",
- children: n.data ? /* @__PURE__ */ (0, x.jsx)(_Me, {
+ children: n.data ? /* @__PURE__ */ (0, x.jsx)(gMe, {
...e,
item: n.data,
retry: r,
retrying: n.isFetching
}, e.code) : /* @__PURE__ */ (0, x.jsxs)("div", {
"data-jav-failure": "",
- children: [/* @__PURE__ */ (0, x.jsx)(GU, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, x.jsx)(TM, {
+ children: [/* @__PURE__ */ (0, x.jsx)(KU, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, x.jsx)(EM, {
message: z(n.error),
onRetry: r
}) : null]
})
});
}
-var GU = ({ close: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
+var KU = ({ close: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -65930,12 +65945,12 @@ var GU = ({ close: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function _Me({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
+function gMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
(0, b.useEffect)(() => {
t.state === "ready" && H.invalidateQueries({ queryKey: ["jav-discoveries", "external"] });
}, [t.code, t.state]);
let [o, s] = (0, b.useState)(-1), c = (0, b.useRef)(null);
- vU(c, "[data-jav-picture]", o);
+ yU(c, "[data-jav-picture]", o);
let l = [
{
index: -1,
@@ -65951,12 +65966,12 @@ function _Me({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
video: !0
}] : []
], [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(t.want_id), m = mk(), h = () => {
- m.run("want", async (e) => f ? (await PB([f], e), null) : (await NB({ code: t.code }, e)).want.id, (t) => {
- p(t), H.setQueryData(NU(e), (e) => e && {
+ m.run("want", async (e) => f ? (await FB([f], e), null) : (await PB({ code: t.code }, e)).want.id, (t) => {
+ p(t), H.setQueryData(PU(e), (e) => e && {
...e,
wanted: !!t,
want_id: t
- }), n.receipt(t ? "已加入想要" : "已取消想要"), FB(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });
+ }), n.receipt(t ? "已加入想要" : "已取消想要"), IB(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });
});
};
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
@@ -65966,24 +65981,24 @@ function _Me({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-jav-art": "",
"data-jav-playing": o === -2 ? "" : void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(GU, { close: n.close }),
+ /* @__PURE__ */ (0, x.jsx)(KU, { close: n.close }),
t.preview_video_url ? /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": o === -2,
onClick: () => s(o === -2 ? -1 : -2),
- children: [/* @__PURE__ */ (0, x.jsx)(KU, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
+ children: [/* @__PURE__ */ (0, x.jsx)(qU, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
}) : null,
- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, x.jsx)(bMe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, x.jsx)(jU, {
+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, x.jsx)(yMe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, x.jsx)(MU, {
item: t,
image: o === -1 ? "cover" : String(o)
}, o),
- /* @__PURE__ */ (0, x.jsx)(yU, {
+ /* @__PURE__ */ (0, x.jsx)(bU, {
items: l,
position: Math.max(0, l.findIndex((e) => e.index === o)),
onSelect: s,
below: !0,
- renderThumbnail: (e) => /* @__PURE__ */ (0, x.jsx)(jU, {
+ renderThumbnail: (e) => /* @__PURE__ */ (0, x.jsx)(MU, {
item: t,
image: e.index < 0 ? "cover" : String(e.index),
thumbnail: !0
@@ -65997,32 +66012,32 @@ function _Me({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-stage-side-content": "",
"data-jav-info": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(vMe, { item: t }),
- Number(t.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(JU, { score: Number(t.score) }) : null,
+ /* @__PURE__ */ (0, x.jsx)(_Me, { item: t }),
+ Number(t.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(YU, { score: Number(t.score) }) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "mono",
"data-stage-meta": "",
- children: [/* @__PURE__ */ (0, x.jsx)(qU, {
+ children: [/* @__PURE__ */ (0, x.jsx)(JU, {
glyph: "calendar",
label: "发行日期",
value: t.release_date
- }), /* @__PURE__ */ (0, x.jsx)(qU, {
+ }), /* @__PURE__ */ (0, x.jsx)(JU, {
glyph: "clock",
label: "时长",
value: t.duration ? `${t.duration} 分钟` : void 0
})]
}),
- /* @__PURE__ */ (0, x.jsx)(yMe, {
+ /* @__PURE__ */ (0, x.jsx)(vMe, {
item: t,
navigate: n.navigate
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-jav-facts": "",
- children: [/* @__PURE__ */ (0, x.jsx)(qU, {
+ children: [/* @__PURE__ */ (0, x.jsx)(JU, {
glyph: "briefcase",
label: "发行商",
value: t.publisher
- }), /* @__PURE__ */ (0, x.jsx)(qU, {
+ }), /* @__PURE__ */ (0, x.jsx)(JU, {
glyph: "clapperboard",
label: "导演",
value: t.director
@@ -66096,12 +66111,12 @@ function _Me({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
tone: "error",
children: m.error
}) : null,
- /* @__PURE__ */ (0, x.jsx)(xMe, {
+ /* @__PURE__ */ (0, x.jsx)(bMe, {
code: t.code,
count: t.comments_count,
released: t.release_date
}),
- /* @__PURE__ */ (0, x.jsx)(SMe, {
+ /* @__PURE__ */ (0, x.jsx)(xMe, {
item: t,
actions: n,
readOnly: r
@@ -66109,24 +66124,24 @@ function _Me({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
]
})
}),
- /* @__PURE__ */ (0, x.jsx)(kB, {
+ /* @__PURE__ */ (0, x.jsx)(AB, {
prefill: u,
close: () => d(null),
receipt: n.receipt
})
] });
}
-var KU = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var qU = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: L(e) }
-}), qU = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, x.jsxs)("span", {
+}), JU = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-spec-item": "",
title: t,
- children: [/* @__PURE__ */ (0, x.jsx)(KU, { name: e }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, x.jsx)(qU, { name: e }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
}) : null;
-function vMe({ item: e }) {
- let { text: t, expanded: n, foldable: r, toggle: i } = AU(e.title), a = e.title === e.code ? "" : e.title;
+function _Me({ item: e }) {
+ let { text: t, expanded: n, foldable: r, toggle: i } = jU(e.title), a = e.title === e.code ? "" : e.title;
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-item-title": "",
children: [/* @__PURE__ */ (0, x.jsx)("h1", {
@@ -66152,12 +66167,12 @@ function vMe({ item: e }) {
"aria-label": n ? "收起标题" : "展开标题",
title: n ? "收起标题" : "展开完整标题",
onClick: i,
- children: /* @__PURE__ */ (0, x.jsx)(KU, { name: n ? "chevron-up" : "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(qU, { name: n ? "chevron-up" : "chevron-down" })
})
})]
});
}
-function JU({ score: e, review: t = !1 }) {
+function YU({ score: e, review: t = !1 }) {
let n = Math.max(0, Math.min(5, e));
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-item-rating": "",
@@ -66181,10 +66196,10 @@ function JU({ score: e, review: t = !1 }) {
"data-on": String(t === 1),
children: /* @__PURE__ */ (0, x.jsxs)("span", {
"data-rating-icon": "",
- children: [/* @__PURE__ */ (0, x.jsx)(KU, { name: "star" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(qU, { name: "star" }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-rating-fill": "",
style: { width: `${t * 100}%` },
- children: /* @__PURE__ */ (0, x.jsx)(KU, { name: "star" })
+ children: /* @__PURE__ */ (0, x.jsx)(qU, { name: "star" })
})]
})
}, e);
@@ -66195,7 +66210,7 @@ function JU({ score: e, review: t = !1 }) {
})]
});
}
-function yMe({ item: e, navigate: t }) {
+function vMe({ item: e, navigate: t }) {
let n = (n, r) => t(n === "studio" && !e.studio_refs.find((e) => e.name === r)?.id ? `/?jav=1&studio=${encodeURIComponent(r)}` : Dt(n, r)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, x.jsxs)("section", {
"data-id-group": t,
"data-id-gender": a,
@@ -66204,7 +66219,7 @@ function yMe({ item: e, navigate: t }) {
children: r
}), /* @__PURE__ */ (0, x.jsx)("div", {
"data-id-row": "",
- children: i.map((r) => /* @__PURE__ */ (0, x.jsx)(OU, {
+ children: i.map((r) => /* @__PURE__ */ (0, x.jsx)(kU, {
kind: t,
person: {
...r,
@@ -66212,7 +66227,7 @@ function yMe({ item: e, navigate: t }) {
},
onOpen: n,
openByName: t === "studio",
- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, x.jsx)(vB, {
+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, x.jsx)(yB, {
code: e.code,
person: r,
detail: !0
@@ -66229,7 +66244,7 @@ function yMe({ item: e, navigate: t }) {
r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),
r("studio", "厂牌", e.studio_refs)
]
- }), /* @__PURE__ */ (0, x.jsx)(kU, {
+ }), /* @__PURE__ */ (0, x.jsx)(AU, {
people: e.series_refs.map((e) => ({
...e,
id: e.id ?? null
@@ -66238,7 +66253,7 @@ function yMe({ item: e, navigate: t }) {
})]
});
}
-function bMe({ src: e }) {
+function yMe({ src: e }) {
let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(0);
return (0, b.useLayoutEffect)(() => {
let n = t.current, i = document.createElement("video");
@@ -66262,8 +66277,8 @@ function bMe({ src: e }) {
}) : null
});
}
-function xMe({ code: e, count: t, released: n }) {
- let r = C(), [i, a] = (0, b.useState)(!1), o = (0, b.useMemo)(() => mMe(e, n), [e, n]), s = (0, b.useRef)(!1), c = pt({
+function bMe({ code: e, count: t, released: n }) {
+ let r = C(), [i, a] = (0, b.useState)(!1), o = (0, b.useMemo)(() => pMe(e, n), [e, n]), s = (0, b.useRef)(!1), c = pt({
queryKey: ["jav-reviews", e],
enabled: i,
initialPageParam: 1,
@@ -66272,12 +66287,12 @@ function xMe({ code: e, count: t, released: n }) {
pageParams: o.pageParams
} : void 0,
initialDataUpdatedAt: o?.saved,
- staleTime: (e) => hMe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
+ staleTime: (e) => mMe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
gcTime: 864e5,
refetchOnWindowFocus: !1,
queryFn: async ({ signal: t, pageParam: n }) => {
- let i = await zje(e, n, t, s.current);
- if (pMe(e, i), !i.ok || i.cache_stale) {
+ let i = await Rje(e, n, t, s.current);
+ if (fMe(e, i), !i.ok || i.cache_stale) {
let t = r.getQueryData(["jav-reviews", e])?.pages.find((e) => e.page === n);
if (t?.ok) return {
...t,
@@ -66287,7 +66302,7 @@ function xMe({ code: e, count: t, released: n }) {
}
return i;
},
- getNextPageParam: Bje
+ getNextPageParam: zje
});
(0, b.useEffect)(() => {
c.isFetching || (s.current = !1);
@@ -66315,7 +66330,7 @@ function xMe({ code: e, count: t, released: n }) {
"data-jav-review-meta": "",
children: [
/* @__PURE__ */ (0, x.jsx)("b", { children: e.username }),
- Number(e.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(JU, {
+ Number(e.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(YU, {
score: Number(e.score),
review: !0
}) : null,
@@ -66370,7 +66385,7 @@ function xMe({ code: e, count: t, released: n }) {
})
});
}
-function SMe({ item: e, actions: t, readOnly: n }) {
+function xMe({ item: e, actions: t, readOnly: n }) {
let [r, i] = (0, b.useState)(!1), a = dt({
queryKey: Rk,
enabled: r,
@@ -66380,11 +66395,11 @@ function SMe({ item: e, actions: t, readOnly: n }) {
"data-jav-resources": "",
children: /* @__PURE__ */ (0, x.jsx)(Ok, {
trailing: !0,
- summary: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(KU, { name: "link" }), "资源"] }),
+ summary: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(qU, { name: "link" }), "资源"] }),
onOpenChange: (e) => {
i(e), e && c(!0);
},
- children: s ? /* @__PURE__ */ (0, x.jsx)(KB, {
+ children: s ? /* @__PURE__ */ (0, x.jsx)(qB, {
want: {
id: 0,
code: e.code,
@@ -66402,31 +66417,31 @@ function SMe({ item: e, actions: t, readOnly: n }) {
}
//#endregion
//#region src/react/stage/stage-player.ts
-var YU = null, XU = null, ZU = null, QU = null, $U = null, eW = !1, tW = 0, nW = null, rW = () => !1, iW = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function CMe(e, t) {
- YU = e, rW = () => t.isOpen(), nW = () => t.requestClose(), uce({
+var XU = null, ZU = null, QU = null, $U = null, eW = null, tW = !1, nW = 0, rW = null, iW = () => !1, aW = (e, t, n) => `${e}:${t}:${n ?? ""}`;
+function SMe(e, t) {
+ XU = e, iW = () => t.isOpen(), rW = () => t.requestClose(), uce({
...e.player,
stage: () => document.getElementById("stage")
}), dce({
- inMiniplayer: (e) => XU?.player === e,
- kind: (e) => XU?.player === e ? XU.kind : ZU?.kind ?? QU?.kind ?? "item",
- expand: () => CW(),
- toMiniplayer: () => wW()
- }), aW || (aW = !0, addEventListener("pagehide", () => XE()));
-}
-var aW = !1;
-function oW() {
- if (!YU) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
- return YU;
-}
-function sW(e) {
- QU = e;
-}
-var wMe = () => QU;
-function cW(e, t) {
- let { kind: n, item: r, media: i = null } = t, a = iW(n, r.id, i?.index ?? null);
- if (XU && XU.key === a) return TMe(e, XU);
- XU && SW();
+ inMiniplayer: (e) => ZU?.player === e,
+ kind: (e) => ZU?.player === e ? ZU.kind : QU?.kind ?? $U?.kind ?? "item",
+ expand: () => wW(),
+ toMiniplayer: () => TW()
+ }), oW || (oW = !0, addEventListener("pagehide", () => XE()));
+}
+var oW = !1;
+function sW() {
+ if (!XU) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
+ return XU;
+}
+function cW(e) {
+ $U = e;
+}
+var CMe = () => $U;
+function lW(e, t) {
+ let { kind: n, item: r, media: i = null } = t, a = aW(n, r.id, i?.index ?? null);
+ if (ZU && ZU.key === a) return wMe(e, ZU);
+ ZU && CW();
let o = {
player: null,
kind: n,
@@ -66434,7 +66449,7 @@ function cW(e, t) {
mediaIndex: i?.index ?? null,
key: a
};
- ZU = o;
+ QU = o;
let s = document.createElement("video");
t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !0, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);
let c = lD(s, {
@@ -66444,18 +66459,18 @@ function cW(e, t) {
autoplay: t.autoplay,
resume: t.resume ?? null,
onPlayer: (e) => {
- ZU === o && (o.player = e);
+ QU === o && (o.player = e);
},
- handedOff: (e) => XU?.player === e
+ handedOff: (e) => ZU?.player === e
});
return () => {
- let e = !!o.player && XU?.player === o.player;
- ZU === o && (ZU = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), XE());
+ let e = !!o.player && ZU?.player === o.player;
+ QU === o && (QU = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), XE());
};
}
-function TMe(e, t) {
+function wMe(e, t) {
let { player: n } = t;
- bW(t), XU = null, xW(), n.el().classList.remove("vjs-peach-mini"), sD(e), e.append(n.el()), mE(n);
+ xW(t), ZU = null, SW(), n.el().classList.remove("vjs-peach-mini"), sD(e), e.append(n.el()), mE(n);
let r = {
player: n,
kind: t.kind,
@@ -66463,23 +66478,23 @@ function TMe(e, t) {
mediaIndex: t.mediaIndex,
key: t.key
};
- ZU = r;
+ QU = r;
let i = cD(n, e);
return hE(n), () => {
- ZU === r && (ZU = null), i(), XU?.player !== n && (pE() === n && mE(null), HE(n), XE());
+ QU === r && (QU = null), i(), ZU?.player !== n && (pE() === n && mE(null), HE(n), XE());
};
}
-var lW = () => {
- let e = ZU?.player;
+var uW = () => {
+ let e = QU?.player;
return e && !e.isDisposed() ? e : null;
};
-function EMe(e) {
- let t = eW;
- eW = !1, XU?.pending && SW();
- let n = ZU, r = n?.player, i = QU;
- if (!n || !r || r.isDisposed() || !i || !$U) return;
- let a = oW().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && AMe({
+function TMe(e) {
+ let t = tW;
+ tW = !1, ZU?.pending && CW();
+ let n = QU, r = n?.player, i = $U;
+ if (!n || !r || r.isDisposed() || !i || !eW) return;
+ let a = sW().player.settings();
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && kMe({
player: r,
kind: n.kind,
item: n.item,
@@ -66487,46 +66502,46 @@ function EMe(e) {
key: n.key
}, i);
}
-function uW(e, t) {
- eW = !1, XU && (XU.kind === e && XU.item.id === t ? (XU.pending = !0, xW()) : SW());
+function dW(e, t) {
+ tW = !1, ZU && (ZU.kind === e && ZU.item.id === t ? (ZU.pending = !0, SW()) : CW());
}
-function dW(e) {
- $U = e, $U && vW();
+function fW(e) {
+ eW = e, eW && yW();
}
-var fW = () => !!XU && !XU.pending && !XU.player.isDisposed();
-function DMe() {
- return fW() ? $U?.frame.querySelector("video") ?? null : null;
+var pW = () => !!ZU && !ZU.pending && !ZU.player.isDisposed();
+function EMe() {
+ return pW() ? eW?.frame.querySelector("video") ?? null : null;
}
-function OMe() {
- return rW() ? document.getElementById("stage")?.querySelector("video") ?? null : DMe();
+function DMe() {
+ return iW() ? document.getElementById("stage")?.querySelector("video") ?? null : EMe();
}
-function pW(e) {
- $U && ($U.title.textContent = e.title || "", $U.sub.textContent = e.sub || "", $U.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
+function mW(e) {
+ eW && (eW.title.textContent = e.title || "", eW.sub.textContent = e.sub || "", eW.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
}
-function mW(e = XU?.item) {
- if (!$U) return;
- let t = $U.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
- $U.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
+function hW(e = ZU?.item) {
+ if (!eW) return;
+ let t = eW.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
+ eW.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
}
-function hW() {
- let e = XU?.player;
- if (!e || e.isDisposed() || !$U) return;
+function gW() {
+ let e = ZU?.player;
+ if (!e || e.isDisposed() || !eW) return;
let t = e.paused();
- $U.play.setAttribute("aria-label", t ? "播放" : "暂停"), $U.play.querySelector("[data-icon-swap]") || ($U.play.innerHTML = io("player-pause", "player-play", t ? "b" : "a")), ao($U.play, t ? "b" : "a");
+ eW.play.setAttribute("aria-label", t ? "播放" : "暂停"), eW.play.querySelector("[data-icon-swap]") || (eW.play.innerHTML = io("player-pause", "player-play", t ? "b" : "a")), ao(eW.play, t ? "b" : "a");
}
-function gW() {
- let e = XU?.player;
- if (!e || e.isDisposed() || !$U) return;
- let t = Bt(XU?.item.duration) || Bt(e.duration());
- $U.time.textContent = `${Ht(e.currentTime())} / ${t ? Ht(t) : "0:00"}`;
-}
-var _W = () => Math.max(1, Number(oW().player.settings().seekSeconds) || 10);
-function vW() {
- if (!$U || !YU) return;
- let e = _W();
- for (let [t, n] of [[$U.back, `后退 ${e} 秒`], [$U.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
-}
-function yW(e) {
+function _W() {
+ let e = ZU?.player;
+ if (!e || e.isDisposed() || !eW) return;
+ let t = Bt(ZU?.item.duration) || Bt(e.duration());
+ eW.time.textContent = `${Ht(e.currentTime())} / ${t ? Ht(t) : "0:00"}`;
+}
+var vW = () => Math.max(1, Number(sW().player.settings().seekSeconds) || 10);
+function yW() {
+ if (!eW || !XU) return;
+ let e = vW();
+ for (let [t, n] of [[eW.back, `后退 ${e} 秒`], [eW.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
+}
+function bW(e) {
let t = (t, n) => {
e.player.on(t, n), e.off.push(() => {
try {
@@ -66538,17 +66553,17 @@ function yW(e) {
"play",
"pause",
"ended"
- ], hW), t([
+ ], gW), t([
"timeupdate",
"durationchange",
"loadedmetadata"
- ], gW), t("loadedmetadata", () => mW()), hW(), gW(), mW(), vW();
+ ], _W), t("loadedmetadata", () => hW()), gW(), _W(), hW(), yW();
}
-function bW(e) {
+function xW(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function kMe() {
- let e = $U?.root;
+function OMe() {
+ let e = eW?.root;
if (!e) return;
let t = e.hidden;
if (e.hidden = !1, !t) return;
@@ -66556,8 +66571,8 @@ function kMe() {
let n = () => e.removeAttribute("data-miniplayer-enter");
e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);
}
-function xW() {
- let e = $U?.root;
+function SW() {
+ let e = eW?.root;
if (e) {
e.hidden = !0;
for (let t of [
@@ -66568,73 +66583,73 @@ function xW() {
e.style.transform = "";
}
}
-function AMe(e, t) {
- if (!$U) return;
+function kMe(e, t) {
+ if (!eW) return;
let n = {
...e,
meta: t,
off: [],
pending: !1
};
- XU = n, tW++, e.player.el().classList.add("vjs-peach-mini"), $U.frame.prepend(e.player.el()), pW(t), yW(n), kMe(), hE(e.player);
-}
-function SW() {
- let e = XU;
- e && bW(e), XU = null, tW++;
- let t = e?.player ?? null;
- t && pE() === t && mE(null), HE(t), t && XE(), $U?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), dE(), xW();
+ ZU = n, nW++, e.player.el().classList.add("vjs-peach-mini"), eW.frame.prepend(e.player.el()), mW(t), bW(n), OMe(), hE(e.player);
}
function CW() {
- if (!fW() || !XU) return;
- let { kind: e, item: t, mediaIndex: n } = XU;
- oW().expand(e, t.id, n);
+ let e = ZU;
+ e && xW(e), ZU = null, nW++;
+ let t = e?.player ?? null;
+ t && pE() === t && mE(null), HE(t), t && XE(), eW?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), dE(), SW();
}
function wW() {
- fW() && !rW() ? CW() : rW() && lW() && nW && (eW = !0, nW());
+ if (!pW() || !ZU) return;
+ let { kind: e, item: t, mediaIndex: n } = ZU;
+ sW().expand(e, t.id, n);
+}
+function TW() {
+ pW() && !iW() ? wW() : iW() && uW() && rW && (tW = !0, rW());
}
-function jMe() {
- let e = XU?.player;
+function AMe() {
+ let e = ZU?.player;
e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
-function TW(e) {
- let t = XU?.player;
+function EW(e) {
+ let t = ZU?.player;
if (!t || t.isDisposed()) return;
- let n = Bt(t.duration()) || Bt(XU?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + _W() * e);
+ let n = Bt(t.duration()) || Bt(ZU?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + vW() * e);
t.currentTime(n ? Math.min(n, r) : r);
}
-function EW(e) {
- return !(!fW() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || oW().sourceOffline(String(e.location ?? "")));
-}
-async function MMe(e) {
- if (!fW() || !XU || !$U) return;
- let t = ++tW, n = await vt(`/api/item?id=${e}`).catch(() => null);
- if (t !== tW || !fW() || !XU || !$U || !n || n.error) return;
- if (!EW(n)) {
- oW().openItem(e);
+function DW(e) {
+ return !(!pW() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || sW().sourceOffline(String(e.location ?? "")));
+}
+async function jMe(e) {
+ if (!pW() || !ZU || !eW) return;
+ let t = ++nW, n = await vt(`/api/item?id=${e}`).catch(() => null);
+ if (t !== nW || !pW() || !ZU || !eW || !n || n.error) return;
+ if (!DW(n)) {
+ sW().openItem(e);
return;
}
- let r = XU;
- bW(r), pE() === r.player && mE(null), HE(r.player), XE(), $U.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ let r = ZU;
+ xW(r), pE() === r.player && mE(null), HE(r.player), XE(), eW.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", $U.frame.prepend(i);
+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", eW.frame.prepend(i);
let a = {
kind: "item",
item: n,
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- pW(a), lD(i, {
+ mW(a), lD(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
- if (t !== tW) {
+ if (t !== nW) {
r && pE() === r && mE(null), HE(r);
return;
}
if (!r) {
- SW(), oW().openItem(e);
+ CW(), sW().openItem(e);
return;
}
r.el().classList.add("vjs-peach-mini");
@@ -66643,26 +66658,26 @@ async function MMe(e) {
kind: "item",
item: n,
mediaIndex: null,
- key: iW("item", n.id, null),
+ key: aW("item", n.id, null),
meta: a,
off: [],
pending: !1
};
- XU = i, yW(i);
+ ZU = i, bW(i);
}
- }), mW(n);
+ }), hW(n);
}
//#endregion
//#region src/react/stage/miniplayer.tsx
-var DW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
+var OW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
-}), NMe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, OW = (e) => (t) => {
+}), MMe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, kW = (e) => (t) => {
t.stopPropagation(), e();
-}, PMe = (0, b.memo)(function() {
+}, NMe = (0, b.memo)(function() {
let e = (0, b.useRef)(null), t = (0, b.useRef)(null), n = (0, b.useRef)(null), r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(null), l = (0, b.useRef)(null);
- return (0, b.useLayoutEffect)(() => (dW({
+ return (0, b.useLayoutEffect)(() => (fW({
root: e.current,
frame: n.current,
play: r.current,
@@ -66672,7 +66687,7 @@ var DW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => dW(null)), []), (0, b.useEffect)(() => IMe(e.current, t.current), []), /* @__PURE__ */ (0, x.jsx)("aside", {
+ }), () => fW(null)), []), (0, b.useEffect)(() => FMe(e.current, t.current), []), /* @__PURE__ */ (0, x.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -66696,24 +66711,24 @@ var DW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
id: "miniplayerExpand",
"aria-label": "展开到详情",
"aria-keyshortcuts": "i",
- onClick: OW(CW),
- children: /* @__PURE__ */ (0, x.jsx)(DW, { name: "maximize-2" })
+ onClick: kW(wW),
+ children: /* @__PURE__ */ (0, x.jsx)(OW, { name: "maximize-2" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-miniplayer-button": "close",
id: "miniplayerClose",
"aria-label": "关闭小窗",
- onClick: OW(SW),
- children: /* @__PURE__ */ (0, x.jsx)(DW, { name: "x" })
+ onClick: kW(CW),
+ children: /* @__PURE__ */ (0, x.jsx)(OW, { name: "x" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
ref: a,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerBack",
- onClick: OW(() => TW(-1)),
- children: /* @__PURE__ */ (0, x.jsx)(DW, { name: "rotate-ccw" })
+ onClick: kW(() => EW(-1)),
+ children: /* @__PURE__ */ (0, x.jsx)(OW, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
ref: r,
@@ -66722,16 +66737,16 @@ var DW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: OW(jMe),
- dangerouslySetInnerHTML: NMe
+ onClick: kW(AMe),
+ dangerouslySetInnerHTML: MMe
}),
/* @__PURE__ */ (0, x.jsx)("button", {
ref: o,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerAhead",
- onClick: OW(() => TW(1)),
- children: /* @__PURE__ */ (0, x.jsx)(DW, { name: "rotate-cw" })
+ onClick: kW(() => EW(1)),
+ children: /* @__PURE__ */ (0, x.jsx)(OW, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, x.jsx)("span", {
ref: i,
@@ -66748,7 +66763,7 @@ var DW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
"data-miniplayer-info": "",
id: "miniplayerInfo",
"aria-label": "展开到详情",
- onClick: () => CW(),
+ onClick: () => wW(),
children: [/* @__PURE__ */ (0, x.jsx)("span", {
ref: s,
"data-miniplayer-title": "",
@@ -66762,7 +66777,7 @@ var DW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
})
});
});
-function FMe(e, t, n) {
+function PMe(e, t, n) {
let r = e.getBoundingClientRect(), i = (r.top + r.height / 2 < innerHeight / 2 ? "t" : "b") + (r.left + r.width / 2 < innerWidth / 2 ? "l" : "r"), a = parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 56, o = {
left: r.left - t,
top: r.top - n
@@ -66784,7 +66799,7 @@ function FMe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function IMe(e, t) {
+function FMe(e, t) {
let n = null, r = (e) => {
if (!(e.button !== 0 || e.target.closest("[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek],.vjs-control-bar"))) {
n = {
@@ -66810,7 +66825,7 @@ function IMe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), FMe(e, i.dx, i.dy));
+ }, 0), PMe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -66822,49 +66837,49 @@ function IMe(e, t) {
}
//#endregion
//#region src/react/stage/stage.tsx
-var kW = null, AW = null, jW = /* @__PURE__ */ new Set(), MW = 0, NW = null, PW = !1, FW = !1, IW = () => {
+var AW = null, jW = null, MW = /* @__PURE__ */ new Set(), NW = 0, PW = null, FW = !1, IW = !1, LW = () => {
let e = document.getElementById("stage");
return e instanceof HTMLDialogElement ? e : null;
};
-function LW() {
- if (!kW) throw Error("舞台还没有接上宿主(configureStage)");
- return kW;
+function RW() {
+ if (!AW) throw Error("舞台还没有接上宿主(configureStage)");
+ return AW;
}
-function LMe(e) {
- return jW.add(e), () => {
- jW.delete(e);
+function IMe(e) {
+ return MW.add(e), () => {
+ MW.delete(e);
};
}
-function RMe() {
- for (let e of [...jW]) e();
+function LMe() {
+ for (let e of [...MW]) e();
}
-function RW() {
- (0, mt.flushSync)(RMe);
+function zW() {
+ (0, mt.flushSync)(LMe);
}
-function zMe({ view: e }) {
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)(BMe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, x.jsx)(PMe, {})] });
+function RMe({ view: e }) {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)(zMe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, x.jsx)(NMe, {})] });
}
-var zW = () => /* @__PURE__ */ (0, x.jsx)("div", {
+var BW = () => /* @__PURE__ */ (0, x.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: nje() }
+ dangerouslySetInnerHTML: { __html: tje() }
});
-function BW(e) {
+function VW(e) {
let t = e.currentTarget;
if (e.target !== t) return !1;
let n = t.getBoundingClientRect();
return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;
}
-function BMe({ view: e }) {
+function zMe({ view: e }) {
let t = (0, b.useRef)(null);
(0, b.useLayoutEffect)(() => {
let e = t.current, n = (e) => {
- e.preventDefault(), VW();
+ e.preventDefault(), HW();
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, x.jsx)(Yje, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, x.jsx)(gMe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, x.jsx)(kje, { ...r.props }, r.props.id);
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, x.jsx)(Jje, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, x.jsx)(hMe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, x.jsx)(Oje, { ...r.props }, r.props.id);
return /* @__PURE__ */ (0, x.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -66872,20 +66887,20 @@ function BMe({ view: e }) {
"data-stage-kind": r.kind,
"aria-label": "作品详情",
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), VW());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), HW());
},
onPointerDown: (e) => {
- FW = BW(e);
+ IW = VW(e);
},
onClick: (e) => {
- FW && BW(e) && VW();
+ IW && VW(e) && HW();
},
children: [
- n === "skeleton" ? /* @__PURE__ */ (0, x.jsx)(zW, {}, "skeleton") : null,
+ n === "skeleton" ? /* @__PURE__ */ (0, x.jsx)(BW, {}, "skeleton") : null,
n === "reveal" ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-stage-fade": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, x.jsx)(zW, {})
+ children: /* @__PURE__ */ (0, x.jsx)(BW, {})
}, "fade") : null,
n === "skeleton" ? null : /* @__PURE__ */ (0, x.jsx)("div", {
"data-stage-scroll": "",
@@ -66897,14 +66912,14 @@ function BMe({ view: e }) {
]
});
}
-function VW() {
- AW && !PW && (PW = !0, AW.request.actions.close());
+function HW() {
+ jW && !FW && (FW = !0, jW.request.actions.close());
}
-function HW(e, t) {
- let n = IW();
+function UW(e, t) {
+ let n = LW();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function UW(e) {
+function WW(e) {
if (e.kind === "jav") return {
kind: "jav",
props: {
@@ -66912,30 +66927,30 @@ function UW(e) {
readOnly: e.readOnly,
actions: {
...e.actions,
- close: VW
+ close: HW
}
}
};
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
- }, r = () => LW().player.settings(), i = () => AW?.request === e;
+ }, r = () => RW().player.settings(), i = () => jW?.request === e;
if (e.kind === "item") {
let { kind: t, resume: a, actions: o, ...s } = e, c = {
...o,
- close: VW,
+ close: HW,
present: (e, t) => {
let n = e.performers;
- sW({
+ cW({
kind: "item",
item: e,
title: String(e.title || e.name || ""),
sub: String(n?.[0] || e.creator || "未归属")
- }), HW(r().ambientMode, r().theaterMode), queueMicrotask(() => {
+ }), UW(r().ambientMode, r().theaterMode), queueMicrotask(() => {
i() && o.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => cW(e, {
+ mountPlayer: (e, t, r, i) => lW(e, {
kind: "item",
item: t,
autoplay: i?.autoplay,
@@ -66953,18 +66968,18 @@ function UW(e) {
}
let { kind: a, resume: o, actions: s, ...c } = e, l = {
...s,
- close: VW,
+ close: HW,
present: (e, t) => {
- sW({
+ cW({
kind: "follow",
item: e,
title: e.title || "",
sub: e.author || e.source_label || ""
- }), HW(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
+ }), UW(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
i() && s.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => cW(e, {
+ mountPlayer: (e, t, r, i) => lW(e, {
kind: "follow",
item: t,
media: r,
@@ -66981,78 +66996,78 @@ function UW(e) {
}
};
}
-function VMe(e, t) {
+function BMe(e, t) {
let n = e.querySelector(":scope > [data-stage-fade]");
e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");
let r = 0, i = () => {
- clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), AW?.generation === t && AW.phase === "reveal" && (AW = {
- ...AW,
+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), jW?.generation === t && jW.phase === "reveal" && (jW = {
+ ...jW,
phase: "content"
- }, RW());
+ }, zW());
}, a = (e) => {
e.target === n && i();
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-function WW(e) {
- let t = IW();
- return !AW || AW.content.kind !== e || PW || !t?.open || t.hasAttribute("data-closing") ? null : t;
+function GW(e) {
+ let t = LW();
+ return !jW || jW.content.kind !== e || FW || !t?.open || t.hasAttribute("data-closing") ? null : t;
}
-async function HMe(e) {
- let t = WW(e.kind);
+async function VMe(e) {
+ let t = GW(e.kind);
if (t) {
- await UMe(e, t);
+ await HMe(e, t);
return;
}
- AW && GW({ miniplayer: !1 });
- let n = ++MW, r = new AbortController();
- NW = r, PW = !1, FW = !1, e.kind === "jav" ? SW() : uW(e.kind, e.id ?? NaN), AW = {
+ jW && KW({ miniplayer: !1 });
+ let n = ++NW, r = new AbortController();
+ PW = r, FW = !1, IW = !1, e.kind === "jav" ? CW() : dW(e.kind, e.id ?? NaN), jW = {
generation: n,
request: e,
- content: UW(e),
+ content: WW(e),
phase: "skeleton"
- }, RW();
- let i = IW();
+ }, zW();
+ let i = LW();
if (!i) return;
Co(i), document.body.setAttribute("data-detail-open", ""), i.open || i.showModal();
- let a = AW.content;
+ let a = jW.content;
try {
- a.kind === "item" ? await jD(a.props, r.signal) : a.kind === "jav" ? await FU(a.props, r.signal) : await iU(a.props, r.signal);
+ a.kind === "item" ? await jD(a.props, r.signal) : a.kind === "jav" ? await IU(a.props, r.signal) : await aU(a.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== MW || !AW) return;
+ if (n !== NW || !jW) return;
let o = !!i.querySelector(".skeleton-awaiting");
- AW = {
- ...AW,
+ jW = {
+ ...jW,
phase: o ? "content" : "reveal"
- }, RW(), o || VMe(i, n), fo(i, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, zW(), o || BMe(i, n), fo(i, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let s = document.activeElement;
(s === i || !i.contains(s)) && i.querySelector("#closeStage")?.focus();
}
-async function UMe(e, t) {
- let n = ++MW;
- NW?.abort();
+async function HMe(e, t) {
+ let n = ++NW;
+ PW?.abort();
let r = new AbortController();
- NW = r, FW = !1;
- let i = UW(e);
+ PW = r, IW = !1;
+ let i = WW(e);
try {
- i.kind === "item" ? await jD(i.props, r.signal) : i.kind === "jav" ? await FU(i.props, r.signal) : await iU(i.props, r.signal);
+ i.kind === "item" ? await jD(i.props, r.signal) : i.kind === "jav" ? await IU(i.props, r.signal) : await aU(i.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== MW || !AW || WW(e.kind) !== t) return;
- e.kind === "jav" ? SW() : uW(e.kind, e.id ?? NaN), Ks(t), dE(), AW = {
- ...AW,
+ if (n !== NW || !jW || GW(e.kind) !== t) return;
+ e.kind === "jav" ? CW() : dW(e.kind, e.id ?? NaN), Ks(t), dE(), jW = {
+ ...jW,
request: e,
content: i,
phase: "content"
- }, RW(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), fo(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, zW(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), fo(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let a = document.activeElement;
(a === t || !t.contains(a)) && (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });
}
-function WMe() {
- let e = IW();
+function UMe() {
+ let e = LW();
return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {
let n = 0, r = () => {
clearTimeout(n), e.removeEventListener("animationend", i), t();
@@ -67062,84 +67077,84 @@ function WMe() {
e.addEventListener("animationend", i), n = window.setTimeout(r, 380);
}));
}
-function GW({ miniplayer: e = !0 } = {}) {
- if (MW++, NW?.abort(), NW = null, EMe(e), !AW) return;
- let t = IW();
- t && Ks(t), dE(), t?.open && t.close(), AW = null, PW = !1, FW = !1, RW(), sW(null), document.body.removeAttribute("data-detail-open");
+function KW({ miniplayer: e = !0 } = {}) {
+ if (NW++, PW?.abort(), PW = null, TMe(e), !jW) return;
+ let t = LW();
+ t && Ks(t), dE(), t?.open && t.close(), jW = null, FW = !1, IW = !1, zW(), cW(null), document.body.removeAttribute("data-detail-open");
}
-function GMe(e) {
- AW && (AW = {
- ...AW,
- content: AW.content.kind === "item" ? {
+function WMe(e) {
+ jW && (jW = {
+ ...jW,
+ content: jW.content.kind === "item" ? {
kind: "item",
props: {
- ...AW.content.props,
+ ...jW.content.props,
...e
}
- } : AW.content.kind === "jav" ? AW.content : {
+ } : jW.content.kind === "jav" ? jW.content : {
kind: "follow",
props: {
- ...AW.content.props,
+ ...jW.content.props,
...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }
}
}
- }, RW());
+ }, zW());
}
-function KMe() {
- let e = wMe(), t = e?.kind === "item" ? e.item : null, n = t ? ma(t, LW().player.settings().javImage) : "";
+function GMe() {
+ let e = CMe(), t = e?.kind === "item" ? e.item : null, n = t ? ma(t, RW().player.settings().javImage) : "";
if (!n) return;
- let r = lW();
+ let r = uW();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var qMe = {
- open: HMe,
- update: GMe,
- exit: WMe,
- dispose: GW,
- requestClose: VW,
- repaintPoster: KMe,
- isOpen: () => !!AW,
- showing: () => AW && WW(AW.content.kind) ? AW.content.kind : null,
- activeVideo: () => OMe(),
+var KMe = {
+ open: VMe,
+ update: WMe,
+ exit: UMe,
+ dispose: KW,
+ requestClose: HW,
+ repaintPoster: GMe,
+ isOpen: () => !!jW,
+ showing: () => jW && GW(jW.content.kind) ? jW.content.kind : null,
+ activeVideo: () => DMe(),
toggleTheater: () => {
- AW && jE(!LW().player.settings().theaterMode);
+ jW && jE(!RW().player.settings().theaterMode);
},
- toggleMiniplayer: () => wW(),
- closeMiniplayer: () => SW(),
- miniplayerActive: () => fW(),
- miniplayerTakesCard: (e) => EW(e),
+ toggleMiniplayer: () => TW(),
+ closeMiniplayer: () => CW(),
+ miniplayerActive: () => pW(),
+ miniplayerTakesCard: (e) => DW(e),
miniplayerPlay: (e) => {
- MMe(e);
+ jMe(e);
}
};
-function JMe(e) {
- return kW = e, CMe(e, {
- isOpen: () => !!AW,
- requestClose: VW
- }), qMe;
+function qMe(e) {
+ return AW = e, SMe(e, {
+ isOpen: () => !!jW,
+ requestClose: HW
+ }), KMe;
}
-function YMe() {
- let e = (0, b.useSyncExternalStore)(LMe, () => AW);
- return kW ? /* @__PURE__ */ (0, x.jsx)(zMe, { view: e }) : null;
+function JMe() {
+ let e = (0, b.useSyncExternalStore)(IMe, () => jW);
+ return AW ? /* @__PURE__ */ (0, x.jsx)(RMe, { view: e }) : null;
}
//#endregion
//#region src/react/stats/stats.ts
-var XMe = "/api/stats", KW = ["stats"], qW = (e) => B(XMe, e);
-async function ZMe(e) {
+var YMe = "/api/stats", qW = ["stats"], JW = (e) => B(YMe, e);
+async function XMe(e) {
await H.fetchQuery({
- queryKey: KW,
- queryFn: () => qW(e)
+ queryKey: qW,
+ queryFn: () => JW(e)
});
}
-var JW = (e) => e != null && Number.isFinite(e), YW = (e) => JW(e) ? e.toLocaleString() : "未取得", QMe = (e, t) => JW(e) && JW(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, XW = (e, t) => {
- let n = QMe(e, t);
- return !n && JW(e) && e > 0 && JW(t) && t > 0 ? "<1%" : `${n}%`;
-}, ZW = (e) => {
- if (!JW(e)) return "未取得";
+var YW = (e) => e != null && Number.isFinite(e), XW = (e) => YW(e) ? e.toLocaleString() : "未取得", ZMe = (e, t) => YW(e) && YW(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, ZW = (e, t) => {
+ let n = ZMe(e, t);
+ return !n && YW(e) && e > 0 && YW(t) && t > 0 ? "<1%" : `${n}%`;
+}, QW = (e) => {
+ if (!YW(e)) return "未取得";
let t = Math.max(0, e);
return t >= 172800 ? `${(t / 86400).toLocaleString(void 0, { maximumFractionDigits: 1 })} 天` : t >= 3600 ? `${(t / 3600).toFixed(1)} 小时` : `${Math.round(t / 60)} 分钟`;
-}, QW = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, $W = (e) => (e.max_reached || 0) * 100, $Me = (e) => e.kind === "online" ? "在线直接观看" : QW(e) < $W(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", eNe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`;
-function tNe(e, t = 6) {
+}, $W = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, eG = (e) => (e.max_reached || 0) * 100, QMe = (e) => e.kind === "online" ? "在线直接观看" : $W(e) < eG(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", $Me = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`;
+function eNe(e, t = 6) {
let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);
if (n.length <= t) return n;
let r = [...n].sort((e, t) => t.value - e.value), i = r.slice(t - 1);
@@ -67149,7 +67164,7 @@ function tNe(e, t = 6) {
bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)
}];
}
-var nNe = (e) => Math.max(1, ...e) * 1.1, rNe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, iNe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), aNe = {
+var tNe = (e) => Math.max(1, ...e) * 1.1, nNe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, rNe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), iNe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -67157,18 +67172,18 @@ var nNe = (e) => Math.max(1, ...e) * 1.1, rNe = (e, t) => e > 0 ? Math.max(e, t
audio: "音频",
account: "账号",
other: "其它文件"
-}, oNe = (e) => e.map((e) => ({
- name: aNe[e.k] ?? e.k,
+}, aNe = (e) => e.map((e) => ({
+ name: iNe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), sNe = {
+})).sort((e, t) => t.value - e.value), oNe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, eG = (e, t = {}) => e.map((e) => ({
+}, tG = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), cNe = (e) => eG(e, sNe), lNe = [
+})), sNe = (e) => tG(e, oNe), cNe = [
[
1,
1,
@@ -67204,49 +67219,49 @@ var nNe = (e) => Math.max(1, ...e) * 1.1, rNe = (e, t) => e > 0 ? Math.max(e, t
Infinity,
"≥10"
]
-], uNe = (e) => lNe.map(([t, n, r]) => ({
+], lNe = (e) => cNe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), dNe = /* @__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 tG(e) {
- return typeof e == "string" && dNe.includes(e);
+})), uNe = /* @__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 nG(e) {
+ return typeof e == "string" && uNe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var fNe = /* @__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 nG(e) {
- return typeof e == "string" && fNe.has(e);
-}
+var dNe = /* @__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 rG(e) {
- return typeof e == "string" && e.startsWith("data-");
+ return typeof e == "string" && dNe.has(e);
}
function iG(e) {
+ return typeof e == "string" && e.startsWith("data-");
+}
+function aG(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (nG(n) || rG(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (rG(n) || iG(n)) && (t[n] = e[n]);
return t;
}
-function aG(e) {
+function oG(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, b.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return iG(t);
+ return aG(t);
}
- return typeof e == "object" && !Array.isArray(e) ? iG(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? aG(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function oG(e) {
+function sG(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (nG(n) || rG(n) || tG(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (rG(n) || iG(n) || nG(n)) && (t[n] = e[n]);
return t;
}
-function pNe(e) {
- return e == null ? null : /*#__PURE__*/ (0, b.isValidElement)(e) ? oG(e.props) : typeof e == "object" && !Array.isArray(e) ? oG(e) : null;
+function fNe(e) {
+ return e == null ? null : /*#__PURE__*/ (0, b.isValidElement)(e) ? sG(e.props) : typeof e == "object" && !Array.isArray(e) ? sG(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var mNe = [
+var pNe = [
"children",
"width",
"height",
@@ -67256,25 +67271,25 @@ var mNe = [
"title",
"desc"
];
-function sG() {
- return sG = Object.assign ? Object.assign.bind() : function(e) {
+function cG() {
+ return cG = 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;
- }, sG.apply(null, arguments);
+ }, cG.apply(null, arguments);
}
-function hNe(e, t) {
+function mNe(e, t) {
if (e == null) return {};
- var n, r, i = gNe(e, t);
+ var n, r, i = hNe(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 gNe(e, t) {
+function hNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67283,14 +67298,14 @@ function gNe(e, t) {
}
return n;
}
-var cG = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = hNe(e, mNe), d = a || {
+var lG = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = mNe(e, pNe), d = a || {
width: r,
height: i,
x: 0,
y: 0
}, f = Cv("recharts-surface", o);
- return /*#__PURE__*/ b.createElement("svg", sG({}, oG(u), {
+ return /*#__PURE__*/ b.createElement("svg", cG({}, sG(u), {
className: f,
width: r,
height: i,
@@ -67298,26 +67313,26 @@ var cG = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,
ref: t
}), /*#__PURE__*/ b.createElement("title", null, c), /*#__PURE__*/ b.createElement("desc", null, l), n);
-}), _Ne = ["children", "className"];
-function lG() {
- return lG = Object.assign ? Object.assign.bind() : function(e) {
+}), gNe = ["children", "className"];
+function uG() {
+ return uG = 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;
- }, lG.apply(null, arguments);
+ }, uG.apply(null, arguments);
}
-function vNe(e, t) {
+function _Ne(e, t) {
if (e == null) return {};
- var n, r, i = yNe(e, t);
+ var n, r, i = vNe(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 yNe(e, t) {
+function vNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67326,54 +67341,54 @@ function yNe(e, t) {
}
return n;
}
-var uG = /*#__PURE__*/ b.forwardRef((e, t) => {
- var n = e.children, r = e.className, i = vNe(e, _Ne), a = Cv("recharts-layer", r);
- return /*#__PURE__*/ b.createElement("g", lG({ className: a }, oG(i), { ref: t }), n);
+var dG = /*#__PURE__*/ b.forwardRef((e, t) => {
+ var n = e.children, r = e.className, i = _Ne(e, gNe), a = Cv("recharts-layer", r);
+ return /*#__PURE__*/ b.createElement("g", uG({ className: a }, sG(i), { ref: t }), n);
});
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function dG(e) {
+function fG(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var bNe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function fG(e) {
+var yNe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+function pG(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : bNe.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : yNe.test(e);
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function pG(e) {
+function mG(e) {
return typeof e == "string" || typeof e == "symbol" ? e : Object.is(e?.valueOf?.(), -0) ? "-0" : String(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs
-function mG(e) {
+function hG(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function xNe(e) {
- return e == null ? "" : hG(e);
+function bNe(e) {
+ return e == null ? "" : gG(e);
}
-function hG(e) {
+function gG(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(hG).join(",");
- if (mG(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(gG).join(",");
+ if (hG(e)) return e.toString();
let t = e + "";
return t === "0" && Object.is(Number(e), -0) ? "-0" : t;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toPath.mjs
-function gG(e) {
- if (Array.isArray(e)) return e.map(pG);
+function _G(e) {
+ if (Array.isArray(e)) return e.map(mG);
if (typeof e == "symbol") return [e];
- e = xNe(e);
+ e = bNe(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -67401,86 +67416,86 @@ function gG(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function _G(e, t, n) {
+function vG(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (dG(t)) return n;
+ if (fG(t)) return n;
let r = e[t];
- return r === void 0 ? fG(t) && !Object.hasOwn(e, t) ? _G(e, gG(t), n) : n : r;
+ return r === void 0 ? pG(t) && !Object.hasOwn(e, t) ? vG(e, _G(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = pG(t));
+ typeof t == "number" && (t = mG(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return SNe(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), dG(t)) return n;
+ if (Array.isArray(t)) return xNe(e, t, n);
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), fG(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function SNe(e, t, n) {
+function xNe(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || dG(t[e])) return n;
+ if (r == null || fG(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var CNe = 4;
-function vG(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : CNe), n = Math.round(e * t) / t;
+var SNe = 4;
+function yG(e) {
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : SNe), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function yG(e) {
+function bG(e) {
var t = [...arguments].slice(1);
return e.reduce((e, n, r) => {
var i = t[r - 1];
- return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + vG(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + yG(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var bG = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, xG = (e) => typeof e == "number" && e != +e, SG = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, CG = (e) => (typeof e == "number" || e instanceof Number) && !xG(e), wG = (e) => CG(e) || typeof e == "string", wNe = 0, TG = (e) => {
- var t = ++wNe;
+var xG = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, SG = (e) => typeof e == "number" && e != +e, CG = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, wG = (e) => (typeof e == "number" || e instanceof Number) && !SG(e), TG = (e) => wG(e) || typeof e == "string", CNe = 0, EG = (e) => {
+ var t = ++CNe;
return `${e || ""}${t}`;
-}, EG = function(e, t) {
+}, DG = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
- if (!CG(e) && typeof e != "string") return n;
+ if (!wG(e) && typeof e != "string") return n;
var i;
- if (SG(e)) {
+ if (CG(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return xG(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, DG = (e) => {
+ return SG(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, OG = (e) => {
if (!Array.isArray(e)) return !1;
for (var t = e.length, n = {}, r = 0; r < t; r++) if (!n[String(e[r])]) n[String(e[r])] = !0;
else return !0;
return !1;
};
-function OG(e, t, n) {
- return CG(e) && CG(t) ? vG(e + n * (t - e)) : t;
-}
function kG(e, t, n) {
- if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : _G(e, t)) === n);
+ return wG(e) && wG(t) ? yG(e + n * (t - e)) : t;
+}
+function AG(e, t, n) {
+ if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : vG(e, t)) === n);
}
-var AG = (e) => e == null, jG = (e) => AG(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function MG(e) {
+var jG = (e) => e == null, MG = (e) => jG(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function NG(e) {
return e != null;
}
-function NG() {}
+function PG() {}
//#endregion
//#region node_modules/recharts/es6/cartesian/cartesianViewBoxToTrapezoid.js
-function PG(e) {
+function FG(e) {
if (e) return {
x: e.x,
y: e.y,
@@ -67492,7 +67507,7 @@ function PG(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js
-function FG(e, t) {
+function IG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -67502,30 +67517,30 @@ function FG(e, t) {
}
return n;
}
-function IG(e) {
+function LG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? FG(Object(n), !0).forEach(function(t) {
- TNe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : FG(Object(n)).forEach(function(t) {
+ t % 2 ? IG(Object(n), !0).forEach(function(t) {
+ wNe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : IG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function TNe(e, t, n) {
- return (t = ENe(t)) in e ? Object.defineProperty(e, t, {
+function wNe(e, t, n) {
+ return (t = TNe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ENe(e) {
- var t = DNe(e, "string");
+function TNe(e) {
+ var t = ENe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function DNe(e, t) {
+function ENe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67535,8 +67550,8 @@ function DNe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var LG = (e) => {
- var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = PG(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;
+var RG = (e) => {
+ var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = FG(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;
if (n === "top") {
var D = {
x: p + d / 2,
@@ -67577,98 +67592,98 @@ var LG = (e) => {
width: g,
height: u
} : {};
- return n === "insideLeft" ? IG({
+ return n === "insideLeft" ? LG({
x: h + C,
y: l + u / 2,
horizontalAnchor: T,
verticalAnchor: "middle"
- }, j) : n === "insideRight" ? IG({
+ }, j) : n === "insideRight" ? LG({
x: h + g - C,
y: l + u / 2,
horizontalAnchor: w,
verticalAnchor: "middle"
- }, j) : n === "insideTop" ? IG({
+ }, j) : n === "insideTop" ? LG({
x: p + d / 2,
y: l + y,
horizontalAnchor: "middle",
verticalAnchor: x
- }, j) : n === "insideBottom" ? IG({
+ }, j) : n === "insideBottom" ? LG({
x: m + f / 2,
y: l + u - y,
horizontalAnchor: "middle",
verticalAnchor: b
- }, j) : n === "insideTopLeft" ? IG({
+ }, j) : n === "insideTopLeft" ? LG({
x: p + C,
y: l + y,
horizontalAnchor: T,
verticalAnchor: x
- }, j) : n === "insideTopRight" ? IG({
+ }, j) : n === "insideTopRight" ? LG({
x: p + d - C,
y: l + y,
horizontalAnchor: w,
verticalAnchor: x
- }, j) : n === "insideBottomLeft" ? IG({
+ }, j) : n === "insideBottomLeft" ? LG({
x: m + C,
y: l + u - y,
horizontalAnchor: T,
verticalAnchor: b
- }, j) : n === "insideBottomRight" ? IG({
+ }, j) : n === "insideBottomRight" ? LG({
x: m + f - C,
y: l + u - y,
horizontalAnchor: w,
verticalAnchor: b
- }, j) : n && typeof n == "object" && (CG(n.x) || SG(n.x)) && (CG(n.y) || SG(n.y)) ? IG({
- x: c + EG(n.x, g),
- y: l + EG(n.y, u),
+ }, j) : n && typeof n == "object" && (wG(n.x) || CG(n.x)) && (wG(n.y) || CG(n.y)) ? LG({
+ x: c + DG(n.x, g),
+ y: l + DG(n.y, u),
horizontalAnchor: "end",
verticalAnchor: "end"
- }, j) : IG({
+ }, j) : LG({
x: _,
y: l + u / 2,
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, j);
-}, ONe = [
+}, DNe = [
"top",
"left",
"right",
"bottom"
];
-function RG(e) {
- return e == null ? !1 : typeof e == "object" || ONe.includes(e);
+function zG(e) {
+ return e == null ? !1 : typeof e == "object" || DNe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/context/legendPortalContext.js
-var zG = /*#__PURE__*/ (0, b.createContext)(null), kNe = () => (0, b.useContext)(zG);
+var BG = /*#__PURE__*/ (0, b.createContext)(null), ONe = () => (0, b.useContext)(BG);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function BG(e) {
+function VG(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var VG = Math.cos, HG = Math.sin, UG = Math.sqrt, WG = Math.PI;
-WG / 2;
-var GG = 2 * WG, KG = Math.PI, qG = 2 * KG, JG = 1e-6, ANe = qG - JG;
-function YG(e) {
+var HG = Math.cos, UG = Math.sin, WG = Math.sqrt, GG = Math.PI;
+GG / 2;
+var KG = 2 * GG, qG = Math.PI, JG = 2 * qG, YG = 1e-6, kNe = JG - YG;
+function XG(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function jNe(e) {
+function ANe(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return YG;
+ if (t > 15) return XG;
let n = 10 ** t;
return function(e) {
this._ += e[0];
for (let t = 1, r = e.length; t < r; ++t) this._ += Math.round(arguments[t] * n) / n + e[t];
};
}
-var XG = class {
+var ZG = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? YG : jNe(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? XG : ANe(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -67689,18 +67704,18 @@ var XG = class {
if (e = +e, t = +t, n = +n, r = +r, i = +i, i < 0) throw Error(`negative radius: ${i}`);
let a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = t}`;
- else if (d > JG) {
- if (!(Math.abs(u * s - c * l) > JG) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > YG) {
+ if (!(Math.abs(u * s - c * l) > YG) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
else {
- let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((KG - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > JG && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
+ let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((qG - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > YG && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
}
}
}
arc(e, t, n, r, i, a) {
if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);
let o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
- this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > JG || Math.abs(this._y1 - l) > JG) && this._append`L${c},${l}`, n && (d < 0 && (d = d % qG + qG), d > ANe ? 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 > JG && this._append`A${n},${n},0,${+(d >= KG)},${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) > YG || Math.abs(this._y1 - l) > YG) && this._append`L${c},${l}`, n && (d < 0 && (d = d % JG + JG), d > kNe ? 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 > YG && this._append`A${n},${n},0,${+(d >= qG)},${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`;
@@ -67709,10 +67724,10 @@ var XG = class {
return this._;
}
};
-XG.prototype;
+ZG.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function ZG(e) {
+function QG(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -67723,18 +67738,18 @@ function ZG(e) {
t = e;
}
return e;
- }, () => new XG(t);
+ }, () => new ZG(t);
}
Array.prototype.slice;
-function QG(e) {
+function $G(e) {
return typeof e == "object" && "length" in e ? e : Array.from(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linear.js
-function $G(e) {
+function eK(e) {
this._context = e;
}
-$G.prototype = {
+eK.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -67757,33 +67772,33 @@ $G.prototype = {
}
}
};
-function eK(e) {
- return new $G(e);
+function tK(e) {
+ return new eK(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function tK(e) {
+function nK(e) {
return e[0];
}
-function nK(e) {
+function rK(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function rK(e, t) {
- var n = BG(!0), r = null, i = eK, a = null, o = ZG(s);
- e = typeof e == "function" ? e : e === void 0 ? tK : BG(e), t = typeof t == "function" ? t : t === void 0 ? nK : BG(t);
+function iK(e, t) {
+ var n = VG(!0), r = null, i = tK, a = null, o = QG(s);
+ e = typeof e == "function" ? e : e === void 0 ? nK : VG(e), t = typeof t == "function" ? t : t === void 0 ? rK : VG(t);
function s(s) {
- var c, l = (s = QG(s)).length, u, d = !1, f;
+ var c, l = (s = $G(s)).length, u, d = !1, f;
for (r ?? (a = i(f = o())), c = 0; c <= l; ++c) !(c < l && n(u = s[c], c, s)) === d && ((d = !d) ? a.lineStart() : a.lineEnd()), d && a.point(+e(u, c, s), +t(u, c, s));
if (f) return a = null, f + "" || null;
}
return s.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : BG(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : VG(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : BG(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : VG(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : BG(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : VG(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -67792,11 +67807,11 @@ function rK(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function iK(e, t, n) {
- var r = null, i = BG(!0), a = null, o = eK, s = null, c = ZG(l);
- e = typeof e == "function" ? e : e === void 0 ? tK : BG(+e), t = typeof t == "function" ? t : BG(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? nK : BG(+n);
+function aK(e, t, n) {
+ var r = null, i = VG(!0), a = null, o = tK, s = null, c = QG(l);
+ e = typeof e == "function" ? e : e === void 0 ? nK : VG(+e), t = typeof t == "function" ? t : VG(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? rK : VG(+n);
function l(l) {
- var u, d, f, p = (l = QG(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = $G(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
for (a ?? (s = o(g = c())), u = 0; u <= p; ++u) {
if (!(u < p && i(m = l[u], u, l)) === h) {
if (h = !h) d = u, s.areaStart(), s.lineStart();
@@ -67810,20 +67825,20 @@ function iK(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return rK().defined(i).curve(o).context(a);
+ return iK().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : BG(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : VG(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : BG(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : VG(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : BG(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : VG(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : BG(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : VG(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : BG(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : VG(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : BG(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : VG(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -67831,7 +67846,7 @@ function iK(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : BG(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : VG(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -67840,7 +67855,7 @@ function iK(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var aK = class {
+var oK = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -67867,70 +67882,70 @@ var aK = class {
this._x0 = e, this._y0 = t;
}
};
-function MNe(e) {
- return new aK(e, !0);
+function jNe(e) {
+ return new oK(e, !0);
}
-function NNe(e) {
- return new aK(e, !1);
+function MNe(e) {
+ return new oK(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var oK = { draw(e, t) {
- let n = UG(t / WG);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, GG);
-} }, PNe = { draw(e, t) {
- let n = UG(t / 5) / 2;
+var sK = { draw(e, t) {
+ let n = WG(t / GG);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, KG);
+} }, NNe = { draw(e, t) {
+ let n = WG(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();
-} }, sK = UG(1 / 3), FNe = sK * 2, INe = { draw(e, t) {
- let n = UG(t / FNe), r = n * sK;
+} }, cK = WG(1 / 3), PNe = cK * 2, FNe = { draw(e, t) {
+ let n = WG(t / PNe), r = n * cK;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, LNe = { draw(e, t) {
- let n = UG(t), r = -n / 2;
+} }, INe = { draw(e, t) {
+ let n = WG(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, RNe = .8908130915292852, cK = HG(WG / 10) / HG(7 * WG / 10), zNe = HG(GG / 10) * cK, BNe = -VG(GG / 10) * cK, VNe = { draw(e, t) {
- let n = UG(t * RNe), r = zNe * n, i = BNe * n;
+} }, LNe = .8908130915292852, lK = UG(GG / 10) / UG(7 * GG / 10), RNe = UG(KG / 10) * lK, zNe = -HG(KG / 10) * lK, BNe = { draw(e, t) {
+ let n = WG(t * LNe), r = RNe * n, i = zNe * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = GG * t / 5, o = VG(a), s = HG(a);
+ let a = KG * t / 5, o = HG(a), s = UG(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, lK = UG(3), HNe = { draw(e, t) {
- let n = -UG(t / (lK * 3));
- e.moveTo(0, n * 2), e.lineTo(-lK * n, -n), e.lineTo(lK * n, -n), e.closePath();
-} }, uK = -.5, dK = UG(3) / 2, fK = 1 / UG(12), UNe = (fK / 2 + 1) * 3, WNe = { draw(e, t) {
- let n = UG(t / UNe), r = n / 2, i = n * fK, a = r, o = n * fK + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(uK * r - dK * i, dK * r + uK * i), e.lineTo(uK * a - dK * o, dK * a + uK * o), e.lineTo(uK * s - dK * c, dK * s + uK * c), e.lineTo(uK * r + dK * i, uK * i - dK * r), e.lineTo(uK * a + dK * o, uK * o - dK * a), e.lineTo(uK * s + dK * c, uK * c - dK * s), e.closePath();
+} }, uK = WG(3), VNe = { draw(e, t) {
+ let n = -WG(t / (uK * 3));
+ e.moveTo(0, n * 2), e.lineTo(-uK * n, -n), e.lineTo(uK * n, -n), e.closePath();
+} }, dK = -.5, fK = WG(3) / 2, pK = 1 / WG(12), HNe = (pK / 2 + 1) * 3, UNe = { draw(e, t) {
+ let n = WG(t / HNe), r = n / 2, i = n * pK, a = r, o = n * pK + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(dK * r - fK * i, fK * r + dK * i), e.lineTo(dK * a - fK * o, fK * a + dK * o), e.lineTo(dK * s - fK * c, fK * s + dK * c), e.lineTo(dK * r + fK * i, dK * i - fK * r), e.lineTo(dK * a + fK * o, dK * o - fK * a), e.lineTo(dK * s + fK * c, dK * c - fK * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function GNe(e, t) {
- let n = null, r = ZG(i);
- e = typeof e == "function" ? e : BG(e || oK), t = typeof t == "function" ? t : BG(t === void 0 ? 64 : +t);
+function WNe(e, t) {
+ let n = null, r = QG(i);
+ e = typeof e == "function" ? e : VG(e || sK), t = typeof t == "function" ? t : VG(t === void 0 ? 64 : +t);
function i() {
let i;
if (n ||= i = r(), e.apply(this, arguments).draw(n, +t.apply(this, arguments)), i) return n = null, i + "" || null;
}
return i.type = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : BG(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : VG(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : BG(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : VG(+e), i) : t;
}, i.context = function(e) {
return arguments.length ? (n = e ?? null, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/noop.js
-function pK() {}
+function mK() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function mK(e, t, n) {
+function hK(e, t, n) {
e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
}
-function hK(e) {
+function gK(e) {
this._context = e;
}
-hK.prototype = {
+gK.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -67942,7 +67957,7 @@ hK.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: mK(this, this._x1, this._y1);
+ case 3: hK(this, this._x1, this._y1);
case 2: this._context.lineTo(this._x1, this._y1);
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
@@ -67956,22 +67971,22 @@ hK.prototype = {
this._point = 2;
break;
case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
- default: mK(this, e, t);
+ default: hK(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function KNe(e) {
- return new hK(e);
+function GNe(e) {
+ return new gK(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function gK(e) {
+function _K(e) {
this._context = e;
}
-gK.prototype = {
- areaStart: pK,
- areaEnd: pK,
+_K.prototype = {
+ areaStart: mK,
+ areaEnd: mK,
lineStart: function() {
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
},
@@ -67997,20 +68012,20 @@ gK.prototype = {
case 2:
this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
break;
- default: mK(this, e, t);
+ default: hK(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function qNe(e) {
- return new gK(e);
+function KNe(e) {
+ return new _K(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function _K(e) {
+function vK(e) {
this._context = e;
}
-_K.prototype = {
+vK.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -68037,22 +68052,22 @@ _K.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: mK(this, e, t);
+ default: hK(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function JNe(e) {
- return new _K(e);
+function qNe(e) {
+ return new vK(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function vK(e) {
+function yK(e) {
this._context = e;
}
-vK.prototype = {
- areaStart: pK,
- areaEnd: pK,
+yK.prototype = {
+ areaStart: mK,
+ areaEnd: mK,
lineStart: function() {
this._point = 0;
},
@@ -68063,30 +68078,30 @@ vK.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function YNe(e) {
- return new vK(e);
+function JNe(e) {
+ return new yK(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function yK(e) {
+function bK(e) {
return e < 0 ? -1 : 1;
}
-function bK(e, t, n) {
+function xK(e, t, n) {
var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
- return (yK(a) + yK(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (bK(a) + bK(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function xK(e, t) {
+function SK(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function SK(e, t, n) {
+function CK(e, t, n) {
var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
}
-function CK(e) {
+function wK(e) {
this._context = e;
}
-CK.prototype = {
+wK.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -68101,7 +68116,7 @@ CK.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: SK(this, this._t0, xK(this, this._t0));
+ case 3: CK(this, this._t0, SK(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -68116,24 +68131,24 @@ CK.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, SK(this, xK(this, n = bK(this, e, t)), n);
+ this._point = 3, CK(this, SK(this, n = xK(this, e, t)), n);
break;
- default: SK(this, this._t0, n = bK(this, e, t));
+ default: CK(this, this._t0, n = xK(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function wK(e) {
- this._context = new TK(e);
+function TK(e) {
+ this._context = new EK(e);
}
-(wK.prototype = Object.create(CK.prototype)).point = function(e, t) {
- CK.prototype.point.call(this, t, e);
+(TK.prototype = Object.create(wK.prototype)).point = function(e, t) {
+ wK.prototype.point.call(this, t, e);
};
-function TK(e) {
+function EK(e) {
this._context = e;
}
-TK.prototype = {
+EK.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -68147,18 +68162,18 @@ TK.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function XNe(e) {
- return new CK(e);
-}
-function ZNe(e) {
+function YNe(e) {
return new wK(e);
}
+function XNe(e) {
+ return new TK(e);
+}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function EK(e) {
+function DK(e) {
this._context = e;
}
-EK.prototype = {
+DK.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -68172,7 +68187,7 @@ EK.prototype = {
var e = this._x, t = this._y, n = e.length;
if (n) {
if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
- else for (var r = DK(e), i = DK(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
+ else for (var r = OK(e), i = OK(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
}
(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
},
@@ -68180,7 +68195,7 @@ EK.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function DK(e) {
+function OK(e) {
var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
@@ -68188,15 +68203,15 @@ function DK(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 QNe(e) {
- return new EK(e);
+function ZNe(e) {
+ return new DK(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function OK(e, t) {
+function kK(e, t) {
this._context = e, this._t = t;
}
-OK.prototype = {
+kK.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -68224,78 +68239,78 @@ OK.prototype = {
this._x = e, this._y = t;
}
};
+function QNe(e) {
+ return new kK(e, .5);
+}
function $Ne(e) {
- return new OK(e, .5);
+ return new kK(e, 0);
}
function ePe(e) {
- return new OK(e, 0);
-}
-function tPe(e) {
- return new OK(e, 1);
+ return new kK(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function kK(e, t) {
+function AK(e, t) {
if ((o = e.length) > 1) for (var n = 1, r, i, a = e[t[0]], o, s = a.length; n < o; ++n) for (i = a, a = e[t[n]], r = 0; r < s; ++r) a[r][1] += a[r][0] = isNaN(i[r][1]) ? i[r][0] : i[r][1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/order/none.js
-function AK(e) {
+function jK(e) {
for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;
return n;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js
-function nPe(e, t) {
+function tPe(e, t) {
return e[t];
}
-function rPe(e) {
+function nPe(e) {
let t = [];
return t.key = e, t;
}
-function iPe() {
- var e = BG([]), t = AK, n = kK, r = nPe;
+function rPe() {
+ var e = VG([]), t = jK, n = AK, r = tPe;
function i(i) {
- var a = Array.from(e.apply(this, arguments), rPe), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), nPe), 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 = QG(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = $G(t(a)); o < s; ++o) a[l[o]].index = o;
return n(a, l), a;
}
return i.keys = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : BG(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : VG(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : BG(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : VG(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? AK : typeof e == "function" ? e : BG(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? jK : typeof e == "function" ? e : VG(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? kK, i) : n;
+ return arguments.length ? (n = e ?? AK, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function aPe(e, t) {
+function iPe(e, t) {
if ((r = e.length) > 0) {
for (var n, r, i = 0, a = e[0].length, o; i < a; ++i) {
for (o = n = 0; n < r; ++n) o += e[n][i][1] || 0;
if (o) for (n = 0; n < r; ++n) e[n][i][1] /= o;
}
- kK(e, t);
+ AK(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function oPe(e, t) {
+function aPe(e, t) {
if ((i = e.length) > 0) {
for (var n = 0, r = e[t[0]], i, a = r.length; n < a; ++n) {
for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;
r[n][1] += r[n][0] = -s / 2;
}
- kK(e, t);
+ AK(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function sPe(e, t) {
+function oPe(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) {
@@ -68307,26 +68322,26 @@ function sPe(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, kK(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, AK(e, t);
}
}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var cPe = [
+var sPe = [
"type",
"size",
"sizeType"
];
-function jK() {
- return jK = Object.assign ? Object.assign.bind() : function(e) {
+function MK() {
+ return MK = 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;
- }, jK.apply(null, arguments);
+ }, MK.apply(null, arguments);
}
-function MK(e, t) {
+function NK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -68336,30 +68351,30 @@ function MK(e, t) {
}
return n;
}
-function NK(e) {
+function PK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? MK(Object(n), !0).forEach(function(t) {
- lPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : MK(Object(n)).forEach(function(t) {
+ t % 2 ? NK(Object(n), !0).forEach(function(t) {
+ cPe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : NK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lPe(e, t, n) {
- return (t = uPe(t)) in e ? Object.defineProperty(e, t, {
+function cPe(e, t, n) {
+ return (t = lPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uPe(e) {
- var t = dPe(e, "string");
+function lPe(e) {
+ var t = uPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dPe(e, t) {
+function uPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68369,16 +68384,16 @@ function dPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function fPe(e, t) {
+function dPe(e, t) {
if (e == null) return {};
- var n, r, i = pPe(e, t);
+ var n, r, i = fPe(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 pPe(e, t) {
+function fPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68387,126 +68402,68 @@ function pPe(e, t) {
}
return n;
}
-var PK = {
- symbolCircle: oK,
- symbolCross: PNe,
- symbolDiamond: INe,
- symbolSquare: LNe,
- symbolStar: VNe,
- symbolTriangle: HNe,
- symbolWye: WNe
-}, mPe = Math.PI / 180, hPe = (e) => PK[`symbol${jG(e)}`] || oK, gPe = (e, t, n) => {
+var FK = {
+ symbolCircle: sK,
+ symbolCross: NNe,
+ symbolDiamond: FNe,
+ symbolSquare: INe,
+ symbolStar: BNe,
+ symbolTriangle: VNe,
+ symbolWye: UNe
+}, pPe = Math.PI / 180, mPe = (e) => FK[`symbol${MG(e)}`] || sK, hPe = (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 * mPe;
+ var r = 18 * pPe;
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;
}
-}, _Pe = (e, t) => {
- PK[`symbol${jG(e)}`] = t;
-}, FK = (e) => {
- var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = NK(NK({}, fPe(e, cPe)), {}, {
+}, gPe = (e, t) => {
+ FK[`symbol${MG(e)}`] = t;
+}, IK = (e) => {
+ var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = PK(PK({}, dPe(e, sPe)), {}, {
type: n,
size: i,
sizeType: o
}), c = "circle";
typeof n == "string" && (c = n);
var l = () => {
- var e = hPe(c), t = GNe().type(e).size(gPe(i, o, c))();
+ var e = mPe(c), t = WNe().type(e).size(hPe(i, o, c))();
if (t !== null) return t;
- }, u = s.className, d = s.cx, f = s.cy, p = oG(s);
- return CG(d) && CG(f) && CG(i) ? /*#__PURE__*/ b.createElement("path", jK({}, p, {
+ }, u = s.className, d = s.cx, f = s.cy, p = sG(s);
+ return wG(d) && wG(f) && wG(i) ? /*#__PURE__*/ b.createElement("path", MK({}, p, {
className: Cv("recharts-symbols", u),
transform: `translate(${d}, ${f})`,
d: l()
})) : null;
};
-FK.registerSymbol = _Pe;
+IK.registerSymbol = gPe;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var IK = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, LK = (e, t) => {
+var LK = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, RK = (e, t) => {
if (!e || typeof e == "function" || typeof e == "boolean") return null;
var n = e;
if (/*#__PURE__*/ (0, b.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;
var r = {};
return Object.keys(n).forEach((e) => {
- tG(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ nG(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, vPe = (e, t, n) => (r) => (e(t, n, r), null), RK = (e, t, n) => {
+}, _Pe = (e, t, n) => (r) => (e(t, n, r), null), zK = (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];
- tG(i) && typeof a == "function" && (r ||= {}, r[i] = vPe(a, t, n));
+ nG(i) && typeof a == "function" && (r ||= {}, r[i] = _Pe(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function zK(e, t) {
- var n = Object.keys(e);
- if (Object.getOwnPropertySymbols) {
- var r = Object.getOwnPropertySymbols(e);
- t && (r = r.filter(function(t) {
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
- })), n.push.apply(n, r);
- }
- return n;
-}
-function yPe(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? zK(Object(n), !0).forEach(function(t) {
- bPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zK(Object(n)).forEach(function(t) {
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
- });
- }
- return e;
-}
-function bPe(e, t, n) {
- return (t = xPe(t)) in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = n, e;
-}
-function xPe(e) {
- var t = SPe(e, "string");
- return typeof t == "symbol" ? t : t + "";
-}
-function SPe(e, t) {
- if (typeof e != "object" || !e) return e;
- var n = e[Symbol.toPrimitive];
- if (n !== void 0) {
- var r = n.call(e, t || "default");
- if (typeof r != "object") return r;
- throw TypeError("@@toPrimitive must return a primitive value.");
- }
- return (t === "string" ? String : Number)(e);
-}
function BK(e, t) {
- var n = yPe({}, e), r = t;
- return Object.keys(t).reduce((e, t) => (e[t] === void 0 && r[t] !== void 0 && (e[t] = r[t]), e), n);
-}
-//#endregion
-//#region node_modules/recharts/es6/component/DefaultLegendContent.js
-function VK() {
- return VK = 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;
- }, VK.apply(null, arguments);
-}
-function HK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -68516,30 +68473,30 @@ function HK(e, t) {
}
return n;
}
-function UK(e) {
+function vPe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? HK(Object(n), !0).forEach(function(t) {
- CPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HK(Object(n)).forEach(function(t) {
+ t % 2 ? BK(Object(n), !0).forEach(function(t) {
+ yPe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : BK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function CPe(e, t, n) {
- return (t = wPe(t)) in e ? Object.defineProperty(e, t, {
+function yPe(e, t, n) {
+ return (t = bPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wPe(e) {
- var t = TPe(e, "string");
+function bPe(e) {
+ var t = xPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function TPe(e, t) {
+function xPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68549,7 +68506,65 @@ function TPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var WK = 32, EPe = {
+function VK(e, t) {
+ var n = vPe({}, e), r = t;
+ return Object.keys(t).reduce((e, t) => (e[t] === void 0 && r[t] !== void 0 && (e[t] = r[t]), e), n);
+}
+//#endregion
+//#region node_modules/recharts/es6/component/DefaultLegendContent.js
+function HK() {
+ return HK = 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;
+ }, HK.apply(null, arguments);
+}
+function UK(e, t) {
+ var n = Object.keys(e);
+ if (Object.getOwnPropertySymbols) {
+ var r = Object.getOwnPropertySymbols(e);
+ t && (r = r.filter(function(t) {
+ return Object.getOwnPropertyDescriptor(e, t).enumerable;
+ })), n.push.apply(n, r);
+ }
+ return n;
+}
+function WK(e) {
+ for (var t = 1; t < arguments.length; t++) {
+ var n = arguments[t] == null ? {} : arguments[t];
+ t % 2 ? UK(Object(n), !0).forEach(function(t) {
+ SPe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UK(Object(n)).forEach(function(t) {
+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
+ });
+ }
+ return e;
+}
+function SPe(e, t, n) {
+ return (t = CPe(t)) in e ? Object.defineProperty(e, t, {
+ value: n,
+ enumerable: !0,
+ configurable: !0,
+ writable: !0
+ }) : e[t] = n, e;
+}
+function CPe(e) {
+ var t = wPe(e, "string");
+ return typeof t == "symbol" ? t : t + "";
+}
+function wPe(e, t) {
+ if (typeof e != "object" || !e) return e;
+ var n = e[Symbol.toPrimitive];
+ if (n !== void 0) {
+ var r = n.call(e, t || "default");
+ if (typeof r != "object") return r;
+ throw TypeError("@@toPrimitive must return a primitive value.");
+ }
+ return (t === "string" ? String : Number)(e);
+}
+var GK = 32, TPe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -68557,20 +68572,20 @@ var WK = 32, EPe = {
verticalAlign: "middle",
labelStyle: {}
};
-function DPe(e) {
+function EPe(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function OPe(e) {
- var t = e.data, n = e.iconType, r = e.inactiveColor, i = WK / 2, a = WK / 6, o = WK / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+function DPe(e) {
+ var t = e.data, n = e.iconType, r = e.inactiveColor, i = GK / 2, a = GK / 6, o = GK / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ b.createElement("line", {
strokeWidth: 4,
fill: "none",
stroke: s,
- strokeDasharray: DPe(t.payload),
+ strokeDasharray: EPe(t.payload),
x1: 0,
y1: i,
- x2: WK,
+ x2: GK,
y2: i,
className: "recharts-legend-icon"
});
@@ -68580,35 +68595,35 @@ function OPe(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${WK}M${2 * o},${i}
+ H${GK}M${2 * o},${i}
A${a},${a},0,1,1,${o},${i}`,
className: "recharts-legend-icon"
});
if (c === "rect") return /*#__PURE__*/ b.createElement("path", {
stroke: "none",
fill: s,
- d: `M0,${WK / 8}h${WK}v${WK * 3 / 4}h${-WK}z`,
+ d: `M0,${GK / 8}h${GK}v${GK * 3 / 4}h${-GK}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ b.isValidElement(t.legendIcon)) {
- var l = UK({}, t);
+ var l = WK({}, t);
return delete l.legendIcon, /*#__PURE__*/ b.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ b.createElement(FK, {
+ return /*#__PURE__*/ b.createElement(IK, {
fill: s,
cx: i,
cy: i,
- size: WK,
+ size: GK,
sizeType: "diameter",
type: c
});
}
-function kPe(e) {
+function OPe(e) {
var t = e.payload, n = e.iconSize, r = e.layout, i = e.formatter, a = e.inactiveColor, o = e.iconType, s = e.labelStyle, c = {
x: 0,
y: 0,
- width: WK,
- height: WK
+ width: GK,
+ height: GK
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10,
@@ -68625,20 +68640,20 @@ function kPe(e) {
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? UK({}, s) : {};
+ var p = typeof s == "object" ? WK({}, s) : {};
p.color = t.inactive ? a : p.color || t.color, p.whiteSpace ??= "normal", p.overflowWrap ??= "break-word";
var m = d ? d(t.value, t, r) : t.value;
- return /*#__PURE__*/ b.createElement("li", VK({
+ return /*#__PURE__*/ b.createElement("li", HK({
className: f,
style: l,
key: `legend-item-${r}`
- }, RK(e, t, r)), /*#__PURE__*/ b.createElement(cG, {
+ }, zK(e, t, r)), /*#__PURE__*/ b.createElement(lG, {
width: n,
height: n,
viewBox: c,
style: u,
"aria-label": t.value == null ? "legend icon" : `${t.value} legend icon`
- }, /*#__PURE__*/ b.createElement(OPe, {
+ }, /*#__PURE__*/ b.createElement(DPe, {
data: t,
iconType: o,
inactiveColor: a
@@ -68648,8 +68663,8 @@ function kPe(e) {
}, m));
});
}
-var APe = (e) => {
- var t = BK(e, EPe), n = t.payload, r = t.layout, i = t.align;
+var kPe = (e) => {
+ var t = VK(e, TPe), n = t.payload, r = t.layout, i = t.align;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -68659,11 +68674,11 @@ var APe = (e) => {
return /*#__PURE__*/ b.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ b.createElement(kPe, VK({}, t, { payload: n })));
+ }, /*#__PURE__*/ b.createElement(OPe, HK({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function jPe(e, t) {
+function APe(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -68673,77 +68688,77 @@ function jPe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function MPe(e, t) {
+function jPe(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function GK(e) {
+function KK(e) {
return e;
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function NPe(e) {
+function MPe(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function KK(e) {
- return e != null && typeof e != "function" && NPe(e.length);
+function qK(e) {
+ return e != null && typeof e != "function" && MPe(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function PPe(e) {
+function NPe(e) {
return function(t) {
- return _G(t, e);
+ return vG(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function qK(e) {
+function JK(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function FPe(e) {
+function PPe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function JK(e) {
+function YK(e) {
return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
-function YK(e) {
+function XK(e) {
return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs
-var XK = "[object RegExp]", ZK = "[object String]", QK = "[object Number]", $K = "[object Boolean]", eq = "[object Arguments]", tq = "[object Symbol]", nq = "[object Date]", rq = "[object Map]", iq = "[object Set]", aq = "[object Array]", IPe = "[object Function]", oq = "[object ArrayBuffer]", sq = "[object Object]", LPe = "[object Error]", cq = "[object DataView]", lq = "[object Uint8Array]", uq = "[object Uint8ClampedArray]", dq = "[object Uint16Array]", fq = "[object Uint32Array]", RPe = "[object BigUint64Array]", pq = "[object Int8Array]", mq = "[object Int16Array]", hq = "[object Int32Array]", zPe = "[object BigInt64Array]", gq = "[object Float32Array]", _q = "[object Float64Array]", vq = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var ZK = "[object RegExp]", QK = "[object String]", $K = "[object Number]", eq = "[object Boolean]", tq = "[object Arguments]", nq = "[object Symbol]", rq = "[object Date]", iq = "[object Map]", aq = "[object Set]", oq = "[object Array]", FPe = "[object Function]", sq = "[object ArrayBuffer]", cq = "[object Object]", IPe = "[object Error]", lq = "[object DataView]", uq = "[object Uint8Array]", dq = "[object Uint8ClampedArray]", fq = "[object Uint16Array]", pq = "[object Uint32Array]", LPe = "[object BigUint64Array]", mq = "[object Int8Array]", hq = "[object Int16Array]", gq = "[object Int32Array]", RPe = "[object BigInt64Array]", _q = "[object Float32Array]", vq = "[object Float64Array]", yq = 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 yq(e) {
- return vq.Buffer !== void 0 && vq.Buffer.isBuffer(e);
+function bq(e) {
+ return yq.Buffer !== void 0 && yq.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function BPe(e, t) {
- return bq(e, void 0, e, /* @__PURE__ */ new Map(), t);
+function zPe(e, t) {
+ return xq(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function bq(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function xq(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (qK(e)) return e;
+ if (JK(e)) return e;
if (r.has(e)) return r.get(e);
if (Array.isArray(e)) {
let t = Array(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = bq(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = xq(e[a], a, n, r, i);
return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;
}
if (e instanceof Date) return new Date(e.getTime());
@@ -68754,132 +68769,132 @@ function bq(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
if (e instanceof Map) {
let t = /* @__PURE__ */ new Map();
r.set(e, t);
- for (let [a, o] of e) t.set(a, bq(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, xq(o, a, n, r, i));
return t;
}
if (e instanceof Set) {
let t = /* @__PURE__ */ new Set();
r.set(e, t);
- for (let a of e) t.add(bq(a, void 0, n, r, i));
+ for (let a of e) t.add(xq(a, void 0, n, r, i));
return t;
}
- if (yq(e)) return e.subarray();
- if (FPe(e)) {
+ if (bq(e)) return e.subarray();
+ if (PPe(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = bq(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = xq(e[a], a, n, r, i);
return t;
}
if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
if (e instanceof DataView) {
let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);
- return r.set(e, t), xq(t, e, n, r, i), t;
+ return r.set(e, t), Sq(t, e, n, r, i), t;
}
if (typeof File < "u" && e instanceof File) {
let t = new File([e], e.name, { type: e.type });
- return r.set(e, t), xq(t, e, n, r, i), t;
+ return r.set(e, t), Sq(t, e, n, r, i), t;
}
if (typeof Blob < "u" && e instanceof Blob) {
let t = new Blob([e], { type: e.type });
- return r.set(e, t), xq(t, e, n, r, i), t;
+ return r.set(e, t), Sq(t, e, n, r, i), t;
}
if (e instanceof Error) {
let t = structuredClone(e);
- return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, xq(t, e, n, r, i), t;
+ return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, Sq(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), xq(t, e, n, r, i), t;
+ return r.set(e, t), Sq(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), xq(t, e, n, r, i), t;
+ return r.set(e, t), Sq(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), xq(t, e, n, r, i), t;
+ return r.set(e, t), Sq(t, e, n, r, i), t;
}
- if (typeof e == "object" && VPe(e)) {
+ if (typeof e == "object" && BPe(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), xq(t, e, n, r, i), t;
+ return r.set(e, t), Sq(t, e, n, r, i), t;
}
return e;
}
-function xq(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...JK(t)];
+function Sq(e, t, n = e, r, i) {
+ let a = [...Object.keys(t), ...YK(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = bq(t[s], s, n, r, i));
+ (c == null || c.writable) && (e[s] = xq(t[s], s, n, r, i));
}
}
-function VPe(e) {
- switch (YK(e)) {
- case eq:
- case aq:
+function BPe(e) {
+ switch (XK(e)) {
+ case tq:
case oq:
- case cq:
- case $K:
- case nq:
- case gq:
+ case sq:
+ case lq:
+ case eq:
+ case rq:
case _q:
- case pq:
+ case vq:
case mq:
case hq:
- case rq:
- case QK:
- case sq:
- case XK:
+ case gq:
case iq:
+ case $K:
+ case cq:
case ZK:
- case tq:
- case lq:
+ case aq:
+ case QK:
+ case nq:
case uq:
case dq:
- case fq: return !0;
+ case fq:
+ case pq: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function HPe(e) {
- return bq(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+function VPe(e) {
+ return xq(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function Sq(e, t) {
+function Cq(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function Cq(e) {
+function wq(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function wq(e, t, n) {
- return typeof n == "function" ? Tq(e, t, function e(t, r, i, a, o, s) {
+function Tq(e, t, n) {
+ return typeof n == "function" ? Eq(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? Tq(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : wq(e, t, () => void 0);
+ return c === void 0 ? Eq(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : Tq(e, t, () => void 0);
}
-function Tq(e, t, n, r, i = !1) {
+function Eq(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return UPe(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? Tq(e, { ...t }, n, r, i) : Sq(e, t);
- default: return Cq(e) && i ? typeof t != "string" || t === "" : Sq(e, t);
+ case "object": return HPe(e, t, n, r, i);
+ case "function": return Object.keys(t).length > 0 ? Eq(e, { ...t }, n, r, i) : Cq(e, t);
+ default: return wq(e) && i ? typeof t != "string" || t === "" : Cq(e, t);
}
}
-function UPe(e, t, n, r, i = !1) {
+function HPe(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return Eq(e, t, n, r);
- if (t instanceof Map) return WPe(e, t, n, r);
- if (t instanceof Set) return GPe(e, t, n, r);
+ if (Array.isArray(t)) return Dq(e, t, n, r);
+ if (t instanceof Map) return UPe(e, t, n, r);
+ if (t instanceof Set) return WPe(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) qK(e) && (e = Object(e));
+ if (i) JK(e) && (e = Object(e));
else {
- let t = YK(e);
+ let t = XK(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -68895,13 +68910,13 @@ function UPe(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function WPe(e, t, n, r) {
+function UPe(e, t, n, r) {
if (t.size === 0) return !0;
if (!(e instanceof Map)) return !1;
for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;
return !0;
}
-function Eq(e, t, n, r) {
+function Dq(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -68919,40 +68934,40 @@ function Eq(e, t, n, r) {
}
return !0;
}
-function GPe(e, t, n, r) {
- return t.size === 0 || e instanceof Set && Eq([...e], [...t], n, r);
+function WPe(e, t, n, r) {
+ return t.size === 0 || e instanceof Set && Dq([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function Dq(e, t) {
- return wq(e, t, () => void 0);
+function Oq(e, t) {
+ return Tq(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function KPe(e) {
- return e = HPe(e), (t) => Dq(t, e);
+function GPe(e) {
+ return e = VPe(e), (t) => Oq(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function qPe(e, t) {
- return BPe(e, (n, r, i, a) => {
+function KPe(e, t) {
+ return zPe(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (YK(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (XK(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), xq(t, e, i, a), t;
+ return a.set(e, t), Sq(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
+ case $K:
case QK:
- case ZK:
- case $K: {
+ case eq: {
let t = new e.constructor(e?.valueOf());
- return xq(t, e), t;
+ return Sq(t, e), t;
}
- case eq: {
+ case tq: {
let t = {};
- return xq(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return Sq(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -68961,79 +68976,79 @@ function qPe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function JPe(e) {
- return qPe(e);
+function qPe(e) {
+ return KPe(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var YPe = /^(?:0|[1-9]\d*)$/;
-function Oq(e, t = 2 ** 53 - 1) {
+var JPe = /^(?:0|[1-9]\d*)$/;
+function kq(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 YPe.test(e);
+ case "string": return JPe.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function XPe(e) {
- return typeof e == "object" && !!e && YK(e) === "[object Arguments]";
+function YPe(e) {
+ return typeof e == "object" && !!e && XK(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function ZPe(e, t) {
+function XPe(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && fG(t) && !(t in Object(e)) ? gG(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && pG(t) && !(t in Object(e)) ? _G(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = pG(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || XPe(r)) && Oq(t) && Number(t) < r.length)) return !1;
+ let t = mG(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || YPe(r)) && kq(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function QPe(e, t) {
+function ZPe(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = pG(e);
+ case "number": e = mG(e);
}
- return t = JPe(t), function(n) {
- let r = _G(n, e);
- return r === void 0 ? ZPe(n, e) : t === void 0 ? r === void 0 : Dq(r, t);
+ return t = qPe(t), function(n) {
+ let r = vG(n, e);
+ return r === void 0 ? XPe(n, e) : t === void 0 ? r === void 0 : Oq(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function kq(e) {
- if (e == null) return GK;
+function Aq(e) {
+ if (e == null) return KK;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? QPe(e[0], e[1]) : KPe(e);
- default: return PPe(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? ZPe(e[0], e[1]) : GPe(e);
+ default: return NPe(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function $Pe(e) {
+function QPe(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function Aq(e, t = GK) {
- return KK(e) ? jPe(Array.from(e), MPe(kq(t), 1)).map($Pe) : [];
+function jq(e, t = KK) {
+ return qK(e) ? APe(Array.from(e), jPe(Aq(t), 1)).map(QPe) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function jq(e, t, n) {
- return t === !0 ? Aq(e, n) : typeof t == "function" ? Aq(e, t) : e;
+function Mq(e, t, n) {
+ return t === !0 ? jq(e, n) : typeof t == "function" ? jq(e, t) : e;
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var eFe = /* @__PURE__ */ o(((e) => {
+var $Pe = /* @__PURE__ */ o(((e) => {
var t = d(), n = Eie();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -69078,60 +69093,60 @@ var eFe = /* @__PURE__ */ o(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), tFe = /* @__PURE__ */ o(((e, t) => {
- t.exports = eFe();
-})), Mq = /*#__PURE__*/ (0, b.createContext)(null), nFe = tFe(), rFe = (e) => e, Nq = () => {
- var e = (0, b.useContext)(Mq);
- return e ? e.store.dispatch : rFe;
-}, Pq = () => {}, iFe = () => Pq, aFe = (e, t) => e === t;
+})), eFe = /* @__PURE__ */ o(((e, t) => {
+ t.exports = $Pe();
+})), Nq = /*#__PURE__*/ (0, b.createContext)(null), tFe = eFe(), nFe = (e) => e, Pq = () => {
+ var e = (0, b.useContext)(Nq);
+ return e ? e.store.dispatch : nFe;
+}, Fq = () => {}, rFe = () => Fq, iFe = (e, t) => e === t;
function J(e) {
- var t = (0, b.useContext)(Mq), n = (0, b.useMemo)(() => t ? (t) => {
+ var t = (0, b.useContext)(Nq), n = (0, b.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : Pq, [t, e]);
- return (0, nFe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : iFe, t ? t.store.getState : Pq, t ? t.store.getState : Pq, n, aFe);
+ } : Fq, [t, e]);
+ return (0, tFe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : rFe, t ? t.store.getState : Fq, t ? t.store.getState : Fq, n, iFe);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function oFe(e, t = `expected a function, instead received ${typeof e}`) {
+function aFe(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function sFe(e, t = "expected all items to be functions, instead received the following types: ") {
+function oFe(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 Fq = (e) => Array.isArray(e) ? e : [e];
-function cFe(e) {
+var Iq = (e) => Array.isArray(e) ? e : [e];
+function sFe(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return sFe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return oFe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function lFe(e, t) {
+function cFe(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var uFe = class {
+var lFe = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, Iq = typeof WeakRef > "u" ? uFe : WeakRef, dFe = 0, Lq = 1;
-function Rq() {
+}, Lq = typeof WeakRef > "u" ? lFe : WeakRef, uFe = 0, Rq = 1;
+function zq() {
return {
- s: dFe,
+ s: uFe,
v: void 0,
o: null,
p: null
};
}
-function fFe(e) {
- return e instanceof Iq ? e.deref() : e;
+function dFe(e) {
+ return e instanceof Lq ? e.deref() : e;
}
-function zq(e, t = {}) {
- let n = Rq(), { resultEqualityCheck: r } = t, i, a = 0;
+function Bq(e, t = {}) {
+ let n = zq(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -69140,43 +69155,43 @@ function zq(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = Rq(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = zq(), e.set(n, t)) : t = r;
} else {
let e = t.p;
e === null && (t.p = e = /* @__PURE__ */ new Map());
let r = e.get(n);
- r === void 0 ? (t = Rq(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = zq(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === Lq) c = t.v;
+ if (t.s === Rq) c = t.v;
else if (c = e.apply(null, arguments), a++, r) {
- let e = fFe(i);
- e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new Iq(c) : c;
+ let e = dFe(i);
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new Lq(c) : c;
}
- return s.s = Lq, s.v = c, c;
+ return s.s = Rq, s.v = c, c;
}
return o.clearCache = () => {
- n = Rq(), o.resetResultsCount();
+ n = zq(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
}
-function pFe(e, ...t) {
+function fFe(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()), oFe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = zq, argsMemoizeOptions: u = [] } = {
+ typeof o == "object" && (a = o, o = e.pop()), aFe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = Bq, argsMemoizeOptions: u = [] } = {
...n,
...a
- }, d = Fq(c), f = Fq(u), p = cFe(e), m = s(function() {
+ }, d = Iq(c), f = Iq(u), p = sFe(e), m = s(function() {
return t++, o.apply(null, arguments);
}, ...d), h = l(function() {
r++;
- let e = lFe(p, arguments);
+ let e = cFe(p, arguments);
return i = m.apply(null, e), i;
}, ...f);
return Object.assign(h, {
@@ -69198,10 +69213,10 @@ function pFe(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var Y = /* @__PURE__ */ pFe(zq);
+var Y = /* @__PURE__ */ fFe(Bq);
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function mFe(e, t = 1) {
+function pFe(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -69212,17 +69227,17 @@ function mFe(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function Bq(e, t, n) {
- return Cq(n) && (typeof t == "number" && KK(n) && Oq(t) && t < n.length || typeof t == "string" && t in n) ? Sq(n[t], e) : !1;
+function Vq(e, t, n) {
+ return wq(n) && (typeof t == "number" && qK(n) && kq(t) && t < n.length || typeof t == "string" && t in n) ? Cq(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function Vq(e) {
+function Hq(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var hFe = (e, t, n) => {
+var mFe = (e, t, n) => {
if (e !== t) {
- let r = Vq(e), i = Vq(t);
+ let r = Hq(e), i = Hq(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -69230,15 +69245,15 @@ var hFe = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, gFe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, _Fe = /^\w*$/;
-function vFe(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || mG(e) ? !0 : typeof e == "string" && (_Fe.test(e) || !gFe.test(e)) || t != null && Object.hasOwn(t, e);
+}, hFe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, gFe = /^\w*$/;
+function _Fe(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || hG(e) ? !0 : typeof e == "string" && (gFe.test(e) || !hFe.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function yFe(e, t, n, r) {
+function vFe(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = KK(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
+ n = r ? void 0 : n, Array.isArray(e) || (e = qK(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
let i = (e, t) => {
let n = e, r = 0;
for (; r < t.length && n != null; ++r) n = n[t[r]];
@@ -69246,16 +69261,16 @@ function yFe(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) || vFe(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || _Fe(e) ? e : {
key: e,
- path: gG(e)
+ path: _G(e)
}));
return e.map((e) => ({
original: e,
criteria: o.map((t) => a(t, e))
})).slice().sort((e, t) => {
for (let r = 0; r < o.length; r++) {
- let i = hFe(e.criteria[r], t.criteria[r], n[r]);
+ let i = mFe(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -69263,42 +69278,42 @@ function yFe(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function Hq(e, ...t) {
+function Uq(e, ...t) {
let n = t.length;
- return n > 1 && Bq(e, t[0], t[1]) ? t = [] : n > 2 && Bq(t[0], t[1], t[2]) && (t = [t[0]]), yFe(e, mFe(t), ["asc"]);
+ return n > 1 && Vq(e, t[0], t[1]) ? t = [] : n > 2 && Vq(t[0], t[1], t[2]) && (t = [t[0]]), vFe(e, pFe(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var Uq = (e) => e.legend.settings, bFe = (e) => e.legend.size, xFe = Y([(e) => e.legend.payload, Uq], (e, t) => {
+var Wq = (e) => e.legend.settings, yFe = (e) => e.legend.size, bFe = Y([(e) => e.legend.payload, Wq], (e, t) => {
var n = t.itemSorter, r = e.flat(1);
- return n ? Hq(r, n) : r;
+ return n ? Uq(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function SFe() {
- return J(xFe);
+function xFe() {
+ return J(bFe);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-function CFe(e, t) {
- return DFe(e) || EFe(e, t) || TFe(e, t) || wFe();
+function SFe(e, t) {
+ return EFe(e) || TFe(e, t) || wFe(e, t) || CFe();
}
-function wFe() {
+function CFe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function TFe(e, t) {
+function wFe(e, t) {
if (e) {
- if (typeof e == "string") return Wq(e, t);
+ if (typeof e == "string") return Gq(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Wq(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Gq(e, t) : void 0;
}
}
-function Wq(e, t) {
+function Gq(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function EFe(e, t) {
+function TFe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -69319,14 +69334,14 @@ function EFe(e, t) {
return s;
}
}
-function DFe(e) {
+function EFe(e) {
if (Array.isArray(e)) return e;
}
-var Gq = 1;
-function Kq(e, t) {
- return Math.abs(e.height - t.height) > Gq || Math.abs(e.left - t.left) > Gq || Math.abs(e.top - t.top) > Gq || Math.abs(e.width - t.width) > Gq;
+var Kq = 1;
+function qq(e, t) {
+ return Math.abs(e.height - t.height) > Kq || Math.abs(e.left - t.left) > Kq || Math.abs(e.top - t.top) > Kq || Math.abs(e.width - t.width) > Kq;
}
-function qq(e) {
+function Jq(e) {
var t = e.getBoundingClientRect();
return {
height: t.height,
@@ -69335,8 +69350,8 @@ function qq(e) {
width: t.width
};
}
-function Jq() {
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = CFe((0, b.useState)({
+function Yq() {
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = SFe((0, b.useState)({
height: 0,
left: 0,
top: 0,
@@ -69345,11 +69360,11 @@ function Jq() {
a.current = n;
var o = (0, b.useCallback)((e) => {
if (i.current != null && (i.current.disconnect(), i.current = null), e != null) {
- var t = qq(e);
- if (Kq(t, a.current) && r(t), typeof ResizeObserver < "u") {
+ var t = Jq(e);
+ if (qq(t, a.current) && r(t), typeof ResizeObserver < "u") {
var n = new ResizeObserver(() => {
- var t = qq(e);
- Kq(t, a.current) && r(t);
+ var t = Jq(e);
+ qq(t, a.current) && r(t);
});
n.observe(e), i.current = n;
}
@@ -69362,26 +69377,26 @@ function Jq() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function Yq(e) {
+function Xq(e) {
return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
-var Xq = typeof Symbol == "function" && Symbol.observable || "@@observable", Zq = () => Math.random().toString(36).substring(7).split("").join("."), Qq = {
- INIT: `@@redux/INIT${/* @__PURE__ */ Zq()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ Zq()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${Zq()}`
+var Zq = typeof Symbol == "function" && Symbol.observable || "@@observable", Qq = () => Math.random().toString(36).substring(7).split("").join("."), $q = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ Qq()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ Qq()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${Qq()}`
};
-function $q(e) {
+function eJ(e) {
if (typeof e != "object" || !e) return !1;
let t = e;
for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;
}
-function eJ(e, t, n) {
- if (typeof e != "function") throw Error(Yq(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(Yq(0));
+function tJ(e, t, n) {
+ if (typeof e != "function") throw Error(Xq(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(Xq(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(Yq(1));
- return n(eJ)(e, t);
+ if (typeof n != "function") throw Error(Xq(1));
+ return n(tJ)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -69390,27 +69405,27 @@ function eJ(e, t, n) {
}));
}
function u() {
- if (c) throw Error(Yq(3));
+ if (c) throw Error(Xq(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(Yq(4));
- if (c) throw Error(Yq(5));
+ if (typeof e != "function") throw Error(Xq(4));
+ if (c) throw Error(Xq(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(Yq(6));
+ if (c) throw Error(Xq(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!$q(e)) throw Error(Yq(7));
- if (e.type === void 0) throw Error(Yq(8));
- if (typeof e.type != "string") throw Error(Yq(17));
- if (c) throw Error(Yq(9));
+ if (!eJ(e)) throw Error(Xq(7));
+ if (e.type === void 0) throw Error(Xq(8));
+ if (typeof e.type != "string") throw Error(Xq(17));
+ if (c) throw Error(Xq(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -69421,41 +69436,41 @@ function eJ(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(Yq(10));
- r = e, f({ type: Qq.REPLACE });
+ if (typeof e != "function") throw Error(Xq(10));
+ r = e, f({ type: $q.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(Yq(11));
+ if (typeof t != "object" || !t) throw Error(Xq(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [Xq]() {
+ [Zq]() {
return this;
}
};
}
- return f({ type: Qq.INIT }), {
+ return f({ type: $q.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [Xq]: m
+ [Zq]: m
};
}
-function OFe(e) {
+function DFe(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: Qq.INIT }) === void 0) throw Error(Yq(12));
- if (n(void 0, { type: Qq.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(Yq(13));
+ if (n(void 0, { type: $q.INIT }) === void 0) throw Error(Xq(12));
+ if (n(void 0, { type: $q.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(Xq(13));
});
}
-function tJ(e) {
+function nJ(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -69463,7 +69478,7 @@ function tJ(e) {
}
let r = Object.keys(n), i;
try {
- OFe(n);
+ DFe(n);
} catch (e) {
i = e;
}
@@ -69472,124 +69487,124 @@ function tJ(e) {
let a = !1, o = {};
for (let i = 0; i < r.length; i++) {
let s = r[i], c = n[s], l = e[s], u = c(l, t);
- if (u === void 0) throw t && t.type, Error(Yq(14));
+ if (u === void 0) throw t && t.type, Error(Xq(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function nJ(...e) {
+function rJ(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function kFe(...e) {
+function OFe(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(Yq(15));
+ throw Error(Xq(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = nJ(...e.map((e) => e(o)))(i.dispatch), {
+ return a = rJ(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function rJ(e) {
- return $q(e) && "type" in e && typeof e.type == "string";
+function iJ(e) {
+ return eJ(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/immer/dist/immer.mjs
-var iJ = Symbol.for("immer-nothing"), aJ = Symbol.for("immer-draftable"), oJ = Symbol.for("immer-state");
-function sJ(e, ...t) {
+var aJ = Symbol.for("immer-nothing"), oJ = Symbol.for("immer-draftable"), sJ = Symbol.for("immer-state");
+function cJ(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var cJ = Object, lJ = cJ.getPrototypeOf, uJ = "constructor", dJ = "prototype", fJ = "configurable", pJ = "enumerable", mJ = "writable", hJ = "value", gJ = (e) => !!e && !!e[oJ];
-function _J(e) {
- return e ? yJ(e) || TJ(e) || !!e[aJ] || !!e[uJ]?.[aJ] || EJ(e) || DJ(e) : !1;
+var lJ = Object, uJ = lJ.getPrototypeOf, dJ = "constructor", fJ = "prototype", pJ = "configurable", mJ = "enumerable", hJ = "writable", gJ = "value", _J = (e) => !!e && !!e[sJ];
+function vJ(e) {
+ return e ? bJ(e) || EJ(e) || !!e[oJ] || !!e[dJ]?.[oJ] || DJ(e) || OJ(e) : !1;
}
-var AFe = cJ[dJ][uJ].toString(), vJ = /* @__PURE__ */ new WeakMap();
-function yJ(e) {
- if (!e || !OJ(e)) return !1;
- let t = lJ(e);
- if (t === null || t === cJ[dJ]) return !0;
- let n = cJ.hasOwnProperty.call(t, uJ) && t[uJ];
+var kFe = lJ[fJ][dJ].toString(), yJ = /* @__PURE__ */ new WeakMap();
+function bJ(e) {
+ if (!e || !kJ(e)) return !1;
+ let t = uJ(e);
+ if (t === null || t === lJ[fJ]) return !0;
+ let n = lJ.hasOwnProperty.call(t, dJ) && t[dJ];
if (n === Object) return !0;
- if (!kJ(n)) return !1;
- let r = vJ.get(n);
- return r === void 0 && (r = Function.toString.call(n), vJ.set(n, r)), r === AFe;
+ if (!AJ(n)) return !1;
+ let r = yJ.get(n);
+ return r === void 0 && (r = Function.toString.call(n), yJ.set(n, r)), r === kFe;
}
-function bJ(e, t, n = !0) {
- xJ(e) === 0 ? (n ? Reflect.ownKeys(e) : cJ.keys(e)).forEach((n) => {
+function xJ(e, t, n = !0) {
+ SJ(e) === 0 ? (n ? Reflect.ownKeys(e) : lJ.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function xJ(e) {
- let t = e[oJ];
- return t ? t.type_ : TJ(e) ? 1 : EJ(e) ? 2 : DJ(e) ? 3 : 0;
+function SJ(e) {
+ let t = e[sJ];
+ return t ? t.type_ : EJ(e) ? 1 : DJ(e) ? 2 : OJ(e) ? 3 : 0;
}
-var SJ = (e, t, n = xJ(e)) => n === 2 ? e.has(t) : cJ[dJ].hasOwnProperty.call(e, t), CJ = (e, t, n = xJ(e)) => n === 2 ? e.get(t) : e[t], wJ = (e, t, n, r = xJ(e)) => {
+var CJ = (e, t, n = SJ(e)) => n === 2 ? e.has(t) : lJ[fJ].hasOwnProperty.call(e, t), wJ = (e, t, n = SJ(e)) => n === 2 ? e.get(t) : e[t], TJ = (e, t, n, r = SJ(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function jFe(e, t) {
+function AFe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-var TJ = Array.isArray, EJ = (e) => e instanceof Map, DJ = (e) => e instanceof Set, OJ = (e) => typeof e == "object", kJ = (e) => typeof e == "function", AJ = (e) => typeof e == "boolean";
-function MFe(e) {
+var EJ = Array.isArray, DJ = (e) => e instanceof Map, OJ = (e) => e instanceof Set, kJ = (e) => typeof e == "object", AJ = (e) => typeof e == "function", jJ = (e) => typeof e == "boolean";
+function jFe(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
-var jJ = (e) => e.copy_ || e.base_, MJ = (e) => e.modified_ ? e.copy_ : e.base_;
-function NJ(e, t) {
- if (EJ(e)) return new Map(e);
- if (DJ(e)) return new Set(e);
- if (TJ(e)) return Array[dJ].slice.call(e);
- let n = yJ(e);
+var MJ = (e) => e.copy_ || e.base_, NJ = (e) => e.modified_ ? e.copy_ : e.base_;
+function PJ(e, t) {
+ if (DJ(e)) return new Map(e);
+ if (OJ(e)) return new Set(e);
+ if (EJ(e)) return Array[fJ].slice.call(e);
+ let n = bJ(e);
if (t === !0 || t === "class_only" && !n) {
- let t = cJ.getOwnPropertyDescriptors(e);
- delete t[oJ];
+ let t = lJ.getOwnPropertyDescriptors(e);
+ delete t[sJ];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
- a[mJ] === !1 && (a[mJ] = !0, a[fJ] = !0), (a.get || a.set) && (t[i] = {
- [fJ]: !0,
- [mJ]: !0,
- [pJ]: a[pJ],
- [hJ]: e[i]
+ a[hJ] === !1 && (a[hJ] = !0, a[pJ] = !0), (a.get || a.set) && (t[i] = {
+ [pJ]: !0,
+ [hJ]: !0,
+ [mJ]: a[mJ],
+ [gJ]: e[i]
});
}
- return cJ.create(lJ(e), t);
+ return lJ.create(uJ(e), t);
}
{
- let t = lJ(e);
+ let t = uJ(e);
if (t !== null && n) return { ...e };
- let r = cJ.create(t);
- return cJ.assign(r, e);
- }
-}
-function PJ(e, t = !1) {
- return IJ(e) || gJ(e) || !_J(e) || (xJ(e) > 1 && cJ.defineProperties(e, {
- set: FJ,
- add: FJ,
- clear: FJ,
- delete: FJ
- }), cJ.freeze(e), t && bJ(e, (e, t) => {
- PJ(t, !0);
+ let r = lJ.create(t);
+ return lJ.assign(r, e);
+ }
+}
+function FJ(e, t = !1) {
+ return LJ(e) || _J(e) || !vJ(e) || (SJ(e) > 1 && lJ.defineProperties(e, {
+ set: IJ,
+ add: IJ,
+ clear: IJ,
+ delete: IJ
+ }), lJ.freeze(e), t && xJ(e, (e, t) => {
+ FJ(t, !0);
}, !1)), e;
}
-function NFe() {
- sJ(2);
+function MFe() {
+ cJ(2);
}
-var FJ = { [hJ]: NFe };
-function IJ(e) {
- return e === null || !OJ(e) || cJ.isFrozen(e);
+var IJ = { [gJ]: MFe };
+function LJ(e) {
+ return e === null || !kJ(e) || lJ.isFrozen(e);
}
-var LJ = "MapSet", RJ = "Patches", zJ = "ArrayMethods", BJ = {};
-function VJ(e) {
- let t = BJ[e];
- return t || sJ(0, e), t;
+var RJ = "MapSet", zJ = "Patches", BJ = "ArrayMethods", VJ = {};
+function HJ(e) {
+ let t = VJ[e];
+ return t || cJ(0, e), t;
}
-var HJ = (e) => !!BJ[e], UJ, WJ = () => UJ, PFe = (e, t) => ({
+var UJ = (e) => !!VJ[e], WJ, GJ = () => WJ, NFe = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -69597,114 +69612,114 @@ var HJ = (e) => !!BJ[e], UJ, WJ = () => UJ, PFe = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: HJ(LJ) ? VJ(LJ) : void 0,
- arrayMethodsPlugin_: HJ(zJ) ? VJ(zJ) : void 0
+ mapSetPlugin_: UJ(RJ) ? HJ(RJ) : void 0,
+ arrayMethodsPlugin_: UJ(BJ) ? HJ(BJ) : void 0
});
-function GJ(e, t) {
- t && (e.patchPlugin_ = VJ(RJ), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
-}
-function KJ(e) {
- qJ(e), e.drafts_.forEach(FFe), e.drafts_ = null;
+function KJ(e, t) {
+ t && (e.patchPlugin_ = HJ(zJ), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function qJ(e) {
- e === UJ && (UJ = e.parent_);
+ JJ(e), e.drafts_.forEach(PFe), e.drafts_ = null;
+}
+function JJ(e) {
+ e === WJ && (WJ = e.parent_);
}
-var JJ = (e) => UJ = PFe(UJ, e);
-function FFe(e) {
- let t = e[oJ];
+var YJ = (e) => WJ = NFe(WJ, e);
+function PFe(e) {
+ let t = e[sJ];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function YJ(e, t) {
+function XJ(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[oJ].modified_ && (KJ(t), sJ(4)), _J(e) && (e = XJ(t, e));
+ n[sJ].modified_ && (qJ(t), cJ(4)), vJ(e) && (e = ZJ(t, e));
let { patchPlugin_: r } = t;
- r && r.generateReplacementPatches_(n[oJ].base_, e, t);
- } else e = XJ(t, n);
- return IFe(t, e, !0), KJ(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === iJ ? void 0 : e;
-}
-function XJ(e, t) {
- if (IJ(t)) return t;
- let n = t[oJ];
- if (!n) return tY(t, e.handledSet_, e);
- if (!QJ(n, e)) return t;
+ r && r.generateReplacementPatches_(n[sJ].base_, e, t);
+ } else e = ZJ(t, n);
+ return FFe(t, e, !0), qJ(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === aJ ? void 0 : e;
+}
+function ZJ(e, t) {
+ if (LJ(t)) return t;
+ let n = t[sJ];
+ if (!n) return nY(t, e.handledSet_, e);
+ if (!$J(n, e)) return t;
if (!n.modified_) return n.base_;
if (!n.finalized_) {
let { callbacks_: t } = n;
if (t) for (; t.length > 0;) t.pop()(e);
- eY(n, e);
+ tY(n, e);
}
return n.copy_;
}
-function IFe(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && PJ(t, n);
+function FFe(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && FJ(t, n);
}
-function ZJ(e) {
+function QJ(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var QJ = (e, t) => e.scope_ === t, LFe = [];
-function $J(e, t, n, r) {
- let i = jJ(e), a = e.type_;
- if (r !== void 0 && CJ(i, r, a) === t) {
- wJ(i, r, n, a);
+var $J = (e, t) => e.scope_ === t, IFe = [];
+function eY(e, t, n, r) {
+ let i = MJ(e), a = e.type_;
+ if (r !== void 0 && wJ(i, r, a) === t) {
+ TJ(i, r, n, a);
return;
}
if (!e.draftLocations_) {
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
- bJ(i, (e, n) => {
- if (gJ(n)) {
+ xJ(i, (e, n) => {
+ if (_J(n)) {
let r = t.get(n) || [];
r.push(e), t.set(n, r);
}
});
}
- let o = e.draftLocations_.get(t) ?? LFe;
- for (let e of o) wJ(i, e, n, a);
+ let o = e.draftLocations_.get(t) ?? IFe;
+ for (let e of o) TJ(i, e, n, a);
}
-function RFe(e, t, n) {
+function LFe(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
- if (!i || !QJ(i, r)) return;
+ if (!i || !$J(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
- let a = MJ(i);
- $J(e, i.draft_ ?? i, a, n), eY(i, r);
+ let a = NJ(i);
+ eY(e, i.draft_ ?? i, a, n), tY(i, r);
});
}
-function eY(e, t) {
+function tY(e, t) {
if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {
let { patchPlugin_: n } = t;
if (n) {
let r = n.getPath(e);
r && n.generatePatches_(e, r, t);
}
- ZJ(e);
+ QJ(e);
}
}
-function zFe(e, t, n) {
+function RFe(e, t, n) {
let { scope_: r } = e;
- if (gJ(n)) {
- let i = n[oJ];
- QJ(i, r) && i.callbacks_.push(function() {
- sY(e), $J(e, n, MJ(i), t);
+ if (_J(n)) {
+ let i = n[sJ];
+ $J(i, r) && i.callbacks_.push(function() {
+ cY(e), eY(e, n, NJ(i), t);
});
- } else _J(n) && e.callbacks_.push(function() {
- let i = jJ(e);
- e.type_ === 3 ? i.has(n) && tY(n, r.handledSet_, r) : CJ(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && tY(CJ(e.copy_, t, e.type_), r.handledSet_, r);
+ } else vJ(n) && e.callbacks_.push(function() {
+ let i = MJ(e);
+ e.type_ === 3 ? i.has(n) && nY(n, r.handledSet_, r) : wJ(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && nY(wJ(e.copy_, t, e.type_), r.handledSet_, r);
});
}
-function tY(e, t, n) {
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || gJ(e) || t.has(e) || !_J(e) || IJ(e) || (t.add(e), bJ(e, (r, i) => {
- if (gJ(i)) {
- let t = i[oJ];
- QJ(t, n) && (wJ(e, r, MJ(t), e.type_), ZJ(t));
- } else _J(i) && tY(i, t, n);
+function nY(e, t, n) {
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || _J(e) || t.has(e) || !vJ(e) || LJ(e) || (t.add(e), xJ(e, (r, i) => {
+ if (_J(i)) {
+ let t = i[sJ];
+ $J(t, n) && (TJ(e, r, NJ(t), e.type_), QJ(t));
+ } else vJ(i) && nY(i, t, n);
})), e;
}
-function BFe(e, t) {
- let n = TJ(e), r = {
+function zFe(e, t) {
+ let n = EJ(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : WJ(),
+ scope_: t ? t.scope_ : GJ(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -69715,108 +69730,108 @@ function BFe(e, t) {
revoke_: null,
isManual_: !1,
callbacks_: void 0
- }, i = r, a = nY;
- n && (i = [r], a = rY);
+ }, i = r, a = rY;
+ n && (i = [r], a = iY);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, [s, r];
}
-var nY = {
+var rY = {
get(e, t) {
- if (t === oJ) return e;
+ if (t === sJ) return e;
let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
- let i = jJ(e);
- if (!SJ(i, t, e.type_)) return HFe(e, i, t);
+ let i = MJ(e);
+ if (!CJ(i, t, e.type_)) return VFe(e, i, t);
let a = i[t];
- if (e.finalized_ || !_J(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && MFe(t)) return a;
- if (a === iY(e.base_, t) || VFe(e, t, a)) {
- sY(e);
- let n = e.type_ === 1 ? +t : t, r = cY(e.scope_, a, e, n);
+ if (e.finalized_ || !vJ(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && jFe(t)) return a;
+ if (a === aY(e.base_, t) || BFe(e, t, a)) {
+ cY(e);
+ let n = e.type_ === 1 ? +t : t, r = lY(e.scope_, a, e, n);
return e.copy_[n] = r;
}
return a;
},
has(e, t) {
- return t in jJ(e);
+ return t in MJ(e);
},
ownKeys(e) {
- return Reflect.ownKeys(jJ(e));
+ return Reflect.ownKeys(MJ(e));
},
set(e, t, n) {
- let r = aY(jJ(e), t);
+ let r = oY(MJ(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = iY(jJ(e), t), i = r?.[oJ];
+ let r = aY(MJ(e), t), i = r?.[sJ];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.delete(t), !0;
- if (jFe(n, r) && (n !== void 0 || SJ(e.base_, t, e.type_))) return !0;
- sY(e), oY(e);
+ if (AFe(n, r) && (n !== void 0 || CJ(e.base_, t, e.type_))) return !0;
+ cY(e), sY(e);
}
- return e.copy_[t] === n && (n !== void 0 || SJ(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), zFe(e, t, n)), !0;
+ return e.copy_[t] === n && (n !== void 0 || CJ(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), RFe(e, t, n)), !0;
},
deleteProperty(e, t) {
- return sY(e), iY(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), oY(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
+ return cY(e), aY(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), sY(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = jJ(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = MJ(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
- [mJ]: !0,
- [fJ]: e.type_ !== 1 || t !== "length",
- [pJ]: r[pJ],
- [hJ]: n[t]
+ [hJ]: !0,
+ [pJ]: e.type_ !== 1 || t !== "length",
+ [mJ]: r[mJ],
+ [gJ]: n[t]
};
},
defineProperty() {
- sJ(11);
+ cJ(11);
},
getPrototypeOf(e) {
- return lJ(e.base_);
+ return uJ(e.base_);
},
setPrototypeOf() {
- sJ(12);
+ cJ(12);
}
-}, rY = {};
-for (let e in nY) {
- let t = nY[e];
- rY[e] = function() {
+}, iY = {};
+for (let e in rY) {
+ let t = rY[e];
+ iY[e] = function() {
let e = arguments;
return e[0] = e[0][0], t.apply(this, e);
};
}
-rY.deleteProperty = function(e, t) {
- return rY.set.call(this, e, t, void 0);
-}, rY.set = function(e, t, n) {
- return nY.set.call(this, e[0], t, n, e[0]);
+iY.deleteProperty = function(e, t) {
+ return iY.set.call(this, e, t, void 0);
+}, iY.set = function(e, t, n) {
+ return rY.set.call(this, e[0], t, n, e[0]);
};
-function iY(e, t) {
- let n = e[oJ];
- return (n ? jJ(n) : e)[t];
+function aY(e, t) {
+ let n = e[sJ];
+ return (n ? MJ(n) : e)[t];
}
-function VFe(e, t, n) {
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !_J(n) || n[oJ] ? !1 : e.baseRefs_.has(n);
+function BFe(e, t, n) {
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !vJ(n) || n[sJ] ? !1 : e.baseRefs_.has(n);
}
-function HFe(e, t, n) {
- let r = aY(t, n);
- return r ? hJ in r ? r[hJ] : r.get?.call(e.draft_) : void 0;
+function VFe(e, t, n) {
+ let r = oY(t, n);
+ return r ? gJ in r ? r[gJ] : r.get?.call(e.draft_) : void 0;
}
-function aY(e, t) {
+function oY(e, t) {
if (!(t in e)) return;
- let n = lJ(e);
+ let n = uJ(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = lJ(n);
+ n = uJ(n);
}
}
-function oY(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && oY(e.parent_));
-}
function sY(e) {
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), NJ(e.base_, e.scope_.immer_.useStrictShallowCopy_));
+ e.modified_ || (e.modified_ = !0, e.parent_ && sY(e.parent_));
}
-var UFe = class {
+function cY(e) {
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), PJ(e.base_, e.scope_.immer_.useStrictShallowCopy_));
+}
+var HFe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
- if (kJ(e) && !kJ(t)) {
+ if (AJ(e) && !AJ(t)) {
let n = t;
t = e;
let r = this;
@@ -69824,30 +69839,30 @@ var UFe = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- kJ(t) || sJ(6), n !== void 0 && !kJ(n) && sJ(7);
+ AJ(t) || cJ(6), n !== void 0 && !AJ(n) && cJ(7);
let r;
- if (_J(e)) {
- let i = JJ(this), a = cY(i, e, void 0), o = !0;
+ if (vJ(e)) {
+ let i = YJ(this), a = lY(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? KJ(i) : qJ(i);
+ o ? qJ(i) : JJ(i);
}
- return GJ(i, n), YJ(r, i);
+ return KJ(i, n), XJ(r, i);
}
- if (!e || !OJ(e)) {
- if (r = t(e), r === void 0 && (r = e), r === iJ && (r = void 0), this.autoFreeze_ && PJ(r, !0), n) {
+ if (!e || !kJ(e)) {
+ if (r = t(e), r === void 0 && (r = e), r === aJ && (r = void 0), this.autoFreeze_ && FJ(r, !0), n) {
let t = [], i = [];
- VJ(RJ).generateReplacementPatches_(e, r, {
+ HJ(zJ).generateReplacementPatches_(e, r, {
patches_: t,
inversePatches_: i
}), n(t, i);
}
return r;
}
- sJ(1, e);
+ cJ(1, e);
}, this.produceWithPatches = (e, t) => {
- if (kJ(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
+ if (AJ(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
return [
this.produce(e, t, (e, t) => {
@@ -69856,18 +69871,18 @@ var UFe = class {
n,
r
];
- }, AJ(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), AJ(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), AJ(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
+ }, jJ(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), jJ(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), jJ(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- _J(e) || sJ(8), gJ(e) && (e = lY(e));
- let t = JJ(this), n = cY(t, e, void 0);
- return n[oJ].isManual_ = !0, qJ(t), n;
+ vJ(e) || cJ(8), _J(e) && (e = uY(e));
+ let t = YJ(this), n = lY(t, e, void 0);
+ return n[sJ].isManual_ = !0, JJ(t), n;
}
finishDraft(e, t) {
- let n = e && e[oJ];
- (!n || !n.isManual_) && sJ(9);
+ let n = e && e[sJ];
+ (!n || !n.isManual_) && cJ(9);
let { scope_: r } = n;
- return GJ(r, t), YJ(void 0, r);
+ return KJ(r, t), XJ(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -69891,48 +69906,48 @@ var UFe = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = VJ(RJ).applyPatches_;
- return gJ(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = HJ(zJ).applyPatches_;
+ return _J(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function cY(e, t, n, r) {
- let [i, a] = EJ(t) ? VJ(LJ).proxyMap_(t, n) : DJ(t) ? VJ(LJ).proxySet_(t, n) : BFe(t, n);
- return (n?.scope_ ?? WJ()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? RFe(n, a, r) : a.callbacks_.push(function(e) {
+function lY(e, t, n, r) {
+ let [i, a] = DJ(t) ? HJ(RJ).proxyMap_(t, n) : OJ(t) ? HJ(RJ).proxySet_(t, n) : zFe(t, n);
+ return (n?.scope_ ?? GJ()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? LFe(n, a, r) : a.callbacks_.push(function(e) {
e.mapSetPlugin_?.fixSetContents(a);
let { patchPlugin_: t } = e;
a.modified_ && t && t.generatePatches_(a, [], e);
}), i;
}
-function lY(e) {
- return gJ(e) || sJ(10, e), uY(e);
-}
function uY(e) {
- if (!_J(e) || IJ(e)) return e;
- let t = e[oJ], n, r = !0;
+ return _J(e) || cJ(10, e), dY(e);
+}
+function dY(e) {
+ if (!vJ(e) || LJ(e)) return e;
+ let t = e[sJ], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = NJ(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = NJ(e, !0);
- return bJ(n, (e, t) => {
- wJ(n, e, uY(t));
+ t.finalized_ = !0, n = PJ(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = PJ(e, !0);
+ return xJ(n, (e, t) => {
+ TJ(n, e, dY(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var dY = new UFe().produce, fY = (e) => e;
+var fY = new HFe().produce, pY = (e) => e;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function pY(e) {
+function mY(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var WFe = pY(), GFe = pY, KFe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? nJ : nJ.apply(null, arguments);
+var UFe = mY(), WFe = mY, GFe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? rJ : rJ.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
-function mY(e, t) {
+function hY(e, t) {
function n(...n) {
if (t) {
let r = t(...n);
- if (!r) throw Error(YY(0));
+ if (!r) throw Error(XY(0));
return {
type: e,
payload: r.payload,
@@ -69945,9 +69960,9 @@ function mY(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => rJ(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => iJ(t) && t.type === e, n;
}
-var hY = class e extends Array {
+var gY = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -69961,29 +69976,29 @@ var hY = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function gY(e) {
- return _J(e) ? dY(e, () => {}) : e;
+function _Y(e) {
+ return vJ(e) ? fY(e, () => {}) : e;
}
-function _Y(e, t, n) {
+function vY(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function qFe(e) {
+function KFe(e) {
return typeof e == "boolean";
}
-var JFe = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new hY();
- return t && (qFe(t) ? a.push(WFe) : a.push(GFe(t.extraArgument))), a;
-}, vY = "RTK_autoBatch", yY = () => (e) => ({
+var qFe = () => function(e) {
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new gY();
+ return t && (KFe(t) ? a.push(UFe) : a.push(WFe(t.extraArgument))), a;
+}, yY = "RTK_autoBatch", bY = () => (e) => ({
payload: e,
- meta: { [vY]: !0 }
-}), bY = (e) => (t) => {
+ meta: { [yY]: !0 }
+}), xY = (e) => (t) => {
setTimeout(t, e);
-}, YFe = (e, t) => (n) => {
+}, JFe = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
-}, xY = (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 ? YFe(window.requestAnimationFrame, 100) : bY(10) : e.type === "callback" ? e.queueNotification : bY(e.timeout), l = () => {
+}, SY = (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 ? JFe(window.requestAnimationFrame, 100) : xY(10) : e.type === "callback" ? e.queueNotification : xY(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -69995,37 +70010,37 @@ var JFe = () => function(e) {
},
dispatch(e) {
try {
- return i = !e?.meta?.[vY], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
+ return i = !e?.meta?.[yY], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
} finally {
i = !0;
}
}
});
-}, XFe = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new hY(e);
- return n && r.push(xY(typeof n == "object" ? n : void 0)), r;
+}, YFe = (e) => function(t) {
+ let { autoBatch: n = !0 } = t ?? {}, r = new gY(e);
+ return n && r.push(SY(typeof n == "object" ? n : void 0)), r;
};
-function ZFe(e) {
- let t = JFe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function XFe(e) {
+ let t = qFe(), { 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 ($q(n)) c = tJ(n);
- else throw Error(YY(1));
+ else if (eJ(n)) c = nJ(n);
+ else throw Error(XY(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = nJ;
- i && (u = KFe({
+ let u = rJ;
+ i && (u = GFe({
trace: !1,
...typeof i == "object" && i
}));
- let d = XFe(kFe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return eJ(c, o, p);
+ let d = YFe(OFe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return tJ(c, o, p);
}
-function SY(e) {
+function CY(e) {
let t = {}, n = [], r, i = {
addCase(e, n) {
let r = typeof e == "string" ? e : e.type;
- if (!r) throw Error(YY(28));
- if (r in t) throw Error(YY(29));
+ if (!r) throw Error(XY(28));
+ if (r in t) throw Error(XY(29));
return t[r] = n, i;
},
addAsyncThunk(e, r) {
@@ -70050,25 +70065,25 @@ function SY(e) {
r
];
}
-function QFe(e) {
+function ZFe(e) {
return typeof e == "function";
}
-function $Fe(e, t) {
- let [n, r, i] = SY(t), a;
- if (QFe(e)) a = () => gY(e());
+function QFe(e, t) {
+ let [n, r, i] = CY(t), a;
+ if (ZFe(e)) a = () => _Y(e());
else {
- let t = gY(e);
+ let t = _Y(e);
a = () => t;
}
function o(e = a(), t) {
let o = [n[t.type], ...r.filter(({ matcher: e }) => e(t)).map(({ reducer: e }) => e)];
return o.filter((e) => !!e).length === 0 && (o = [i]), o.reduce((e, n) => {
if (n) {
- if (gJ(e)) {
+ if (_J(e)) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (_J(e)) return dY(e, (e) => n(e, t));
+ if (vJ(e)) return fY(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -70083,20 +70098,20 @@ function $Fe(e, t) {
}
return o.getInitialState = a, o;
}
-var eIe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", tIe = (e = 21) => {
+var $Fe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", eIe = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += eIe[Math.random() * 64 | 0];
+ for (; n--;) t += $Fe[Math.random() * 64 | 0];
return t;
-}, nIe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function rIe(e, t) {
+}, tIe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function nIe(e, t) {
return `${e}/${t}`;
}
-function iIe({ creators: e } = {}) {
- let t = e?.asyncThunk?.[nIe];
+function rIe({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[tIe];
return function(e) {
let { name: n, reducerPath: r = n } = e;
- if (!n) throw Error(YY(11));
- let i = (typeof e.reducers == "function" ? e.reducers(oIe()) : e.reducers) || {}, a = Object.keys(i), o = {
+ if (!n) throw Error(XY(11));
+ let i = (typeof e.reducers == "function" ? e.reducers(aIe()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -70104,8 +70119,8 @@ function iIe({ creators: e } = {}) {
}, s = {
addCase(e, t) {
let n = typeof e == "string" ? e : e.type;
- if (!n) throw Error(YY(12));
- if (n in o.sliceCaseReducersByType) throw Error(YY(13));
+ if (!n) throw Error(XY(12));
+ if (n in o.sliceCaseReducersByType) throw Error(XY(13));
return o.sliceCaseReducersByType[n] = t, s;
},
addMatcher(e, t) {
@@ -70124,17 +70139,17 @@ function iIe({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: rIe(n, r),
+ type: nIe(n, r),
createNotation: typeof e.reducers == "function"
};
- cIe(a) ? uIe(o, a, s, t) : sIe(o, a, s);
+ sIe(a) ? lIe(o, a, s, t) : oIe(o, a, s);
});
function c() {
- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? SY(e.extraReducers) : [e.extraReducers], i = {
+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? CY(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return $Fe(e.initialState, (e) => {
+ return QFe(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);
@@ -70151,12 +70166,12 @@ function iIe({ creators: e } = {}) {
function h(t, n = !1) {
function r(e) {
let i = e[t];
- return i === void 0 && n && (i = _Y(d, r, m)), i;
+ return i === void 0 && n && (i = vY(d, r, m)), i;
}
function i(t = l) {
- return _Y(_Y(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
+ return vY(vY(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = aIe(a, t, () => _Y(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = iIe(a, t, () => vY(d, t, m), n);
return r;
});
}
@@ -70190,15 +70205,15 @@ function iIe({ creators: e } = {}) {
return g;
};
}
-function aIe(e, t, n, r) {
+function iIe(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 CY = /* @__PURE__ */ iIe();
-function oIe() {
+var wY = /* @__PURE__ */ rIe();
+function aIe() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -70222,53 +70237,53 @@ function oIe() {
asyncThunk: e
};
}
-function sIe({ type: e, reducerName: t, createNotation: n }, r, i) {
+function oIe({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !lIe(r)) throw Error(YY(17));
+ if (n && !cIe(r)) throw Error(XY(17));
a = r.reducer, o = r.prepare;
} else a = r;
- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? mY(e, o) : mY(e));
+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? hY(e, o) : hY(e));
}
-function cIe(e) {
+function sIe(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function lIe(e) {
+function cIe(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function uIe({ type: e, reducerName: t }, n, r, i) {
- if (!i) throw Error(YY(18));
+function lIe({ type: e, reducerName: t }, n, r, i) {
+ if (!i) throw Error(XY(18));
let { payloadCreator: a, fulfilled: o, pending: s, rejected: c, settled: l, options: u } = n, d = i(e, a, u);
r.exposeAction(t, d), o && r.addCase(d.fulfilled, o), s && r.addCase(d.pending, s), c && r.addCase(d.rejected, c), l && r.addMatcher(d.settled, l), r.exposeCaseReducer(t, {
- fulfilled: o || wY,
- pending: s || wY,
- rejected: c || wY,
- settled: l || wY
+ fulfilled: o || TY,
+ pending: s || TY,
+ rejected: c || TY,
+ settled: l || TY
});
}
-function wY() {}
-var dIe = "task", TY = "listener", EY = "completed", DY = "cancelled", fIe = `task-${DY}`, pIe = `task-${EY}`, OY = `${TY}-${DY}`, mIe = `${TY}-${EY}`, kY = class {
+function TY() {}
+var uIe = "task", EY = "listener", DY = "completed", OY = "cancelled", dIe = `task-${OY}`, fIe = `task-${DY}`, kY = `${EY}-${OY}`, pIe = `${EY}-${DY}`, AY = class {
constructor(e) {
- this.code = e, this.message = `${dIe} ${DY} (reason: ${e})`;
+ this.code = e, this.message = `${uIe} ${OY} (reason: ${e})`;
}
code;
name = "TaskAbortError";
message;
-}, AY = (e, t) => {
- if (typeof e != "function") throw TypeError(YY(32));
-}, jY = () => {}, MY = (e, t = jY) => (e.catch(t), e), NY = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), PY = (e) => {
- if (e.aborted) throw new kY(e.reason);
+}, jY = (e, t) => {
+ if (typeof e != "function") throw TypeError(XY(32));
+}, MY = () => {}, NY = (e, t = MY) => (e.catch(t), e), PY = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), FY = (e) => {
+ if (e.aborted) throw new AY(e.reason);
};
-function FY(e, t) {
- let n = jY;
+function IY(e, t) {
+ let n = MY;
return new Promise((r, i) => {
- let a = () => i(new kY(e.reason));
- e.aborted ? a() : (n = NY(e, a), t.finally(() => n()).then(r, i));
+ let a = () => i(new AY(e.reason));
+ e.aborted ? a() : (n = PY(e, a), t.finally(() => n()).then(r, i));
}).finally(() => {
- n = jY;
+ n = MY;
});
}
-var hIe = async (e, t) => {
+var mIe = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -70276,40 +70291,40 @@ var hIe = async (e, t) => {
};
} catch (e) {
return {
- status: e instanceof kY ? "cancelled" : "rejected",
+ status: e instanceof AY ? "cancelled" : "rejected",
error: e
};
} finally {
t?.();
}
-}, IY = (e) => (t) => MY(FY(e, t).then((t) => (PY(e), t))), LY = (e) => {
- let t = IY(e);
+}, LY = (e) => (t) => NY(IY(e, t).then((t) => (FY(e), t))), RY = (e) => {
+ let t = LY(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: RY } = Object, zY = {}, BY = "listenerMiddleware", gIe = (e, t) => {
- let n = (t) => NY(e, () => t.abort(e.reason));
+}, { assign: zY } = Object, BY = {}, VY = "listenerMiddleware", hIe = (e, t) => {
+ let n = (t) => PY(e, () => t.abort(e.reason));
return (r, i) => {
- AY(r, "taskExecutor");
+ jY(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = hIe(async () => {
- PY(e), PY(a.signal);
+ let o = mIe(async () => {
+ FY(e), FY(a.signal);
let t = await r({
- pause: IY(a.signal),
- delay: LY(a.signal),
+ pause: LY(a.signal),
+ delay: RY(a.signal),
signal: a.signal
});
- return PY(a.signal), t;
- }, () => a.abort(pIe));
- return i?.autoJoin && t.push(o.catch(jY)), {
- result: IY(e)(o),
+ return FY(a.signal), t;
+ }, () => a.abort(fIe));
+ return i?.autoJoin && t.push(o.catch(MY)), {
+ result: LY(e)(o),
cancel() {
- a.abort(fIe);
+ a.abort(dIe);
}
};
};
-}, _Ie = (e, t) => {
+}, gIe = (e, t) => {
let n = async (n, r) => {
- PY(t);
+ FY(t);
let i = () => {}, a = [new Promise((t, r) => {
let a = e({
predicate: n,
@@ -70327,47 +70342,47 @@ var hIe = async (e, t) => {
})];
r != null && a.push(new Promise((e) => setTimeout(e, r, null)));
try {
- let e = await FY(t, Promise.race(a));
- return PY(t), e;
+ let e = await IY(t, Promise.race(a));
+ return FY(t), e;
} finally {
i();
}
};
- return ((e, t) => MY(n(e, t)));
-}, VY = (e) => {
+ return ((e, t) => NY(n(e, t)));
+}, HY = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
- if (t) i = mY(t).match;
+ if (t) i = hY(t).match;
else if (n) t = n.type, i = n.match;
else if (r) i = r;
- else if (!i) throw Error(YY(21));
- return AY(a, "options.listener"), {
+ else if (!i) throw Error(XY(21));
+ return jY(a, "options.listener"), {
predicate: i,
type: t,
effect: a
};
-}, HY = /* @__PURE__ */ RY((e) => {
- let { type: t, predicate: n, effect: r } = VY(e);
+}, UY = /* @__PURE__ */ zY((e) => {
+ let { type: t, predicate: n, effect: r } = HY(e);
return {
- id: tIe(),
+ id: eIe(),
effect: r,
type: t,
predicate: n,
pending: /* @__PURE__ */ new Set(),
unsubscribe: () => {
- throw Error(YY(22));
+ throw Error(XY(22));
}
};
-}, { withTypes: () => HY }), UY = (e, t) => {
- let { type: n, effect: r, predicate: i } = VY(t);
+}, { withTypes: () => UY }), WY = (e, t) => {
+ let { type: n, effect: r, predicate: i } = HY(t);
return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);
-}, WY = (e) => {
+}, GY = (e) => {
e.pending.forEach((e) => {
- e.abort(OY);
+ e.abort(kY);
});
-}, vIe = (e, t) => () => {
- for (let e of t.keys()) WY(e);
+}, _Ie = (e, t) => () => {
+ for (let e of t.keys()) GY(e);
e.clear();
-}, GY = (e, t, n) => {
+}, KY = (e, t, n) => {
try {
e(t, n);
} catch (e) {
@@ -70375,74 +70390,74 @@ var hIe = async (e, t) => {
throw e;
}, 0);
}
-}, KY = /* @__PURE__ */ RY(/* @__PURE__ */ mY(`${BY}/add`), { withTypes: () => KY }), yIe = /* @__PURE__ */ mY(`${BY}/removeAll`), qY = /* @__PURE__ */ RY(/* @__PURE__ */ mY(`${BY}/remove`), { withTypes: () => qY }), bIe = (...e) => {
- console.error(`${BY}/error`, ...e);
-}, JY = (e = {}) => {
+}, qY = /* @__PURE__ */ zY(/* @__PURE__ */ hY(`${VY}/add`), { withTypes: () => qY }), vIe = /* @__PURE__ */ hY(`${VY}/removeAll`), JY = /* @__PURE__ */ zY(/* @__PURE__ */ hY(`${VY}/remove`), { withTypes: () => JY }), yIe = (...e) => {
+ console.error(`${VY}/error`, ...e);
+}, YY = (e = {}) => {
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {
let t = n.get(e) ?? 0;
n.set(e, t + 1);
}, i = (e) => {
let t = n.get(e) ?? 1;
t === 1 ? n.delete(e) : n.set(e, t - 1);
- }, { extra: a, onError: o = bIe } = e;
- AY(o, "onError");
+ }, { extra: a, onError: o = yIe } = e;
+ jY(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
- e.unsubscribe(), t?.cancelActive && WY(e);
+ e.unsubscribe(), t?.cancelActive && GY(e);
}), c = ((e) => {
- let n = UY(t, e) ?? HY(e);
+ let n = WY(t, e) ?? UY(e);
return s(n);
});
- RY(c, { withTypes: () => c });
+ zY(c, { withTypes: () => c });
let l = (e) => {
- let n = UY(t, e);
- return n && (n.unsubscribe(), e.cancelActive && WY(n)), !!n;
+ let n = WY(t, e);
+ return n && (n.unsubscribe(), e.cancelActive && GY(n)), !!n;
};
- RY(l, { withTypes: () => l });
+ zY(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = _Ie(c, u.signal), f = [];
+ let u = new AbortController(), d = gIe(c, u.signal), f = [];
try {
- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, RY({}, s, {
+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, zY({}, s, {
getOriginalState: l,
condition: (e, t) => d(e, t).then(Boolean),
take: d,
- delay: LY(u.signal),
- pause: IY(u.signal),
+ delay: RY(u.signal),
+ pause: LY(u.signal),
extra: a,
signal: u.signal,
- fork: gIe(u.signal, f),
+ fork: hIe(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
},
cancelActiveListeners: () => {
e.pending.forEach((e, t, n) => {
- e !== u && (e.abort(OY), n.delete(e));
+ e !== u && (e.abort(kY), n.delete(e));
});
},
cancel: () => {
- u.abort(OY), e.pending.delete(u);
+ u.abort(kY), e.pending.delete(u);
},
throwIfCancelled: () => {
- PY(u.signal);
+ FY(u.signal);
}
})));
} catch (e) {
- e instanceof kY || GY(o, e, { raisedBy: "effect" });
+ e instanceof AY || KY(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(mIe), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(pIe), i(e), e.pending.delete(u);
}
- }, d = vIe(t, n);
+ }, d = _Ie(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!rJ(r)) return n(r);
- if (KY.match(r)) return c(r.payload);
- if (yIe.match(r)) {
+ if (!iJ(r)) return n(r);
+ if (qY.match(r)) return c(r.payload);
+ if (vIe.match(r)) {
d();
return;
}
- if (qY.match(r)) return l(r.payload);
+ if (JY.match(r)) return l(r.payload);
let i = e.getState(), a = () => {
- if (i === zY) throw Error(YY(23));
+ if (i === BY) throw Error(XY(23));
return i;
}, s;
try {
@@ -70453,13 +70468,13 @@ var hIe = async (e, t) => {
try {
s = t.predicate(r, n, i);
} catch (e) {
- s = !1, GY(o, e, { raisedBy: "predicate" });
+ s = !1, KY(o, e, { raisedBy: "predicate" });
}
s && u(t, r, e, a);
}
}
} finally {
- i = zY;
+ i = BY;
}
return s;
},
@@ -70468,12 +70483,12 @@ var hIe = async (e, t) => {
clearListeners: d
};
};
-function YY(e) {
+function XY(e) {
return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
//#endregion
//#region node_modules/recharts/es6/state/layoutSlice.js
-var XY = CY({
+var ZY = wY({
name: "chartLayout",
initialState: {
layoutType: "horizontal",
@@ -70501,23 +70516,23 @@ var XY = CY({
e.scale = t.payload;
}
}
-}), ZY = XY.actions, xIe = ZY.setMargin, SIe = ZY.setLayout, CIe = ZY.setChartSize, wIe = ZY.setScale, TIe = XY.reducer;
+}), QY = ZY.actions, bIe = QY.setMargin, xIe = QY.setLayout, SIe = QY.setChartSize, CIe = QY.setScale, wIe = ZY.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
-function QY(e, t, n) {
+function $Y(e, t, n) {
return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;
}
//#endregion
//#region node_modules/recharts/es6/util/isWellBehavedNumber.js
-function $Y(e) {
+function eX(e) {
return Number.isFinite(e);
}
-function eX(e) {
+function tX(e) {
return typeof e == "number" && e > 0 && Number.isFinite(e);
}
//#endregion
//#region node_modules/recharts/es6/util/ChartUtils.js
-function tX(e, t) {
+function nX(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -70527,30 +70542,30 @@ function tX(e, t) {
}
return n;
}
-function nX(e) {
+function rX(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? tX(Object(n), !0).forEach(function(t) {
- EIe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tX(Object(n)).forEach(function(t) {
+ t % 2 ? nX(Object(n), !0).forEach(function(t) {
+ TIe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nX(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function EIe(e, t, n) {
- return (t = DIe(t)) in e ? Object.defineProperty(e, t, {
+function TIe(e, t, n) {
+ return (t = EIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function DIe(e) {
- var t = OIe(e, "string");
+function EIe(e) {
+ var t = DIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function OIe(e, t) {
+function DIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70560,72 +70575,72 @@ function OIe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function rX(e, t, n) {
- return AG(e) || AG(t) ? n : wG(t) ? _G(e, t, n) : typeof t == "function" ? t(e) : n;
+function iX(e, t, n) {
+ return jG(e) || jG(t) ? n : TG(t) ? vG(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var kIe = (e, t, n) => {
+var OIe = (e, t, n) => {
if (t && n) {
var r = n.width, i = n.height, a = t.align, o = t.verticalAlign, s = t.layout, c = t.position, l = t.offset, u = l === void 0 ? 0 : l;
if (c != null) {
- if (RG(c)) {
- if (c === "top" && CG(e.top)) return nX(nX({}, e), {}, { top: e.top + (i || 0) + u });
- if (c === "bottom" && CG(e.bottom)) return nX(nX({}, e), {}, { bottom: e.bottom + (i || 0) + u });
- if (c === "left" && CG(e.left)) return nX(nX({}, e), {}, { left: e.left + (r || 0) + u });
- if (c === "right" && CG(e.right)) return nX(nX({}, e), {}, { right: e.right + (r || 0) + u });
+ if (zG(c)) {
+ if (c === "top" && wG(e.top)) return rX(rX({}, e), {}, { top: e.top + (i || 0) + u });
+ if (c === "bottom" && wG(e.bottom)) return rX(rX({}, e), {}, { bottom: e.bottom + (i || 0) + u });
+ if (c === "left" && wG(e.left)) return rX(rX({}, e), {}, { left: e.left + (r || 0) + u });
+ if (c === "right" && wG(e.right)) return rX(rX({}, e), {}, { right: e.right + (r || 0) + u });
}
return e;
}
- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && CG(e[a])) return nX(nX({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && CG(e[o])) return nX(nX({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && wG(e[a])) return rX(rX({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && wG(e[o])) return rX(rX({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
-}, iX = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", aX = (e, t, n, r) => {
+}, aX = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", oX = (e, t, n, r) => {
if (r) return e.map((e) => e.coordinate);
var i, a, o = e.map((e) => (e.coordinate === t && (i = !0), e.coordinate === n && (a = !0), e.coordinate));
return i || o.push(t), a || o.push(n), o;
-}, oX = (e, t, n) => {
+}, sX = (e, t, n) => {
if (!e) return null;
var r = e.duplicateDomain, i = e.type, a = e.range, o = e.scale, s = e.realScaleType, c = e.isCategorical, l = e.categoricalDomain, u = e.tickCount, d = e.ticks, f = e.niceTicks, p = e.axisType;
if (!o) return null;
var m = s === "scaleBand" && o.bandwidth ? o.bandwidth() / 2 : 2, h = (t || n) && i === "category" && o.bandwidth ? o.bandwidth() / m : 0;
- return h = p === "angleAxis" && a && a.length >= 2 ? bG(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? xG(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
var n = r ? r.indexOf(e) : e, i = o.map(n);
- return $Y(i) ? {
+ return eX(i) ? {
coordinate: i + h,
value: e,
offset: h,
index: t
} : null;
- }).filter(MG) : c && l ? l.map((e, t) => {
+ }).filter(NG) : c && l ? l.map((e, t) => {
var n = o.map(e);
- return $Y(n) ? {
+ return eX(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(MG) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(NG) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
- return $Y(n) ? {
+ return eX(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(MG) : o.domain().map((e, t) => {
+ }).filter(NG) : o.domain().map((e, t) => {
var n = o.map(e);
- return $Y(n) ? {
+ return eX(n) ? {
coordinate: n + h,
value: r ? r[e] : e,
index: t,
offset: h
} : null;
- }).filter(MG);
-}, sX = (e, t) => {
- if (!t || t.length !== 2 || !CG(t[0]) || !CG(t[1])) return e;
+ }).filter(NG);
+}, cX = (e, t) => {
+ if (!t || t.length !== 2 || !wG(t[0]) || !wG(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 (!CG(e[0]) || e[0] < n) && (i[0] = n), (!CG(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
-}, AIe = {
+ return (!wG(e[0]) || e[0] < n) && (i[0] = n), (!wG(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
+}, kIe = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -70633,16 +70648,16 @@ var kIe = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0, o = 0; o < t; ++o) {
var s = e[o]?.[r];
if (s != null) {
- var c = s[1], l = s[0], u = xG(c) ? l : c;
+ var c = s[1], l = s[0], u = SG(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
- expand: aPe,
- none: kK,
- silhouette: oPe,
- wiggle: sPe,
+ expand: iPe,
+ none: AK,
+ silhouette: aPe,
+ wiggle: oPe,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -70650,70 +70665,70 @@ var kIe = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0; a < t; ++a) {
var o = e[a]?.[r];
if (o != null) {
- var s = xG(o[1]) ? o[0] : o[1];
+ var s = SG(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
-}, jIe = (e, t, n) => {
- var r = AIe[n] ?? kK, i = iPe().keys(t).value((e, t) => Number(rX(e, t, 0))).order(AK).offset(r)(e);
+}, AIe = (e, t, n) => {
+ var r = kIe[n] ?? AK, i = rPe().keys(t).value((e, t) => Number(iX(e, t, 0))).order(jK).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
- var a = rX(e[i], t[r], 0);
- Array.isArray(a) && a.length === 2 && CG(a[0]) && CG(a[1]) && (n[0] = a[0], n[1] = a[1]);
+ var a = iX(e[i], t[r], 0);
+ Array.isArray(a) && a.length === 2 && wG(a[0]) && wG(a[1]) && (n[0] = a[0], n[1] = a[1]);
});
}), i;
};
-function cX(e) {
+function lX(e) {
return e == null ? void 0 : String(e);
}
-function lX(e) {
+function uX(e) {
var t = e.axis, n = e.ticks, r = e.bandSize, i = e.entry, a = e.index, o = e.dataKey;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !AG(i[t.dataKey])) {
- var s = kG(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !jG(i[t.dataKey])) {
+ var s = AG(n, "value", i[t.dataKey]);
if (s) return s.coordinate + r / 2;
}
return n != null && n[a] ? n[a].coordinate + r / 2 : null;
}
- var c = rX(i, AG(o) ? t.dataKey : o), l = t.scale.map(c);
- return CG(l) ? l : null;
+ var c = iX(i, jG(o) ? t.dataKey : o), l = t.scale.map(c);
+ return wG(l) ? l : null;
}
-var uX = (e) => {
+var dX = (e) => {
var t = e.axis, n = e.ticks, r = e.offset, i = e.bandSize, a = e.entry, o = e.index;
if (t.type === "category") return n[o] ? n[o].coordinate + r : null;
- var s = rX(a, t.dataKey, t.scale.domain()[o]);
- if (AG(s)) return null;
+ var s = iX(a, t.dataKey, t.scale.domain()[o]);
+ if (jG(s)) return null;
var c = t.scale.map(s);
- return CG(c) ? c - i / 2 + r : null;
-}, dX = (e) => {
+ return wG(c) ? c - i / 2 + r : null;
+}, fX = (e) => {
var t = e.numericAxis, n = t.scale.domain();
if (t.type === "number") {
var r = Math.min(n[0], n[1]), i = Math.max(n[0], n[1]);
return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;
}
return n[0];
-}, MIe = (e) => {
- var t = e.flat(2).filter(CG);
+}, jIe = (e) => {
+ var t = e.flat(2).filter(wG);
return [Math.min(...t), Math.max(...t)];
-}, NIe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], PIe = (e, t, n) => {
- if (e != null && Object.keys(e).length !== 0) return NIe(Object.keys(e).reduce((r, i) => {
+}, MIe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], NIe = (e, t, n) => {
+ if (e != null && Object.keys(e).length !== 0) return MIe(Object.keys(e).reduce((r, i) => {
var a = e[i];
if (!a) return r;
var o = a.stackedData.reduce((e, r) => {
- var i = MIe(QY(r, t, n));
- return !$Y(i[0]) || !$Y(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
+ var i = jIe($Y(r, t, n));
+ return !eX(i[0]) || !eX(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
}, [Infinity, -Infinity]);
return [Math.min(o[0], r[0]), Math.max(o[1], r[1])];
}, [Infinity, -Infinity]));
-}, fX = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, pX = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, mX = (e, t, n) => {
+}, pX = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, mX = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, hX = (e, t, n) => {
if (e && e.scale && e.scale.bandwidth) {
var r = e.scale.bandwidth();
if (!n || r > 0) return r;
}
if (e && t && t.length >= 2) {
- for (var i = Hq(t, (e) => e.coordinate), a = [], o = 0, s = 1, c = i.length; s < c; s++) {
+ for (var i = Uq(t, (e) => e.coordinate), a = [], o = 0, s = 1, c = i.length; s < c; s++) {
var l = (i[s]?.coordinate || 0) - (i[s - 1]?.coordinate || 0);
a.push(l), o = Math.max(l, o);
}
@@ -70723,26 +70738,26 @@ var uX = (e) => {
}
return n ? void 0 : 0;
};
-function hX(e) {
+function gX(e) {
var t = e.tooltipEntrySettings, n = e.dataKey, r = e.payload, i = e.value, a = e.name;
- return nX(nX({}, t), {}, {
+ return rX(rX({}, t), {}, {
dataKey: n,
payload: r,
value: i,
name: a
});
}
-function gX(e, t) {
+function _X(e, t) {
if (e != null) return String(e);
if (typeof t == "string") return t;
}
-var FIe = (e, t) => {
+var PIe = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, IIe = (e, t) => t === "centric" ? e.angle : e.radius, _X = (e) => e.layout.width, vX = (e) => e.layout.height, LIe = (e) => e.layout.scale, yX = (e) => e.layout.margin, bX = Y((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), xX = Y((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), RIe = "data-recharts-item-index";
+}, FIe = (e, t) => t === "centric" ? e.angle : e.radius, vX = (e) => e.layout.width, yX = (e) => e.layout.height, IIe = (e) => e.layout.scale, bX = (e) => e.layout.margin, xX = Y((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), SX = Y((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), LIe = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
-function SX(e, t) {
+function CX(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -70752,30 +70767,30 @@ function SX(e, t) {
}
return n;
}
-function CX(e) {
+function wX(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? SX(Object(n), !0).forEach(function(t) {
- zIe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : SX(Object(n)).forEach(function(t) {
+ t % 2 ? CX(Object(n), !0).forEach(function(t) {
+ RIe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : CX(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function zIe(e, t, n) {
- return (t = BIe(t)) in e ? Object.defineProperty(e, t, {
+function RIe(e, t, n) {
+ return (t = zIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function BIe(e) {
- var t = VIe(e, "string");
+function zIe(e) {
+ var t = BIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function VIe(e, t) {
+function BIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70785,67 +70800,67 @@ function VIe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var HIe = (e) => e.brush.height;
+var VIe = (e) => e.brush.height;
+function HIe(e) {
+ return SX(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+}
function UIe(e) {
- return xX(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+ return SX(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
function WIe(e) {
- return xX(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+ return xX(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
}
function GIe(e) {
- return bX(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
+ return xX(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
}
-function KIe(e) {
- return bX(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
-}
-var wX = Y([
- _X,
+var TX = Y([
vX,
yX,
+ bX,
+ VIe,
HIe,
UIe,
WIe,
GIe,
- KIe,
- Uq,
- bFe
+ Wq,
+ yFe
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
right: (n.right || 0) + a
- }, d = CX(CX({}, {
+ }, d = wX(wX({}, {
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = kIe(d, c, l);
+ d.bottom += r, d = OIe(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
- return CX(CX({ brushBottom: f }, d), {}, {
+ return wX(wX({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), TX = Y(wX, (e) => ({
+}), EX = Y(TX, (e) => ({
x: e.left,
y: e.top,
width: e.width,
height: e.height
-})), EX = Y(_X, vX, (e, t) => ({
+})), DX = Y(vX, yX, (e, t) => ({
x: 0,
y: 0,
width: e,
height: t
-})), qIe = /*#__PURE__*/ (0, b.createContext)(null), DX = () => (0, b.useContext)(qIe) != null, OX = (e) => e.brush, kX = Y([
- OX,
- wX,
- yX
+})), KIe = /*#__PURE__*/ (0, b.createContext)(null), OX = () => (0, b.useContext)(KIe) != null, kX = (e) => e.brush, AX = Y([
+ kX,
+ TX,
+ bX
], (e, t, n) => ({
height: e.height,
- x: CG(e.x) ? e.x : t.left,
- y: CG(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),
- width: CG(e.width) ? e.width : t.width
+ x: wG(e.x) ? e.x : t.left,
+ y: wG(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),
+ width: wG(e.width) ? e.width : t.width
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function JIe(e, t, { signal: n, edges: r } = {}) {
+function qIe(e, t, { signal: n, edges: r } = {}) {
let i, a = null, o = r != null && r.includes("leading"), s = r == null || r.includes("trailing"), c = () => {
a !== null && (e.apply(i, a), i = void 0, a = null);
}, l = () => {
@@ -70870,11 +70885,11 @@ function JIe(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function YIe(e, t = 0, n = {}) {
+function JIe(e, t = 0, n = {}) {
typeof n != "object" && (n = {});
let { leading: r = !1, trailing: i = !0, maxWait: a } = n, o = [, ,];
r && (o[0] = "leading"), i && (o[1] = "trailing");
- let s, c = null, l = JIe(function(...t) {
+ let s, c = null, l = qIe(function(...t) {
s = e.apply(this, t), c = null;
}, t, { edges: o }), u = function(...t) {
return a != null && (c === null && (c = Date.now()), Date.now() - c >= a) ? ((r || i) && (s = e.apply(this, t)), c = Date.now(), l.cancel(), l.schedule(), s) : (l.apply(this, t), s);
@@ -70883,9 +70898,9 @@ function YIe(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function XIe(e, t = 0, n = {}) {
+function YIe(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return YIe(e, t, {
+ return JIe(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -70893,7 +70908,7 @@ function XIe(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/recharts/es6/util/LogUtils.js
-var AX = function(e, t) {
+var jX = function(e, t) {
var n = [...arguments].slice(2);
if (typeof console < "u" && console.warn && (t === void 0 && console.warn("LogUtils requires an error message argument"), !e)) {
if (t === void 0) console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
@@ -70902,7 +70917,7 @@ var AX = function(e, t) {
console.warn(t.replace(/%s/g, () => n[r++]));
}
}
-}, jX = {
+}, MX = {
width: "100%",
height: "100%",
debounce: 0,
@@ -70911,36 +70926,36 @@ var AX = function(e, t) {
width: -1,
height: -1
}
-}, MX = (e, t, n) => {
- var r = n.width, i = r === void 0 ? jX.width : r, a = n.height, o = a === void 0 ? jX.height : a, s = n.aspect, c = n.maxHeight, l = SG(i) ? e : Number(i), u = SG(o) ? t : Number(o);
+}, NX = (e, t, n) => {
+ var r = n.width, i = r === void 0 ? MX.width : r, a = n.height, o = a === void 0 ? MX.height : a, s = n.aspect, c = n.maxHeight, l = CG(i) ? e : Number(i), u = CG(o) ? t : Number(o);
return s && s > 0 && (l ? u = l / s : u && (l = u * s), c && u != null && u > c && (u = c)), {
calculatedWidth: l,
calculatedHeight: u
};
-}, ZIe = {
+}, XIe = {
width: 0,
height: 0,
overflow: "visible"
-}, QIe = {
+}, ZIe = {
width: 0,
overflowX: "visible"
-}, $Ie = {
+}, QIe = {
height: 0,
overflowY: "visible"
-}, eLe = {}, tLe = (e) => {
- var t = e.width, n = e.height, r = SG(t), i = SG(n);
- return r && i ? ZIe : r ? QIe : i ? $Ie : eLe;
+}, $Ie = {}, eLe = (e) => {
+ var t = e.width, n = e.height, r = CG(t), i = CG(n);
+ return r && i ? XIe : r ? ZIe : i ? QIe : $Ie;
};
-function nLe(e) {
+function tLe(e) {
var t = e.width, n = e.height, r = e.aspect, i = t, a = n;
- return i === void 0 && a === void 0 ? (i = jX.width, a = jX.height) : i === void 0 ? i = r && r > 0 ? void 0 : jX.width : a === void 0 && (a = r && r > 0 ? void 0 : jX.height), {
+ return i === void 0 && a === void 0 ? (i = MX.width, a = MX.height) : i === void 0 ? i = r && r > 0 ? void 0 : MX.width : a === void 0 && (a = r && r > 0 ? void 0 : MX.height), {
width: i,
height: a
};
}
//#endregion
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
-var rLe = [
+var nLe = [
"aspect",
"initialDimension",
"width",
@@ -70955,16 +70970,16 @@ var rLe = [
"onResize",
"style"
];
-function NX() {
- return NX = Object.assign ? Object.assign.bind() : function(e) {
+function PX() {
+ return PX = 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;
- }, NX.apply(null, arguments);
+ }, PX.apply(null, arguments);
}
-function PX(e, t) {
+function FX(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -70974,30 +70989,30 @@ function PX(e, t) {
}
return n;
}
-function FX(e) {
+function IX(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? PX(Object(n), !0).forEach(function(t) {
- iLe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PX(Object(n)).forEach(function(t) {
+ t % 2 ? FX(Object(n), !0).forEach(function(t) {
+ rLe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : FX(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function iLe(e, t, n) {
- return (t = aLe(t)) in e ? Object.defineProperty(e, t, {
+function rLe(e, t, n) {
+ return (t = iLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function aLe(e) {
- var t = oLe(e, "string");
+function iLe(e) {
+ var t = aLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oLe(e, t) {
+function aLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -71007,25 +71022,25 @@ function oLe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function sLe(e, t) {
- return dLe(e) || uLe(e, t) || lLe(e, t) || cLe();
+function oLe(e, t) {
+ return uLe(e) || lLe(e, t) || cLe(e, t) || sLe();
}
-function cLe() {
+function sLe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function lLe(e, t) {
+function cLe(e, t) {
if (e) {
- if (typeof e == "string") return IX(e, t);
+ if (typeof e == "string") return LX(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? IX(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? LX(e, t) : void 0;
}
}
-function IX(e, t) {
+function LX(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function uLe(e, t) {
+function lLe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -71046,19 +71061,19 @@ function uLe(e, t) {
return s;
}
}
-function dLe(e) {
+function uLe(e) {
if (Array.isArray(e)) return e;
}
-function fLe(e, t) {
+function dLe(e, t) {
if (e == null) return {};
- var n, r, i = pLe(e, t);
+ var n, r, i = fLe(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 pLe(e, t) {
+function fLe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -71067,21 +71082,21 @@ function pLe(e, t) {
}
return n;
}
-var LX = /*#__PURE__*/ (0, b.createContext)(jX.initialDimension);
-function mLe(e) {
- return eX(e.width) && eX(e.height);
+var RX = /*#__PURE__*/ (0, b.createContext)(MX.initialDimension);
+function pLe(e) {
+ return tX(e.width) && tX(e.height);
}
-function RX(e) {
+function zX(e) {
var t = e.children, n = e.width, r = e.height, i = (0, b.useMemo)(() => ({
width: n,
height: r
}), [n, r]);
- return mLe(i) ? /*#__PURE__*/ b.createElement(LX.Provider, { value: i }, t) : null;
+ return pLe(i) ? /*#__PURE__*/ b.createElement(RX.Provider, { value: i }, t) : null;
}
-var zX = () => (0, b.useContext)(LX), hLe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.aspect, r = e.initialDimension, i = r === void 0 ? jX.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? jX.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? jX.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = fLe(e, rLe), x = (0, b.useRef)(null), S = (0, b.useRef)();
+var BX = () => (0, b.useContext)(RX), mLe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.aspect, r = e.initialDimension, i = r === void 0 ? MX.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? MX.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? MX.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = dLe(e, nLe), x = (0, b.useRef)(null), S = (0, b.useRef)();
S.current = g, (0, b.useImperativeHandle)(t, () => x.current);
- var C = sLe((0, b.useState)({
+ var C = oLe((0, b.useState)({
containerWidth: i.width,
containerHeight: i.height
}), 2), w = C[0], T = C[1], E = (0, b.useCallback)((e, t) => {
@@ -71094,7 +71109,7 @@ var zX = () => (0, b.useContext)(LX), hLe = /*#__PURE__*/ (0, b.forwardRef)((e,
});
}, []);
(0, b.useEffect)(() => {
- if (x.current == null || typeof ResizeObserver > "u") return NG;
+ if (x.current == null || typeof ResizeObserver > "u") return PG;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -71102,7 +71117,7 @@ var zX = () => (0, b.useContext)(LX), hLe = /*#__PURE__*/ (0, b.forwardRef)((e,
E(i, a), (t = S.current) == null || t.call(S, i, a);
}
};
- p > 0 && (e = XIe(e, p, {
+ p > 0 && (e = YIe(e, p, {
trailing: !0,
leading: !1
}));
@@ -71112,17 +71127,17 @@ var zX = () => (0, b.useContext)(LX), hLe = /*#__PURE__*/ (0, b.forwardRef)((e,
};
}, [E, p]);
var D = w.containerWidth, O = w.containerHeight;
- AX(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
- var k = MX(D, O, {
+ jX(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
+ var k = NX(D, O, {
width: a,
height: o,
aspect: n,
maxHeight: u
}), A = k.calculatedWidth, j = k.calculatedHeight;
- return AX(D < 0 || O < 0 || A != null && A > 0 || j != null && j > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", A, j, a, o, c, l, n), /*#__PURE__*/ b.createElement("div", NX({
+ return jX(D < 0 || O < 0 || A != null && A > 0 || j != null && j > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", A, j, a, o, c, l, n), /*#__PURE__*/ b.createElement("div", PX({
id: m ? `${m}` : void 0,
className: Cv("recharts-responsive-container", h),
- style: FX(FX({}, v), {}, {
+ style: IX(IX({}, v), {}, {
width: a,
height: o,
minWidth: c,
@@ -71130,43 +71145,43 @@ var zX = () => (0, b.useContext)(LX), hLe = /*#__PURE__*/ (0, b.forwardRef)((e,
maxHeight: u
}),
ref: x
- }, y), /*#__PURE__*/ b.createElement("div", { style: tLe({
+ }, y), /*#__PURE__*/ b.createElement("div", { style: eLe({
width: a,
height: o
- }) }, /*#__PURE__*/ b.createElement(RX, {
+ }) }, /*#__PURE__*/ b.createElement(zX, {
width: A,
height: j
}, d)));
-}), BX = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = zX();
- if (eX(n.width) && eX(n.height)) return e.children;
- var r = nLe({
+}), VX = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = BX();
+ if (tX(n.width) && tX(n.height)) return e.children;
+ var r = tLe({
width: e.width,
height: e.height,
aspect: e.aspect
- }), i = r.width, a = r.height, o = MX(void 0, void 0, {
+ }), i = r.width, a = r.height, o = NX(void 0, void 0, {
width: i,
height: a,
aspect: e.aspect,
maxHeight: e.maxHeight
}), s = o.calculatedWidth, c = o.calculatedHeight;
- return CG(s) && CG(c) ? /*#__PURE__*/ b.createElement(RX, {
+ return wG(s) && wG(c) ? /*#__PURE__*/ b.createElement(zX, {
width: s,
height: c
- }, e.children) : /*#__PURE__*/ b.createElement(hLe, NX({}, e, {
+ }, e.children) : /*#__PURE__*/ b.createElement(mLe, PX({}, e, {
width: i,
height: a,
ref: t
}));
-}), VX = () => {
- var e = DX(), t = J(TX), n = J(kX), r = J(OX)?.padding;
+}), HX = () => {
+ var e = OX(), t = J(EX), n = J(AX), r = J(kX)?.padding;
return !e || !n || !r ? t : {
width: n.width - r.left - r.right,
height: n.height - r.top - r.bottom,
x: r.left,
y: r.top
};
-}, gLe = {
+}, hLe = {
top: 0,
bottom: 0,
left: 0,
@@ -71174,16 +71189,16 @@ var zX = () => (0, b.useContext)(LX), hLe = /*#__PURE__*/ (0, b.forwardRef)((e,
width: 0,
height: 0,
brushBottom: 0
-}, HX = () => J(wX) ?? gLe, UX = () => J(_X), WX = () => J(vX), _Le = () => J((e) => e.layout.margin), GX = (e) => e.layout.layoutType, KX = () => J(GX), qX = () => {
- var e = KX();
+}, UX = () => J(TX) ?? hLe, WX = () => J(vX), GX = () => J(yX), gLe = () => J((e) => e.layout.margin), KX = (e) => e.layout.layoutType, qX = () => J(KX), JX = () => {
+ var e = qX();
if (e === "horizontal" || e === "vertical") return e;
-}, JX = (e) => {
+}, YX = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, YX = () => J(JX), vLe = () => KX() !== void 0, XX = (e) => {
- var t = Nq(), n = DX(), r = e.width, i = e.height, a = zX(), o = r, s = i;
+}, XX = () => J(YX), _Le = () => qX() !== void 0, ZX = (e) => {
+ var t = Pq(), n = OX(), r = e.width, i = e.height, a = BX(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, b.useEffect)(() => {
- !n && eX(o) && eX(s) && t(CIe({
+ !n && tX(o) && tX(s) && t(SIe({
width: o,
height: s
}));
@@ -71193,7 +71208,7 @@ var zX = () => (0, b.useContext)(LX), hLe = /*#__PURE__*/ (0, b.forwardRef)((e,
o,
s
]), null;
-}, ZX = CY({
+}, QX = wY({
name: "legend",
initialState: {
settings: {
@@ -71219,43 +71234,43 @@ var zX = () => (0, b.useContext)(LX), hLe = /*#__PURE__*/ (0, b.forwardRef)((e,
},
addLegendPayload: {
reducer(e, t) {
- e.payload.push(fY(t.payload));
+ e.payload.push(pY(t.payload));
},
- prepare: yY()
+ prepare: bY()
},
replaceLegendPayload: {
reducer(e, t) {
- var n = t.payload, r = n.prev, i = n.next, a = lY(e).payload.indexOf(fY(r));
- a > -1 && (e.payload[a] = fY(i));
+ var n = t.payload, r = n.prev, i = n.next, a = uY(e).payload.indexOf(pY(r));
+ a > -1 && (e.payload[a] = pY(i));
},
- prepare: yY()
+ prepare: bY()
},
removeLegendPayload: {
reducer(e, t) {
- var n = lY(e).payload.indexOf(fY(t.payload));
+ var n = uY(e).payload.indexOf(pY(t.payload));
n > -1 && e.payload.splice(n, 1);
},
- prepare: yY()
+ prepare: bY()
}
}
-}), QX = ZX.actions, $X = QX.setLegendSize, yLe = QX.setLegendSettings, eZ = QX.addLegendPayload, tZ = QX.replaceLegendPayload, nZ = QX.removeLegendPayload, bLe = ZX.reducer, xLe = /* @__PURE__ */ o(((e) => {
+}), $X = QX.actions, eZ = $X.setLegendSize, vLe = $X.setLegendSettings, tZ = $X.addLegendPayload, nZ = $X.replaceLegendPayload, rZ = $X.removeLegendPayload, yLe = QX.reducer, bLe = /* @__PURE__ */ o(((e) => {
var t = d();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
(/* @__PURE__ */ o(((e, t) => {
- t.exports = xLe();
+ t.exports = bLe();
})))();
-function SLe(e) {
+function xLe(e) {
e();
}
-function CLe() {
+function SLe() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- SLe(() => {
+ xLe(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -71277,12 +71292,12 @@ function CLe() {
}
};
}
-var rZ = {
+var iZ = {
notify() {},
get: () => []
};
-function wLe(e, t) {
- let n, r = rZ, i = 0, a = !1;
+function CLe(e, t) {
+ let n, r = iZ, i = 0, a = !1;
function o(e) {
u();
let t = r.subscribe(e), n = !1;
@@ -71300,10 +71315,10 @@ function wLe(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = CLe());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = SLe());
}
function d() {
- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = rZ);
+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = iZ);
}
function f() {
a || (a = !0, u());
@@ -71322,44 +71337,44 @@ function wLe(e, t) {
};
return m;
}
-var TLe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, ELe = typeof navigator < "u" && navigator.product === "ReactNative", DLe = TLe || ELe ? b.useLayoutEffect : b.useEffect;
-function iZ(e, t) {
+var wLe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, TLe = typeof navigator < "u" && navigator.product === "ReactNative", ELe = wLe || TLe ? b.useLayoutEffect : b.useEffect;
+function aZ(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function OLe(e, t) {
- if (iZ(e, t)) return !0;
+function DLe(e, t) {
+ if (aZ(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
let n = Object.keys(e), r = Object.keys(t);
if (n.length !== r.length) return !1;
- for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !iZ(e[n[r]], t[n[r]])) return !1;
+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !aZ(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var kLe = /* @__PURE__ */ Symbol.for("react-redux-context"), ALe = typeof globalThis < "u" ? globalThis : {};
-function jLe() {
+var OLe = /* @__PURE__ */ Symbol.for("react-redux-context"), kLe = typeof globalThis < "u" ? globalThis : {};
+function ALe() {
if (!b.createContext) return {};
- let e = ALe[kLe] ??= /* @__PURE__ */ new Map(), t = e.get(b.createContext);
+ let e = kLe[OLe] ??= /* @__PURE__ */ new Map(), t = e.get(b.createContext);
return t || (t = b.createContext(null), e.set(b.createContext, t)), t;
}
-var MLe = /* @__PURE__ */ jLe();
-function NLe(e) {
+var jLe = /* @__PURE__ */ ALe();
+function MLe(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = b.useMemo(() => {
- let e = wLe(i);
+ let e = CLe(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = b.useMemo(() => i.getState(), [i]);
- DLe(() => {
+ ELe(() => {
let { subscription: e } = a;
return e.onStateChange = e.notifyNestedSubs, e.trySubscribe(), o !== i.getState() && e.notifyNestedSubs(), () => {
e.tryUnsubscribe(), e.onStateChange = void 0;
};
}, [a, o]);
- let s = n || MLe;
+ let s = n || jLe;
return /* @__PURE__ */ b.createElement(s.Provider, { value: a }, t);
}
-var PLe = NLe, FLe = /* @__PURE__ */ new Set([
+var NLe = MLe, PLe = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -71382,22 +71397,22 @@ var PLe = NLe, FLe = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function ILe(e, t) {
+function FLe(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
-function aZ(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (FLe.has(n)) {
+function oZ(e, t) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (PLe.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!OLe(e[n], t[n])) return !1;
- } else if (!ILe(e[n], t[n])) return !1;
+ if (!DLe(e[n], t[n])) return !1;
+ } else if (!FLe(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectLegendArea.js
-var LLe = Y([
- _X,
+var ILe = Y([
vX,
- yX
+ yX,
+ bX
], (e, t, n) => ({
x: n.left || 0,
y: n.top || 0,
@@ -71406,7 +71421,7 @@ var LLe = Y([
}));
//#endregion
//#region node_modules/recharts/es6/cartesian/cartesianPositionToCSSTranslate.js
-function RLe(e, t) {
+function LLe(e, t) {
return e === "start" && t === "start" ? "" : `translate(${e === "inherit" ? "0" : {
start: "0",
middle: "-50%",
@@ -71419,35 +71434,35 @@ function RLe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var zLe = ["contextPayload"];
-function oZ() {
- return oZ = Object.assign ? Object.assign.bind() : function(e) {
+var RLe = ["contextPayload"];
+function sZ() {
+ return sZ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, oZ.apply(null, arguments);
+ }, sZ.apply(null, arguments);
}
-function BLe(e, t) {
- return WLe(e) || ULe(e, t) || HLe(e, t) || VLe();
+function zLe(e, t) {
+ return ULe(e) || HLe(e, t) || VLe(e, t) || BLe();
}
-function VLe() {
+function BLe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function HLe(e, t) {
+function VLe(e, t) {
if (e) {
- if (typeof e == "string") return sZ(e, t);
+ if (typeof e == "string") return cZ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? sZ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? cZ(e, t) : void 0;
}
}
-function sZ(e, t) {
+function cZ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function ULe(e, t) {
+function HLe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -71468,10 +71483,10 @@ function ULe(e, t) {
return s;
}
}
-function WLe(e) {
+function ULe(e) {
if (Array.isArray(e)) return e;
}
-function cZ(e, t) {
+function lZ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -71481,30 +71496,30 @@ function cZ(e, t) {
}
return n;
}
-function lZ(e) {
+function uZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? cZ(Object(n), !0).forEach(function(t) {
- GLe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cZ(Object(n)).forEach(function(t) {
+ t % 2 ? lZ(Object(n), !0).forEach(function(t) {
+ WLe(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 GLe(e, t, n) {
- return (t = KLe(t)) in e ? Object.defineProperty(e, t, {
+function WLe(e, t, n) {
+ return (t = GLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function KLe(e) {
- var t = qLe(e, "string");
+function GLe(e) {
+ var t = KLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qLe(e, t) {
+function KLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -71514,16 +71529,16 @@ function qLe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function JLe(e, t) {
+function qLe(e, t) {
if (e == null) return {};
- var n, r, i = YLe(e, t);
+ var n, r, i = JLe(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 YLe(e, t) {
+function JLe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -71532,30 +71547,30 @@ function YLe(e, t) {
}
return n;
}
-function XLe(e) {
+function YLe(e) {
return e.value;
}
-function ZLe(e) {
- var t = e.contextPayload, n = JLe(e, zLe), r = jq(t, e.payloadUniqBy, XLe), i = lZ(lZ({}, n), {}, { payload: r });
- return /*#__PURE__*/ b.isValidElement(e.content) ? /*#__PURE__*/ b.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ b.createElement(e.content, i) : /*#__PURE__*/ b.createElement(APe, i);
+function XLe(e) {
+ var t = e.contextPayload, n = qLe(e, RLe), r = Mq(t, e.payloadUniqBy, YLe), i = uZ(uZ({}, n), {}, { payload: r });
+ return /*#__PURE__*/ b.isValidElement(e.content) ? /*#__PURE__*/ b.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ b.createElement(e.content, i) : /*#__PURE__*/ b.createElement(kPe, i);
}
-function QLe(e) {
+function ZLe(e) {
return e === "left" || e === "right" || e === "insideLeft" || e === "insideRight" ? "vertical" : "horizontal";
}
-function $Le(e, t) {
- return t == null ? null : RG(t) ? LLe(e) : TX(e);
+function QLe(e, t) {
+ return t == null ? null : zG(t) ? ILe(e) : EX(e);
}
-function eRe(e, t, n) {
+function $Le(e, t, n) {
return e === "top" ? { top: n.height + t } : e === "bottom" ? { top: -n.height - t } : e === "left" ? { left: n.width + t } : e === "right" ? { left: -n.width - t } : {};
}
-function tRe(e, t, n, r, i, a) {
+function eRe(e, t, n, r, i, a) {
var o = t.layout, s = t.align, c = t.verticalAlign, l, u;
- return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), lZ(lZ({}, l), u);
+ return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), uZ(uZ({}, l), u);
}
-function nRe(e) {
- var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = Nq();
+function tRe(e) {
+ var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = Pq();
return (0, b.useLayoutEffect)(() => {
- s(yLe({
+ s(vLe({
align: t,
layout: n,
verticalAlign: r,
@@ -71573,10 +71588,10 @@ function nRe(e) {
o
]), null;
}
-function rRe(e) {
- var t = e.width, n = e.height, r = Nq();
+function nRe(e) {
+ var t = e.width, n = e.height, r = Pq();
return (0, b.useLayoutEffect)(() => {
- r($X({
+ r(eZ({
width: t,
height: n
}));
@@ -71585,16 +71600,16 @@ function rRe(e) {
t,
n
]), (0, b.useLayoutEffect)(() => () => {
- r($X({
+ r(eZ({
width: 0,
height: 0
}));
}, [r]), null;
}
-function iRe(e, t, n, r) {
+function rRe(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var aRe = {
+var iRe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -71604,10 +71619,10 @@ var aRe = {
verticalAlign: "bottom",
offset: 0
};
-function oRe(e) {
- var t = BK(e, aRe), n = e.layout && e.layout !== "auto" ? e.layout : QLe(t.position), r = SFe(), i = kNe(), a = _Le(), o = J((e) => $Le(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || RG(t.position)), f = BLe(Jq([r]), 2), p = f[0], m = f[1], h = UX(), g = WX();
+function aRe(e) {
+ var t = VK(e, iRe), n = e.layout && e.layout !== "auto" ? e.layout : ZLe(t.position), r = xFe(), i = ONe(), a = gLe(), o = J((e) => QLe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || zG(t.position)), f = zLe(Yq([r]), 2), p = f[0], m = f[1], h = WX(), g = GX();
if (h == null || g == null || t.position != null && o == null) return null;
- var _ = iRe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : LG({
+ var _ = rRe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : RG({
viewBox: o ?? {
x: 0,
y: 0,
@@ -71616,7 +71631,7 @@ function oRe(e) {
},
position: t.position,
offset: t.offset ?? 0
- }), y = eRe(t.position, t.offset ?? 0, p), x = n === "vertical" ? (o?.width ?? 0) / 2 : o?.width ?? 0, S = n === "horizontal" ? (o?.height ?? 0) / 2 : o?.height ?? 0, C = v ? {
+ }), y = $Le(t.position, t.offset ?? 0, p), x = n === "vertical" ? (o?.width ?? 0) / 2 : o?.width ?? 0, S = n === "horizontal" ? (o?.height ?? 0) / 2 : o?.height ?? 0, C = v ? {
width: "max-content",
height: "max-content",
maxWidth: x,
@@ -71624,8 +71639,8 @@ function oRe(e) {
overflowY: "auto",
top: v.y + (y.top ?? 0),
left: v.x + (y.left ?? 0),
- transform: RLe(v.horizontalAnchor, v.verticalAnchor)
- } : tRe(l, t, a, h, g, p), w = u ? l : lZ(lZ({
+ transform: LLe(v.horizontalAnchor, v.verticalAnchor)
+ } : eRe(l, t, a, h, g, p), w = u ? l : uZ(uZ({
position: "absolute",
width: _?.width || s || "auto",
height: _?.height || c || "auto"
@@ -71635,14 +71650,14 @@ function oRe(e) {
className: "recharts-legend-wrapper",
style: w,
ref: m
- }, /*#__PURE__*/ b.createElement(nRe, {
+ }, /*#__PURE__*/ b.createElement(tRe, {
layout: n,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter,
position: t.position,
offset: t.offset
- }), d && /*#__PURE__*/ b.createElement(rRe, p), /*#__PURE__*/ b.createElement(ZLe, oZ({}, t, { layout: n }, _, {
+ }), d && /*#__PURE__*/ b.createElement(nRe, p), /*#__PURE__*/ b.createElement(XLe, sZ({}, t, { layout: n }, _, {
margin: a,
chartWidth: h,
chartHeight: g,
@@ -71650,20 +71665,20 @@ function oRe(e) {
})));
return /*#__PURE__*/ (0, mt.createPortal)(E, T);
}
-var uZ = /*#__PURE__*/ b.memo(oRe, aZ);
-uZ.displayName = "Legend";
+var dZ = /*#__PURE__*/ b.memo(aRe, oZ);
+dZ.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
-function dZ() {
- return dZ = Object.assign ? Object.assign.bind() : function(e) {
+function fZ() {
+ return fZ = 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;
- }, dZ.apply(null, arguments);
+ }, fZ.apply(null, arguments);
}
-function fZ(e, t) {
+function pZ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -71673,30 +71688,30 @@ function fZ(e, t) {
}
return n;
}
-function pZ(e) {
+function mZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? fZ(Object(n), !0).forEach(function(t) {
- sRe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fZ(Object(n)).forEach(function(t) {
+ t % 2 ? pZ(Object(n), !0).forEach(function(t) {
+ oRe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function sRe(e, t, n) {
- return (t = cRe(t)) in e ? Object.defineProperty(e, t, {
+function oRe(e, t, n) {
+ return (t = sRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function cRe(e) {
- var t = lRe(e, "string");
+function sRe(e) {
+ var t = cRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function lRe(e, t) {
+function cRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -71706,25 +71721,25 @@ function lRe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function uRe(e, t) {
- return mRe(e) || pRe(e, t) || fRe(e, t) || dRe();
+function lRe(e, t) {
+ return pRe(e) || fRe(e, t) || dRe(e, t) || uRe();
}
-function dRe() {
+function uRe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function fRe(e, t) {
+function dRe(e, t) {
if (e) {
- if (typeof e == "string") return mZ(e, t);
+ if (typeof e == "string") return hZ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? mZ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? hZ(e, t) : void 0;
}
}
-function mZ(e, t) {
+function hZ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function pRe(e, t) {
+function fRe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -71745,13 +71760,13 @@ function pRe(e, t) {
return s;
}
}
-function mRe(e) {
+function pRe(e) {
if (Array.isArray(e)) return e;
}
-function hRe(e) {
- return Array.isArray(e) && wG(e[0]) && wG(e[1]) ? e.join(" ~ ") : e;
+function mRe(e) {
+ return Array.isArray(e) && TG(e[0]) && TG(e[1]) ? e.join(" ~ ") : e;
}
-var hZ = {
+var gZ = {
separator: " : ",
contentStyle: {
margin: 0,
@@ -71769,32 +71784,32 @@ var hZ = {
labelStyle: {},
accessibilityLayer: !1
};
-function gRe(e, t) {
- return t == null ? e : Hq(e, t);
+function hRe(e, t) {
+ return t == null ? e : Uq(e, t);
}
-var _Re = (e) => {
- var t = e.separator, n = t === void 0 ? hZ.separator : t, r = e.contentStyle, i = e.itemStyle, a = e.labelStyle, o = a === void 0 ? hZ.labelStyle : a, s = e.payload, c = e.formatter, l = e.itemSorter, u = e.wrapperClassName, d = e.labelClassName, f = e.label, p = e.labelFormatter, m = e.accessibilityLayer, h = m === void 0 ? hZ.accessibilityLayer : m, g = () => {
+var gRe = (e) => {
+ var t = e.separator, n = t === void 0 ? gZ.separator : t, r = e.contentStyle, i = e.itemStyle, a = e.labelStyle, o = a === void 0 ? gZ.labelStyle : a, s = e.payload, c = e.formatter, l = e.itemSorter, u = e.wrapperClassName, d = e.labelClassName, f = e.label, p = e.labelFormatter, m = e.accessibilityLayer, h = m === void 0 ? gZ.accessibilityLayer : m, g = () => {
if (s && s.length) {
var e = {
padding: 0,
margin: 0
- }, t = gRe(s, l).map((e, t) => {
+ }, t = hRe(s, l).map((e, t) => {
if (!e || e.type === "none") return null;
- var r = e.formatter || c || hRe, a = e.value, o = e.name, l = a, u = o;
+ var r = e.formatter || c || mRe, a = e.value, o = e.name, l = a, u = o;
if (r) {
var d = r(a, o, e, t, s);
if (Array.isArray(d)) {
- var f = uRe(d, 2);
+ var f = lRe(d, 2);
l = f[0], u = f[1];
} else if (d != null) l = d;
else return null;
}
- var p = pZ(pZ({}, hZ.itemStyle), {}, { color: e.color || hZ.itemStyle.color }, i);
+ var p = mZ(mZ({}, gZ.itemStyle), {}, { color: e.color || gZ.itemStyle.color }, i);
return /*#__PURE__*/ b.createElement("li", {
className: "recharts-tooltip-item",
key: `tooltip-item-${t}`,
style: p
- }, wG(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, wG(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, TG(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, TG(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
});
return /*#__PURE__*/ b.createElement("ul", {
className: "recharts-tooltip-item-list",
@@ -71802,44 +71817,44 @@ var _Re = (e) => {
}, t);
}
return null;
- }, _ = pZ(pZ({}, hZ.contentStyle), r), v = pZ({ margin: 0 }, o), y = !AG(f), x = y ? f : "", S = Cv("recharts-default-tooltip", u), C = Cv("recharts-tooltip-label", d);
+ }, _ = mZ(mZ({}, gZ.contentStyle), r), v = mZ({ margin: 0 }, o), y = !jG(f), x = y ? f : "", S = Cv("recharts-default-tooltip", u), C = Cv("recharts-tooltip-label", d);
y && p && s != null && (x = p(f, s));
var w = h ? {
role: "status",
"aria-live": "assertive"
} : {};
- return /*#__PURE__*/ b.createElement("div", dZ({
+ return /*#__PURE__*/ b.createElement("div", fZ({
className: S,
style: _
}, w), /*#__PURE__*/ b.createElement("p", {
className: C,
style: v
}, /*#__PURE__*/ b.isValidElement(x) ? x : `${x}`), g());
-}, gZ = "recharts-tooltip-wrapper", vRe = { visibility: "hidden" };
-function yRe(e) {
+}, _Z = "recharts-tooltip-wrapper", _Re = { visibility: "hidden" };
+function vRe(e) {
var t = e.coordinate, n = e.translateX, r = e.translateY;
- return Cv(gZ, {
- [`${gZ}-right`]: CG(n) && t && CG(t.x) && n >= t.x,
- [`${gZ}-left`]: CG(n) && t && CG(t.x) && n < t.x,
- [`${gZ}-bottom`]: CG(r) && t && CG(t.y) && r >= t.y,
- [`${gZ}-top`]: CG(r) && t && CG(t.y) && r < t.y
+ return Cv(_Z, {
+ [`${_Z}-right`]: wG(n) && t && wG(t.x) && n >= t.x,
+ [`${_Z}-left`]: wG(n) && t && wG(t.x) && n < t.x,
+ [`${_Z}-bottom`]: wG(r) && t && wG(t.y) && r >= t.y,
+ [`${_Z}-top`]: wG(r) && t && wG(t.y) && r < t.y
});
}
-function _Z(e) {
+function vZ(e) {
var t = e.allowEscapeViewBox, n = e.coordinate, r = e.key, i = e.offset, a = e.position, o = e.reverseDirection, s = e.tooltipDimension, c = e.viewBox, l = e.viewBoxDimension;
- if (a && CG(a[r])) return a[r];
+ if (a && wG(a[r])) return a[r];
var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;
if (t[r]) return o[r] ? u : d;
var f = c[r];
return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);
}
-function bRe(e) {
+function yRe(e) {
var t = e.translateX, n = e.translateY;
return { transform: e.useTranslate3d ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function xRe(e) {
+function bRe(e) {
var t = e.allowEscapeViewBox, n = e.coordinate, r = e.offsetTop, i = e.offsetLeft, a = e.position, o = e.reverseDirection, s = e.tooltipBox, c = e.useTranslate3d, l = e.viewBox, u, d, f;
- return s && s.height > 0 && s.width > 0 && n ? (d = _Z({
+ return s && s.height > 0 && s.width > 0 && n ? (d = vZ({
allowEscapeViewBox: t,
coordinate: n,
key: "x",
@@ -71849,7 +71864,7 @@ function xRe(e) {
tooltipDimension: s.width,
viewBox: l,
viewBoxDimension: l.width
- }), f = _Z({
+ }), f = vZ({
allowEscapeViewBox: t,
coordinate: n,
key: "y",
@@ -71859,44 +71874,44 @@ function xRe(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = bRe({
+ }), u = yRe({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = vRe, {
+ })) : u = _Re, {
cssProperties: u,
- cssClasses: yRe({
+ cssClasses: vRe({
translateX: d,
translateY: f,
coordinate: n
})
};
}
-var vZ = {
+var yZ = {
devToolsEnabled: !0,
isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)
};
//#endregion
//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js
-function SRe(e, t) {
- return ERe(e) || TRe(e, t) || wRe(e, t) || CRe();
+function xRe(e, t) {
+ return TRe(e) || wRe(e, t) || CRe(e, t) || SRe();
}
-function CRe() {
+function SRe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function wRe(e, t) {
+function CRe(e, t) {
if (e) {
- if (typeof e == "string") return yZ(e, t);
+ if (typeof e == "string") return bZ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? yZ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? bZ(e, t) : void 0;
}
}
-function yZ(e, t) {
+function bZ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function TRe(e, t) {
+function wRe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -71917,11 +71932,11 @@ function TRe(e, t) {
return s;
}
}
-function ERe(e) {
+function TRe(e) {
if (Array.isArray(e)) return e;
}
-function bZ() {
- var e = SRe((0, b.useState)(() => vZ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];
+function xZ() {
+ var e = xRe((0, b.useState)(() => yZ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];
return (0, b.useEffect)(() => {
if (window.matchMedia) {
var e = window.matchMedia("(prefers-reduced-motion: reduce)"), t = () => {
@@ -71935,7 +71950,7 @@ function bZ() {
}
//#endregion
//#region node_modules/recharts/es6/component/TooltipBoundingBox.js
-function xZ(e, t) {
+function SZ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -71945,30 +71960,30 @@ function xZ(e, t) {
}
return n;
}
-function SZ(e) {
+function CZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? xZ(Object(n), !0).forEach(function(t) {
- DRe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xZ(Object(n)).forEach(function(t) {
+ t % 2 ? SZ(Object(n), !0).forEach(function(t) {
+ ERe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : SZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function DRe(e, t, n) {
- return (t = ORe(t)) in e ? Object.defineProperty(e, t, {
+function ERe(e, t, n) {
+ return (t = DRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ORe(e) {
- var t = kRe(e, "string");
+function DRe(e) {
+ var t = ORe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function kRe(e, t) {
+function ORe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -71978,25 +71993,25 @@ function kRe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function ARe(e, t) {
- return PRe(e) || NRe(e, t) || MRe(e, t) || jRe();
+function kRe(e, t) {
+ return NRe(e) || MRe(e, t) || jRe(e, t) || ARe();
}
-function jRe() {
+function ARe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function MRe(e, t) {
+function jRe(e, t) {
if (e) {
- if (typeof e == "string") return CZ(e, t);
+ if (typeof e == "string") return wZ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? CZ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? wZ(e, t) : void 0;
}
}
-function CZ(e, t) {
+function wZ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function NRe(e, t) {
+function MRe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -72017,17 +72032,17 @@ function NRe(e, t) {
return s;
}
}
-function PRe(e) {
+function NRe(e) {
if (Array.isArray(e)) return e;
}
-function FRe(e) {
+function PRe(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) {
var t = typeof e.animationEasing == "string" ? e.animationEasing : "ease";
return `transform ${e.animationDuration}ms ${t}`;
}
}
-function IRe(e) {
- var t = bZ(), n = ARe(b.useState(() => ({
+function FRe(e) {
+ var t = xZ(), n = kRe(b.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
x: 0,
@@ -72047,8 +72062,8 @@ function IRe(e) {
return document.addEventListener("keydown", t), () => {
document.removeEventListener("keydown", t);
};
- }, [e.coordinate?.x, e.coordinate?.y]), r.dismissed && ((e.coordinate?.x ?? 0) !== r.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== r.dismissedAtCoordinate.y) && i(SZ(SZ({}, r), {}, { dismissed: !1 }));
- var a = xRe({
+ }, [e.coordinate?.x, e.coordinate?.y]), r.dismissed && ((e.coordinate?.x ?? 0) !== r.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== r.dismissedAtCoordinate.y) && i(CZ(CZ({}, r), {}, { dismissed: !1 }));
+ var a = bRe({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -72058,7 +72073,7 @@ function IRe(e) {
tooltipBox: e.lastBoundingBox,
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = a.cssClasses, s = a.cssProperties, c = SZ(SZ({}, e.hasPortalFromProps ? {} : SZ(SZ({ transition: FRe({
+ }), o = a.cssClasses, s = a.cssProperties, c = CZ(CZ({}, e.hasPortalFromProps ? {} : CZ(CZ({ transition: PRe({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -72078,19 +72093,19 @@ function IRe(e) {
ref: e.innerRef
}, e.children);
}
-var LRe = /*#__PURE__*/ b.memo(IRe), wZ = () => J((e) => e.rootProps.accessibilityLayer) ?? !0;
+var IRe = /*#__PURE__*/ b.memo(FRe), TZ = () => J((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
-function TZ() {
- return TZ = Object.assign ? Object.assign.bind() : function(e) {
+function EZ() {
+ return EZ = 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;
- }, TZ.apply(null, arguments);
+ }, EZ.apply(null, arguments);
}
-function EZ(e, t) {
+function DZ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -72100,30 +72115,30 @@ function EZ(e, t) {
}
return n;
}
-function DZ(e) {
+function OZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? EZ(Object(n), !0).forEach(function(t) {
- RRe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EZ(Object(n)).forEach(function(t) {
+ t % 2 ? DZ(Object(n), !0).forEach(function(t) {
+ LRe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function RRe(e, t, n) {
- return (t = zRe(t)) in e ? Object.defineProperty(e, t, {
+function LRe(e, t, n) {
+ return (t = RRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zRe(e) {
- var t = BRe(e, "string");
+function RRe(e) {
+ var t = zRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function BRe(e, t) {
+function zRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -72133,40 +72148,40 @@ function BRe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var OZ = {
- curveBasisClosed: qNe,
- curveBasisOpen: JNe,
- curveBasis: KNe,
- curveBumpX: MNe,
- curveBumpY: NNe,
- curveLinearClosed: YNe,
- curveLinear: eK,
- curveMonotoneX: XNe,
- curveMonotoneY: ZNe,
- curveNatural: QNe,
- curveStep: $Ne,
- curveStepAfter: tPe,
- curveStepBefore: ePe
-}, kZ = (e) => $Y(e.x) && $Y(e.y), AZ = (e) => e.base != null && kZ(e.base) && kZ(e), jZ = (e) => e.x, MZ = (e) => e.y, VRe = (e, t) => {
+var kZ = {
+ curveBasisClosed: KNe,
+ curveBasisOpen: qNe,
+ curveBasis: GNe,
+ curveBumpX: jNe,
+ curveBumpY: MNe,
+ curveLinearClosed: JNe,
+ curveLinear: tK,
+ curveMonotoneX: YNe,
+ curveMonotoneY: XNe,
+ curveNatural: ZNe,
+ curveStep: QNe,
+ curveStepAfter: ePe,
+ curveStepBefore: $Ne
+}, AZ = (e) => eX(e.x) && eX(e.y), jZ = (e) => e.base != null && AZ(e.base) && AZ(e), MZ = (e) => e.x, NZ = (e) => e.y, BRe = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${jG(e)}`;
+ var n = `curve${MG(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
- var r = OZ[`${n}${t === "vertical" ? "Y" : "X"}`];
+ var r = kZ[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return OZ[n] || eK;
-}, NZ = {
+ return kZ[n] || tK;
+}, PZ = {
connectNulls: !1,
type: "linear"
-}, HRe = (e) => {
- var t = e.type, n = t === void 0 ? NZ.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? NZ.connectNulls : s, l = VRe(n, o), u = c ? i.filter(kZ) : i;
+}, VRe = (e) => {
+ var t = e.type, n = t === void 0 ? PZ.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? PZ.connectNulls : s, l = BRe(n, o), u = c ? i.filter(AZ) : i;
if (Array.isArray(a)) {
- var d, f = i.map((e, t) => DZ(DZ({}, e), {}, { base: a[t] }));
- return d = o === "vertical" ? iK().y(MZ).x1(jZ).x0((e) => e.base.x) : iK().x(jZ).y1(MZ).y0((e) => e.base.y), d.defined(AZ).curve(l)(c ? f.filter(AZ) : f);
+ var d, f = i.map((e, t) => OZ(OZ({}, e), {}, { base: a[t] }));
+ return d = o === "vertical" ? aK().y(NZ).x1(MZ).x0((e) => e.base.x) : aK().x(MZ).y1(NZ).y0((e) => e.base.y), d.defined(jZ).curve(l)(c ? f.filter(jZ) : f);
}
- return (o === "vertical" && CG(a) ? iK().y(MZ).x1(jZ).x0(a) : CG(a) ? iK().x(jZ).y1(MZ).y0(a) : rK().x(jZ).y(MZ)).defined(kZ).curve(l)(u);
-}, PZ = (e) => {
- var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = KX();
+ return (o === "vertical" && wG(a) ? aK().y(NZ).x1(MZ).x0(a) : wG(a) ? aK().x(MZ).y1(NZ).y0(a) : iK().x(MZ).y(NZ)).defined(AZ).curve(l)(u);
+}, FZ = (e) => {
+ var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = qX();
if ((!n || !n.length) && !r) return null;
var o = {
type: e.type,
@@ -72174,13 +72189,13 @@ var OZ = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? HRe(o) : r;
- return /*#__PURE__*/ b.createElement("path", TZ({}, iG(e), LK(e), {
+ }, s = n && n.length ? VRe(o) : r;
+ return /*#__PURE__*/ b.createElement("path", EZ({}, aG(e), RK(e), {
className: Cv("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, URe = [
+}, HRe = [
"x",
"y",
"top",
@@ -72189,16 +72204,16 @@ var OZ = {
"height",
"className"
];
-function FZ() {
- return FZ = Object.assign ? Object.assign.bind() : function(e) {
+function IZ() {
+ return IZ = 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;
- }, FZ.apply(null, arguments);
+ }, IZ.apply(null, arguments);
}
-function IZ(e, t) {
+function LZ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -72208,30 +72223,30 @@ function IZ(e, t) {
}
return n;
}
-function WRe(e) {
+function URe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? IZ(Object(n), !0).forEach(function(t) {
- GRe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : IZ(Object(n)).forEach(function(t) {
+ t % 2 ? LZ(Object(n), !0).forEach(function(t) {
+ WRe(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 GRe(e, t, n) {
- return (t = KRe(t)) in e ? Object.defineProperty(e, t, {
+function WRe(e, t, n) {
+ return (t = GRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function KRe(e) {
- var t = qRe(e, "string");
+function GRe(e) {
+ var t = KRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qRe(e, t) {
+function KRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -72241,16 +72256,16 @@ function qRe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function JRe(e, t) {
+function qRe(e, t) {
if (e == null) return {};
- var n, r, i = YRe(e, t);
+ var n, r, i = JRe(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 YRe(e, t) {
+function JRe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -72259,8 +72274,8 @@ function YRe(e, t) {
}
return n;
}
-var XRe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, ZRe = (e) => {
- var t = e.x, n = t === void 0 ? 0 : t, r = e.y, i = r === void 0 ? 0 : r, a = e.top, o = a === void 0 ? 0 : a, s = e.left, c = s === void 0 ? 0 : s, l = e.width, u = l === void 0 ? 0 : l, d = e.height, f = d === void 0 ? 0 : d, p = e.className, m = JRe(e, URe), h = WRe({
+var YRe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, XRe = (e) => {
+ var t = e.x, n = t === void 0 ? 0 : t, r = e.y, i = r === void 0 ? 0 : r, a = e.top, o = a === void 0 ? 0 : a, s = e.left, c = s === void 0 ? 0 : s, l = e.width, u = l === void 0 ? 0 : l, d = e.height, f = d === void 0 ? 0 : d, p = e.className, m = qRe(e, HRe), h = URe({
x: n,
y: i,
top: o,
@@ -72268,14 +72283,14 @@ var XRe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, ZRe = (e) => {
width: u,
height: f
}, m);
- return !CG(n) || !CG(i) || !CG(u) || !CG(f) || !CG(o) || !CG(c) ? null : /*#__PURE__*/ b.createElement("path", FZ({}, oG(h), {
+ return !wG(n) || !wG(i) || !wG(u) || !wG(f) || !wG(o) || !wG(c) ? null : /*#__PURE__*/ b.createElement("path", IZ({}, sG(h), {
className: Cv("recharts-cross", p),
- d: XRe(n, i, u, f, o, c)
+ d: YRe(n, i, u, f, o, c)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function QRe(e, t, n, r) {
+function ZRe(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -72286,12 +72301,12 @@ function QRe(e, t, n, r) {
height: e === "horizontal" ? n.height - 1 : r
};
}
-var LZ = (e, t) => [
+var RZ = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], RZ = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), zZ = (e, t) => (n) => RZ(LZ(e, t), n), $Re = (e, t) => (n) => RZ([...LZ(e, t).map((e, t) => e * t).slice(1), 0], n), eze = (e) => {
+], zZ = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), BZ = (e, t) => (n) => zZ(RZ(e, t), n), QRe = (e, t) => (n) => zZ([...RZ(e, t).map((e, t) => e * t).slice(1), 0], n), $Re = (e) => {
var t, n = e.split("(");
if (n.length !== 2 || n[0] !== "cubic-bezier") return null;
var r = (t = n[1]) == null || (t = t.split(")")[0]) == null ? void 0 : t.split(",");
@@ -72303,7 +72318,7 @@ var LZ = (e, t) => [
i[2],
i[3]
];
-}, tze = function() {
+}, eze = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -72337,7 +72352,7 @@ var LZ = (e, t) => [
1
];
default:
- var t = eze(e[0]);
+ var t = $Re(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -72346,8 +72361,8 @@ var LZ = (e, t) => [
1,
1
];
-}, nze = (e, t, n, r) => {
- var i = zZ(e, n), a = zZ(t, r), o = $Re(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, tze = (e, t, n, r) => {
+ var i = BZ(e, n), a = BZ(t, r), o = QRe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
for (var t = e > 1 ? 1 : e, n = t, r = 0; r < 8; ++r) {
var c = i(n) - t, l = o(n);
if (Math.abs(c - t) < 1e-4 || l < 1e-4) return a(n);
@@ -72356,9 +72371,9 @@ var LZ = (e, t) => [
return a(n);
};
return c.isStepper = !1, c;
-}, BZ = function() {
- return nze(...tze(...arguments));
-}, rze = function() {
+}, VZ = function() {
+ return tze(...eze(...arguments));
+}, nze = function() {
for (var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.stiff, n = t === void 0 ? 100 : t, r = e.damping, i = r === void 0 ? 8 : r, a = e.dt, o = a === void 0 ? 16.67 : a, s = 1, c = [0], l = 0, u = 0, d = 1e4, f = 0; f < d;) {
var p = -(l - s) * n, m = u * i;
if (u += (p - m) * o / 1e3, l += u * o / 1e3, c.push(l), Math.abs(l - s) < 1e-4 && Math.abs(u) < 1e-4) break;
@@ -72372,18 +72387,18 @@ var LZ = (e, t) => [
var t = e * h, n = Math.floor(t), r = t - n;
return (c[n] ?? 0) + ((c[n + 1] ?? 0) - (c[n] ?? 0)) * r;
};
-}, ize = (e) => {
+}, rze = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
- case "linear": return BZ(e);
- case "spring": return rze();
- default: if (e.split("(")[0] === "cubic-bezier") return BZ(e);
+ case "linear": return VZ(e);
+ case "spring": return nze();
+ default: if (e.split("(")[0] === "cubic-bezier") return VZ(e);
}
return typeof e == "function" ? e : null;
-}, VZ = /*#__PURE__*/ (0, b.createContext)((e, t, n) => {
+}, HZ = /*#__PURE__*/ (0, b.createContext)((e, t, n) => {
var r, i = (a) => {
var o = t.tick(a);
if (t.getState() === "active") {
@@ -72396,26 +72411,26 @@ var LZ = (e, t) => [
};
return r = e.setTimeout(i, 0), () => r?.();
});
-VZ.Provider;
-function aze(e) {
- var t = (0, b.useContext)(VZ);
+HZ.Provider;
+function ize(e) {
+ var t = (0, b.useContext)(HZ);
return (0, b.useMemo)(() => e ?? t, [e, t]);
}
//#endregion
//#region node_modules/recharts/es6/animation/AnimationHandle.js
-function oze(e, t, n) {
- return (t = sze(t)) in e ? Object.defineProperty(e, t, {
+function aze(e, t, n) {
+ return (t = oze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function sze(e) {
- var t = cze(e, "string");
+function oze(e) {
+ var t = sze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cze(e, t) {
+function sze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -72425,11 +72440,11 @@ function cze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var HZ = "init", UZ = "pending", WZ = "active", lze = "completed";
-function GZ(e) {
+var UZ = "init", WZ = "pending", GZ = "active", cze = "completed";
+function KZ(e) {
return Math.max(0, e);
}
-var uze = class {
+var lze = class {
getAnimationStartedTime() {
return this.animationStartedTime;
}
@@ -72438,7 +72453,7 @@ var uze = class {
}
constructor(e) {
var t;
- oze(this, "state", HZ), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = GZ(e.animationDuration), this.animationBegin = GZ(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);
+ aze(this, "state", UZ), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = KZ(e.animationDuration), this.animationBegin = KZ(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);
}
getState() {
return this.state;
@@ -72450,13 +72465,13 @@ var uze = class {
return this.animationDuration;
}
tick(e) {
- if (this.getState() === HZ) return this.state = UZ, this.beginStartedTime = e, this.animationBegin;
- if (this.getState() === UZ) {
+ if (this.getState() === UZ) return this.state = WZ, this.beginStartedTime = e, this.animationBegin;
+ if (this.getState() === WZ) {
if (this.beginStartedTime == null) throw Error();
var t = e - this.beginStartedTime;
- return t >= this.animationBegin ? (this.state = WZ, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : GZ(this.animationBegin - t);
+ return t >= this.animationBegin ? (this.state = GZ, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : KZ(this.animationBegin - t);
}
- if (this.getState() === WZ) {
+ if (this.getState() === GZ) {
if (this.animationStartedTime == null) throw Error();
var n = e - this.animationStartedTime;
return this.setProgress(n / this.animationDuration), this.nextAnimationUpdate(n);
@@ -72474,7 +72489,7 @@ var uze = class {
var e;
(e = this.onAnimationEnd) == null || e.call(this);
}
- this.state = lze;
+ this.state = cze;
}
getFrom() {
return this.from;
@@ -72488,14 +72503,14 @@ var uze = class {
getAnimationBegin() {
return this.animationBegin;
}
-}, dze = class extends uze {
+}, uze = class extends lze {
nextAnimationUpdate() {
return 0;
}
getInterpolated() {
- return this.easing(OG(this.getFrom(), this.getTo(), this.getProgress()));
+ return this.easing(kG(this.getFrom(), this.getTo(), this.getProgress()));
}
-}, fze = class {
+}, dze = class {
setTimeout(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = performance.now(), r = null, i = (a) => {
a - n >= t ? e(a) : r = requestAnimationFrame(i);
@@ -72507,25 +72522,25 @@ var uze = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-function pze(e, t) {
- return _ze(e) || gze(e, t) || hze(e, t) || mze();
+function fze(e, t) {
+ return gze(e) || hze(e, t) || mze(e, t) || pze();
}
-function mze() {
+function pze() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function hze(e, t) {
+function mze(e, t) {
if (e) {
- if (typeof e == "string") return KZ(e, t);
+ if (typeof e == "string") return qZ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? KZ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? qZ(e, t) : void 0;
}
}
-function KZ(e, t) {
+function qZ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function gze(e, t) {
+function hze(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -72546,10 +72561,10 @@ function gze(e, t) {
return s;
}
}
-function _ze(e) {
+function gze(e) {
if (Array.isArray(e)) return e;
}
-var vze = {
+var _ze = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -72557,22 +72572,22 @@ var vze = {
canBegin: !0,
onAnimationEnd: () => {},
onAnimationStart: () => {}
-}, qZ = 0, JZ = 1;
-function YZ(e) {
- var t = BK(e, vze), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = bZ(), f = r === "auto" ? !vZ.isSsr && !d : r, p = aze(t.animationController), m = pze((0, b.useState)(f ? qZ : JZ), 2), h = m[0], g = m[1];
+}, JZ = 0, YZ = 1;
+function XZ(e) {
+ var t = VK(e, _ze), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = xZ(), f = r === "auto" ? !yZ.isSsr && !d : r, p = ize(t.animationController), m = fze((0, b.useState)(f ? JZ : YZ), 2), h = m[0], g = m[1];
return (0, b.useEffect)(() => {
- f || g(JZ);
+ f || g(YZ);
}, [f]), (0, b.useEffect)(() => {
- var e = ize(o);
- return !f || !i || e == null ? NG : p(new fze(), new dze({
+ var e = rze(o);
+ return !f || !i || e == null ? PG : p(new dze(), new uze({
animationId: n,
easing: e,
animationDuration: a,
animationBegin: s,
onAnimationStart: l,
onAnimationEnd: c,
- from: qZ,
- to: JZ
+ from: JZ,
+ to: YZ
}), g);
}, [
p,
@@ -72588,14 +72603,14 @@ function YZ(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
-function XZ(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, b.useRef)(TG(t)), r = (0, b.useRef)(e);
- return r.current !== e && (n.current = TG(t), r.current = e), n.current;
+function ZZ(e) {
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, b.useRef)(EG(t)), r = (0, b.useRef)(e);
+ return r.current !== e && (n.current = EG(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/animation/util.js
-var yze = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), bze = (e, t, n) => e.map((e) => `${yze(e)} ${t}ms ${n}`).join(","), xze = ["radius"], Sze = ["radius"], Cze, wze, Tze, Eze, Dze, Oze, kze, Aze, jze, Mze;
-function ZZ(e, t) {
+var vze = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), yze = (e, t, n) => e.map((e) => `${vze(e)} ${t}ms ${n}`).join(","), bze = ["radius"], xze = ["radius"], Sze, Cze, wze, Tze, Eze, Dze, Oze, kze, Aze, jze;
+function QZ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -72605,30 +72620,30 @@ function ZZ(e, t) {
}
return n;
}
-function QZ(e) {
+function $Z(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? ZZ(Object(n), !0).forEach(function(t) {
- Nze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ZZ(Object(n)).forEach(function(t) {
+ t % 2 ? QZ(Object(n), !0).forEach(function(t) {
+ Mze(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : QZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Nze(e, t, n) {
- return (t = Pze(t)) in e ? Object.defineProperty(e, t, {
+function Mze(e, t, n) {
+ return (t = Nze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Pze(e) {
- var t = Fze(e, "string");
+function Nze(e) {
+ var t = Pze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Fze(e, t) {
+function Pze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -72638,25 +72653,25 @@ function Fze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function $Z() {
- return $Z = Object.assign ? Object.assign.bind() : function(e) {
+function eQ() {
+ return eQ = 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;
- }, $Z.apply(null, arguments);
+ }, eQ.apply(null, arguments);
}
-function eQ(e, t) {
+function tQ(e, t) {
if (e == null) return {};
- var n, r, i = Ize(e, t);
+ var n, r, i = Fze(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 Ize(e, t) {
+function Fze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -72665,25 +72680,25 @@ function Ize(e, t) {
}
return n;
}
-function Lze(e, t) {
- return Vze(e) || Bze(e, t) || zze(e, t) || Rze();
+function Ize(e, t) {
+ return Bze(e) || zze(e, t) || Rze(e, t) || Lze();
}
-function Rze() {
+function Lze() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function zze(e, t) {
+function Rze(e, t) {
if (e) {
- if (typeof e == "string") return tQ(e, t);
+ if (typeof e == "string") return nQ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? tQ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? nQ(e, t) : void 0;
}
}
-function tQ(e, t) {
+function nQ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function Bze(e, t) {
+function zze(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -72704,14 +72719,14 @@ function Bze(e, t) {
return s;
}
}
-function Vze(e) {
+function Bze(e) {
if (Array.isArray(e)) return e;
}
-function nQ(e, t) {
+function rQ(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var rQ = (e, t, n, r, i) => {
- var a = vG(n), o = vG(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
+var iQ = (e, t, n, r, i) => {
+ var a = yG(n), o = yG(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
if (s > 0 && Array.isArray(i)) {
for (var f = [
0,
@@ -72722,44 +72737,44 @@ var rQ = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = yG(Cze ||= nQ([
+ d = bG(Sze ||= rQ([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += yG(wze ||= nQ([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += bG(Cze ||= rQ([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += yG(Tze ||= nQ([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += bG(wze ||= rQ([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += yG(Eze ||= nQ([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += bG(Tze ||= rQ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += yG(Dze ||= nQ([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += bG(Eze ||= rQ([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += yG(Oze ||= nQ([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += bG(Dze ||= rQ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += yG(kze ||= nQ([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += bG(Oze ||= rQ([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += yG(Aze ||= nQ([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += bG(kze ||= rQ([
"A ",
",",
",0,0,",
@@ -72769,8 +72784,8 @@ var rQ = (e, t, n, r, i) => {
]), f[3], f[3], u, e, t + r - c * f[3])), d += "Z";
} else if (s > 0 && i === +i && i > 0) {
var g = Math.min(s, i);
- d = yG(jze ||= nQ(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
- } else d = yG(Mze ||= nQ([
+ d = bG(Aze ||= rQ(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
+ } else d = bG(jze ||= rQ([
"M ",
",",
" h ",
@@ -72779,7 +72794,7 @@ var rQ = (e, t, n, r, i) => {
" Z"
]), e, t, n, r, -n);
return d;
-}, iQ = {
+}, aQ = {
x: 0,
y: 0,
width: 0,
@@ -72790,15 +72805,15 @@ var rQ = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, aQ = (e) => {
- var t = BK(e, iQ), n = (0, b.useRef)(null), r = Lze((0, b.useState)(-1), 2), i = r[0], a = r[1];
+}, oQ = (e) => {
+ var t = VK(e, aQ), n = (0, b.useRef)(null), r = Ize((0, b.useState)(-1), 2), i = r[0], a = r[1];
(0, b.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
e && a(e);
} catch {}
}, []);
- var o = t.x, s = t.y, c = t.width, l = t.height, u = t.radius, d = t.className, f = t.animationEasing, p = t.animationDuration, m = t.animationBegin, h = t.isAnimationActive, g = t.isUpdateAnimationActive, _ = (0, b.useRef)(c), v = (0, b.useRef)(l), y = (0, b.useRef)(o), x = (0, b.useRef)(s), S = XZ((0, b.useMemo)(() => ({
+ var o = t.x, s = t.y, c = t.width, l = t.height, u = t.radius, d = t.className, f = t.animationEasing, p = t.animationDuration, m = t.animationBegin, h = t.isAnimationActive, g = t.isUpdateAnimationActive, _ = (0, b.useRef)(c), v = (0, b.useRef)(l), y = (0, b.useRef)(o), x = (0, b.useRef)(s), S = ZZ((0, b.useMemo)(() => ({
x: o,
y: s,
width: c,
@@ -72814,21 +72829,21 @@ var rQ = (e, t, n, r, i) => {
if (o !== +o || s !== +s || c !== +c || l !== +l || c === 0 || l === 0) return null;
var C = Cv("recharts-rectangle", d);
if (!g) {
- var w = oG(t);
+ var w = sG(t);
w.radius;
- var T = eQ(w, xze);
- return /*#__PURE__*/ b.createElement("path", $Z({}, T, {
- x: vG(o),
- y: vG(s),
- width: vG(c),
- height: vG(l),
+ var T = tQ(w, bze);
+ return /*#__PURE__*/ b.createElement("path", eQ({}, T, {
+ x: yG(o),
+ y: yG(s),
+ width: yG(c),
+ height: yG(l),
radius: typeof u == "number" ? u : void 0,
className: C,
- d: rQ(o, s, c, l, u)
+ d: iQ(o, s, c, l, u)
}));
}
- var E = _.current, D = v.current, O = y.current, k = x.current, A = `0px ${i === -1 ? 1 : i}px`, j = `${i}px ${i}px`, M = bze(["strokeDasharray"], p, typeof f == "string" ? f : iQ.animationEasing);
- return /*#__PURE__*/ b.createElement(YZ, {
+ var E = _.current, D = v.current, O = y.current, k = x.current, A = `0px ${i === -1 ? 1 : i}px`, j = `${i}px ${i}px`, M = yze(["strokeDasharray"], p, typeof f == "string" ? f : aQ.animationEasing);
+ return /*#__PURE__*/ b.createElement(XZ, {
animationId: S,
key: S,
canBegin: i > 0,
@@ -72837,26 +72852,26 @@ var rQ = (e, t, n, r, i) => {
isActive: g,
begin: m
}, (e) => {
- var r = OG(E, c, e), i = OG(D, l, e), a = OG(O, o, e), d = OG(k, s, e);
+ var r = kG(E, c, e), i = kG(D, l, e), a = kG(O, o, e), d = kG(k, s, e);
n.current && (_.current = r, v.current = i, y.current = a, x.current = d);
var f = h ? e > 0 ? {
transition: M,
strokeDasharray: j
- } : { strokeDasharray: A } : { strokeDasharray: j }, p = oG(t);
+ } : { strokeDasharray: A } : { strokeDasharray: j }, p = sG(t);
p.radius;
- var m = eQ(p, Sze);
- return /*#__PURE__*/ b.createElement("path", $Z({}, m, {
+ var m = tQ(p, xze);
+ return /*#__PURE__*/ b.createElement("path", eQ({}, m, {
radius: typeof u == "number" ? u : void 0,
className: C,
- d: rQ(a, d, r, i, u),
+ d: iQ(a, d, r, i, u),
ref: n,
- style: QZ(QZ({}, f), t.style)
+ style: $Z($Z({}, f), t.style)
}));
});
};
//#endregion
//#region node_modules/recharts/es6/util/PolarUtils.js
-function oQ(e, t) {
+function sQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -72866,30 +72881,30 @@ function oQ(e, t) {
}
return n;
}
-function sQ(e) {
+function cQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? oQ(Object(n), !0).forEach(function(t) {
- Hze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oQ(Object(n)).forEach(function(t) {
+ t % 2 ? sQ(Object(n), !0).forEach(function(t) {
+ Vze(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Hze(e, t, n) {
- return (t = Uze(t)) in e ? Object.defineProperty(e, t, {
+function Vze(e, t, n) {
+ return (t = Hze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Uze(e) {
- var t = Wze(e, "string");
+function Hze(e) {
+ var t = Uze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Wze(e, t) {
+function Uze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -72899,10 +72914,10 @@ function Wze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var cQ = Math.PI / 180, lQ = (e) => e * Math.PI / 180, Gze = (e) => e * 180 / Math.PI, uQ = (e, t, n, r) => ({
- x: e + Math.cos(-cQ * r) * n,
- y: t + Math.sin(-cQ * r) * n
-}), Kze = function(e, t) {
+var lQ = Math.PI / 180, uQ = (e) => e * Math.PI / 180, Wze = (e) => e * 180 / Math.PI, dQ = (e, t, n, r) => ({
+ x: e + Math.cos(-lQ * r) * n,
+ y: t + Math.sin(-lQ * r) * n
+}), Gze = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
right: 0,
@@ -72913,11 +72928,11 @@ var cQ = Math.PI / 180, lQ = (e) => e * Math.PI / 180, Gze = (e) => e * 180 / Ma
brushBottom: 0
};
return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;
-}, qze = (e, t) => {
+}, Kze = (e, t) => {
var n = e.x, r = e.y, i = t.x, a = t.y;
return Math.sqrt((n - i) ** 2 + (r - a) ** 2);
-}, Jze = (e, t) => {
- var n = e.x, r = e.y, i = t.cx, a = t.cy, o = qze({
+}, qze = (e, t) => {
+ var n = e.x, r = e.y, i = t.cx, a = t.cy, o = Kze({
x: n,
y: r
}, {
@@ -72931,25 +72946,25 @@ var cQ = Math.PI / 180, lQ = (e) => e * Math.PI / 180, Gze = (e) => e * 180 / Ma
var s = (n - i) / o, c = Math.acos(s);
return r > a && (c = 2 * Math.PI - c), {
radius: o,
- angle: Gze(c),
+ angle: Wze(c),
angleInRadian: c
};
-}, Yze = (e) => {
+}, Jze = (e) => {
var t = e.startAngle, n = e.endAngle, r = Math.floor(t / 360), i = Math.floor(n / 360), a = Math.min(r, i);
return {
startAngle: t - a * 360,
endAngle: n - a * 360
};
-}, Xze = (e, t) => {
+}, Yze = (e, t) => {
var n = t.startAngle, r = t.endAngle, i = Math.floor(n / 360), a = Math.floor(r / 360);
return e + Math.min(i, a) * 360;
-}, Zze = (e, t) => {
- var n = e.relativeX, r = e.relativeY, i = Jze({
+}, Xze = (e, t) => {
+ var n = e.relativeX, r = e.relativeY, i = qze({
x: n,
y: r
}, t), a = i.radius, o = i.angle, s = t.innerRadius, c = t.outerRadius;
if (a < s || a > c || a === 0) return null;
- var l = Yze(t), u = l.startAngle, d = l.endAngle, f = o, p;
+ var l = Jze(t), u = l.startAngle, d = l.endAngle, f = o, p;
if (u <= d) {
for (; f > d;) f -= 360;
for (; f < u;) f += 360;
@@ -72959,17 +72974,17 @@ var cQ = Math.PI / 180, lQ = (e) => e * Math.PI / 180, Gze = (e) => e * 180 / Ma
for (; f < d;) f += 360;
p = f >= d && f <= u;
}
- return p ? sQ(sQ({}, t), {}, {
+ return p ? cQ(cQ({}, t), {}, {
radius: a,
- angle: Xze(f, t)
+ angle: Yze(f, t)
}) : null;
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js
-function dQ(e) {
+function fQ(e) {
var t = e.cx, n = e.cy, r = e.radius, i = e.startAngle, a = e.endAngle;
return {
- points: [uQ(t, n, r, i), uQ(t, n, r, a)],
+ points: [dQ(t, n, r, i), dQ(t, n, r, a)],
cx: t,
cy: n,
radius: r,
@@ -72979,29 +72994,29 @@ function dQ(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
-var Qze, $ze, eBe, tBe, nBe, rBe, iBe;
-function fQ() {
- return fQ = Object.assign ? Object.assign.bind() : function(e) {
+var Zze, Qze, $ze, eBe, tBe, nBe, rBe;
+function pQ() {
+ return pQ = 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;
- }, fQ.apply(null, arguments);
+ }, pQ.apply(null, arguments);
}
-function pQ(e, t) {
+function mQ(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var aBe = (e, t) => bG(t - e) * Math.min(Math.abs(t - e), 359.999), mQ = (e) => {
- var t = e.cx, n = e.cy, r = e.radius, i = e.angle, a = e.sign, o = e.isExternal, s = e.cornerRadius, c = e.cornerIsExternal, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / cQ, d = c ? i : i + a * u, f = uQ(t, n, l, d), p = uQ(t, n, r, d), m = c ? i - a * u : i;
+var iBe = (e, t) => xG(t - e) * Math.min(Math.abs(t - e), 359.999), hQ = (e) => {
+ var t = e.cx, n = e.cy, r = e.radius, i = e.angle, a = e.sign, o = e.isExternal, s = e.cornerRadius, c = e.cornerIsExternal, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / lQ, d = c ? i : i + a * u, f = dQ(t, n, l, d), p = dQ(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
circleTangency: p,
- lineTangency: uQ(t, n, l * Math.cos(u * cQ), m),
+ lineTangency: dQ(t, n, l * Math.cos(u * lQ), m),
theta: u
};
-}, hQ = (e) => {
- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = aBe(a, o), c = a + s, l = uQ(t, n, i, a), u = uQ(t, n, i, c), d = yG(Qze ||= pQ([
+}, gQ = (e) => {
+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = iBe(a, o), c = a + s, l = dQ(t, n, i, a), u = dQ(t, n, i, c), d = bG(Zze ||= mQ([
"M ",
",",
"\n A ",
@@ -73013,8 +73028,8 @@ var aBe = (e, t) => bG(t - e) * Math.min(Math.abs(t - e), 359.999), mQ = (e) =>
"\n "
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
- var f = uQ(t, n, r, a), p = uQ(t, n, r, c);
- d += yG($ze ||= pQ([
+ var f = dQ(t, n, r, a), p = dQ(t, n, r, c);
+ d += bG(Qze ||= mQ([
"L ",
",",
"\n A ",
@@ -73025,14 +73040,14 @@ var aBe = (e, t) => bG(t - e) * Math.min(Math.abs(t - e), 359.999), mQ = (e) =>
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += yG(eBe ||= pQ([
+ } else d += bG($ze ||= mQ([
"L ",
",",
" Z"
]), t, n);
return d;
-}, oBe = (e) => {
- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = bG(l - c), d = mQ({
+}, aBe = (e) => {
+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = xG(l - c), d = hQ({
cx: t,
cy: n,
radius: i,
@@ -73040,7 +73055,7 @@ var aBe = (e, t) => bG(t - e) * Math.min(Math.abs(t - e), 359.999), mQ = (e) =>
sign: u,
cornerRadius: a,
cornerIsExternal: s
- }), f = d.circleTangency, p = d.lineTangency, m = d.theta, h = mQ({
+ }), f = d.circleTangency, p = d.lineTangency, m = d.theta, h = hQ({
cx: t,
cy: n,
radius: i,
@@ -73049,7 +73064,7 @@ var aBe = (e, t) => bG(t - e) * Math.min(Math.abs(t - e), 359.999), mQ = (e) =>
cornerRadius: a,
cornerIsExternal: s
}), g = h.circleTangency, _ = h.lineTangency, v = h.theta, y = s ? Math.abs(c - l) : Math.abs(c - l) - m - v;
- if (y < 0) return o ? yG(tBe ||= pQ([
+ if (y < 0) return o ? bG(eBe ||= mQ([
"M ",
",",
"\n a",
@@ -73059,7 +73074,7 @@ var aBe = (e, t) => bG(t - e) * Math.min(Math.abs(t - e), 359.999), mQ = (e) =>
",",
",0,0,1,",
",0\n "
- ]), p.x, p.y, a, a, a * 2, a, a, -a * 2) : hQ({
+ ]), p.x, p.y, a, a, a * 2, a, a, -a * 2) : gQ({
cx: t,
cy: n,
innerRadius: r,
@@ -73067,7 +73082,7 @@ var aBe = (e, t) => bG(t - e) * Math.min(Math.abs(t - e), 359.999), mQ = (e) =>
startAngle: c,
endAngle: l
});
- var b = yG(nBe ||= pQ([
+ var b = bG(tBe ||= mQ([
"M ",
",",
"\n A",
@@ -73089,7 +73104,7 @@ var aBe = (e, t) => bG(t - e) * Math.min(Math.abs(t - e), 359.999), mQ = (e) =>
"\n "
]), p.x, p.y, a, a, +(u < 0), f.x, f.y, i, i, +(y > 180), +(u < 0), g.x, g.y, a, a, +(u < 0), _.x, _.y);
if (r > 0) {
- var x = mQ({
+ var x = hQ({
cx: t,
cy: n,
radius: r,
@@ -73098,7 +73113,7 @@ var aBe = (e, t) => bG(t - e) * Math.min(Math.abs(t - e), 359.999), mQ = (e) =>
isExternal: !0,
cornerRadius: a,
cornerIsExternal: s
- }), S = x.circleTangency, C = x.lineTangency, w = x.theta, T = mQ({
+ }), S = x.circleTangency, C = x.lineTangency, w = x.theta, T = hQ({
cx: t,
cy: n,
radius: r,
@@ -73109,7 +73124,7 @@ var aBe = (e, t) => bG(t - e) * Math.min(Math.abs(t - e), 359.999), mQ = (e) =>
cornerIsExternal: s
}), E = T.circleTangency, D = T.lineTangency, O = T.theta, k = s ? Math.abs(c - l) : Math.abs(c - l) - w - O;
if (k < 0 && a === 0) return `${b}L${t},${n}Z`;
- b += yG(rBe ||= pQ([
+ b += bG(nBe ||= mQ([
"L",
",",
"\n A",
@@ -73130,13 +73145,13 @@ var aBe = (e, t) => bG(t - e) * Math.min(Math.abs(t - e), 359.999), mQ = (e) =>
",",
"Z"
]), D.x, D.y, a, a, +(u < 0), E.x, E.y, r, r, +(k > 180), +(u > 0), S.x, S.y, a, a, +(u < 0), C.x, C.y);
- } else b += yG(iBe ||= pQ([
+ } else b += bG(rBe ||= mQ([
"L",
",",
"Z"
]), t, n);
return b;
-}, sBe = {
+}, oBe = {
cx: 0,
cy: 0,
innerRadius: 0,
@@ -73146,10 +73161,10 @@ var aBe = (e, t) => bG(t - e) * Math.min(Math.abs(t - e), 359.999), mQ = (e) =>
cornerRadius: 0,
forceCornerRadius: !1,
cornerIsExternal: !1
-}, gQ = (e) => {
- var t = BK(e, sBe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;
+}, _Q = (e) => {
+ var t = VK(e, oBe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;
if (a < i || l === u) return null;
- var f = Cv("recharts-sector", d), p = a - i, m = EG(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? oBe({
+ var f = Cv("recharts-sector", d), p = a - i, m = DG(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? aBe({
cx: n,
cy: r,
innerRadius: i,
@@ -73159,7 +73174,7 @@ var aBe = (e, t) => bG(t - e) * Math.min(Math.abs(t - e), 359.999), mQ = (e) =>
cornerIsExternal: c,
startAngle: l,
endAngle: u
- }) : hQ({
+ }) : gQ({
cx: n,
cy: r,
innerRadius: i,
@@ -73167,14 +73182,14 @@ var aBe = (e, t) => bG(t - e) * Math.min(Math.abs(t - e), 359.999), mQ = (e) =>
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ b.createElement("path", fQ({}, oG(t), {
+ return /*#__PURE__*/ b.createElement("path", pQ({}, sG(t), {
className: f,
d: h
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js
-function cBe(e, t, n) {
+function sBe(e, t, n) {
if (e === "horizontal") return [{
x: t.x,
y: n.top
@@ -73189,9 +73204,9 @@ function cBe(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (IK(t)) {
+ if (LK(t)) {
if (e === "centric") {
- var r = t.cx, i = t.cy, a = t.innerRadius, o = t.outerRadius, s = t.angle, c = uQ(r, i, a, s), l = uQ(r, i, o, s);
+ var r = t.cx, i = t.cy, a = t.innerRadius, o = t.outerRadius, s = t.angle, c = dQ(r, i, a, s), l = dQ(r, i, o, s);
return [{
x: c.x,
y: c.y
@@ -73200,30 +73215,30 @@ function cBe(e, t, n) {
y: l.y
}];
}
- return dQ(t);
+ return fQ(t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
-function lBe(e) {
- return mG(e) ? NaN : Number(e);
+function cBe(e) {
+ return hG(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
-function _Q(e) {
- return e ? (e = lBe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
+function vQ(e) {
+ return e ? (e = cBe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/range.mjs
-function vQ(e, t, n) {
- n && typeof n != "number" && Bq(e, t, n) && (t = n = void 0), e = _Q(e), t === void 0 ? (t = e, e = 0) : t = _Q(t), n = n === void 0 ? e < t ? 1 : -1 : _Q(n);
+function yQ(e, t, n) {
+ n && typeof n != "number" && Vq(e, t, n) && (t = n = void 0), e = vQ(e), t === void 0 ? (t = e, e = 0) : t = vQ(t), n = n === void 0 ? e < t ? 1 : -1 : vQ(n);
let r = Math.max(Math.ceil((t - e) / (n || 1)), 0), i = Array(r);
for (let t = 0; t < r; t++) i[t] = e, e += n;
return i;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/dataSelectors.js
-var yQ = (e) => e.chartData, bQ = Y([yQ], (e) => {
+var bQ = (e) => e.chartData, xQ = Y([bQ], (e) => {
var t = e.chartData == null ? 0 : e.chartData.length - 1;
return {
chartData: e.chartData,
@@ -73231,37 +73246,37 @@ var yQ = (e) => e.chartData, bQ = Y([yQ], (e) => {
dataEndIndex: t,
dataStartIndex: 0
};
-}), xQ = (e, t, n, r) => r ? bQ(e) : yQ(e), SQ = (e, t, n) => n ? bQ(e) : yQ(e), uBe = Y([xQ], (e) => {
+}), SQ = (e, t, n, r) => r ? xQ(e) : bQ(e), CQ = (e, t, n) => n ? xQ(e) : bQ(e), lBe = Y([SQ], (e) => {
var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;
return t == null ? [] : t.slice(n, r + 1);
-}), dBe = Y([bQ], (e) => {
+}), uBe = Y([xQ], (e) => {
var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;
return t == null ? [] : t.slice(n, r + 1);
-}), fBe = Y([yQ], (e) => {
+}), dBe = Y([bQ], (e) => {
var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;
return t == null ? [] : t.slice(n, r + 1);
});
//#endregion
//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.js
-function CQ(e, t) {
- return gBe(e) || hBe(e, t) || mBe(e, t) || pBe();
+function wQ(e, t) {
+ return hBe(e) || mBe(e, t) || pBe(e, t) || fBe();
}
-function pBe() {
+function fBe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function mBe(e, t) {
+function pBe(e, t) {
if (e) {
- if (typeof e == "string") return wQ(e, t);
+ if (typeof e == "string") return TQ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? wQ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? TQ(e, t) : void 0;
}
}
-function wQ(e, t) {
+function TQ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function hBe(e, t) {
+function mBe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -73282,45 +73297,45 @@ function hBe(e, t) {
return s;
}
}
-function gBe(e) {
+function hBe(e) {
if (Array.isArray(e)) return e;
}
-function TQ(e) {
+function EQ(e) {
if (Array.isArray(e) && e.length === 2) {
- var t = CQ(e, 2), n = t[0], r = t[1];
- if ($Y(n) && $Y(r)) return !0;
+ var t = wQ(e, 2), n = t[0], r = t[1];
+ if (eX(n) && eX(r)) return !0;
}
return !1;
}
-function EQ(e, t, n) {
+function DQ(e, t, n) {
return n ? e : [Math.min(e[0], t[0]), Math.max(e[1], t[1])];
}
-function DQ(e, t) {
+function OQ(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
- var n = CQ(e, 2), r = n[0], i = n[1], a, o;
- if ($Y(r)) a = r;
+ var n = wQ(e, 2), r = n[0], i = n[1], a, o;
+ if (eX(r)) a = r;
else if (typeof r == "function") return;
- if ($Y(i)) o = i;
+ if (eX(i)) o = i;
else if (typeof i == "function") return;
var s = [a, o];
- if (TQ(s)) return s;
+ if (EQ(s)) return s;
}
}
-function _Be(e, t, n) {
+function gBe(e, t, n) {
if (n || t != null) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
- if (TQ(r)) return EQ(r, t, n);
+ if (EQ(r)) return DQ(r, t, n);
} catch {}
if (Array.isArray(e) && e.length === 2) {
- var i = CQ(e, 2), a = i[0], o = i[1], s, c;
+ var i = wQ(e, 2), a = i[0], o = i[1], s, c;
if (a === "auto") t != null && (s = Math.min(...t));
- else if (CG(a)) s = a;
+ else if (wG(a)) s = a;
else if (typeof a == "function") try {
t != null && (s = a(t?.[0]));
} catch {}
- else if (typeof a == "string" && fX.test(a)) {
- var l = fX.exec(a);
+ else if (typeof a == "string" && pX.test(a)) {
+ var l = pX.exec(a);
if (l == null || l[1] == null || t == null) s = void 0;
else {
var u = +l[1];
@@ -73328,12 +73343,12 @@ function _Be(e, t, n) {
}
} else s = t?.[0];
if (o === "auto") t != null && (c = Math.max(...t));
- else if (CG(o)) c = o;
+ else if (wG(o)) c = o;
else if (typeof o == "function") try {
t != null && (c = o(t?.[1]));
} catch {}
- else if (typeof o == "string" && pX.test(o)) {
- var d = pX.exec(o);
+ else if (typeof o == "string" && mX.test(o)) {
+ var d = mX.exec(o);
if (d == null || d[1] == null || t == null) c = void 0;
else {
var f = +d[1];
@@ -73341,13 +73356,13 @@ function _Be(e, t, n) {
}
} else c = t?.[1];
var p = [s, c];
- if (TQ(p)) return t == null ? p : EQ(p, t, n);
+ if (EQ(p)) return t == null ? p : DQ(p, t, n);
}
}
}
//#endregion
//#region node_modules/recharts/es6/util/scale/util/arithmetic.js
-var OQ = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
+var kQ = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
(function(e) {
var n = 1e9, r = {
precision: 20,
@@ -73722,34 +73737,34 @@ var OQ = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
}) : t !== void 0 && t.exports ? t.exports = r : (e ||= typeof self < "u" && self && self.self == self ? self : Function("return this")(), e.Decimal = r);
})(e);
})))());
-function kQ(e) {
- return e === 0 ? 1 : Math.floor(new OQ.default(e).abs().log(10).toNumber()) + 1;
+function AQ(e) {
+ return e === 0 ? 1 : Math.floor(new kQ.default(e).abs().log(10).toNumber()) + 1;
}
-function AQ(e, t, n) {
- for (var r = new OQ.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
+function jQ(e, t, n) {
+ for (var r = new kQ.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
return a;
}
//#endregion
//#region node_modules/recharts/es6/util/scale/getNiceTickValues.js
-function jQ(e, t) {
- return xBe(e) || bBe(e, t) || yBe(e, t) || vBe();
+function MQ(e, t) {
+ return bBe(e) || yBe(e, t) || vBe(e, t) || _Be();
}
-function vBe() {
+function _Be() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function yBe(e, t) {
+function vBe(e, t) {
if (e) {
- if (typeof e == "string") return MQ(e, t);
+ if (typeof e == "string") return NQ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? MQ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? NQ(e, t) : void 0;
}
}
-function MQ(e, t) {
+function NQ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function bBe(e, t) {
+function yBe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -73770,74 +73785,74 @@ function bBe(e, t) {
return s;
}
}
-function xBe(e) {
+function bBe(e) {
if (Array.isArray(e)) return e;
}
-var NQ = (e) => {
- var t = jQ(e, 2), n = t[0], r = t[1], i = n, a = r;
+var PQ = (e) => {
+ var t = MQ(e, 2), n = t[0], r = t[1], i = n, a = r;
return n > r && (i = r, a = n), [i, a];
-}, PQ = (e, t, n) => {
- if (e.lte(0)) return new OQ.default(0);
- var r = kQ(e.toNumber()), i = new OQ.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new OQ.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
- return t ? new OQ.default(s.toNumber()) : new OQ.default(Math.ceil(s.toNumber()));
}, FQ = (e, t, n) => {
- if (e.lte(0)) return new OQ.default(0);
+ if (e.lte(0)) return new kQ.default(0);
+ var r = AQ(e.toNumber()), i = new kQ.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new kQ.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
+ return t ? new kQ.default(s.toNumber()) : new kQ.default(Math.ceil(s.toNumber()));
+}, IQ = (e, t, n) => {
+ if (e.lte(0)) return new kQ.default(0);
var r = [
1,
2,
2.5,
5
- ], i = e.toNumber(), a = Math.floor(new OQ.default(i).abs().log(10).toNumber()), o = new OQ.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
+ ], i = e.toNumber(), a = Math.floor(new kQ.default(i).abs().log(10).toNumber()), o = new kQ.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
if (c === -1 && (o = o.mul(10), c = 0), c += n, c >= r.length) {
var l = Math.floor(c / r.length);
- c %= r.length, o = o.mul(new OQ.default(10).pow(l));
+ c %= r.length, o = o.mul(new kQ.default(10).pow(l));
}
- var u = r[c] ?? 1, d = new OQ.default(u).mul(o);
- return t ? d : new OQ.default(Math.ceil(d.toNumber()));
-}, SBe = (e, t, n) => {
- var r = new OQ.default(1), i = new OQ.default(e);
+ var u = r[c] ?? 1, d = new kQ.default(u).mul(o);
+ return t ? d : new kQ.default(Math.ceil(d.toNumber()));
+}, xBe = (e, t, n) => {
+ var r = new kQ.default(1), i = new kQ.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
- a < 1 ? (r = new OQ.default(10).pow(kQ(e) - 1), i = new OQ.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new OQ.default(Math.floor(e)));
- } else e === 0 ? i = new OQ.default(Math.floor((t - 1) / 2)) : n || (i = new OQ.default(Math.floor(e)));
- for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new OQ.default(c - o).mul(r)).toNumber());
+ a < 1 ? (r = new kQ.default(10).pow(AQ(e) - 1), i = new kQ.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new kQ.default(Math.floor(e)));
+ } else e === 0 ? i = new kQ.default(Math.floor((t - 1) / 2)) : n || (i = new kQ.default(Math.floor(e)));
+ for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new kQ.default(c - o).mul(r)).toNumber());
return s;
-}, IQ = function(e, t, n, r) {
- var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : PQ;
+}, LQ = function(e, t, n, r) {
+ var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : FQ;
if (!Number.isFinite((t - e) / (n - 1))) return {
- step: new OQ.default(0),
- tickMin: new OQ.default(0),
- tickMax: new OQ.default(0)
- };
- var o = a(new OQ.default(t).sub(e).div(n - 1), r, i), s;
- e <= 0 && t >= 0 ? s = new OQ.default(0) : (s = new OQ.default(e).add(t).div(2), s = s.sub(new OQ.default(s).mod(o)));
- var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new OQ.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
- return u > n ? IQ(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
+ step: new kQ.default(0),
+ tickMin: new kQ.default(0),
+ tickMax: new kQ.default(0)
+ };
+ var o = a(new kQ.default(t).sub(e).div(n - 1), r, i), s;
+ e <= 0 && t >= 0 ? s = new kQ.default(0) : (s = new kQ.default(e).add(t).div(2), s = s.sub(new kQ.default(s).mod(o)));
+ var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new kQ.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
+ return u > n ? LQ(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
step: o,
- tickMin: s.sub(new OQ.default(c).mul(o)),
- tickMax: s.add(new OQ.default(l).mul(o))
+ tickMin: s.sub(new kQ.default(c).mul(o)),
+ tickMax: s.add(new kQ.default(l).mul(o))
});
-}, LQ = function(e) {
- var t = jQ(e, 2), n = t[0], r = t[1], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = Math.max(i, 2), c = jQ(NQ([n, r]), 2), l = c[0], u = c[1];
+}, RQ = function(e) {
+ var t = MQ(e, 2), n = t[0], r = t[1], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = Math.max(i, 2), c = MQ(PQ([n, r]), 2), l = c[0], u = c[1];
if (l === -Infinity || u === Infinity) {
var d = u === Infinity ? [l, ...Array(i - 1).fill(Infinity)] : [...Array(i - 1).fill(-Infinity), u];
return n > r ? d.reverse() : d;
}
- if (l === u) return SBe(l, i, a);
- var f = IQ(l, u, s, a, 0, o === "snap125" ? FQ : PQ), p = f.step, m = f.tickMin, h = f.tickMax, g = AQ(m, h.add(new OQ.default(.1).mul(p)), p);
+ if (l === u) return xBe(l, i, a);
+ var f = LQ(l, u, s, a, 0, o === "snap125" ? IQ : FQ), p = f.step, m = f.tickMin, h = f.tickMax, g = jQ(m, h.add(new kQ.default(.1).mul(p)), p);
return n > r ? g.reverse() : g;
-}, RQ = function(e, t) {
- var n = jQ(e, 2), r = n[0], i = n[1], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = jQ(NQ([r, i]), 2), c = s[0], l = s[1];
+}, zQ = function(e, t) {
+ var n = MQ(e, 2), r = n[0], i = n[1], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = MQ(PQ([r, i]), 2), c = s[0], l = s[1];
if (c === -Infinity || l === Infinity) return [r, i];
if (c === l) return [c];
- var u = o === "snap125" ? FQ : PQ, d = Math.max(t, 2), f = u(new OQ.default(l).sub(c).div(d - 1), a, 0), p = [...AQ(new OQ.default(c), new OQ.default(l), f), l];
+ var u = o === "snap125" ? IQ : FQ, d = Math.max(t, 2), f = u(new kQ.default(l).sub(c).div(d - 1), a, 0), p = [...jQ(new kQ.default(c), new kQ.default(l), f), l];
if (a === !1) {
p = p.map((e) => Math.round(e));
var m = p.length - 1;
m > 0 && p[m] === p[m - 1] && (p = p.slice(0, m));
}
return r > i ? p.reverse() : p;
-}, zQ = (e) => e.rootProps.maxBarSize, BQ = (e) => e.rootProps.barGap, VQ = (e) => e.rootProps.barCategoryGap, HQ = (e) => e.rootProps.barSize, UQ = (e) => e.rootProps.stackOffset, WQ = (e) => e.rootProps.reverseStackOrder, GQ = (e) => e.options.chartName, KQ = (e) => e.rootProps.syncId, qQ = (e) => e.rootProps.syncMethod, JQ = (e) => e.options.eventEmitter, CBe = (e) => e.rootProps.baseValue, YQ = {
+}, BQ = (e) => e.rootProps.maxBarSize, VQ = (e) => e.rootProps.barGap, HQ = (e) => e.rootProps.barCategoryGap, UQ = (e) => e.rootProps.barSize, WQ = (e) => e.rootProps.stackOffset, GQ = (e) => e.rootProps.reverseStackOrder, KQ = (e) => e.options.chartName, qQ = (e) => e.rootProps.syncId, JQ = (e) => e.rootProps.syncMethod, YQ = (e) => e.options.eventEmitter, SBe = (e) => e.rootProps.baseValue, XQ = {
grid: -100,
barBackground: -50,
area: 100,
@@ -73850,7 +73865,7 @@ var NQ = (e) => {
cursorLine: 1100,
activeDot: 1200,
label: 2e3
-}, XQ = {
+}, ZQ = {
allowDecimals: !1,
allowDuplicatedCategory: !0,
allowDataOverflow: !1,
@@ -73871,8 +73886,8 @@ var NQ = (e) => {
tickLine: !0,
tickSize: 8,
type: "auto",
- zIndex: YQ.axis
-}, ZQ = {
+ zIndex: XQ.axis
+}, QQ = {
allowDataOverflow: !1,
allowDecimals: !1,
allowDuplicatedCategory: !0,
@@ -73891,19 +73906,19 @@ var NQ = (e) => {
tickCount: 5,
tickLine: !0,
type: "auto",
- zIndex: YQ.axis
-}, QQ = (e, t) => {
+ zIndex: XQ.axis
+}, $Q = (e, t) => {
if (e && t) return e != null && e.reversed ? [t[1], t[0]] : t;
};
//#endregion
//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js
-function $Q(e, t, n) {
+function e$(e, t, n) {
if (n !== "auto") return n;
- if (e != null) return iX(e, t) ? "category" : "number";
+ if (e != null) return aX(e, t) ? "category" : "number";
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js
-function e$(e, t) {
+function t$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -73913,30 +73928,30 @@ function e$(e, t) {
}
return n;
}
-function t$(e) {
+function n$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? e$(Object(n), !0).forEach(function(t) {
- wBe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e$(Object(n)).forEach(function(t) {
+ t % 2 ? t$(Object(n), !0).forEach(function(t) {
+ CBe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function wBe(e, t, n) {
- return (t = TBe(t)) in e ? Object.defineProperty(e, t, {
+function CBe(e, t, n) {
+ return (t = wBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function TBe(e) {
- var t = EBe(e, "string");
+function wBe(e) {
+ var t = TBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function EBe(e, t) {
+function TBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -73946,77 +73961,77 @@ function EBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var n$ = {
- allowDataOverflow: XQ.allowDataOverflow,
- allowDecimals: XQ.allowDecimals,
+var r$ = {
+ allowDataOverflow: ZQ.allowDataOverflow,
+ allowDecimals: ZQ.allowDecimals,
allowDuplicatedCategory: !1,
dataKey: void 0,
domain: void 0,
- id: XQ.angleAxisId,
+ id: ZQ.angleAxisId,
includeHidden: !1,
name: void 0,
- reversed: XQ.reversed,
- scale: XQ.scale,
- tick: XQ.tick,
+ reversed: ZQ.reversed,
+ scale: ZQ.scale,
+ tick: ZQ.tick,
tickCount: void 0,
ticks: void 0,
- type: XQ.type,
+ type: ZQ.type,
unit: void 0,
niceTicks: "auto"
-}, r$ = {
- allowDataOverflow: ZQ.allowDataOverflow,
- allowDecimals: ZQ.allowDecimals,
- allowDuplicatedCategory: ZQ.allowDuplicatedCategory,
+}, i$ = {
+ allowDataOverflow: QQ.allowDataOverflow,
+ allowDecimals: QQ.allowDecimals,
+ allowDuplicatedCategory: QQ.allowDuplicatedCategory,
dataKey: void 0,
domain: void 0,
- id: ZQ.radiusAxisId,
- includeHidden: ZQ.includeHidden,
+ id: QQ.radiusAxisId,
+ includeHidden: QQ.includeHidden,
name: void 0,
- reversed: ZQ.reversed,
- scale: ZQ.scale,
- tick: ZQ.tick,
- tickCount: ZQ.tickCount,
+ reversed: QQ.reversed,
+ scale: QQ.scale,
+ tick: QQ.tick,
+ tickCount: QQ.tickCount,
ticks: void 0,
- type: ZQ.type,
+ type: QQ.type,
unit: void 0,
niceTicks: "auto"
-}, i$ = Y([(e, t) => {
+}, a$ = Y([(e, t) => {
if (t != null) return e.polarAxis.angleAxis[t];
-}, JX], (e, t) => {
+}, YX], (e, t) => {
if (e != null) return e;
- var n = $Q(t, "angleAxis", n$.type) ?? "category";
- return t$(t$({}, n$), {}, { type: n });
-}), a$ = Y([(e, t) => e.polarAxis.radiusAxis[t], JX], (e, t) => {
+ var n = e$(t, "angleAxis", r$.type) ?? "category";
+ return n$(n$({}, r$), {}, { type: n });
+}), o$ = Y([(e, t) => e.polarAxis.radiusAxis[t], YX], (e, t) => {
if (e != null) return e;
- var n = $Q(t, "radiusAxis", r$.type) ?? "category";
- return t$(t$({}, r$), {}, { type: n });
-}), o$ = (e) => e.polarOptions, s$ = Y([
- _X,
+ var n = e$(t, "radiusAxis", i$.type) ?? "category";
+ return n$(n$({}, i$), {}, { type: n });
+}), s$ = (e) => e.polarOptions, c$ = Y([
vX,
- wX
-], Kze), c$ = Y([o$, s$], (e, t) => {
- if (e != null) return EG(e.innerRadius, t, 0);
-}), l$ = Y([o$, s$], (e, t) => {
- if (e != null) return EG(e.outerRadius, t, t * .8);
-}), u$ = Y([o$], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), DBe = Y([i$, u$], QQ), d$ = Y([
- s$,
+ yX,
+ TX
+], Gze), l$ = Y([s$, c$], (e, t) => {
+ if (e != null) return DG(e.innerRadius, t, 0);
+}), u$ = Y([s$, c$], (e, t) => {
+ if (e != null) return DG(e.outerRadius, t, t * .8);
+}), d$ = Y([s$], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), EBe = Y([a$, d$], $Q), f$ = Y([
c$,
- l$
+ l$,
+ u$
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), OBe = Y([a$, d$], QQ), f$ = Y([
- GX,
- o$,
- c$,
+}), DBe = Y([o$, f$], $Q), p$ = Y([
+ KX,
+ s$,
l$,
- _X,
- vX
+ u$,
+ vX,
+ yX
], (e, t, n, r, i, a) => {
if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {
var o = t.cx, s = t.cy, c = t.startAngle, l = t.endAngle;
return {
- cx: EG(o, i, i / 2),
- cy: EG(s, a, a / 2),
+ cx: DG(o, i, i / 2),
+ cy: DG(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -74024,22 +74039,22 @@ var n$ = {
clockWise: !1
};
}
-}), p$ = (e, t) => t, m$ = (e, t, n) => n;
+}), m$ = (e, t) => t, h$ = (e, t, n) => n;
//#endregion
//#region node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js
-function h$(e) {
+function g$(e) {
return e?.id;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js
-function g$(e, t, n) {
+function _$(e, t, n) {
var r = t.chartData, i = r === void 0 ? [] : r, a = n.allowDuplicatedCategory, o = n.dataKey, s = /* @__PURE__ */ new Map();
return e.forEach((e) => {
var t = e.data ?? i;
if (t != null && t.length !== 0) {
- var n = h$(e);
+ var n = g$(e);
t.forEach((t, r) => {
- var i = o == null || a ? r : String(rX(t, o, null)), c = rX(t, e.dataKey, 0), l = s.has(i) ? s.get(i) : {};
+ var i = o == null || a ? r : String(iX(t, o, null)), c = iX(t, e.dataKey, 0), l = s.has(i) ? s.get(i) : {};
Object.assign(l, { [n]: c }), s.set(i, l);
});
}
@@ -74047,18 +74062,18 @@ function g$(e, t, n) {
}
//#endregion
//#region node_modules/recharts/es6/state/types/StackedGraphicalItem.js
-function _$(e) {
+function v$(e) {
return "stackId" in e && e.stackId != null && e.dataKey != null;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js
-var v$ = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
+var y$ = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
//#endregion
//#region node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js
-function y$(e, t) {
+function b$(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
-function kBe(e, t) {
+function OBe(e, t) {
if (e.length === t.length) {
for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
return !0;
@@ -74067,13 +74082,13 @@ function kBe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js
-var b$ = (e) => {
- var t = GX(e);
+var x$ = (e) => {
+ var t = KX(e);
return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";
-}, x$ = (e) => e.tooltip.settings.axisId;
+}, S$ = (e) => e.tooltip.settings.axisId;
//#endregion
//#region node_modules/recharts/es6/util/scale/RechartsScale.js
-function S$(e) {
+function C$(e) {
if (e != null) {
var t = e.ticks, n = e.bandwidth, r = e.range(), i = [Math.min(...r), Math.max(...r)];
return {
@@ -74114,13 +74129,13 @@ function S$(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js
-var C$ = (e, t) => {
+var w$ = (e, t) => {
if (t != null) switch (e) {
case "linear":
- if (!TQ(t)) {
+ if (!EQ(t)) {
for (var n, r, i = 0; i < t.length; i++) {
var a = t[i];
- $Y(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
+ eX(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
}
return n !== void 0 && r !== void 0 ? [n, r] : void 0;
}
@@ -74130,14 +74145,14 @@ var C$ = (e, t) => {
};
//#endregion
//#region node_modules/d3-array/src/ascending.js
-function w$(e, t) {
+function T$(e, t) {
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
}
//#endregion
//#region node_modules/d3-array/src/bisector.js
-function T$(e) {
+function E$(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = ABe(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = kBe(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -74163,15 +74178,15 @@ function T$(e) {
right: i
};
}
-function ABe(e) {
- return (t, n) => w$(e(t), n);
+function kBe(e) {
+ return (t, n) => T$(e(t), n);
}
//#endregion
//#region node_modules/d3-array/src/number.js
-function E$(e) {
+function D$(e) {
return e === null ? NaN : +e;
}
-function* jBe(e, t) {
+function* ABe(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -74180,52 +74195,52 @@ function* jBe(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/bisect.js
-var D$ = T$(w$), O$ = D$.right;
-D$.left, T$(E$).center;
+var O$ = E$(T$), k$ = O$.right;
+O$.left, E$(D$).center;
//#endregion
//#region node_modules/internmap/src/index.js
-var MBe = class extends Map {
- constructor(e, t = FBe) {
+var jBe = class extends Map {
+ constructor(e, t = PBe) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
}), e != null) for (let [t, n] of e) this.set(t, n);
}
get(e) {
- return super.get(k$(this, e));
+ return super.get(A$(this, e));
}
has(e) {
- return super.has(k$(this, e));
+ return super.has(A$(this, e));
}
set(e, t) {
- return super.set(NBe(this, e), t);
+ return super.set(MBe(this, e), t);
}
delete(e) {
- return super.delete(PBe(this, e));
+ return super.delete(NBe(this, e));
}
};
-function k$({ _intern: e, _key: t }, n) {
+function A$({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function NBe({ _intern: e, _key: t }, n) {
+function MBe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function PBe({ _intern: e, _key: t }, n) {
+function NBe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function FBe(e) {
+function PBe(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
//#region node_modules/d3-array/src/ticks.js
-var A$ = Math.sqrt(50), j$ = Math.sqrt(10), M$ = Math.sqrt(2);
-function N$(e, t, n) {
+var j$ = Math.sqrt(50), M$ = Math.sqrt(10), N$ = Math.sqrt(2);
+function P$(e, t, n) {
var r, i = -1, a, o, s;
if (t = +t, e = +e, n = +n, e === t && n > 0) return [e];
- if ((r = t < e) && (a = e, e = t, t = a), (s = P$(e, t, n)) === 0 || !isFinite(s)) return [];
+ if ((r = t < e) && (a = e, e = t, t = a), (s = F$(e, t, n)) === 0 || !isFinite(s)) return [];
if (s > 0) {
let n = Math.round(e / s), r = Math.round(t / s);
for (n * s < e && ++n, r * s > t && --r, o = Array(a = r - n + 1); ++i < a;) o[i] = (n + i) * s;
@@ -74236,17 +74251,17 @@ function N$(e, t, n) {
}
return r && o.reverse(), o;
}
-function P$(e, t, n) {
+function F$(e, t, n) {
var r = (t - e) / Math.max(0, n), i = Math.floor(Math.log(r) / Math.LN10), a = r / 10 ** i;
- return i >= 0 ? (a >= A$ ? 10 : a >= j$ ? 5 : a >= M$ ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= A$ ? 10 : a >= j$ ? 5 : a >= M$ ? 2 : 1);
+ return i >= 0 ? (a >= j$ ? 10 : a >= M$ ? 5 : a >= N$ ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= j$ ? 10 : a >= M$ ? 5 : a >= N$ ? 2 : 1);
}
-function F$(e, t, n) {
+function I$(e, t, n) {
var r = Math.abs(t - e) / Math.max(0, n), i = 10 ** Math.floor(Math.log(r) / Math.LN10), a = r / i;
- return a >= A$ ? i *= 10 : a >= j$ ? i *= 5 : a >= M$ && (i *= 2), t < e ? -i : i;
+ return a >= j$ ? i *= 10 : a >= M$ ? i *= 5 : a >= N$ && (i *= 2), t < e ? -i : i;
}
//#endregion
//#region node_modules/d3-array/src/max.js
-function I$(e, t) {
+function L$(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
else {
@@ -74257,7 +74272,7 @@ function I$(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/min.js
-function L$(e, t) {
+function R$(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);
else {
@@ -74268,36 +74283,36 @@ function L$(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/quickselect.js
-function R$(e, t, n = 0, r = e.length - 1, i = w$) {
+function z$(e, t, n = 0, r = e.length - 1, i = T$) {
for (; r > n;) {
if (r - n > 600) {
let a = r - n + 1, o = t - n + 1, s = Math.log(a), c = .5 * Math.exp(2 * s / 3), l = .5 * Math.sqrt(s * c * (a - c) / a) * (o - a / 2 < 0 ? -1 : 1);
- R$(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
+ z$(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
}
let a = e[t], o = n, s = r;
- for (z$(e, n, t), i(e[r], a) > 0 && z$(e, n, r); o < s;) {
- for (z$(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
+ for (B$(e, n, t), i(e[r], a) > 0 && B$(e, n, r); o < s;) {
+ for (B$(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
for (; i(e[s], a) > 0;) --s;
}
- i(e[n], a) === 0 ? z$(e, n, s) : (++s, z$(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
+ i(e[n], a) === 0 ? B$(e, n, s) : (++s, B$(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
}
return e;
}
-function z$(e, t, n) {
+function B$(e, t, n) {
let r = e[t];
e[t] = e[n], e[n] = r;
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function IBe(e, t, n) {
- if (e = Float64Array.from(jBe(e, n)), r = e.length) {
- if ((t = +t) <= 0 || r < 2) return L$(e);
- if (t >= 1) return I$(e);
- var r, i = (r - 1) * t, a = Math.floor(i), o = I$(R$(e, a).subarray(0, a + 1));
- return o + (L$(e.subarray(a + 1)) - o) * (i - a);
+function FBe(e, t, n) {
+ if (e = Float64Array.from(ABe(e, n)), r = e.length) {
+ if ((t = +t) <= 0 || r < 2) return R$(e);
+ if (t >= 1) return L$(e);
+ var r, i = (r - 1) * t, a = Math.floor(i), o = L$(z$(e, a).subarray(0, a + 1));
+ return o + (R$(e.subarray(a + 1)) - o) * (i - a);
}
}
-function LBe(e, t, n = E$) {
+function IBe(e, t, n = D$) {
if (r = e.length) {
if ((t = +t) <= 0 || r < 2) return +n(e[0], 0, e);
if (t >= 1) return +n(e[r - 1], r - 1, e);
@@ -74307,14 +74322,14 @@ function LBe(e, t, n = E$) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function RBe(e, t, n) {
+function LBe(e, t, n) {
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
return a;
}
//#endregion
//#region node_modules/d3-array/src/sum.js
-function B$(e, t) {
+function V$(e, t) {
let n = 0;
if (t === void 0) for (let t of e) (t = +t) && (n += t);
else {
@@ -74325,7 +74340,7 @@ function B$(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/init.js
-function V$(e, t) {
+function H$(e, t) {
switch (arguments.length) {
case 0: break;
case 1:
@@ -74335,7 +74350,7 @@ function V$(e, t) {
}
return this;
}
-function H$(e, t) {
+function U$(e, t) {
switch (arguments.length) {
case 0: break;
case 1:
@@ -74347,20 +74362,20 @@ function H$(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/ordinal.js
-var U$ = Symbol("implicit");
-function W$() {
- var e = new MBe(), t = [], n = [], r = U$;
+var W$ = Symbol("implicit");
+function G$() {
+ var e = new jBe(), t = [], n = [], r = W$;
function i(i) {
let a = e.get(i);
if (a === void 0) {
- if (r !== U$) return r;
+ if (r !== W$) return r;
e.set(i, a = t.push(i) - 1);
}
return n[a % n.length];
}
return i.domain = function(n) {
if (!arguments.length) return t.slice();
- t = [], e = new MBe();
+ t = [], e = new jBe();
for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);
return i;
}, i.range = function(e) {
@@ -74368,18 +74383,18 @@ function W$() {
}, i.unknown = function(e) {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
- return W$(t, n).unknown(r);
- }, V$.apply(i, arguments), i;
+ return G$(t, n).unknown(r);
+ }, H$.apply(i, arguments), i;
}
//#endregion
//#region node_modules/d3-scale/src/band.js
-function G$() {
- var e = W$().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
+function K$() {
+ var e = G$().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
delete e.unknown;
function d() {
var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;
a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));
- var m = RBe(e).map(function(e) {
+ var m = LBe(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -74405,32 +74420,32 @@ function G$() {
}, e.align = function(e) {
return arguments.length ? (u = Math.max(0, Math.min(1, e)), d()) : u;
}, e.copy = function() {
- return G$(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
- }, V$.apply(d(), arguments);
+ return K$(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
+ }, H$.apply(d(), arguments);
}
-function K$(e) {
+function q$(e) {
var t = e.copy;
return e.padding = e.paddingOuter, delete e.paddingInner, delete e.paddingOuter, e.copy = function() {
- return K$(t());
+ return q$(t());
}, e;
}
-function zBe() {
- return K$(G$.apply(null, arguments).paddingInner(1));
+function RBe() {
+ return q$(K$.apply(null, arguments).paddingInner(1));
}
//#endregion
//#region node_modules/d3-color/src/define.js
-function q$(e, t, n) {
+function J$(e, t, n) {
e.prototype = t.prototype = n, n.constructor = e;
}
-function J$(e, t) {
+function Y$(e, t) {
var n = Object.create(e.prototype);
for (var r in t) n[r] = t[r];
return n;
}
//#endregion
//#region node_modules/d3-color/src/color.js
-function Y$() {}
-var X$ = .7, Z$ = 1 / X$, Q$ = "\\s*([+-]?\\d+)\\s*", $$ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", e1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", BBe = /^#([0-9a-f]{3,8})$/, VBe = RegExp(`^rgb\\(${Q$},${Q$},${Q$}\\)$`), HBe = RegExp(`^rgb\\(${e1},${e1},${e1}\\)$`), UBe = RegExp(`^rgba\\(${Q$},${Q$},${Q$},${$$}\\)$`), WBe = RegExp(`^rgba\\(${e1},${e1},${e1},${$$}\\)$`), GBe = RegExp(`^hsl\\(${$$},${e1},${e1}\\)$`), KBe = RegExp(`^hsla\\(${$$},${e1},${e1},${$$}\\)$`), t1 = {
+function X$() {}
+var Z$ = .7, Q$ = 1 / Z$, $$ = "\\s*([+-]?\\d+)\\s*", e1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", t1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", zBe = /^#([0-9a-f]{3,8})$/, BBe = RegExp(`^rgb\\(${$$},${$$},${$$}\\)$`), VBe = RegExp(`^rgb\\(${t1},${t1},${t1}\\)$`), HBe = RegExp(`^rgba\\(${$$},${$$},${$$},${e1}\\)$`), UBe = RegExp(`^rgba\\(${t1},${t1},${t1},${e1}\\)$`), WBe = RegExp(`^hsl\\(${e1},${t1},${t1}\\)$`), GBe = RegExp(`^hsla\\(${e1},${t1},${t1},${e1}\\)$`), n1 = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -74580,170 +74595,170 @@ var X$ = .7, Z$ = 1 / X$, Q$ = "\\s*([+-]?\\d+)\\s*", $$ = "\\s*([+-]?(?:\\d*\\.
yellow: 16776960,
yellowgreen: 10145074
};
-q$(Y$, i1, {
+J$(X$, a1, {
copy(e) {
return Object.assign(new this.constructor(), this, e);
},
displayable() {
return this.rgb().displayable();
},
- hex: n1,
- formatHex: n1,
- formatHex8: qBe,
- formatHsl: JBe,
- formatRgb: r1,
- toString: r1
+ hex: r1,
+ formatHex: r1,
+ formatHex8: KBe,
+ formatHsl: qBe,
+ formatRgb: i1,
+ toString: i1
});
-function n1() {
+function r1() {
return this.rgb().formatHex();
}
-function qBe() {
+function KBe() {
return this.rgb().formatHex8();
}
-function JBe() {
- return h1(this).formatHsl();
+function qBe() {
+ return g1(this).formatHsl();
}
-function r1() {
+function i1() {
return this.rgb().formatRgb();
}
-function i1(e) {
- var t, n;
- return e = (e + "").trim().toLowerCase(), (t = BBe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? a1(t) : n === 3 ? new c1(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? o1(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? o1(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = VBe.exec(e)) ? new c1(t[1], t[2], t[3], 1) : (t = HBe.exec(e)) ? new c1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = UBe.exec(e)) ? o1(t[1], t[2], t[3], t[4]) : (t = WBe.exec(e)) ? o1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = GBe.exec(e)) ? m1(t[1], t[2] / 100, t[3] / 100, 1) : (t = KBe.exec(e)) ? m1(t[1], t[2] / 100, t[3] / 100, t[4]) : t1.hasOwnProperty(e) ? a1(t1[e]) : e === "transparent" ? new c1(NaN, NaN, NaN, 0) : null;
-}
function a1(e) {
- return new c1(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
-}
-function o1(e, t, n, r) {
- return r <= 0 && (e = t = n = NaN), new c1(e, t, n, r);
+ var t, n;
+ return e = (e + "").trim().toLowerCase(), (t = zBe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? o1(t) : n === 3 ? new l1(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? s1(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? s1(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = BBe.exec(e)) ? new l1(t[1], t[2], t[3], 1) : (t = VBe.exec(e)) ? new l1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = HBe.exec(e)) ? s1(t[1], t[2], t[3], t[4]) : (t = UBe.exec(e)) ? s1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = WBe.exec(e)) ? h1(t[1], t[2] / 100, t[3] / 100, 1) : (t = GBe.exec(e)) ? h1(t[1], t[2] / 100, t[3] / 100, t[4]) : n1.hasOwnProperty(e) ? o1(n1[e]) : e === "transparent" ? new l1(NaN, NaN, NaN, 0) : null;
}
-function YBe(e) {
- return e instanceof Y$ || (e = i1(e)), e ? (e = e.rgb(), new c1(e.r, e.g, e.b, e.opacity)) : new c1();
+function o1(e) {
+ return new l1(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
}
function s1(e, t, n, r) {
- return arguments.length === 1 ? YBe(e) : new c1(e, t, n, r ?? 1);
+ return r <= 0 && (e = t = n = NaN), new l1(e, t, n, r);
+}
+function JBe(e) {
+ return e instanceof X$ || (e = a1(e)), e ? (e = e.rgb(), new l1(e.r, e.g, e.b, e.opacity)) : new l1();
}
function c1(e, t, n, r) {
+ return arguments.length === 1 ? JBe(e) : new l1(e, t, n, r ?? 1);
+}
+function l1(e, t, n, r) {
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
}
-q$(c1, s1, J$(Y$, {
+J$(l1, c1, Y$(X$, {
brighter(e) {
- return e = e == null ? Z$ : Z$ ** +e, new c1(this.r * e, this.g * e, this.b * e, this.opacity);
+ return e = e == null ? Q$ : Q$ ** +e, new l1(this.r * e, this.g * e, this.b * e, this.opacity);
},
darker(e) {
- return e = e == null ? X$ : X$ ** +e, new c1(this.r * e, this.g * e, this.b * e, this.opacity);
+ return e = e == null ? Z$ : Z$ ** +e, new l1(this.r * e, this.g * e, this.b * e, this.opacity);
},
rgb() {
return this;
},
clamp() {
- return new c1(f1(this.r), f1(this.g), f1(this.b), d1(this.opacity));
+ return new l1(p1(this.r), p1(this.g), p1(this.b), f1(this.opacity));
},
displayable() {
return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
},
- hex: l1,
- formatHex: l1,
- formatHex8: XBe,
- formatRgb: u1,
- toString: u1
+ hex: u1,
+ formatHex: u1,
+ formatHex8: YBe,
+ formatRgb: d1,
+ toString: d1
}));
-function l1() {
- return `#${p1(this.r)}${p1(this.g)}${p1(this.b)}`;
+function u1() {
+ return `#${m1(this.r)}${m1(this.g)}${m1(this.b)}`;
}
-function XBe() {
- return `#${p1(this.r)}${p1(this.g)}${p1(this.b)}${p1((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
+function YBe() {
+ return `#${m1(this.r)}${m1(this.g)}${m1(this.b)}${m1((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
-function u1() {
- let e = d1(this.opacity);
- return `${e === 1 ? "rgb(" : "rgba("}${f1(this.r)}, ${f1(this.g)}, ${f1(this.b)}${e === 1 ? ")" : `, ${e})`}`;
+function d1() {
+ let e = f1(this.opacity);
+ return `${e === 1 ? "rgb(" : "rgba("}${p1(this.r)}, ${p1(this.g)}, ${p1(this.b)}${e === 1 ? ")" : `, ${e})`}`;
}
-function d1(e) {
+function f1(e) {
return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
}
-function f1(e) {
+function p1(e) {
return Math.max(0, Math.min(255, Math.round(e) || 0));
}
-function p1(e) {
- return e = f1(e), (e < 16 ? "0" : "") + e.toString(16);
+function m1(e) {
+ return e = p1(e), (e < 16 ? "0" : "") + e.toString(16);
}
-function m1(e, t, n, r) {
- return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new g1(e, t, n, r);
+function h1(e, t, n, r) {
+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new _1(e, t, n, r);
}
-function h1(e) {
- if (e instanceof g1) return new g1(e.h, e.s, e.l, e.opacity);
- if (e instanceof Y$ || (e = i1(e)), !e) return new g1();
- if (e instanceof g1) return e;
+function g1(e) {
+ if (e instanceof _1) return new _1(e.h, e.s, e.l, e.opacity);
+ if (e instanceof X$ || (e = a1(e)), !e) return new _1();
+ if (e instanceof _1) return e;
e = e.rgb();
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
- return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new g1(o, s, c, e.opacity);
+ return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new _1(o, s, c, e.opacity);
}
-function ZBe(e, t, n, r) {
- return arguments.length === 1 ? h1(e) : new g1(e, t, n, r ?? 1);
+function XBe(e, t, n, r) {
+ return arguments.length === 1 ? g1(e) : new _1(e, t, n, r ?? 1);
}
-function g1(e, t, n, r) {
+function _1(e, t, n, r) {
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
}
-q$(g1, ZBe, J$(Y$, {
+J$(_1, XBe, Y$(X$, {
brighter(e) {
- return e = e == null ? Z$ : Z$ ** +e, new g1(this.h, this.s, this.l * e, this.opacity);
+ return e = e == null ? Q$ : Q$ ** +e, new _1(this.h, this.s, this.l * e, this.opacity);
},
darker(e) {
- return e = e == null ? X$ : X$ ** +e, new g1(this.h, this.s, this.l * e, this.opacity);
+ return e = e == null ? Z$ : Z$ ** +e, new _1(this.h, this.s, this.l * e, this.opacity);
},
rgb() {
var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;
- return new c1(y1(e >= 240 ? e - 240 : e + 120, i, r), y1(e, i, r), y1(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
+ return new l1(b1(e >= 240 ? e - 240 : e + 120, i, r), b1(e, i, r), b1(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
},
clamp() {
- return new g1(_1(this.h), v1(this.s), v1(this.l), d1(this.opacity));
+ return new _1(v1(this.h), y1(this.s), y1(this.l), f1(this.opacity));
},
displayable() {
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
},
formatHsl() {
- let e = d1(this.opacity);
- return `${e === 1 ? "hsl(" : "hsla("}${_1(this.h)}, ${v1(this.s) * 100}%, ${v1(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
+ let e = f1(this.opacity);
+ return `${e === 1 ? "hsl(" : "hsla("}${v1(this.h)}, ${y1(this.s) * 100}%, ${y1(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
}
}));
-function _1(e) {
+function v1(e) {
return e = (e || 0) % 360, e < 0 ? e + 360 : e;
}
-function v1(e) {
+function y1(e) {
return Math.max(0, Math.min(1, e || 0));
}
-function y1(e, t, n) {
+function b1(e, t, n) {
return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
}
//#endregion
//#region node_modules/d3-interpolate/src/constant.js
-var b1 = (e) => () => e;
+var x1 = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function QBe(e, t) {
+function ZBe(e, t) {
return function(n) {
return e + n * t;
};
}
-function $Be(e, t, n) {
+function QBe(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function eVe(e) {
- return (e = +e) == 1 ? x1 : function(t, n) {
- return n - t ? $Be(t, n, e) : b1(isNaN(t) ? n : t);
+function $Be(e) {
+ return (e = +e) == 1 ? S1 : function(t, n) {
+ return n - t ? QBe(t, n, e) : x1(isNaN(t) ? n : t);
};
}
-function x1(e, t) {
+function S1(e, t) {
var n = t - e;
- return n ? QBe(e, n) : b1(isNaN(e) ? t : e);
+ return n ? ZBe(e, n) : x1(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
-var S1 = (function e(t) {
- var n = eVe(t);
+var C1 = (function e(t) {
+ var n = $Be(t);
function r(e, t) {
- var r = n((e = s1(e)).r, (t = s1(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = x1(e.opacity, t.opacity);
+ var r = n((e = c1(e)).r, (t = c1(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = S1(e.opacity, t.opacity);
return function(t) {
return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";
};
@@ -74752,7 +74767,7 @@ var S1 = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function tVe(e, t) {
+function eVe(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -74760,13 +74775,13 @@ function tVe(e, t) {
return r;
};
}
-function nVe(e) {
+function tVe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function rVe(e, t) {
- for (var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o = 0; o < r; ++o) i[o] = E1(e[o], t[o]);
+function nVe(e, t) {
+ for (var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o = 0; o < r; ++o) i[o] = D1(e[o], t[o]);
for (; o < n; ++o) a[o] = t[o];
return function(e) {
for (o = 0; o < r; ++o) a[o] = i[o](e);
@@ -74775,7 +74790,7 @@ function rVe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function iVe(e, t) {
+function rVe(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -74783,16 +74798,16 @@ function iVe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/number.js
-function C1(e, t) {
+function w1(e, t) {
return e = +e, t = +t, function(n) {
return e * (1 - n) + t * n;
};
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function aVe(e, t) {
+function iVe(e, t) {
var n = {}, r = {}, i;
- for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = E1(e[i], t[i]) : r[i] = t[i];
+ for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = D1(e[i], t[i]) : r[i] = t[i];
return function(e) {
for (i in n) r[i] = n[i](e);
return r;
@@ -74800,45 +74815,45 @@ function aVe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/string.js
-var w1 = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, T1 = new RegExp(w1.source, "g");
-function oVe(e) {
+var T1 = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, E1 = new RegExp(T1.source, "g");
+function aVe(e) {
return function() {
return e;
};
}
-function sVe(e) {
+function oVe(e) {
return function(t) {
return e(t) + "";
};
}
-function cVe(e, t) {
- var n = w1.lastIndex = T1.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
- for (e += "", t += ""; (r = w1.exec(e)) && (i = T1.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
+function sVe(e, t) {
+ var n = T1.lastIndex = E1.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
+ for (e += "", t += ""; (r = T1.exec(e)) && (i = E1.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
i: o,
- x: C1(r, i)
- })), n = T1.lastIndex;
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? sVe(c[0].x) : oVe(t) : (t = c.length, function(e) {
+ x: w1(r, i)
+ })), n = E1.lastIndex;
+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? oVe(c[0].x) : aVe(t) : (t = c.length, function(e) {
for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
return s.join("");
});
}
//#endregion
//#region node_modules/d3-interpolate/src/value.js
-function E1(e, t) {
+function D1(e, t) {
var n = typeof t, r;
- return t == null || n === "boolean" ? b1(t) : (n === "number" ? C1 : n === "string" ? (r = i1(t)) ? (t = r, S1) : cVe : t instanceof i1 ? S1 : t instanceof Date ? iVe : nVe(t) ? tVe : Array.isArray(t) ? rVe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? aVe : C1)(e, t);
+ return t == null || n === "boolean" ? x1(t) : (n === "number" ? w1 : n === "string" ? (r = a1(t)) ? (t = r, C1) : sVe : t instanceof a1 ? C1 : t instanceof Date ? rVe : tVe(t) ? eVe : Array.isArray(t) ? nVe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? iVe : w1)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
-function D1(e, t) {
+function O1(e, t) {
return e = +e, t = +t, function(n) {
return Math.round(e * (1 - n) + t * n);
};
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function lVe(e, t) {
- t === void 0 && (t = e, e = E1);
+function cVe(e, t) {
+ t === void 0 && (t = e, e = D1);
for (var n = 0, r = t.length - 1, i = t[0], a = Array(r < 0 ? 0 : r); n < r;) a[n] = e(i, i = t[++n]);
return function(e) {
var t = Math.max(0, Math.min(r - 1, Math.floor(e *= r)));
@@ -74847,69 +74862,69 @@ function lVe(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function uVe(e) {
+function lVe(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-scale/src/number.js
-function O1(e) {
+function k1(e) {
return +e;
}
//#endregion
//#region node_modules/d3-scale/src/continuous.js
-var k1 = [0, 1];
-function A1(e) {
+var A1 = [0, 1];
+function j1(e) {
return e;
}
-function j1(e, t) {
+function M1(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : uVe(isNaN(t) ? NaN : .5);
+ } : lVe(isNaN(t) ? NaN : .5);
}
-function dVe(e, t) {
+function uVe(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function fVe(e, t, n) {
+function dVe(e, t, n) {
var r = e[0], i = e[1], a = t[0], o = t[1];
- return i < r ? (r = j1(i, r), a = n(o, a)) : (r = j1(r, i), a = n(a, o)), function(e) {
+ return i < r ? (r = M1(i, r), a = n(o, a)) : (r = M1(r, i), a = n(a, o)), function(e) {
return a(r(e));
};
}
-function pVe(e, t, n) {
+function fVe(e, t, n) {
var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;
- for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = j1(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
+ for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = M1(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
- var n = O$(e, t, 1, r) - 1;
+ var n = k$(e, t, 1, r) - 1;
return a[n](i[n](t));
};
}
-function M1(e, t) {
+function N1(e, t) {
return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
}
-function N1() {
- var e = k1, t = k1, n = E1, r, i, a, o = A1, s, c, l;
+function P1() {
+ var e = A1, t = A1, n = D1, r, i, a, o = j1, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== A1 && (o = dVe(e[0], e[n - 1])), s = n > 2 ? pVe : fVe, c = l = null, d;
+ return o !== j1 && (o = uVe(e[0], e[n - 1])), s = n > 2 ? fVe : dVe, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
}
return d.invert = function(n) {
- return o(i((l ||= s(t, e.map(r), C1))(n)));
+ return o(i((l ||= s(t, e.map(r), w1))(n)));
}, d.domain = function(t) {
- return arguments.length ? (e = Array.from(t, O1), u()) : e.slice();
+ return arguments.length ? (e = Array.from(t, k1), u()) : e.slice();
}, d.range = function(e) {
return arguments.length ? (t = Array.from(e), u()) : t.slice();
}, d.rangeRound = function(e) {
- return t = Array.from(e), n = D1, u();
+ return t = Array.from(e), n = O1, u();
}, d.clamp = function(e) {
- return arguments.length ? (o = e ? !0 : A1, u()) : o !== A1;
+ return arguments.length ? (o = e ? !0 : j1, u()) : o !== j1;
}, d.interpolate = function(e) {
return arguments.length ? (n = e, u()) : n;
}, d.unknown = function(e) {
@@ -74918,27 +74933,27 @@ function N1() {
return r = e, i = t, u();
};
}
-function P1() {
- return N1()(A1, A1);
+function F1() {
+ return P1()(j1, j1);
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function mVe(e) {
+function pVe(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
-function F1(e, t) {
+function I1(e, t) {
if (!isFinite(e) || e === 0) return null;
var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);
return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];
}
//#endregion
//#region node_modules/d3-format/src/exponent.js
-function I1(e) {
- return e = F1(Math.abs(e)), e ? e[1] : NaN;
+function L1(e) {
+ return e = I1(Math.abs(e)), e ? e[1] : NaN;
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function hVe(e, t) {
+function mVe(e, t) {
return function(n, r) {
for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];
return a.reverse().join(t);
@@ -74946,7 +74961,7 @@ function hVe(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function gVe(e) {
+function hVe(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -74955,11 +74970,11 @@ function gVe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var _Ve = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
-function L1(e) {
- if (!(t = _Ve.exec(e))) throw Error("invalid format: " + e);
+var gVe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+function R1(e) {
+ if (!(t = gVe.exec(e))) throw Error("invalid format: " + e);
var t;
- return new R1({
+ return new z1({
fill: t[1],
align: t[2],
sign: t[3],
@@ -74972,16 +74987,16 @@ function L1(e) {
type: t[10]
});
}
-L1.prototype = R1.prototype;
-function R1(e) {
+R1.prototype = z1.prototype;
+function z1(e) {
this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";
}
-R1.prototype.toString = function() {
+z1.prototype.toString = function() {
return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function vVe(e) {
+function _Ve(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -74997,46 +75012,46 @@ function vVe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
-var z1;
-function yVe(e, t) {
- var n = F1(e, t);
- if (!n) return z1 = void 0, e.toPrecision(t);
- var r = n[0], i = n[1], a = i - (z1 = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
- return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + F1(e, Math.max(0, t + a - 1))[0];
+var B1;
+function vVe(e, t) {
+ var n = I1(e, t);
+ if (!n) return B1 = void 0, e.toPrecision(t);
+ var r = n[0], i = n[1], a = i - (B1 = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
+ return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + I1(e, Math.max(0, t + a - 1))[0];
}
//#endregion
//#region node_modules/d3-format/src/formatRounded.js
-function B1(e, t) {
- var n = F1(e, t);
+function V1(e, t) {
+ var n = I1(e, t);
if (!n) return e + "";
var r = n[0], i = n[1];
return i < 0 ? "0." + Array(-i).join("0") + r : r.length > i + 1 ? r.slice(0, i + 1) + "." + r.slice(i + 1) : r + Array(i - r.length + 2).join("0");
}
//#endregion
//#region node_modules/d3-format/src/formatTypes.js
-var V1 = {
+var H1 = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: mVe,
+ d: pVe,
e: (e, t) => e.toExponential(t),
f: (e, t) => e.toFixed(t),
g: (e, t) => e.toPrecision(t),
o: (e) => Math.round(e).toString(8),
- p: (e, t) => B1(e * 100, t),
- r: B1,
- s: yVe,
+ p: (e, t) => V1(e * 100, t),
+ r: V1,
+ s: vVe,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
//#endregion
//#region node_modules/d3-format/src/identity.js
-function H1(e) {
+function U1(e) {
return e;
}
//#endregion
//#region node_modules/d3-format/src/locale.js
-var U1 = Array.prototype.map, bVe = [
+var W1 = Array.prototype.map, yVe = [
"y",
"z",
"a",
@@ -75055,13 +75070,13 @@ var U1 = Array.prototype.map, bVe = [
"Z",
"Y"
];
-function xVe(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? H1 : hVe(U1.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? H1 : gVe(U1.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
+function bVe(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? U1 : mVe(W1.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? U1 : hVe(W1.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
function l(e, l) {
- e = L1(e);
+ e = R1(e);
var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;
- y === "n" ? (g = !0, y = "g") : V1[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
- var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = V1[y], C = /[defgprs%]/.test(y);
+ y === "n" ? (g = !0, y = "g") : H1[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
+ var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = H1[y], C = /[defgprs%]/.test(y);
_ = _ === void 0 ? 6 : /[gprs]/.test(y) ? Math.max(1, Math.min(21, _)) : Math.max(0, Math.min(20, _));
function w(e) {
var n = b, r = x, o, l, p;
@@ -75069,7 +75084,7 @@ function xVe(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = vVe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && z1 !== void 0 ? bVe[8 + z1 / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = _Ve(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && B1 !== void 0 ? yVe[8 + B1 / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {
r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);
break;
@@ -75097,7 +75112,7 @@ function xVe(e) {
}, w;
}
function u(e, t) {
- var n = Math.max(-8, Math.min(8, Math.floor(I1(t) / 3))) * 3, r = 10 ** -n, i = l((e = L1(e), e.type = "f", e), { suffix: bVe[8 + n / 3] });
+ var n = Math.max(-8, Math.min(8, Math.floor(L1(t) / 3))) * 3, r = 10 ** -n, i = l((e = R1(e), e.type = "f", e), { suffix: yVe[8 + n / 3] });
return function(e) {
return i(r * e);
};
@@ -75109,65 +75124,65 @@ function xVe(e) {
}
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
-var W1, G1, SVe;
-CVe({
+var G1, K1, xVe;
+SVe({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function CVe(e) {
- return W1 = xVe(e), G1 = W1.format, SVe = W1.formatPrefix, W1;
+function SVe(e) {
+ return G1 = bVe(e), K1 = G1.format, xVe = G1.formatPrefix, G1;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function wVe(e) {
- return Math.max(0, -I1(Math.abs(e)));
+function CVe(e) {
+ return Math.max(0, -L1(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function TVe(e, t) {
- return Math.max(0, Math.max(-8, Math.min(8, Math.floor(I1(t) / 3))) * 3 - I1(Math.abs(e)));
+function wVe(e, t) {
+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(L1(t) / 3))) * 3 - L1(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
-function EVe(e, t) {
- return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, I1(t) - I1(e)) + 1;
+function TVe(e, t) {
+ return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, L1(t) - L1(e)) + 1;
}
//#endregion
//#region node_modules/d3-scale/src/tickFormat.js
-function DVe(e, t, n, r) {
- var i = F$(e, t, n), a;
- switch (r = L1(r ?? ",f"), r.type) {
+function EVe(e, t, n, r) {
+ var i = I$(e, t, n), a;
+ switch (r = R1(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = TVe(i, o)) && (r.precision = a), SVe(r, o);
+ return r.precision == null && !isNaN(a = wVe(i, o)) && (r.precision = a), xVe(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = EVe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = TVe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = wVe(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = CVe(i)) && (r.precision = a - (r.type === "%") * 2);
}
- return G1(r);
+ return K1(r);
}
//#endregion
//#region node_modules/d3-scale/src/linear.js
-function K1(e) {
+function q1(e) {
var t = e.domain;
return e.ticks = function(e) {
var n = t();
- return N$(n[0], n[n.length - 1], e ?? 10);
+ return P$(n[0], n[n.length - 1], e ?? 10);
}, e.tickFormat = function(e, n) {
var r = t();
- return DVe(r[0], r[r.length - 1], e ?? 10, n);
+ return EVe(r[0], r[r.length - 1], e ?? 10, n);
}, e.nice = function(n) {
n ??= 10;
var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;
for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {
- if (l = P$(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
+ if (l = F$(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;
else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;
else break;
@@ -75176,64 +75191,64 @@ function K1(e) {
return e;
}, e;
}
-function OVe() {
- var e = P1();
+function DVe() {
+ var e = F1();
return e.copy = function() {
- return M1(e, OVe());
- }, V$.apply(e, arguments), K1(e);
+ return N1(e, DVe());
+ }, H$.apply(e, arguments), q1(e);
}
//#endregion
//#region node_modules/d3-scale/src/identity.js
-function kVe(e) {
+function OVe(e) {
var t;
function n(e) {
return e == null || isNaN(e = +e) ? t : e;
}
return n.invert = n, n.domain = n.range = function(t) {
- return arguments.length ? (e = Array.from(t, O1), n) : e.slice();
+ return arguments.length ? (e = Array.from(t, k1), n) : e.slice();
}, n.unknown = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.copy = function() {
- return kVe(e).unknown(t);
- }, e = arguments.length ? Array.from(e, O1) : [0, 1], K1(n);
+ return OVe(e).unknown(t);
+ }, e = arguments.length ? Array.from(e, k1) : [0, 1], q1(n);
}
//#endregion
//#region node_modules/d3-scale/src/nice.js
-function AVe(e, t) {
+function kVe(e, t) {
e = e.slice();
var n = 0, r = e.length - 1, i = e[n], a = e[r], o;
return a < i && (o = n, n = r, r = o, o = i, i = a, a = o), e[n] = t.floor(i), e[r] = t.ceil(a), e;
}
//#endregion
//#region node_modules/d3-scale/src/log.js
-function jVe(e) {
+function AVe(e) {
return Math.log(e);
}
-function MVe(e) {
+function jVe(e) {
return Math.exp(e);
}
-function NVe(e) {
+function MVe(e) {
return -Math.log(-e);
}
-function PVe(e) {
+function NVe(e) {
return -Math.exp(-e);
}
-function FVe(e) {
+function PVe(e) {
return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
-function IVe(e) {
- return e === 10 ? FVe : e === Math.E ? Math.exp : (t) => e ** +t;
+function FVe(e) {
+ return e === 10 ? PVe : e === Math.E ? Math.exp : (t) => e ** +t;
}
-function LVe(e) {
+function IVe(e) {
return e === Math.E ? Math.log : e === 10 && Math.log10 || e === 2 && Math.log2 || (e = Math.log(e), (t) => Math.log(t) / e);
}
-function RVe(e) {
+function LVe(e) {
return (t, n) => -e(-t, n);
}
-function q1(e) {
- let t = e(jVe, MVe), n = t.domain, r = 10, i, a;
+function J1(e) {
+ let t = e(AVe, jVe), n = t.domain, r = 10, i, a;
function o() {
- return i = LVe(r), a = IVe(r), n()[0] < 0 ? (i = RVe(i), a = RVe(a), e(NVe, PVe)) : e(jVe, MVe), t;
+ return i = IVe(r), a = FVe(r), n()[0] < 0 ? (i = LVe(i), a = LVe(a), e(MVe, NVe)) : e(AVe, jVe), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -75253,100 +75268,100 @@ function q1(e) {
if (f > s) break;
m.push(f);
}
- m.length * 2 < p && (m = N$(o, s, p));
- } else m = N$(l, u, Math.min(u - l, p)).map(a);
+ m.length * 2 < p && (m = P$(o, s, p));
+ } else m = P$(l, u, Math.min(u - l, p)).map(a);
return c ? m.reverse() : m;
}, t.tickFormat = (e, n) => {
- if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = L1(n)).precision == null && (n.trim = !0), n = G1(n)), e === Infinity) return n;
+ if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = R1(n)).precision == null && (n.trim = !0), n = K1(n)), e === Infinity) return n;
let o = Math.max(1, r * e / t.ticks().length);
return (e) => {
let t = e / a(Math.round(i(e)));
return t * r < r - .5 && (t *= r), t <= o ? n(e) : "";
};
- }, t.nice = () => n(AVe(n(), {
+ }, t.nice = () => n(kVe(n(), {
floor: (e) => a(Math.floor(i(e))),
ceil: (e) => a(Math.ceil(i(e)))
})), t;
}
-function zVe() {
- let e = q1(N1()).domain([1, 10]);
- return e.copy = () => M1(e, zVe()).base(e.base()), V$.apply(e, arguments), e;
+function RVe() {
+ let e = J1(P1()).domain([1, 10]);
+ return e.copy = () => N1(e, RVe()).base(e.base()), H$.apply(e, arguments), e;
}
//#endregion
//#region node_modules/d3-scale/src/symlog.js
-function BVe(e) {
+function zVe(e) {
return function(t) {
return Math.sign(t) * Math.log1p(Math.abs(t / e));
};
}
-function VVe(e) {
+function BVe(e) {
return function(t) {
return Math.sign(t) * Math.expm1(Math.abs(t)) * e;
};
}
-function J1(e) {
- var t = 1, n = e(BVe(t), VVe(t));
+function Y1(e) {
+ var t = 1, n = e(zVe(t), BVe(t));
return n.constant = function(n) {
- return arguments.length ? e(BVe(t = +n), VVe(t)) : t;
- }, K1(n);
+ return arguments.length ? e(zVe(t = +n), BVe(t)) : t;
+ }, q1(n);
}
-function HVe() {
- var e = J1(N1());
+function VVe() {
+ var e = Y1(P1());
return e.copy = function() {
- return M1(e, HVe()).constant(e.constant());
- }, V$.apply(e, arguments);
+ return N1(e, VVe()).constant(e.constant());
+ }, H$.apply(e, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/pow.js
-function UVe(e) {
+function HVe(e) {
return function(t) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function WVe(e) {
+function UVe(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function GVe(e) {
+function WVe(e) {
return e < 0 ? -e * e : e * e;
}
-function Y1(e) {
- var t = e(A1, A1), n = 1;
+function X1(e) {
+ var t = e(j1, j1), n = 1;
function r() {
- return n === 1 ? e(A1, A1) : n === .5 ? e(WVe, GVe) : e(UVe(n), UVe(1 / n));
+ return n === 1 ? e(j1, j1) : n === .5 ? e(UVe, WVe) : e(HVe(n), HVe(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
- }, K1(t);
+ }, q1(t);
}
-function X1() {
- var e = Y1(N1());
+function Z1() {
+ var e = X1(P1());
return e.copy = function() {
- return M1(e, X1()).exponent(e.exponent());
- }, V$.apply(e, arguments), e;
+ return N1(e, Z1()).exponent(e.exponent());
+ }, H$.apply(e, arguments), e;
}
-function KVe() {
- return X1.apply(null, arguments).exponent(.5);
+function GVe() {
+ return Z1.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/radial.js
-function qVe(e) {
+function KVe(e) {
return Math.sign(e) * e * e;
}
-function JVe(e) {
+function qVe(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
-function YVe() {
- var e = P1(), t = [0, 1], n = !1, r;
+function JVe() {
+ var e = F1(), t = [0, 1], n = !1, r;
function i(t) {
- var i = JVe(e(t));
+ var i = qVe(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
- return e.invert(qVe(t));
+ return e.invert(KVe(t));
}, i.domain = function(t) {
return arguments.length ? (e.domain(t), i) : e.domain();
}, i.range = function(n) {
- return arguments.length ? (e.range((t = Array.from(n, O1)).map(qVe)), i) : t.slice();
+ return arguments.length ? (e.range((t = Array.from(n, k1)).map(KVe)), i) : t.slice();
}, i.rangeRound = function(e) {
return i.range(e).round(!0);
}, i.round = function(e) {
@@ -75356,20 +75371,20 @@ function YVe() {
}, i.unknown = function(e) {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
- return YVe(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
- }, V$.apply(i, arguments), K1(i);
+ return JVe(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
+ }, H$.apply(i, arguments), q1(i);
}
//#endregion
//#region node_modules/d3-scale/src/quantile.js
-function XVe() {
+function YVe() {
var e = [], t = [], n = [], r;
function i() {
var r = 0, i = Math.max(1, t.length);
- for (n = Array(i - 1); ++r < i;) n[r - 1] = LBe(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = IBe(e, r / i);
return a;
}
function a(e) {
- return e == null || isNaN(e = +e) ? r : t[O$(n, e)];
+ return e == null || isNaN(e = +e) ? r : t[k$(n, e)];
}
return a.invertExtent = function(r) {
var i = t.indexOf(r);
@@ -75378,7 +75393,7 @@ function XVe() {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(w$), i();
+ return e.sort(T$), i();
}, a.range = function(e) {
return arguments.length ? (t = Array.from(e), i()) : t.slice();
}, a.unknown = function(e) {
@@ -75386,15 +75401,15 @@ function XVe() {
}, a.quantiles = function() {
return n.slice();
}, a.copy = function() {
- return XVe().domain(e).range(t).unknown(r);
- }, V$.apply(a, arguments);
+ return YVe().domain(e).range(t).unknown(r);
+ }, H$.apply(a, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/quantize.js
-function ZVe() {
+function XVe() {
var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;
function o(e) {
- return e != null && e <= e ? i[O$(r, e, 0, n)] : a;
+ return e != null && e <= e ? i[k$(r, e, 0, n)] : a;
}
function s() {
var i = -1;
@@ -75413,15 +75428,15 @@ function ZVe() {
}, o.thresholds = function() {
return r.slice();
}, o.copy = function() {
- return ZVe().domain([e, t]).range(i).unknown(a);
- }, V$.apply(K1(o), arguments);
+ return XVe().domain([e, t]).range(i).unknown(a);
+ }, H$.apply(q1(o), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/threshold.js
-function QVe() {
+function ZVe() {
var e = [.5], t = [0, 1], n, r = 1;
function i(i) {
- return i != null && i <= i ? t[O$(e, i, 0, r)] : n;
+ return i != null && i <= i ? t[k$(e, i, 0, r)] : n;
}
return i.domain = function(n) {
return arguments.length ? (e = Array.from(n), r = Math.min(e.length, t.length - 1), i) : e.slice();
@@ -75433,13 +75448,13 @@ function QVe() {
}, i.unknown = function(e) {
return arguments.length ? (n = e, i) : n;
}, i.copy = function() {
- return QVe().domain(e).range(t).unknown(n);
- }, V$.apply(i, arguments);
+ return ZVe().domain(e).range(t).unknown(n);
+ }, H$.apply(i, arguments);
}
//#endregion
//#region node_modules/d3-time/src/interval.js
-var Z1 = /* @__PURE__ */ new Date(), Q1 = /* @__PURE__ */ new Date();
-function $1(e, t, n, r) {
+var Q1 = /* @__PURE__ */ new Date(), $1 = /* @__PURE__ */ new Date();
+function e0(e, t, n, r) {
function i(t) {
return e(t = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+t)), t;
}
@@ -75454,226 +75469,226 @@ function $1(e, t, n, r) {
o.push(s = /* @__PURE__ */ new Date(+n)), t(n, a), e(n);
while (s < n && n < r);
return o;
- }, i.filter = (n) => $1((t) => {
+ }, i.filter = (n) => e0((t) => {
if (t >= t) for (; e(t), !n(t);) t.setTime(t - 1);
}, (e, r) => {
if (e >= e) {
if (r < 0) for (; ++r <= 0;) for (; t(e, -1), !n(e););
else for (; --r >= 0;) for (; t(e, 1), !n(e););
}
- }), n && (i.count = (t, r) => (Z1.setTime(+t), Q1.setTime(+r), e(Z1), e(Q1), Math.floor(n(Z1, Q1))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;
+ }), n && (i.count = (t, r) => (Q1.setTime(+t), $1.setTime(+r), e(Q1), e($1), Math.floor(n(Q1, $1))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;
}
//#endregion
//#region node_modules/d3-time/src/millisecond.js
-var e0 = $1(() => {}, (e, t) => {
+var t0 = e0(() => {}, (e, t) => {
e.setTime(+e + t);
}, (e, t) => t - e);
-e0.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? $1((t) => {
+t0.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? e0((t) => {
t.setTime(Math.floor(t / e) * e);
}, (t, n) => {
t.setTime(+t + n * e);
-}, (t, n) => (n - t) / e) : e0), e0.range;
+}, (t, n) => (n - t) / e) : t0), t0.range;
//#endregion
//#region node_modules/d3-time/src/duration.js
-var t0 = 1e3, n0 = t0 * 60, r0 = n0 * 60, i0 = r0 * 24, a0 = i0 * 7, $Ve = i0 * 30, o0 = i0 * 365, s0 = $1((e) => {
+var n0 = 1e3, r0 = n0 * 60, i0 = r0 * 60, a0 = i0 * 24, o0 = a0 * 7, QVe = a0 * 30, s0 = a0 * 365, c0 = e0((e) => {
e.setTime(e - e.getMilliseconds());
}, (e, t) => {
- e.setTime(+e + t * t0);
-}, (e, t) => (t - e) / t0, (e) => e.getUTCSeconds());
-s0.range;
+ e.setTime(+e + t * n0);
+}, (e, t) => (t - e) / n0, (e) => e.getUTCSeconds());
+c0.range;
//#endregion
//#region node_modules/d3-time/src/minute.js
-var c0 = $1((e) => {
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * t0);
+var l0 = e0((e) => {
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * n0);
}, (e, t) => {
- e.setTime(+e + t * n0);
-}, (e, t) => (t - e) / n0, (e) => e.getMinutes());
-c0.range;
-var l0 = $1((e) => {
+ e.setTime(+e + t * r0);
+}, (e, t) => (t - e) / r0, (e) => e.getMinutes());
+l0.range;
+var u0 = e0((e) => {
e.setUTCSeconds(0, 0);
}, (e, t) => {
- e.setTime(+e + t * n0);
-}, (e, t) => (t - e) / n0, (e) => e.getUTCMinutes());
-l0.range;
+ e.setTime(+e + t * r0);
+}, (e, t) => (t - e) / r0, (e) => e.getUTCMinutes());
+u0.range;
//#endregion
//#region node_modules/d3-time/src/hour.js
-var u0 = $1((e) => {
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * t0 - e.getMinutes() * n0);
+var d0 = e0((e) => {
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * n0 - e.getMinutes() * r0);
}, (e, t) => {
- e.setTime(+e + t * r0);
-}, (e, t) => (t - e) / r0, (e) => e.getHours());
-u0.range;
-var d0 = $1((e) => {
+ e.setTime(+e + t * i0);
+}, (e, t) => (t - e) / i0, (e) => e.getHours());
+d0.range;
+var f0 = e0((e) => {
e.setUTCMinutes(0, 0, 0);
}, (e, t) => {
- e.setTime(+e + t * r0);
-}, (e, t) => (t - e) / r0, (e) => e.getUTCHours());
-d0.range;
+ e.setTime(+e + t * i0);
+}, (e, t) => (t - e) / i0, (e) => e.getUTCHours());
+f0.range;
//#endregion
//#region node_modules/d3-time/src/day.js
-var f0 = $1((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * n0) / i0, (e) => e.getDate() - 1);
-f0.range;
-var p0 = $1((e) => {
+var p0 = e0((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * r0) / a0, (e) => e.getDate() - 1);
+p0.range;
+var m0 = e0((e) => {
e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t);
-}, (e, t) => (t - e) / i0, (e) => e.getUTCDate() - 1);
-p0.range;
-var eHe = $1((e) => {
+}, (e, t) => (t - e) / a0, (e) => e.getUTCDate() - 1);
+m0.range;
+var $Ve = e0((e) => {
e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t);
-}, (e, t) => (t - e) / i0, (e) => Math.floor(e / i0));
-eHe.range;
+}, (e, t) => (t - e) / a0, (e) => Math.floor(e / a0));
+$Ve.range;
//#endregion
//#region node_modules/d3-time/src/week.js
-function m0(e) {
- return $1((t) => {
+function h0(e) {
+ return e0((t) => {
t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
}, (e, t) => {
e.setDate(e.getDate() + t * 7);
- }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * n0) / a0);
+ }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * r0) / o0);
}
-var h0 = m0(0), g0 = m0(1), tHe = m0(2), nHe = m0(3), _0 = m0(4), rHe = m0(5), iHe = m0(6);
-h0.range, g0.range, tHe.range, nHe.range, _0.range, rHe.range, iHe.range;
-function v0(e) {
- return $1((t) => {
+var g0 = h0(0), _0 = h0(1), eHe = h0(2), tHe = h0(3), v0 = h0(4), nHe = h0(5), rHe = h0(6);
+g0.range, _0.range, eHe.range, tHe.range, v0.range, nHe.range, rHe.range;
+function y0(e) {
+ return e0((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t * 7);
- }, (e, t) => (t - e) / a0);
+ }, (e, t) => (t - e) / o0);
}
-var y0 = v0(0), b0 = v0(1), aHe = v0(2), oHe = v0(3), x0 = v0(4), sHe = v0(5), cHe = v0(6);
-y0.range, b0.range, aHe.range, oHe.range, x0.range, sHe.range, cHe.range;
+var b0 = y0(0), x0 = y0(1), iHe = y0(2), aHe = y0(3), S0 = y0(4), oHe = y0(5), sHe = y0(6);
+b0.range, x0.range, iHe.range, aHe.range, S0.range, oHe.range, sHe.range;
//#endregion
//#region node_modules/d3-time/src/month.js
-var S0 = $1((e) => {
+var C0 = e0((e) => {
e.setDate(1), e.setHours(0, 0, 0, 0);
}, (e, t) => {
e.setMonth(e.getMonth() + t);
}, (e, t) => t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12, (e) => e.getMonth());
-S0.range;
-var C0 = $1((e) => {
+C0.range;
+var w0 = e0((e) => {
e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCMonth(e.getUTCMonth() + t);
}, (e, t) => t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12, (e) => e.getUTCMonth());
-C0.range;
+w0.range;
//#endregion
//#region node_modules/d3-time/src/year.js
-var w0 = $1((e) => {
+var T0 = e0((e) => {
e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
}, (e, t) => {
e.setFullYear(e.getFullYear() + t);
}, (e, t) => t.getFullYear() - e.getFullYear(), (e) => e.getFullYear());
-w0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : $1((t) => {
+T0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : e0((t) => {
t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
}, (t, n) => {
t.setFullYear(t.getFullYear() + n * e);
-}), w0.range;
-var T0 = $1((e) => {
+}), T0.range;
+var E0 = e0((e) => {
e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCFullYear(e.getUTCFullYear() + t);
}, (e, t) => t.getUTCFullYear() - e.getUTCFullYear(), (e) => e.getUTCFullYear());
-T0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : $1((t) => {
+E0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : e0((t) => {
t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
}, (t, n) => {
t.setUTCFullYear(t.getUTCFullYear() + n * e);
-}), T0.range;
+}), E0.range;
//#endregion
//#region node_modules/d3-time/src/ticks.js
-function lHe(e, t, n, r, i, a) {
+function cHe(e, t, n, r, i, a) {
let o = [
[
- s0,
+ c0,
1,
- t0
+ n0
],
[
- s0,
+ c0,
5,
- 5 * t0
+ 5 * n0
],
[
- s0,
+ c0,
15,
- 15 * t0
+ 15 * n0
],
[
- s0,
+ c0,
30,
- 30 * t0
+ 30 * n0
],
[
a,
1,
- n0
+ r0
],
[
a,
5,
- 5 * n0
+ 5 * r0
],
[
a,
15,
- 15 * n0
+ 15 * r0
],
[
a,
30,
- 30 * n0
+ 30 * r0
],
[
i,
1,
- r0
+ i0
],
[
i,
3,
- 3 * r0
+ 3 * i0
],
[
i,
6,
- 6 * r0
+ 6 * i0
],
[
i,
12,
- 12 * r0
+ 12 * i0
],
[
r,
1,
- i0
+ a0
],
[
r,
2,
- 2 * i0
+ 2 * a0
],
[
n,
1,
- a0
+ o0
],
[
t,
1,
- $Ve
+ QVe
],
[
t,
3,
- 3 * $Ve
+ 3 * QVe
],
[
e,
1,
- o0
+ s0
]
];
function s(e, t, n) {
@@ -75683,32 +75698,32 @@ function lHe(e, t, n, r, i, a) {
return r ? a.reverse() : a;
}
function c(t, n, r) {
- let i = Math.abs(n - t) / r, a = T$(([, , e]) => e).right(o, i);
- if (a === o.length) return e.every(F$(t / o0, n / o0, r));
- if (a === 0) return e0.every(Math.max(F$(t, n, r), 1));
+ let i = Math.abs(n - t) / r, a = E$(([, , e]) => e).right(o, i);
+ if (a === o.length) return e.every(I$(t / s0, n / s0, r));
+ if (a === 0) return t0.every(Math.max(I$(t, n, r), 1));
let [s, c] = o[i / o[a - 1][2] < o[a][2] / i ? a - 1 : a];
return s.every(c);
}
return [s, c];
}
-var [uHe, dHe] = lHe(T0, C0, y0, eHe, d0, l0), [fHe, pHe] = lHe(w0, S0, h0, f0, u0, c0);
+var [lHe, uHe] = cHe(E0, w0, b0, $Ve, f0, u0), [dHe, fHe] = cHe(T0, C0, g0, p0, d0, l0);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
-function E0(e) {
+function D0(e) {
if (0 <= e.y && e.y < 100) {
var t = new Date(-1, e.m, e.d, e.H, e.M, e.S, e.L);
return t.setFullYear(e.y), t;
}
return new Date(e.y, e.m, e.d, e.H, e.M, e.S, e.L);
}
-function D0(e) {
+function O0(e) {
if (0 <= e.y && e.y < 100) {
var t = new Date(Date.UTC(-1, e.m, e.d, e.H, e.M, e.S, e.L));
return t.setUTCFullYear(e.y), t;
}
return new Date(Date.UTC(e.y, e.m, e.d, e.H, e.M, e.S, e.L));
}
-function O0(e, t, n) {
+function k0(e, t, n) {
return {
y: e,
m: t,
@@ -75719,133 +75734,133 @@ function O0(e, t, n) {
L: 0
};
}
-function mHe(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 = j0(i), u = M0(i), d = j0(a), f = M0(a), p = j0(o), m = M0(o), h = j0(s), g = M0(s), _ = j0(c), v = M0(c), y = {
+function pHe(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 = M0(i), u = N0(i), d = M0(a), f = N0(a), p = M0(o), m = N0(o), h = M0(s), g = N0(s), _ = M0(c), v = N0(c), y = {
a: N,
A: P,
b: ee,
B: F,
c: null,
- d: zHe,
- e: zHe,
- f: WHe,
- g: tUe,
- G: rUe,
- H: BHe,
- I: VHe,
- j: HHe,
- L: UHe,
- m: GHe,
- M: KHe,
+ d: RHe,
+ e: RHe,
+ f: UHe,
+ g: eUe,
+ G: nUe,
+ H: zHe,
+ I: BHe,
+ j: VHe,
+ L: HHe,
+ m: WHe,
+ M: GHe,
p: te,
q: ne,
- Q: EUe,
- s: DUe,
- S: qHe,
- u: JHe,
- U: YHe,
- V: ZHe,
- w: QHe,
- W: $He,
+ Q: TUe,
+ s: EUe,
+ S: KHe,
+ u: qHe,
+ U: JHe,
+ V: XHe,
+ w: ZHe,
+ W: QHe,
x: null,
X: null,
- y: eUe,
- Y: nUe,
- Z: iUe,
- "%": TUe
+ y: $He,
+ Y: tUe,
+ Z: rUe,
+ "%": wUe
}, b = {
a: re,
A: ie,
b: ae,
B: oe,
c: null,
- d: aUe,
- e: aUe,
- f: uUe,
- g: xUe,
- G: CUe,
- H: oUe,
- I: sUe,
- j: cUe,
- L: lUe,
- m: dUe,
- M: fUe,
+ d: iUe,
+ e: iUe,
+ f: lUe,
+ g: bUe,
+ G: SUe,
+ H: aUe,
+ I: oUe,
+ j: sUe,
+ L: cUe,
+ m: uUe,
+ M: dUe,
p: se,
q: ce,
- Q: EUe,
- s: DUe,
- S: pUe,
- u: mUe,
- U: hUe,
- V: _Ue,
- w: vUe,
- W: yUe,
+ Q: TUe,
+ s: EUe,
+ S: fUe,
+ u: pUe,
+ U: mUe,
+ V: gUe,
+ w: _Ue,
+ W: vUe,
x: null,
X: null,
- y: bUe,
- Y: SUe,
- Z: wUe,
- "%": TUe
+ y: yUe,
+ Y: xUe,
+ Z: CUe,
+ "%": wUe
}, x = {
a: E,
A: D,
b: O,
B: k,
c: A,
- d: kHe,
- e: kHe,
- f: FHe,
- g: THe,
- G: wHe,
- H: jHe,
- I: jHe,
- j: AHe,
- L: PHe,
- m: OHe,
- M: MHe,
+ d: OHe,
+ e: OHe,
+ f: PHe,
+ g: wHe,
+ G: CHe,
+ H: AHe,
+ I: AHe,
+ j: kHe,
+ L: NHe,
+ m: DHe,
+ M: jHe,
p: T,
- q: DHe,
- Q: LHe,
- s: RHe,
- S: NHe,
- u: bHe,
- U: xHe,
- V: SHe,
- w: yHe,
- W: CHe,
+ q: EHe,
+ Q: IHe,
+ s: LHe,
+ S: MHe,
+ u: yHe,
+ U: bHe,
+ V: xHe,
+ w: vHe,
+ W: SHe,
x: j,
X: M,
- y: THe,
- Y: wHe,
- Z: EHe,
- "%": IHe
+ y: wHe,
+ Y: CHe,
+ Z: THe,
+ "%": FHe
};
y.x = S(n, y), y.X = S(r, y), y.c = S(t, y), b.x = S(n, b), b.X = S(r, b), b.c = S(t, b);
function S(e, t) {
return function(n) {
var r = [], i = -1, a = 0, o = e.length, s, c, l;
- for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = hHe[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);
+ for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = mHe[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);
return r.push(e.slice(a, i)), r.join("");
};
}
function C(e, t) {
return function(n) {
- var r = O0(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;
+ var r = k0(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;
if (i != n.length) return null;
if ("Q" in r) return new Date(r.Q);
if ("s" in r) return new Date(r.s * 1e3 + ("L" in r ? r.L : 0));
if (t && !("Z" in r) && (r.Z = 0), "p" in r && (r.H = r.H % 12 + r.p * 12), r.m === void 0 && (r.m = "q" in r ? r.q : 0), "V" in r) {
if (r.V < 1 || r.V > 53) return null;
- "w" in r || (r.w = 1), "Z" in r ? (a = D0(O0(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? b0.ceil(a) : b0(a), a = p0.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = E0(O0(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? g0.ceil(a) : g0(a), a = f0.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);
- } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? D0(O0(r.y, 0, 1)).getUTCDay() : E0(O0(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);
- return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, D0(r)) : E0(r);
+ "w" in r || (r.w = 1), "Z" in r ? (a = O0(k0(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? x0.ceil(a) : x0(a), a = m0.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = D0(k0(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? _0.ceil(a) : _0(a), a = p0.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);
+ } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? O0(k0(r.y, 0, 1)).getUTCDay() : D0(k0(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);
+ return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, O0(r)) : D0(r);
};
}
function w(e, t, n, r) {
for (var i = 0, a = t.length, o = n.length, s, c; i < a;) {
if (r >= o) return -1;
if (s = t.charCodeAt(i++), s === 37) {
- if (s = t.charAt(i++), c = x[s in hHe ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
+ if (s = t.charAt(i++), c = x[s in mHe ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
} else if (s != n.charCodeAt(r++)) return -1;
}
return r;
@@ -75942,244 +75957,244 @@ function mHe(e) {
}
};
}
-var hHe = {
+var mHe = {
"-": "",
_: " ",
0: "0"
-}, k0 = /^\s*\d+/, gHe = /^%/, _He = /[\\^$*+?|[\]().{}]/g;
-function A0(e, t, n) {
+}, A0 = /^\s*\d+/, hHe = /^%/, gHe = /[\\^$*+?|[\]().{}]/g;
+function j0(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 vHe(e) {
- return e.replace(_He, "\\$&");
-}
-function j0(e) {
- return RegExp("^(?:" + e.map(vHe).join("|") + ")", "i");
+function _He(e) {
+ return e.replace(gHe, "\\$&");
}
function M0(e) {
+ return RegExp("^(?:" + e.map(_He).join("|") + ")", "i");
+}
+function N0(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function yHe(e, t, n) {
- var r = k0.exec(t.slice(n, n + 1));
+function vHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function bHe(e, t, n) {
- var r = k0.exec(t.slice(n, n + 1));
+function yHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function xHe(e, t, n) {
- var r = k0.exec(t.slice(n, n + 2));
+function bHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function SHe(e, t, n) {
- var r = k0.exec(t.slice(n, n + 2));
+function xHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function CHe(e, t, n) {
- var r = k0.exec(t.slice(n, n + 2));
+function SHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
-function wHe(e, t, n) {
- var r = k0.exec(t.slice(n, n + 4));
+function CHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 4));
return r ? (e.y = +r[0], n + r[0].length) : -1;
}
-function THe(e, t, n) {
- var r = k0.exec(t.slice(n, n + 2));
+function wHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 2));
return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
}
-function EHe(e, t, n) {
+function THe(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 DHe(e, t, n) {
- var r = k0.exec(t.slice(n, n + 1));
+function EHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 1));
return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
}
-function OHe(e, t, n) {
- var r = k0.exec(t.slice(n, n + 2));
+function DHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
-function kHe(e, t, n) {
- var r = k0.exec(t.slice(n, n + 2));
+function OHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 2));
return r ? (e.d = +r[0], n + r[0].length) : -1;
}
-function AHe(e, t, n) {
- var r = k0.exec(t.slice(n, n + 3));
+function kHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 3));
return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
}
-function jHe(e, t, n) {
- var r = k0.exec(t.slice(n, n + 2));
+function AHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 2));
return r ? (e.H = +r[0], n + r[0].length) : -1;
}
-function MHe(e, t, n) {
- var r = k0.exec(t.slice(n, n + 2));
+function jHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function NHe(e, t, n) {
- var r = k0.exec(t.slice(n, n + 2));
+function MHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function PHe(e, t, n) {
- var r = k0.exec(t.slice(n, n + 3));
+function NHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function FHe(e, t, n) {
- var r = k0.exec(t.slice(n, n + 6));
+function PHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 6));
return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
}
-function IHe(e, t, n) {
- var r = gHe.exec(t.slice(n, n + 1));
+function FHe(e, t, n) {
+ var r = hHe.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function LHe(e, t, n) {
- var r = k0.exec(t.slice(n));
+function IHe(e, t, n) {
+ var r = A0.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function RHe(e, t, n) {
- var r = k0.exec(t.slice(n));
+function LHe(e, t, n) {
+ var r = A0.exec(t.slice(n));
return r ? (e.s = +r[0], n + r[0].length) : -1;
}
+function RHe(e, t) {
+ return j0(e.getDate(), t, 2);
+}
function zHe(e, t) {
- return A0(e.getDate(), t, 2);
+ return j0(e.getHours(), t, 2);
}
function BHe(e, t) {
- return A0(e.getHours(), t, 2);
+ return j0(e.getHours() % 12 || 12, t, 2);
}
function VHe(e, t) {
- return A0(e.getHours() % 12 || 12, t, 2);
+ return j0(1 + p0.count(T0(e), e), t, 3);
}
function HHe(e, t) {
- return A0(1 + f0.count(w0(e), e), t, 3);
+ return j0(e.getMilliseconds(), t, 3);
}
function UHe(e, t) {
- return A0(e.getMilliseconds(), t, 3);
+ return HHe(e, t) + "000";
}
function WHe(e, t) {
- return UHe(e, t) + "000";
+ return j0(e.getMonth() + 1, t, 2);
}
function GHe(e, t) {
- return A0(e.getMonth() + 1, t, 2);
+ return j0(e.getMinutes(), t, 2);
}
function KHe(e, t) {
- return A0(e.getMinutes(), t, 2);
+ return j0(e.getSeconds(), t, 2);
}
-function qHe(e, t) {
- return A0(e.getSeconds(), t, 2);
-}
-function JHe(e) {
+function qHe(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function YHe(e, t) {
- return A0(h0.count(w0(e) - 1, e), t, 2);
+function JHe(e, t) {
+ return j0(g0.count(T0(e) - 1, e), t, 2);
}
-function XHe(e) {
+function YHe(e) {
var t = e.getDay();
- return t >= 4 || t === 0 ? _0(e) : _0.ceil(e);
+ return t >= 4 || t === 0 ? v0(e) : v0.ceil(e);
}
-function ZHe(e, t) {
- return e = XHe(e), A0(_0.count(w0(e), e) + (w0(e).getDay() === 4), t, 2);
+function XHe(e, t) {
+ return e = YHe(e), j0(v0.count(T0(e), e) + (T0(e).getDay() === 4), t, 2);
}
-function QHe(e) {
+function ZHe(e) {
return e.getDay();
}
+function QHe(e, t) {
+ return j0(_0.count(T0(e) - 1, e), t, 2);
+}
function $He(e, t) {
- return A0(g0.count(w0(e) - 1, e), t, 2);
+ return j0(e.getFullYear() % 100, t, 2);
}
function eUe(e, t) {
- return A0(e.getFullYear() % 100, t, 2);
+ return e = YHe(e), j0(e.getFullYear() % 100, t, 2);
}
function tUe(e, t) {
- return e = XHe(e), A0(e.getFullYear() % 100, t, 2);
+ return j0(e.getFullYear() % 1e4, t, 4);
}
function nUe(e, t) {
- return A0(e.getFullYear() % 1e4, t, 4);
-}
-function rUe(e, t) {
var n = e.getDay();
- return e = n >= 4 || n === 0 ? _0(e) : _0.ceil(e), A0(e.getFullYear() % 1e4, t, 4);
+ return e = n >= 4 || n === 0 ? v0(e) : v0.ceil(e), j0(e.getFullYear() % 1e4, t, 4);
}
-function iUe(e) {
+function rUe(e) {
var t = e.getTimezoneOffset();
- return (t > 0 ? "-" : (t *= -1, "+")) + A0(t / 60 | 0, "0", 2) + A0(t % 60, "0", 2);
+ return (t > 0 ? "-" : (t *= -1, "+")) + j0(t / 60 | 0, "0", 2) + j0(t % 60, "0", 2);
+}
+function iUe(e, t) {
+ return j0(e.getUTCDate(), t, 2);
}
function aUe(e, t) {
- return A0(e.getUTCDate(), t, 2);
+ return j0(e.getUTCHours(), t, 2);
}
function oUe(e, t) {
- return A0(e.getUTCHours(), t, 2);
+ return j0(e.getUTCHours() % 12 || 12, t, 2);
}
function sUe(e, t) {
- return A0(e.getUTCHours() % 12 || 12, t, 2);
+ return j0(1 + m0.count(E0(e), e), t, 3);
}
function cUe(e, t) {
- return A0(1 + p0.count(T0(e), e), t, 3);
+ return j0(e.getUTCMilliseconds(), t, 3);
}
function lUe(e, t) {
- return A0(e.getUTCMilliseconds(), t, 3);
+ return cUe(e, t) + "000";
}
function uUe(e, t) {
- return lUe(e, t) + "000";
+ return j0(e.getUTCMonth() + 1, t, 2);
}
function dUe(e, t) {
- return A0(e.getUTCMonth() + 1, t, 2);
+ return j0(e.getUTCMinutes(), t, 2);
}
function fUe(e, t) {
- return A0(e.getUTCMinutes(), t, 2);
+ return j0(e.getUTCSeconds(), t, 2);
}
-function pUe(e, t) {
- return A0(e.getUTCSeconds(), t, 2);
-}
-function mUe(e) {
+function pUe(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function hUe(e, t) {
- return A0(y0.count(T0(e) - 1, e), t, 2);
+function mUe(e, t) {
+ return j0(b0.count(E0(e) - 1, e), t, 2);
}
-function gUe(e) {
+function hUe(e) {
var t = e.getUTCDay();
- return t >= 4 || t === 0 ? x0(e) : x0.ceil(e);
+ return t >= 4 || t === 0 ? S0(e) : S0.ceil(e);
}
-function _Ue(e, t) {
- return e = gUe(e), A0(x0.count(T0(e), e) + (T0(e).getUTCDay() === 4), t, 2);
+function gUe(e, t) {
+ return e = hUe(e), j0(S0.count(E0(e), e) + (E0(e).getUTCDay() === 4), t, 2);
}
-function vUe(e) {
+function _Ue(e) {
return e.getUTCDay();
}
+function vUe(e, t) {
+ return j0(x0.count(E0(e) - 1, e), t, 2);
+}
function yUe(e, t) {
- return A0(b0.count(T0(e) - 1, e), t, 2);
+ return j0(e.getUTCFullYear() % 100, t, 2);
}
function bUe(e, t) {
- return A0(e.getUTCFullYear() % 100, t, 2);
+ return e = hUe(e), j0(e.getUTCFullYear() % 100, t, 2);
}
function xUe(e, t) {
- return e = gUe(e), A0(e.getUTCFullYear() % 100, t, 2);
+ return j0(e.getUTCFullYear() % 1e4, t, 4);
}
function SUe(e, t) {
- return A0(e.getUTCFullYear() % 1e4, t, 4);
-}
-function CUe(e, t) {
var n = e.getUTCDay();
- return e = n >= 4 || n === 0 ? x0(e) : x0.ceil(e), A0(e.getUTCFullYear() % 1e4, t, 4);
+ return e = n >= 4 || n === 0 ? S0(e) : S0.ceil(e), j0(e.getUTCFullYear() % 1e4, t, 4);
}
-function wUe() {
+function CUe() {
return "+0000";
}
-function TUe() {
+function wUe() {
return "%";
}
-function EUe(e) {
+function TUe(e) {
return +e;
}
-function DUe(e) {
+function EUe(e) {
return Math.floor(e / 1e3);
}
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
-var N0, OUe, kUe;
-AUe({
+var P0, DUe, OUe;
+kUe({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -76231,26 +76246,26 @@ AUe({
"Dec"
]
});
-function AUe(e) {
- return N0 = mHe(e), OUe = N0.format, N0.parse, kUe = N0.utcFormat, N0.utcParse, N0;
+function kUe(e) {
+ return P0 = pHe(e), DUe = P0.format, P0.parse, OUe = P0.utcFormat, P0.utcParse, P0;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function jUe(e) {
+function AUe(e) {
return new Date(e);
}
-function MUe(e) {
+function jUe(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
-function P0(e, t, n, r, i, a, o, s, c, l) {
- var u = P1(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");
+function F0(e, t, n, r, i, a, o, s, c, l) {
+ var u = F1(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");
function x(e) {
return (c(e) < e ? p : s(e) < e ? m : o(e) < e ? h : a(e) < e ? g : r(e) < e ? i(e) < e ? _ : v : n(e) < e ? y : b)(e);
}
return u.invert = function(e) {
return new Date(d(e));
}, u.domain = function(e) {
- return arguments.length ? f(Array.from(e, MUe)) : f().map(jUe);
+ return arguments.length ? f(Array.from(e, jUe)) : f().map(AUe);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -76258,23 +76273,23 @@ function P0(e, t, n, r, i, a, o, s, c, l) {
return t == null ? x : l(t);
}, u.nice = function(e) {
var n = f();
- return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(AVe(n, e)) : u;
+ return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(kVe(n, e)) : u;
}, u.copy = function() {
- return M1(u, P0(e, t, n, r, i, a, o, s, c, l));
+ return N1(u, F0(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function NUe() {
- return V$.apply(P0(fHe, pHe, w0, S0, h0, f0, u0, c0, s0, OUe).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function MUe() {
+ return H$.apply(F0(dHe, fHe, T0, C0, g0, p0, d0, l0, c0, DUe).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function PUe() {
- return V$.apply(P0(uHe, dHe, T0, C0, y0, p0, d0, l0, s0, kUe).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function NUe() {
+ return H$.apply(F0(lHe, uHe, E0, w0, b0, m0, f0, u0, c0, OUe).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
-function F0() {
- var e = 0, t = 1, n, r, i, a, o = A1, s = !1, c;
+function I0() {
+ var e = 0, t = 1, n, r, i, a, o = j1, s = !1, c;
function l(e) {
return e == null || isNaN(e = +e) ? c : o(i === 0 ? .5 : (e = (a(e) - n) * i, s ? Math.max(0, Math.min(1, e)) : e));
}
@@ -76291,68 +76306,68 @@ function F0() {
return arguments.length ? ([n, r] = t, o = e(n, r), l) : [o(0), o(1)];
};
}
- return l.range = u(E1), l.rangeRound = u(D1), l.unknown = function(e) {
+ return l.range = u(D1), l.rangeRound = u(O1), l.unknown = function(e) {
return arguments.length ? (c = e, l) : c;
}, function(o) {
return a = o, n = o(e), r = o(t), i = n === r ? 0 : 1 / (r - n), l;
};
}
-function I0(e, t) {
+function L0(e, t) {
return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown());
}
-function FUe() {
- var e = K1(F0()(A1));
+function PUe() {
+ var e = q1(I0()(j1));
return e.copy = function() {
- return I0(e, FUe());
- }, H$.apply(e, arguments);
+ return L0(e, PUe());
+ }, U$.apply(e, arguments);
}
-function IUe() {
- var e = q1(F0()).domain([1, 10]);
+function FUe() {
+ var e = J1(I0()).domain([1, 10]);
return e.copy = function() {
- return I0(e, IUe()).base(e.base());
- }, H$.apply(e, arguments);
+ return L0(e, FUe()).base(e.base());
+ }, U$.apply(e, arguments);
}
-function LUe() {
- var e = J1(F0());
+function IUe() {
+ var e = Y1(I0());
return e.copy = function() {
- return I0(e, LUe()).constant(e.constant());
- }, H$.apply(e, arguments);
+ return L0(e, IUe()).constant(e.constant());
+ }, U$.apply(e, arguments);
}
-function L0() {
- var e = Y1(F0());
+function R0() {
+ var e = X1(I0());
return e.copy = function() {
- return I0(e, L0()).exponent(e.exponent());
- }, H$.apply(e, arguments);
+ return L0(e, R0()).exponent(e.exponent());
+ }, U$.apply(e, arguments);
}
-function RUe() {
- return L0.apply(null, arguments).exponent(.5);
+function LUe() {
+ return R0.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/sequentialQuantile.js
-function zUe() {
- var e = [], t = A1;
+function RUe() {
+ var e = [], t = j1;
function n(n) {
- if (n != null && !isNaN(n = +n)) return t((O$(e, n, 1) - 1) / (e.length - 1));
+ if (n != null && !isNaN(n = +n)) return t((k$(e, n, 1) - 1) / (e.length - 1));
}
return n.domain = function(t) {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(w$), n;
+ return e.sort(T$), n;
}, n.interpolator = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.range = function() {
return e.map((n, r) => t(r / (e.length - 1)));
}, n.quantiles = function(t) {
- return Array.from({ length: t + 1 }, (n, r) => IBe(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => FBe(e, r / t));
}, n.copy = function() {
- return zUe(t).domain(e);
- }, H$.apply(n, arguments);
+ return RUe(t).domain(e);
+ }, U$.apply(n, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/diverging.js
-function R0() {
- var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = A1, u, d = !1, f;
+function z0() {
+ var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = j1, u, d = !1, f;
function p(e) {
return isNaN(e = +e) ? f : (e = .5 + ((e = +u(e)) - a) * (r * e < r * a ? s : c), l(d ? Math.max(0, Math.min(1, e)) : e));
}
@@ -76370,7 +76385,7 @@ function R0() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = lVe(e, [
+ return arguments.length ? ([n, r, i] = t, l = cVe(e, [
n,
r,
i
@@ -76381,122 +76396,122 @@ function R0() {
];
};
}
- return p.range = m(E1), p.rangeRound = m(D1), p.unknown = function(e) {
+ return p.range = m(D1), p.rangeRound = m(O1), p.unknown = function(e) {
return arguments.length ? (f = e, p) : f;
}, function(l) {
return u = l, i = l(e), a = l(t), o = l(n), s = i === a ? 0 : .5 / (a - i), c = a === o ? 0 : .5 / (o - a), r = a < i ? -1 : 1, p;
};
}
-function BUe() {
- var e = K1(R0()(A1));
+function zUe() {
+ var e = q1(z0()(j1));
return e.copy = function() {
- return I0(e, BUe());
- }, H$.apply(e, arguments);
+ return L0(e, zUe());
+ }, U$.apply(e, arguments);
}
-function VUe() {
- var e = q1(R0()).domain([
+function BUe() {
+ var e = J1(z0()).domain([
.1,
1,
10
]);
return e.copy = function() {
- return I0(e, VUe()).base(e.base());
- }, H$.apply(e, arguments);
+ return L0(e, BUe()).base(e.base());
+ }, U$.apply(e, arguments);
}
-function HUe() {
- var e = J1(R0());
+function VUe() {
+ var e = Y1(z0());
return e.copy = function() {
- return I0(e, HUe()).constant(e.constant());
- }, H$.apply(e, arguments);
+ return L0(e, VUe()).constant(e.constant());
+ }, U$.apply(e, arguments);
}
-function z0() {
- var e = Y1(R0());
+function B0() {
+ var e = X1(z0());
return e.copy = function() {
- return I0(e, z0()).exponent(e.exponent());
- }, H$.apply(e, arguments);
+ return L0(e, B0()).exponent(e.exponent());
+ }, U$.apply(e, arguments);
}
-function UUe() {
- return z0.apply(null, arguments).exponent(.5);
+function HUe() {
+ return B0.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/victory-vendor/es/d3-scale.js
-var WUe = /* @__PURE__ */ s({
- scaleBand: () => G$,
- scaleDiverging: () => BUe,
- scaleDivergingLog: () => VUe,
- scaleDivergingPow: () => z0,
- scaleDivergingSqrt: () => UUe,
- scaleDivergingSymlog: () => HUe,
- scaleIdentity: () => kVe,
- scaleImplicit: () => U$,
- scaleLinear: () => OVe,
- scaleLog: () => zVe,
- scaleOrdinal: () => W$,
- scalePoint: () => zBe,
- scalePow: () => X1,
- scaleQuantile: () => XVe,
- scaleQuantize: () => ZVe,
- scaleRadial: () => YVe,
- scaleSequential: () => FUe,
- scaleSequentialLog: () => IUe,
- scaleSequentialPow: () => L0,
- scaleSequentialQuantile: () => zUe,
- scaleSequentialSqrt: () => RUe,
- scaleSequentialSymlog: () => LUe,
- scaleSqrt: () => KVe,
- scaleSymlog: () => HVe,
- scaleThreshold: () => QVe,
- scaleTime: () => NUe,
- scaleUtc: () => PUe,
- tickFormat: () => DVe
+var UUe = /* @__PURE__ */ s({
+ scaleBand: () => K$,
+ scaleDiverging: () => zUe,
+ scaleDivergingLog: () => BUe,
+ scaleDivergingPow: () => B0,
+ scaleDivergingSqrt: () => HUe,
+ scaleDivergingSymlog: () => VUe,
+ scaleIdentity: () => OVe,
+ scaleImplicit: () => W$,
+ scaleLinear: () => DVe,
+ scaleLog: () => RVe,
+ scaleOrdinal: () => G$,
+ scalePoint: () => RBe,
+ scalePow: () => Z1,
+ scaleQuantile: () => YVe,
+ scaleQuantize: () => XVe,
+ scaleRadial: () => JVe,
+ scaleSequential: () => PUe,
+ scaleSequentialLog: () => FUe,
+ scaleSequentialPow: () => R0,
+ scaleSequentialQuantile: () => RUe,
+ scaleSequentialSqrt: () => LUe,
+ scaleSequentialSymlog: () => IUe,
+ scaleSqrt: () => GVe,
+ scaleSymlog: () => VVe,
+ scaleThreshold: () => ZVe,
+ scaleTime: () => MUe,
+ scaleUtc: () => NUe,
+ tickFormat: () => EVe
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function GUe(e) {
- var t = WUe;
+function WUe(e) {
+ var t = UUe;
if (e in t && typeof t[e] == "function") return t[e]();
- var n = `scale${jG(e)}`;
+ var n = `scale${MG(e)}`;
if (n in t && typeof t[n] == "function") return t[n]();
}
-function KUe(e, t, n) {
+function GUe(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = GUe(e);
+ var r = WUe(e);
if (r != null) return r.domain(t).range(n), r;
}
}
-function B0(e, t, n, r) {
- if (n != null && r != null) return typeof e.scale == "function" ? KUe(e.scale, n, r) : KUe(t, n, r);
+function V0(e, t, n, r) {
+ if (n != null && r != null) return typeof e.scale == "function" ? GUe(e.scale, n, r) : GUe(t, n, r);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function qUe(e) {
- return `scale${jG(e)}`;
+function KUe(e) {
+ return `scale${MG(e)}`;
}
-function JUe(e) {
- return qUe(e) in WUe;
+function qUe(e) {
+ return KUe(e) in UUe;
}
-var YUe = (e, t, n) => {
+var JUe = (e, t, n) => {
if (e != null) {
var r = e.scale, i = e.type;
if (r === "auto") return i === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !t) ? "point" : i === "category" ? "band" : "linear";
- if (typeof r == "string") return JUe(r) ? r : "point";
+ if (typeof r == "string") return qUe(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function XUe(e, t) {
+function YUe(e, t) {
for (var n = 0, r = e.length, i = e[0] < e[e.length - 1]; n < r;) {
var a = Math.floor((n + r) / 2);
(i ? e[a] < t : e[a] > t) ? n = a + 1 : r = a;
}
return n;
}
-function ZUe(e, t) {
+function XUe(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 = XUe(r, e);
+ var t = YUe(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;
@@ -76506,12 +76521,12 @@ function ZUe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function QUe(e) {
- if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : ZUe(e, void 0);
+function ZUe(e) {
+ if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : XUe(e, void 0);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/axisSelectors.js
-function $Ue(e, t) {
+function QUe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -76521,30 +76536,30 @@ function $Ue(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 ? $Ue(Object(n), !0).forEach(function(t) {
- eWe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $Ue(Object(n)).forEach(function(t) {
+ t % 2 ? QUe(Object(n), !0).forEach(function(t) {
+ $Ue(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : QUe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function eWe(e, t, n) {
- return (t = tWe(t)) in e ? Object.defineProperty(e, t, {
+function $Ue(e, t, n) {
+ return (t = eWe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function tWe(e) {
- var t = nWe(e, "string");
+function eWe(e) {
+ var t = tWe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function nWe(e, t) {
+function tWe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -76554,25 +76569,25 @@ function nWe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function rWe(e, t) {
- return cWe(e) || sWe(e, t) || aWe(e, t) || iWe();
+function nWe(e, t) {
+ return sWe(e) || oWe(e, t) || iWe(e, t) || rWe();
}
-function iWe() {
+function rWe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function aWe(e, t) {
+function iWe(e, t) {
if (e) {
- if (typeof e == "string") return oWe(e, t);
+ if (typeof e == "string") return aWe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? oWe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? aWe(e, t) : void 0;
}
}
-function oWe(e, t) {
+function aWe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function sWe(e, t) {
+function oWe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -76593,10 +76608,10 @@ function sWe(e, t) {
return s;
}
}
-function cWe(e) {
+function sWe(e) {
if (Array.isArray(e)) return e;
}
-var H0 = [0, "auto"], U0 = {
+var U0 = [0, "auto"], W0 = {
allowDataOverflow: !1,
allowDecimals: !0,
allowDuplicatedCategory: !0,
@@ -76625,13 +76640,13 @@ var H0 = [0, "auto"], U0 = {
type: "category",
unit: void 0,
niceTicks: "auto"
-}, lWe = (e, t) => e.cartesianAxis.xAxis[t], W0 = (e, t) => lWe(e, t) ?? U0, G0 = {
+}, cWe = (e, t) => e.cartesianAxis.xAxis[t], G0 = (e, t) => cWe(e, t) ?? W0, K0 = {
allowDataOverflow: !1,
allowDecimals: !0,
allowDuplicatedCategory: !0,
angle: 0,
dataKey: void 0,
- domain: H0,
+ domain: U0,
hide: !0,
id: 0,
includeHidden: !1,
@@ -76654,7 +76669,7 @@ var H0 = [0, "auto"], U0 = {
unit: void 0,
niceTicks: "auto",
width: 60
-}, uWe = (e, t) => e.cartesianAxis.yAxis[t], K0 = (e, t) => uWe(e, t) ?? G0, dWe = {
+}, lWe = (e, t) => e.cartesianAxis.yAxis[t], q0 = (e, t) => lWe(e, t) ?? K0, uWe = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -76667,31 +76682,31 @@ var H0 = [0, "auto"], U0 = {
scale: "auto",
type: "number",
unit: ""
-}, q0 = (e, t) => e.cartesianAxis.zAxis[t] ?? dWe, J0 = (e, t, n) => {
+}, J0 = (e, t) => e.cartesianAxis.zAxis[t] ?? uWe, Y0 = (e, t, n) => {
switch (t) {
- case "xAxis": return W0(e, n);
- case "yAxis": return K0(e, n);
- case "zAxis": return q0(e, n);
- case "angleAxis": return i$(e, n);
- case "radiusAxis": return a$(e, n);
+ case "xAxis": return G0(e, n);
+ case "yAxis": return q0(e, n);
+ case "zAxis": return J0(e, n);
+ case "angleAxis": return a$(e, n);
+ case "radiusAxis": return o$(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, fWe = (e, t, n) => {
+}, dWe = (e, t, n) => {
switch (t) {
- case "xAxis": return W0(e, n);
- case "yAxis": return K0(e, n);
+ case "xAxis": return G0(e, n);
+ case "yAxis": return q0(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, Y0 = (e, t, n) => {
+}, X0 = (e, t, n) => {
switch (t) {
- case "xAxis": return W0(e, n);
- case "yAxis": return K0(e, n);
- case "angleAxis": return i$(e, n);
- case "radiusAxis": return a$(e, n);
+ case "xAxis": return G0(e, n);
+ case "yAxis": return q0(e, n);
+ case "angleAxis": return a$(e, n);
+ case "radiusAxis": return o$(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, pWe = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
-function X0(e, t) {
+}, fWe = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
+function Z0(e, t) {
return (n) => {
switch (e) {
case "xAxis": return "xAxisId" in n && n.xAxisId === t;
@@ -76703,254 +76718,254 @@ function X0(e, t) {
}
};
}
-var Z0 = (e) => e.graphicalItems.cartesianItems, mWe = Y([p$, m$], X0), Q0 = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), $0 = Y([
- Z0,
- J0,
- mWe
-], Q0, { memoizeOptions: { resultEqualityCheck: y$ } }), hWe = Y([$0], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(_$)), gWe = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), _We = Y([$0], gWe), e2 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), vWe = Y([$0], (e) => e.some((e) => !e.data)), yWe = Y([$0], e2, { memoizeOptions: { resultEqualityCheck: y$ } }), t2 = (e, t) => {
+var Q0 = (e) => e.graphicalItems.cartesianItems, pWe = Y([m$, h$], Z0), $0 = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), e2 = Y([
+ Q0,
+ Y0,
+ pWe
+], $0, { memoizeOptions: { resultEqualityCheck: b$ } }), mWe = Y([e2], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(v$)), hWe = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), gWe = Y([e2], hWe), t2 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), _We = Y([e2], (e) => e.some((e) => !e.data)), vWe = Y([e2], t2, { memoizeOptions: { resultEqualityCheck: b$ } }), n2 = (e, t) => {
var n = t.chartData, r = n === void 0 ? [] : n, i = t.dataStartIndex, a = t.dataEndIndex;
return e.length > 0 ? e : r.slice(i, a + 1);
-}, n2 = Y([yWe, xQ], t2), bWe = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: rX(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: rX(e, t.dataKey) })), xWe = (e, t, n, r, i, a) => {
- var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = bWe(e, t, n);
- return i && t?.dataKey != null && a.length > 0 ? [...s.slice(c, l + 1).map((e) => ({ value: rX(e, t.dataKey) })).filter((e) => e.value != null), ...u] : u;
-}, r2 = Y([
- n2,
- J0,
- $0,
- xQ,
- vWe,
- yWe
-], xWe);
-function i2(e) {
- if (wG(e) || e instanceof Date) {
+}, r2 = Y([vWe, SQ], n2), yWe = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: iX(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: iX(e, t.dataKey) })), bWe = (e, t, n, r, i, a) => {
+ var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = yWe(e, t, n);
+ return i && t?.dataKey != null && a.length > 0 ? [...s.slice(c, l + 1).map((e) => ({ value: iX(e, t.dataKey) })).filter((e) => e.value != null), ...u] : u;
+}, i2 = Y([
+ r2,
+ Y0,
+ e2,
+ SQ,
+ _We,
+ vWe
+], bWe);
+function a2(e) {
+ if (TG(e) || e instanceof Date) {
var t = Number(e);
- if ($Y(t)) return t;
+ if (eX(t)) return t;
}
}
-function SWe(e) {
+function xWe(e) {
if (Array.isArray(e)) {
- var t = [i2(e[0]), i2(e[1])];
- return TQ(t) ? t : void 0;
+ var t = [a2(e[0]), a2(e[1])];
+ return EQ(t) ? t : void 0;
}
- var n = i2(e);
+ var n = a2(e);
if (n != null) return [n, n];
}
-function a2(e) {
- return e.map(i2).filter(MG);
+function o2(e) {
+ return e.map(a2).filter(NG);
}
-function CWe(e, t) {
- var n = i2(e), r = i2(t);
+function SWe(e, t) {
+ var n = a2(e), r = a2(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var wWe = Y([r2], (e) => e?.map((e) => e.value).sort(CWe));
-function TWe(e, t) {
+var CWe = Y([i2], (e) => e?.map((e) => e.value).sort(SWe));
+function wWe(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
case "yAxis": return t.direction === "y";
default: return !1;
}
}
-function EWe(e, t, n) {
+function TWe(e, t, n) {
if (!n || !n.length) return [];
var r;
- if (typeof t == "number" && !xG(t)) r = t;
+ if (typeof t == "number" && !SG(t)) r = t;
else if (Array.isArray(t)) {
- var i = a2(t);
+ var i = o2(t);
i.length > 0 && (r = Math.max(...i));
}
- return r == null ? [] : a2(n.flatMap((t) => {
- var n = rX(e, t.dataKey), i, a;
+ return r == null ? [] : o2(n.flatMap((t) => {
+ var n = iX(e, t.dataKey), i, a;
if (Array.isArray(n)) {
- var o = rWe(n, 2);
+ var o = nWe(n, 2);
i = o[0], a = o[1];
} else i = a = n;
- if ($Y(i) && $Y(a)) return [r - i, r + a];
+ if (eX(i) && eX(a)) return [r - i, r + a];
}));
}
-var o2 = (e) => Y0(e, b$(e), x$(e)), s2 = Y([o2], (e) => e?.dataKey), DWe = Y([
- hWe,
- xQ,
- o2
-], g$), c2 = (e, t, n, r) => {
+var s2 = (e) => X0(e, x$(e), S$(e)), c2 = Y([s2], (e) => e?.dataKey), EWe = Y([
+ mWe,
+ SQ,
+ s2
+], _$), l2 = (e, t, n, r) => {
var i = t.reduce((e, t) => {
if (t.stackId == null) return e;
var n = e[t.stackId];
return n ??= [], n.push(t), e[t.stackId] = n, e;
}, {});
return Object.fromEntries(Object.entries(i).map((t) => {
- var i = rWe(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;
+ var i = nWe(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;
return [a, {
- stackedData: jIe(e, s.map(h$), n),
+ stackedData: AIe(e, s.map(g$), n),
graphicalItems: s
}];
}));
-}, l2 = Y([
- DWe,
- hWe,
- UQ,
- WQ
-], c2), OWe = (e, t, n, r) => {
+}, u2 = Y([
+ EWe,
+ mWe,
+ WQ,
+ GQ
+], l2), DWe = (e, t, n, r) => {
var i = t.dataStartIndex, a = t.dataEndIndex;
- if (r == null && n !== "zAxis") return PIe(e, i, a);
-}, kWe = Y([J0], (e) => e.allowDataOverflow), u2 = (e) => {
- if (e == null || !("domain" in e)) return H0;
+ if (r == null && n !== "zAxis") return NIe(e, i, a);
+}, OWe = Y([Y0], (e) => e.allowDataOverflow), d2 = (e) => {
+ if (e == null || !("domain" in e)) return U0;
if (e.domain != null) return e.domain;
if ("ticks" in e && e.ticks != null) {
if (e.type === "number") {
- var t = a2(e.ticks);
+ var t = o2(e.ticks);
return [Math.min(...t), Math.max(...t)];
}
if (e.type === "category") return e.ticks.map(String);
}
- return e?.domain ?? H0;
-}, d2 = Y([J0], u2), f2 = Y([d2, kWe], DQ), AWe = Y([
- l2,
- yQ,
- p$,
- f2
-], OWe, { memoizeOptions: { resultEqualityCheck: v$ } }), p2 = (e) => e.errorBars, jWe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => TWe(n, e)), m2 = function() {
+ return e?.domain ?? U0;
+}, f2 = Y([Y0], d2), p2 = Y([f2, OWe], OQ), kWe = Y([
+ u2,
+ bQ,
+ m$,
+ p2
+], DWe, { memoizeOptions: { resultEqualityCheck: y$ } }), m2 = (e) => e.errorBars, AWe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => wWe(n, e)), h2 = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
return [Math.min(...t), Math.max(...t)];
}
-}, h2 = function(e, t, n, r, i) {
+}, g2 = function(e, t, n, r, i) {
var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : [], o, s;
if (n.length > 0 && n.forEach((e) => {
- var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => TWe(i, e));
+ var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => wWe(i, e));
n.forEach((n) => {
- var r = rX(n, t.dataKey ?? e.dataKey), i = EWe(n, r, c);
+ var r = iX(n, t.dataKey ?? e.dataKey), i = TWe(n, r, c);
if (i.length >= 2) {
var a = Math.min(...i), l = Math.max(...i);
(o == null || a < o) && (o = a), (s == null || l > s) && (s = l);
}
- var u = SWe(r);
+ var u = xWe(r);
u != null && (o = o == null ? u[0] : Math.min(o, u[0]), s = s == null ? u[1] : Math.max(s, u[1]));
});
}), t?.dataKey != null && n.length === 0 && e.forEach((e) => {
- var n = SWe(rX(e, t.dataKey));
+ var n = xWe(iX(e, t.dataKey));
n != null && (o = o == null ? n[0] : Math.min(o, n[0]), s = s == null ? n[1] : Math.max(s, n[1]));
- }), $Y(o) && $Y(s)) return [o, s];
-}, MWe = Y([
- n2,
- J0,
- _We,
- p2,
- p$,
- uBe
-], h2, { memoizeOptions: { resultEqualityCheck: v$ } });
-function NWe(e) {
+ }), eX(o) && eX(s)) return [o, s];
+}, jWe = Y([
+ r2,
+ Y0,
+ gWe,
+ m2,
+ m$,
+ lBe
+], g2, { memoizeOptions: { resultEqualityCheck: y$ } });
+function MWe(e) {
var t = e.value;
- if (wG(t) || t instanceof Date) return t;
-}
-var PWe = (e, t, n) => {
- var r = e.map(NWe).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && DG(r)) ? vQ(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
-}, FWe = (e) => e.referenceElements.dots, g2 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), IWe = Y([
- FWe,
- p$,
- m$
-], g2), LWe = (e) => e.referenceElements.areas, RWe = Y([
- LWe,
- p$,
- m$
-], g2), zWe = (e) => e.referenceElements.lines, BWe = Y([
- zWe,
- p$,
- m$
-], g2), VWe = (e, t) => {
+ if (TG(t) || t instanceof Date) return t;
+}
+var NWe = (e, t, n) => {
+ var r = e.map(MWe).filter((e) => e != null);
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && OG(r)) ? yQ(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+}, PWe = (e) => e.referenceElements.dots, _2 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), FWe = Y([
+ PWe,
+ m$,
+ h$
+], _2), IWe = (e) => e.referenceElements.areas, LWe = Y([
+ IWe,
+ m$,
+ h$
+], _2), RWe = (e) => e.referenceElements.lines, zWe = Y([
+ RWe,
+ m$,
+ h$
+], _2), BWe = (e, t) => {
if (e != null) {
- var n = a2(e.map((e) => t === "xAxis" ? e.x : e.y));
+ var n = o2(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, HWe = Y(IWe, p$, VWe), UWe = (e, t) => {
+}, VWe = Y(FWe, m$, BWe), HWe = (e, t) => {
if (e != null) {
- var n = a2(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));
+ var n = o2(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)];
}
-}, WWe = Y([RWe, p$], UWe);
-function GWe(e) {
- if (e.x != null) return a2([e.x]);
+}, UWe = Y([LWe, m$], HWe);
+function WWe(e) {
+ if (e.x != null) return o2([e.x]);
var t = e.segment?.map((e) => e.x);
- return t == null || t.length === 0 ? [] : a2(t);
+ return t == null || t.length === 0 ? [] : o2(t);
}
-function KWe(e) {
- if (e.y != null) return a2([e.y]);
+function GWe(e) {
+ if (e.y != null) return o2([e.y]);
var t = e.segment?.map((e) => e.y);
- return t == null || t.length === 0 ? [] : a2(t);
+ return t == null || t.length === 0 ? [] : o2(t);
}
-var qWe = (e, t) => {
+var KWe = (e, t) => {
if (e != null) {
- var n = e.flatMap((e) => t === "xAxis" ? GWe(e) : KWe(e));
+ var n = e.flatMap((e) => t === "xAxis" ? WWe(e) : GWe(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, JWe = Y(HWe, Y([BWe, p$], qWe), WWe, (e, t, n) => m2(e, n, t)), _2 = (e, t, n, r, i, a, o, s, c) => {
+}, qWe = Y(VWe, Y([zWe, m$], KWe), UWe, (e, t, n) => h2(e, n, t)), v2 = (e, t, n, r, i, a, o, s, c) => {
if (n != null) return n;
- var l = o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? m2(r, a, i) : m2(a, i), u = _Be(t, l, e.allowDataOverflow);
+ var l = o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? h2(r, a, i) : h2(a, i), u = gBe(t, l, e.allowDataOverflow);
return u == null && e.allowDataOverflow && l == null && c != null ? c : u;
-}, YWe = Y([
- J0,
- d2,
+}, JWe = Y([
+ Y0,
f2,
- AWe,
- MWe,
- JWe,
- GX,
- p$,
- Y([J0], (e) => {
+ p2,
+ kWe,
+ jWe,
+ qWe,
+ KX,
+ m$,
+ Y([Y0], (e) => {
if (e != null && e.type === "number" && "ticks" in e && e.ticks != null) {
- var t = a2(e.ticks);
+ var t = o2(e.ticks);
if (t.length !== 0) return [Math.min(...t), Math.max(...t)];
}
- }, { memoizeOptions: { resultEqualityCheck: v$ } })
-], _2, { memoizeOptions: { resultEqualityCheck: v$ } }), XWe = [0, 1], v2 = (e, t, n, r, i, a, o) => {
+ }, { memoizeOptions: { resultEqualityCheck: y$ } })
+], v2, { memoizeOptions: { resultEqualityCheck: y$ } }), YWe = [0, 1], y2 = (e, t, n, r, i, a, o) => {
if (e != null && n != null && n.length !== 0 || o !== void 0) {
- var s = e.dataKey, c = e.type, l = iX(t, a);
- return l && s == null ? vQ(0, n?.length ?? 0) : c === "category" ? PWe(r, e, l) : i === "expand" && !l ? XWe : o;
+ var s = e.dataKey, c = e.type, l = aX(t, a);
+ return l && s == null ? yQ(0, n?.length ?? 0) : c === "category" ? NWe(r, e, l) : i === "expand" && !l ? YWe : o;
}
-}, y2 = Y([
- J0,
- GX,
- n2,
+}, b2 = Y([
+ Y0,
+ KX,
r2,
- UQ,
- p$,
- YWe
-], v2), b2 = Y([
- J0,
- pWe,
- GQ
-], YUe), x2 = (e, t, n) => {
+ i2,
+ WQ,
+ m$,
+ JWe
+], y2), x2 = Y([
+ Y0,
+ fWe,
+ KQ
+], JUe), S2 = (e, t, n) => {
var r = t.niceTicks;
if (r !== "none") {
- var i = u2(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
- if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && TQ(e)) {
- if (a) return LQ(e, t.tickCount, t.allowDecimals, r);
- if (t.type === "number") return RQ(e, t.tickCount, t.allowDecimals, r);
+ var i = d2(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
+ if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && EQ(e)) {
+ if (a) return RQ(e, t.tickCount, t.allowDecimals, r);
+ if (t.type === "number") return zQ(e, t.tickCount, t.allowDecimals, r);
}
if (r === "auto" && n === "linear" && t != null && t.tickCount) {
- if (a && TQ(e)) return LQ(e, t.tickCount, t.allowDecimals, "adaptive");
- if (t.type === "number" && TQ(e)) return RQ(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (a && EQ(e)) return RQ(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (t.type === "number" && EQ(e)) return zQ(e, t.tickCount, t.allowDecimals, "adaptive");
}
}
-}, S2 = Y([
- y2,
- Y0,
- b2
-], x2), C2 = (e, t, n, r) => {
- if (r !== "angleAxis" && e?.type === "number" && TQ(t) && Array.isArray(n) && n.length > 0) {
+}, C2 = Y([
+ b2,
+ X0,
+ x2
+], S2), w2 = (e, t, n, r) => {
+ if (r !== "angleAxis" && e?.type === "number" && EQ(t) && Array.isArray(n) && n.length > 0) {
var i = t[0], a = n[0] ?? 0, o = t[1], s = n[n.length - 1] ?? 0;
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, ZWe = Y([
- J0,
- y2,
- S2,
- p$
-], C2), QWe = Y(Y(r2, J0, (e, t) => {
+}, XWe = Y([
+ Y0,
+ b2,
+ C2,
+ m$
+], w2), ZWe = Y(Y(i2, Y0, (e, t) => {
if (t && t.type === "number") {
- var n = Infinity, r = Array.from(a2(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
+ var n = Infinity, r = Array.from(o2(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
if (i == null || a == null) return Infinity;
var o = a - i;
if (o === 0) return Infinity;
@@ -76963,22 +76978,22 @@ var qWe = (e, t) => {
}
return n / o;
}
-}), GX, VQ, wX, (e, t, n, r, i) => i, (e, t, n, r, i) => {
- if (!$Y(e)) return 0;
+}), KX, HQ, TX, (e, t, n, r, i) => i, (e, t, n, r, i) => {
+ if (!eX(e)) return 0;
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = EG(n, e * a), s = e * a / 2;
+ var o = DG(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
-}), $We = (e, t, n) => {
- var r = W0(e, t);
- return r == null || typeof r.padding != "string" ? 0 : QWe(e, "xAxis", t, n, r.padding);
-}, eGe = (e, t, n) => {
- var r = K0(e, t);
- return r == null || typeof r.padding != "string" ? 0 : QWe(e, "yAxis", t, n, r.padding);
-}, tGe = Y(W0, $We, (e, t) => {
+}), QWe = (e, t, n) => {
+ var r = G0(e, t);
+ return r == null || typeof r.padding != "string" ? 0 : ZWe(e, "xAxis", t, n, r.padding);
+}, $We = (e, t, n) => {
+ var r = q0(e, t);
+ return r == null || typeof r.padding != "string" ? 0 : ZWe(e, "yAxis", t, n, r.padding);
+}, eGe = Y(G0, QWe, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -76991,7 +77006,7 @@ var qWe = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), nGe = Y(K0, eGe, (e, t) => {
+}), tGe = Y(q0, $We, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -77004,101 +77019,101 @@ var qWe = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), rGe = Y([
- wX,
- tGe,
+}), nGe = Y([
+ TX,
+ eGe,
+ AX,
kX,
- OX,
(e, t, n) => n
], (e, t, n, r, i) => {
var a = r.padding;
return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];
-}), iGe = Y([
- wX,
- GX,
- nGe,
+}), rGe = Y([
+ TX,
+ KX,
+ tGe,
+ AX,
kX,
- OX,
(e, t, n) => n
], (e, t, n, r, i, a) => {
var o = i.padding;
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];
-}), w2 = (e, t, n, r) => {
+}), T2 = (e, t, n, r) => {
switch (t) {
- case "xAxis": return rGe(e, n, r);
- case "yAxis": return iGe(e, n, r);
- case "zAxis": return q0(e, n)?.range;
- case "angleAxis": return u$(e);
- case "radiusAxis": return d$(e, n);
+ case "xAxis": return nGe(e, n, r);
+ case "yAxis": return rGe(e, n, r);
+ case "zAxis": return J0(e, n)?.range;
+ case "angleAxis": return d$(e);
+ case "radiusAxis": return f$(e, n);
default: return;
}
-}, aGe = Y([J0, w2], QQ), T2 = Y([
- J0,
- b2,
- Y([b2, ZWe], C$),
- aGe
-], B0), E2 = (e, t, n, r) => {
+}, iGe = Y([Y0, T2], $Q), E2 = Y([
+ Y0,
+ x2,
+ Y([x2, XWe], w$),
+ iGe
+], V0), D2 = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var i = n.type, a = n.scale;
- if (iX(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
+ if (aX(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
}
-}, D2 = Y([
- GX,
- r2,
- Y0,
- p$
-], E2), O2 = Y([T2], S$);
-Y([T2], QUe), Y([T2, wWe], ZUe), Y([
- $0,
- p2,
- p$
-], jWe);
-function oGe(e, t) {
+}, O2 = Y([
+ KX,
+ i2,
+ X0,
+ m$
+], D2), k2 = Y([E2], C$);
+Y([E2], ZUe), Y([E2, CWe], XUe), Y([
+ e2,
+ m2,
+ m$
+], AWe);
+function aGe(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var k2 = (e, t) => t, A2 = (e, t, n) => n, sGe = Y(bX, k2, A2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(oGe)), cGe = Y(xX, k2, A2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(oGe)), lGe = (e, t) => {
+var A2 = (e, t) => t, j2 = (e, t, n) => n, oGe = Y(xX, A2, j2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(aGe)), sGe = Y(SX, A2, j2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(aGe)), cGe = (e, t) => {
var n = typeof t.height == "number" ? t.height : 30;
return {
width: e.width,
height: n
};
-}, uGe = (e, t) => ({
+}, lGe = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), dGe = Y(wX, W0, lGe), fGe = (e, t, n) => {
+}), uGe = Y(TX, G0, cGe), dGe = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, pGe = (e, t, n) => {
+}, fGe = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, mGe = Y(vX, wX, sGe, k2, A2, (e, t, n, r, i) => {
+}, pGe = Y(yX, TX, oGe, A2, j2, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = lGe(t, n);
- o ??= fGe(t, r, e);
+ var s = cGe(t, n);
+ o ??= dGe(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;
-}), hGe = Y(_X, wX, cGe, k2, A2, (e, t, n, r, i) => {
+}), mGe = Y(vX, TX, sGe, A2, j2, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = uGe(t, n);
- o ??= pGe(t, r, e);
+ var s = lGe(t, n);
+ o ??= fGe(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;
-}), gGe = Y([
- wX,
- W0,
+}), hGe = Y([
+ TX,
+ G0,
(e, t) => {
- var n = W0(e, t);
- if (n != null) return mGe(e, n.orientation, n.mirror);
+ var n = G0(e, t);
+ if (n != null) return pGe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -77112,12 +77127,12 @@ var k2 = (e, t) => t, A2 = (e, t, n) => n, sGe = Y(bX, k2, A2, (e, t, n) => e.fi
y: i
};
}
-}), _Ge = Y([
- wX,
- K0,
+}), gGe = Y([
+ TX,
+ q0,
(e, t) => {
- var n = K0(e, t);
- if (n != null) return hGe(e, n.orientation, n.mirror);
+ var n = q0(e, t);
+ if (n != null) return mGe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -77131,38 +77146,38 @@ var k2 = (e, t) => t, A2 = (e, t, n) => n, sGe = Y(bX, k2, A2, (e, t, n) => e.fi
y: e.top
};
}
-}), vGe = Y(wX, K0, (e, t) => ({
+}), _Ge = Y(TX, q0, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-})), yGe = (e, t, n) => {
+})), vGe = (e, t, n) => {
switch (t) {
- case "xAxis": return dGe(e, n).width;
- case "yAxis": return vGe(e, n).height;
+ case "xAxis": return uGe(e, n).width;
+ case "yAxis": return _Ge(e, n).height;
default: return;
}
-}, bGe = (e, t, n, r) => {
+}, yGe = (e, t, n, r) => {
if (n != null) {
- var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = iX(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);
- if (o && s && a === "category" && i && DG(l)) return c;
+ var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = aX(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);
+ if (o && s && a === "category" && i && OG(l)) return c;
}
-}, j2 = Y([
- GX,
- r2,
- J0,
- p$
-], bGe), xGe = Y([
- GX,
- fWe,
- b2,
+}, M2 = Y([
+ KX,
+ i2,
+ Y0,
+ m$
+], yGe), bGe = Y([
+ KX,
+ dWe,
+ x2,
+ k2,
+ M2,
O2,
- j2,
- D2,
- w2,
- S2,
- p$
+ T2,
+ C2,
+ m$
], (e, t, n, r, i, a, o, s, c) => {
if (t != null) {
- var l = iX(e, c);
+ var l = aX(e, c);
return {
angle: t.angle,
interval: t.interval,
@@ -77184,107 +77199,107 @@ var k2 = (e, t) => t, A2 = (e, t, n) => n, sGe = Y(bX, k2, A2, (e, t, n) => e.fi
scale: r
};
}
-}), SGe = (e, t, n, r, i, a, o, s, c) => {
+}), xGe = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
- var l = iX(e, c), u = t.type, d = t.ticks, f = t.tickCount, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
- m = c === "angleAxis" && a != null && a.length >= 2 ? bG(a[0] - a[1]) * 2 * m : m;
+ var l = aX(e, c), u = t.type, d = t.ticks, f = t.tickCount, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
+ m = c === "angleAxis" && a != null && a.length >= 2 ? xG(a[0] - a[1]) * 2 * m : m;
var h = d || i;
return h ? h.map((e, t) => {
var n = o ? o.indexOf(e) : e, i = r.map(n);
- return $Y(i) ? {
+ return eX(i) ? {
index: t,
coordinate: i + m,
value: e,
offset: m
} : null;
- }).filter(MG) : l && s ? s.map((e, t) => {
+ }).filter(NG) : l && s ? s.map((e, t) => {
var n = r.map(e);
- return $Y(n) ? {
+ return eX(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(MG) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(NG) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
- return $Y(n) ? {
+ return eX(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(MG) : r.domain().map((e, t) => {
+ }).filter(NG) : r.domain().map((e, t) => {
var n = r.map(e);
- return $Y(n) ? {
+ return eX(n) ? {
coordinate: n + m,
value: o ? o[e] : e,
index: t,
offset: m
} : null;
- }).filter(MG);
- }
-}, CGe = Y([
- GX,
- Y0,
- b2,
+ }).filter(NG);
+ }
+}, SGe = Y([
+ KX,
+ X0,
+ x2,
+ k2,
+ C2,
+ T2,
+ M2,
O2,
- S2,
- w2,
- j2,
- D2,
- p$
-], SGe), wGe = (e, t, n, r, i, a, o) => {
+ m$
+], xGe), CGe = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
- var s = iX(e, o), c = t.tickCount, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? bG(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ var s = aX(e, o), c = t.tickCount, l = 0;
+ return l = o === "angleAxis" && r?.length >= 2 ? xG(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
- return $Y(r) ? {
+ return eX(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(MG) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(NG) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
- return $Y(r) ? {
+ return eX(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(MG) : n.domain().map((e, t) => {
+ }).filter(NG) : n.domain().map((e, t) => {
var r = n.map(e);
- return $Y(r) ? {
+ return eX(r) ? {
coordinate: r + l,
value: i ? i[e] : e,
index: t,
offset: l
} : null;
- }).filter(MG);
- }
-}, M2 = Y([
- GX,
- Y0,
+ }).filter(NG);
+ }
+}, N2 = Y([
+ KX,
+ X0,
+ k2,
+ T2,
+ M2,
O2,
- w2,
- j2,
- D2,
- p$
-], wGe), N2 = Y(J0, O2, (e, t) => {
- if (e != null && t != null) return V0(V0({}, e), {}, { scale: t });
+ m$
+], CGe), P2 = Y(Y0, k2, (e, t) => {
+ if (e != null && t != null) return H0(H0({}, e), {}, { scale: t });
});
-Y((e, t, n) => q0(e, n), Y([Y([
- J0,
+Y((e, t, n) => J0(e, n), Y([Y([
+ Y0,
+ x2,
b2,
- y2,
- aGe
-], B0)], S$), (e, t) => {
- if (e != null && t != null) return V0(V0({}, e), {}, { scale: t });
+ iGe
+], V0)], C$), (e, t) => {
+ if (e != null && t != null) return H0(H0({}, e), {}, { scale: t });
});
-var TGe = Y([
- GX,
- bX,
- xX
+var wGe = Y([
+ KX,
+ xX,
+ SX
], (e, t, n) => {
switch (e) {
case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";
@@ -77306,41 +77321,41 @@ Y([(e, t, n) => e.renderedTicks[t]?.[n]], (e) => {
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipEventType.js
-var EGe = (e) => e.options.defaultTooltipEventType, DGe = (e) => e.options.validateTooltipEventTypes;
-function OGe(e, t, n) {
+var TGe = (e) => e.options.defaultTooltipEventType, EGe = (e) => e.options.validateTooltipEventTypes;
+function DGe(e, t, n) {
if (e == null) return t;
var r = e ? "axis" : "item";
return n == null ? t : n.includes(r) ? r : t;
}
-function P2(e, t) {
- return OGe(t, EGe(e), DGe(e));
+function F2(e, t) {
+ return DGe(t, TGe(e), EGe(e));
}
-function kGe(e) {
- return J((t) => P2(t, e));
+function OGe(e) {
+ return J((t) => F2(t, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
-var AGe = (e, t) => {
+var kGe = (e, t) => {
var n, r = Number(t);
- if (!(xG(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, jGe = (e) => e.tooltip.settings, F2 = {
+ if (!(SG(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+}, AGe = (e) => e.tooltip.settings, I2 = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, MGe = CY({
+}, jGe = wY({
name: "tooltip",
initialState: {
itemInteraction: {
- click: F2,
- hover: F2
+ click: I2,
+ hover: I2
},
axisInteraction: {
- click: F2,
- hover: F2
+ click: I2,
+ hover: I2
},
- keyboardInteraction: F2,
+ keyboardInteraction: I2,
syncInteraction: {
active: !1,
index: null,
@@ -77362,23 +77377,23 @@ var AGe = (e, t) => {
reducers: {
addTooltipEntrySettings: {
reducer(e, t) {
- e.tooltipItemPayloads.push(fY(t.payload));
+ e.tooltipItemPayloads.push(pY(t.payload));
},
- prepare: yY()
+ prepare: bY()
},
replaceTooltipEntrySettings: {
reducer(e, t) {
- var n = t.payload, r = n.prev, i = n.next, a = lY(e).tooltipItemPayloads.indexOf(fY(r));
- a > -1 && (e.tooltipItemPayloads[a] = fY(i));
+ var n = t.payload, r = n.prev, i = n.next, a = uY(e).tooltipItemPayloads.indexOf(pY(r));
+ a > -1 && (e.tooltipItemPayloads[a] = pY(i));
},
- prepare: yY()
+ prepare: bY()
},
removeTooltipEntrySettings: {
reducer(e, t) {
- var n = lY(e).tooltipItemPayloads.indexOf(fY(t.payload));
+ var n = uY(e).tooltipItemPayloads.indexOf(pY(t.payload));
n > -1 && e.tooltipItemPayloads.splice(n, 1);
},
- prepare: yY()
+ prepare: bY()
},
setTooltipSettingsState(e, t) {
e.settings = t.payload;
@@ -77408,10 +77423,10 @@ var AGe = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), I2 = MGe.actions, NGe = I2.addTooltipEntrySettings, PGe = I2.replaceTooltipEntrySettings, FGe = I2.removeTooltipEntrySettings, IGe = I2.setTooltipSettingsState, LGe = I2.setActiveMouseOverItemIndex, RGe = I2.mouseLeaveItem, zGe = I2.mouseLeaveChart, BGe = I2.setActiveClickItemIndex, VGe = I2.setMouseOverAxisIndex, HGe = I2.setMouseClickAxisIndex, L2 = I2.setSyncInteraction, R2 = I2.setKeyboardInteraction, UGe = MGe.reducer;
+}), L2 = jGe.actions, MGe = L2.addTooltipEntrySettings, NGe = L2.replaceTooltipEntrySettings, PGe = L2.removeTooltipEntrySettings, FGe = L2.setTooltipSettingsState, IGe = L2.setActiveMouseOverItemIndex, LGe = L2.mouseLeaveItem, RGe = L2.mouseLeaveChart, zGe = L2.setActiveClickItemIndex, BGe = L2.setMouseOverAxisIndex, VGe = L2.setMouseClickAxisIndex, R2 = L2.setSyncInteraction, z2 = L2.setKeyboardInteraction, HGe = jGe.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
-function WGe(e, t) {
+function UGe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -77421,30 +77436,30 @@ function WGe(e, t) {
}
return n;
}
-function z2(e) {
+function B2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? WGe(Object(n), !0).forEach(function(t) {
- GGe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : WGe(Object(n)).forEach(function(t) {
+ t % 2 ? UGe(Object(n), !0).forEach(function(t) {
+ WGe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UGe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function GGe(e, t, n) {
- return (t = KGe(t)) in e ? Object.defineProperty(e, t, {
+function WGe(e, t, n) {
+ return (t = GGe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function KGe(e) {
- var t = qGe(e, "string");
+function GGe(e) {
+ var t = KGe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qGe(e, t) {
+function KGe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77454,22 +77469,22 @@ function qGe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function JGe(e, t, n) {
+function qGe(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function YGe(e) {
+function JGe(e) {
return e.index != null;
}
-var XGe = (e, t, n, r) => {
- if (t == null) return F2;
- var i = JGe(e, t, n);
- if (i == null) return F2;
+var YGe = (e, t, n, r) => {
+ if (t == null) return I2;
+ var i = qGe(e, t, n);
+ if (i == null) return I2;
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 (YGe(i)) {
- if (a) return z2(z2({}, i), {}, { active: !0 });
+ if (JGe(i)) {
+ if (a) return B2(B2({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
coordinate: void 0,
@@ -77477,11 +77492,11 @@ var XGe = (e, t, n, r) => {
index: r,
graphicalItemId: void 0
};
- return z2(z2({}, F2), {}, { coordinate: i.coordinate });
+ return B2(B2({}, I2), {}, { coordinate: i.coordinate });
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function ZGe(e) {
+function XGe(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -77490,25 +77505,25 @@ function ZGe(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function QGe(e, t) {
- var n = ZGe(e), r = t[0], i = t[1];
+function ZGe(e, t) {
+ var n = XGe(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function $Ge(e, t, n) {
+function QGe(e, t, n) {
if (n == null || t == null) return !0;
- var r = rX(e, t);
- return r == null || !TQ(n) || QGe(r, n);
+ var r = iX(e, t);
+ return r == null || !EQ(n) || ZGe(r, n);
}
-var B2 = (e, t, n, r) => {
+var V2 = (e, t, n, r) => {
var i = e?.index;
if (i == null) return null;
var a = Number(i);
- if (!$Y(a)) return i;
+ if (!eX(a)) return i;
var o = 0, s = Infinity;
t.length > 0 && (s = t.length - 1);
var c = Math.max(o, Math.min(a, s)), l = t[c];
- return l == null || $Ge(l, n, r) ? String(c) : null;
-}, eKe = (e, t, n, r, i, a, o) => {
+ return l == null || QGe(l, n, r) ? String(c) : null;
+}, $Ge = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
if (s != null) return s;
@@ -77524,7 +77539,7 @@ var B2 = (e, t, n, r) => {
};
}
}
-}, tKe = (e, t, n, r) => {
+}, eKe = (e, t, n, r) => {
if (t === "axis") return e.tooltipItemPayloads;
if (e.tooltipItemPayloads.length === 0) return [];
var i = n === "hover" ? e.itemInteraction.hover.graphicalItemId : e.itemInteraction.click.graphicalItemId;
@@ -77534,10 +77549,10 @@ var B2 = (e, t, n, r) => {
return a == null ? [] : [a];
}
return e.tooltipItemPayloads.filter((e) => e.settings?.graphicalItemId === i);
-}, nKe = (e) => e.options.tooltipPayloadSearcher, V2 = (e) => e.tooltip;
+}, tKe = (e) => e.options.tooltipPayloadSearcher, H2 = (e) => e.tooltip;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js
-function rKe(e, t) {
+function nKe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -77547,30 +77562,30 @@ function rKe(e, t) {
}
return n;
}
-function iKe(e) {
+function rKe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? rKe(Object(n), !0).forEach(function(t) {
- aKe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : rKe(Object(n)).forEach(function(t) {
+ t % 2 ? nKe(Object(n), !0).forEach(function(t) {
+ iKe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nKe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aKe(e, t, n) {
- return (t = oKe(t)) in e ? Object.defineProperty(e, t, {
+function iKe(e, t, n) {
+ return (t = aKe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oKe(e) {
- var t = sKe(e, "string");
+function aKe(e) {
+ var t = oKe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sKe(e, t) {
+function oKe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77580,226 +77595,226 @@ function sKe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function cKe(e) {
+function sKe(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function lKe(e) {
+function cKe(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function uKe(e) {
+function lKe(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
-function dKe(e) {
+function uKe(e) {
if (typeof e == "string") return e;
}
-function fKe(e) {
+function dKe(e) {
if (typeof e == "object" && e) return {
- name: "name" in e ? cKe(e.name) : void 0,
- unit: "unit" in e ? lKe(e.unit) : void 0,
- dataKey: "dataKey" in e ? uKe(e.dataKey) : void 0,
+ name: "name" in e ? sKe(e.name) : void 0,
+ unit: "unit" in e ? cKe(e.unit) : void 0,
+ dataKey: "dataKey" in e ? lKe(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
- color: "color" in e ? dKe(e.color) : void 0,
- fill: "fill" in e ? dKe(e.fill) : void 0
+ color: "color" in e ? uKe(e.color) : void 0,
+ fill: "fill" in e ? uKe(e.fill) : void 0
};
}
-function pKe(e, t) {
+function fKe(e, t) {
return e ?? t;
}
-var mKe = (e, t, n, r, i, a, o) => {
+var pKe = (e, t, n, r, i, a, o) => {
if (t != null && a != null) {
var s = n.chartData, c = n.computedData, l = n.dataStartIndex, u = n.dataEndIndex;
return e.reduce((e, n) => {
- var d = n.dataDefinedOnItem, f = n.settings, p = pKe(d, s), m = Array.isArray(p) ? QY(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;
- return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = kG(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {
- var n = fKe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = iKe(iKe({}, f), {}, {
+ var d = n.dataDefinedOnItem, f = n.settings, p = fKe(d, s), m = Array.isArray(p) ? $Y(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;
+ return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = AG(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {
+ var n = dKe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = rKe(rKe({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
fill: n?.fill ?? f?.fill
});
- e.push(hX({
+ e.push(gX({
tooltipEntrySettings: o,
dataKey: i,
payload: a,
- value: rX(a, i),
+ value: iX(a, i),
name: r == null ? void 0 : String(r)
}));
- }) : e.push(hX({
+ }) : e.push(gX({
tooltipEntrySettings: f,
dataKey: h,
payload: _,
- value: rX(_, h),
- name: rX(_, g) ?? f?.name
+ value: iX(_, h),
+ name: iX(_, g) ?? f?.name
})), e;
}, []);
}
-}, H2 = Y([
- o2,
- pWe,
- GQ
-], YUe), U2 = Y([
+}, U2 = Y([
+ s2,
+ fWe,
+ KQ
+], JUe), W2 = Y([
Y([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
- o2,
- Y([b$, x$], X0)
-], Q0, { memoizeOptions: { resultEqualityCheck: y$ } }), hKe = Y([U2], (e) => e.filter(_$)), gKe = Y([U2], e2, { memoizeOptions: { resultEqualityCheck: y$ } }), _Ke = Y([U2], (e) => e.some((e) => !e.data)), W2 = Y([gKe, yQ], t2), vKe = Y([
- hKe,
- yQ,
- o2
-], g$), G2 = Y([
+ s2,
+ Y([x$, S$], Z0)
+], $0, { memoizeOptions: { resultEqualityCheck: b$ } }), mKe = Y([W2], (e) => e.filter(v$)), hKe = Y([W2], t2, { memoizeOptions: { resultEqualityCheck: b$ } }), gKe = Y([W2], (e) => e.some((e) => !e.data)), G2 = Y([hKe, bQ], n2), _Ke = Y([
+ mKe,
+ bQ,
+ s2
+], _$), K2 = Y([
+ G2,
+ s2,
W2,
- o2,
- U2,
- yQ,
- _Ke,
- gKe
-], xWe), yKe = Y([o2], u2), bKe = Y([yKe, Y([o2], (e) => e.allowDataOverflow)], DQ), xKe = Y([
+ bQ,
+ gKe,
+ hKe
+], bWe), vKe = Y([s2], d2), yKe = Y([vKe, Y([s2], (e) => e.allowDataOverflow)], OQ), bKe = Y([
Y([
- vKe,
- Y([U2], (e) => e.filter(_$)),
- UQ,
- WQ
- ], c2),
- yQ,
- b$,
- bKe
-], OWe), SKe = Y([
- W2,
- o2,
- Y([U2], gWe),
- p2,
- b$,
- fBe
-], h2, { memoizeOptions: { resultEqualityCheck: v$ } }), CKe = Y([Y([
- FWe,
- b$,
- x$
-], g2), b$], VWe), wKe = Y([Y([
- LWe,
- b$,
- x$
-], g2), b$], UWe), K2 = Y([
- o2,
- GX,
- W2,
+ _Ke,
+ Y([W2], (e) => e.filter(v$)),
+ WQ,
+ GQ
+ ], l2),
+ bQ,
+ x$,
+ yKe
+], DWe), xKe = Y([
G2,
- UQ,
- b$,
+ s2,
+ Y([W2], hWe),
+ m2,
+ x$,
+ dBe
+], g2, { memoizeOptions: { resultEqualityCheck: y$ } }), SKe = Y([Y([
+ PWe,
+ x$,
+ S$
+], _2), x$], BWe), CKe = Y([Y([
+ IWe,
+ x$,
+ S$
+], _2), x$], HWe), q2 = Y([
+ s2,
+ KX,
+ G2,
+ K2,
+ WQ,
+ x$,
Y([
- o2,
+ s2,
+ vKe,
yKe,
bKe,
xKe,
- SKe,
Y([
- CKe,
+ SKe,
Y([Y([
- zWe,
- b$,
- x$
- ], g2), b$], qWe),
- wKe
- ], m2),
- GX,
- b$
- ], _2)
-], v2), TKe = Y([
- o2,
- K2,
+ RWe,
+ x$,
+ S$
+ ], _2), x$], KWe),
+ CKe
+ ], h2),
+ KX,
+ x$
+ ], v2)
+], y2), wKe = Y([
+ s2,
+ q2,
Y([
- K2,
- o2,
- H2
- ], x2),
- b$
-], C2), EKe = (e) => w2(e, b$(e), x$(e), !1), DKe = Y([o2, EKe], QQ), OKe = Y([Y([
- o2,
- H2,
+ q2,
+ s2,
+ U2
+ ], S2),
+ x$
+], w2), TKe = (e) => T2(e, x$(e), S$(e), !1), EKe = Y([s2, TKe], $Q), DKe = Y([Y([
+ s2,
+ U2,
+ wKe,
+ EKe
+], V0)], C$), J2 = Y([
+ KX,
+ s2,
+ U2,
+ DKe,
TKe,
- DKe
-], B0)], S$), q2 = Y([
- GX,
- o2,
- H2,
- OKe,
- EKe,
Y([
- GX,
- G2,
- o2,
- b$
- ], bGe),
+ KX,
+ K2,
+ s2,
+ x$
+ ], yGe),
Y([
- GX,
- G2,
- o2,
- b$
- ], E2),
- b$
+ KX,
+ K2,
+ s2,
+ x$
+ ], D2),
+ x$
], (e, t, n, r, i, a, o, s) => {
if (t) {
- var c = t.type, l = iX(e, s);
+ var c = t.type, l = aX(e, s);
if (r) {
var u = n === "scaleBand" && r.bandwidth ? r.bandwidth() / 2 : 2, d = c === "category" && r.bandwidth ? r.bandwidth() / u : 0;
- return d = s === "angleAxis" && i != null && i?.length >= 2 ? bG(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? xG(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
- return $Y(n) ? {
+ return eX(n) ? {
coordinate: n + d,
value: e,
index: t,
offset: d
} : null;
- }).filter(MG) : r.domain().map((e, t) => {
+ }).filter(NG) : r.domain().map((e, t) => {
var n = r.map(e);
- return $Y(n) ? {
+ return eX(n) ? {
coordinate: n + d,
value: a ? a[e] : e,
index: t,
offset: d
} : null;
- }).filter(MG);
+ }).filter(NG);
}
}
-}), J2 = Y([
+}), Y2 = Y([
+ TGe,
EGe,
- DGe,
- jGe
-], (e, t, n) => OGe(n.shared, e, t)), kKe = (e) => e.tooltip.settings.trigger, Y2 = (e) => e.tooltip.settings.defaultIndex, X2 = Y([
- V2,
- J2,
- kKe,
- Y2
-], XGe), Z2 = Y([
- X2,
- W2,
- s2,
- K2
-], B2), AKe = Y([q2, Z2], AGe), jKe = Y([X2], (e) => {
+ AGe
+], (e, t, n) => DGe(n.shared, e, t)), OKe = (e) => e.tooltip.settings.trigger, X2 = (e) => e.tooltip.settings.defaultIndex, Z2 = Y([
+ H2,
+ Y2,
+ OKe,
+ X2
+], YGe), Q2 = Y([
+ Z2,
+ G2,
+ c2,
+ q2
+], V2), kKe = Y([J2, Q2], kGe), AKe = Y([Z2], (e) => {
if (e) return e.dataKey;
-}), MKe = Y([X2], (e) => {
+}), jKe = Y([Z2], (e) => {
if (e) return e.graphicalItemId;
-}), NKe = Y([
- V2,
+}), MKe = Y([
+ H2,
+ Y2,
+ OKe,
+ X2
+], eKe), NKe = Y([Z2, Y([
+ vX,
+ yX,
+ KX,
+ TX,
J2,
+ X2,
+ MKe
+], $Ge)], (e, t) => e != null && e.coordinate ? e.coordinate : t), PKe = Y([Z2], (e) => e?.active ?? !1), FKe = Y([Y([
+ MKe,
+ Q2,
+ bQ,
+ c2,
kKe,
+ tKe,
Y2
-], tKe), PKe = Y([X2, Y([
- _X,
- vX,
- GX,
- wX,
- q2,
- Y2,
- NKe
-], eKe)], (e, t) => e != null && e.coordinate ? e.coordinate : t), FKe = Y([X2], (e) => e?.active ?? !1), IKe = Y([Y([
- NKe,
- Z2,
- yQ,
- s2,
- AKe,
- nKe,
- J2
-], mKe)], (e) => {
+], pKe)], (e) => {
if (e != null) {
var t = e.map((e) => e.payload).filter((e) => e != null);
return Array.from(new Set(t));
@@ -77807,7 +77822,7 @@ var mKe = (e, t, n, r, i, a, o) => {
});
//#endregion
//#region node_modules/recharts/es6/context/useTooltipAxis.js
-function LKe(e, t) {
+function IKe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -77817,30 +77832,30 @@ function LKe(e, t) {
}
return n;
}
-function RKe(e) {
+function LKe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? LKe(Object(n), !0).forEach(function(t) {
- zKe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : LKe(Object(n)).forEach(function(t) {
+ t % 2 ? IKe(Object(n), !0).forEach(function(t) {
+ RKe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : IKe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function zKe(e, t, n) {
- return (t = BKe(t)) in e ? Object.defineProperty(e, t, {
+function RKe(e, t, n) {
+ return (t = zKe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function BKe(e) {
- var t = VKe(e, "string");
+function zKe(e) {
+ var t = BKe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function VKe(e, t) {
+function BKe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77850,13 +77865,13 @@ function VKe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var HKe = () => J(o2), UKe = () => {
- var e = HKe(), t = J(q2), n = J(OKe);
- return mX(!e || !n ? void 0 : RKe(RKe({}, e), {}, { scale: n }), t);
+var VKe = () => J(s2), HKe = () => {
+ var e = VKe(), t = J(J2), n = J(DKe);
+ return hX(!e || !n ? void 0 : LKe(LKe({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
-function WKe(e, t) {
+function UKe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -77866,30 +77881,30 @@ function WKe(e, t) {
}
return n;
}
-function Q2(e) {
+function $2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? WKe(Object(n), !0).forEach(function(t) {
- GKe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : WKe(Object(n)).forEach(function(t) {
+ t % 2 ? UKe(Object(n), !0).forEach(function(t) {
+ WKe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UKe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function GKe(e, t, n) {
- return (t = KKe(t)) in e ? Object.defineProperty(e, t, {
+function WKe(e, t, n) {
+ return (t = GKe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function KKe(e) {
- var t = qKe(e, "string");
+function GKe(e) {
+ var t = KKe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qKe(e, t) {
+function KKe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77899,7 +77914,7 @@ function qKe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var JKe = (e, t, n, r) => {
+var qKe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -77915,18 +77930,18 @@ var JKe = (e, t, n, r) => {
x: 0,
y: 0
};
-}, YKe = (e, t, n, r) => {
+}, JKe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
var a = i.coordinate, o = r.radius;
- return Q2(Q2(Q2({}, r), uQ(r.cx, r.cy, o, a)), {}, {
+ return $2($2($2({}, r), dQ(r.cx, r.cy, o, a)), {}, {
angle: a,
radius: o
});
}
var s = i.coordinate, c = r.angle;
- return Q2(Q2(Q2({}, r), uQ(r.cx, r.cy, s, c)), {}, {
+ return $2($2($2({}, r), dQ(r.cx, r.cy, s, c)), {}, {
angle: c,
radius: s
});
@@ -77945,11 +77960,11 @@ var JKe = (e, t, n, r) => {
y: 0
};
};
-function XKe(e, t) {
+function YKe(e, t) {
var n = e.relativeX, r = e.relativeY;
return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;
}
-var ZKe = (e, t, n, r, i) => {
+var XKe = (e, t, n, r, i) => {
var a = t?.length ?? 0;
if (a <= 1 || e == null) return 0;
if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = i[1] - i[0], s = (t, n, r) => [
@@ -77959,9 +77974,9 @@ var ZKe = (e, t, n, r, i) => {
].some((e) => (r ? e >= t : e > t) && e <= n), c = 0; c < a; c++) {
var l = c > 0 ? n[c - 1]?.coordinate : n[a - 1]?.coordinate, u = n[c]?.coordinate, d = c >= a - 1 ? n[0]?.coordinate : n[c + 1]?.coordinate, f = void 0;
if (l != null && u != null && d != null) {
- if (bG(u - l) !== bG(d - u)) {
+ if (xG(u - l) !== xG(d - u)) {
var p = [];
- if (bG(d - u) === bG(i[1] - i[0])) {
+ if (xG(d - u) === xG(i[1] - i[0])) {
f = d;
var m = u + i[1] - i[0];
p[0] = Math.min(m, (m + l) / 2), p[1] = Math.max(m, (m + l) / 2);
@@ -77986,78 +78001,78 @@ var ZKe = (e, t, n, r, i) => {
}
}
return -1;
-}, QKe = () => J(GQ), $2 = (e, t) => t, $Ke = (e, t, n) => n, e4 = (e, t, n, r) => r, eqe = Y(q2, (e) => Hq(e, (e) => e.coordinate)), t4 = Y([
- V2,
- $2,
- $Ke,
- e4
-], XGe), n4 = Y([
- t4,
- W2,
- s2,
- K2
-], B2), tqe = (e, t, n) => {
+}, ZKe = () => J(KQ), e4 = (e, t) => t, QKe = (e, t, n) => n, t4 = (e, t, n, r) => r, $Ke = Y(J2, (e) => Uq(e, (e) => e.coordinate)), n4 = Y([
+ H2,
+ e4,
+ QKe,
+ t4
+], YGe), r4 = Y([
+ n4,
+ G2,
+ c2,
+ q2
+], V2), eqe = (e, t, n) => {
if (t != null) {
- var r = V2(e);
+ var r = H2(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
}
-}, nqe = Y([
- V2,
- $2,
- $Ke,
- e4
-], tKe), r4 = Y([
- _X,
- vX,
- GX,
- wX,
- q2,
+}, tqe = Y([
+ H2,
e4,
- nqe
-], eKe), rqe = Y([t4, r4], (e, t) => e.coordinate ?? t), iqe = Y([q2, n4], AGe), aqe = Y([
- nqe,
- n4,
- yQ,
- s2,
- iqe,
- nKe,
- $2
-], mKe), oqe = Y([t4, n4], (e, t) => ({
+ QKe,
+ t4
+], eKe), i4 = Y([
+ vX,
+ yX,
+ KX,
+ TX,
+ J2,
+ t4,
+ tqe
+], $Ge), nqe = Y([n4, i4], (e, t) => e.coordinate ?? t), rqe = Y([J2, r4], kGe), iqe = Y([
+ tqe,
+ r4,
+ bQ,
+ c2,
+ rqe,
+ tKe,
+ e4
+], pKe), aqe = Y([n4, r4], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), sqe = (e, t, n, r, i, a, o) => {
- if (e && n && r && i && XKe(e, o)) {
- var s = ZKe(FIe(e, t), a, i, n, r), c = JKe(t, i, s, e);
+})), oqe = (e, t, n, r, i, a, o) => {
+ if (e && n && r && i && YKe(e, o)) {
+ var s = XKe(PIe(e, t), a, i, n, r), c = qKe(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, cqe = (e, t, n, r, i, a, o) => {
+}, sqe = (e, t, n, r, i, a, o) => {
if (e && r && i && a && n) {
- var s = Zze(e, n);
+ var s = Xze(e, n);
if (s) {
- var c = ZKe(IIe(s, t), o, a, r, i), l = YKe(t, a, c, s);
+ var c = XKe(FIe(s, t), o, a, r, i), l = JKe(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, lqe = (e, t, n, r, i, a, o, s) => {
- if (e && t && r && i && a) return t === "horizontal" || t === "vertical" ? sqe(e, t, r, i, a, o, s) : cqe(e, t, n, r, i, a, o);
-}, uqe = Y((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, cqe = (e, t, n, r, i, a, o, s) => {
+ if (e && t && r && i && a) return t === "horizontal" || t === "vertical" ? oqe(e, t, r, i, a, o, s) : sqe(e, t, n, r, i, a, o);
+}, lqe = Y((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
if (t != null) {
var r = e[t];
if (r != null) return n ? r.panoramaElement : r.element;
}
-}), dqe = Y((e) => e.zIndex.zIndexMap, (e) => {
- var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(YQ));
+}), uqe = Y((e) => e.zIndex.zIndexMap, (e) => {
+ var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(XQ));
return Array.from(new Set(t)).sort((e, t) => e - t);
-}, { memoizeOptions: { resultEqualityCheck: kBe } });
+}, { memoizeOptions: { resultEqualityCheck: OBe } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
-function fqe(e, t) {
+function dqe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78067,30 +78082,30 @@ function fqe(e, t) {
}
return n;
}
-function pqe(e) {
+function fqe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? fqe(Object(n), !0).forEach(function(t) {
- mqe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fqe(Object(n)).forEach(function(t) {
+ t % 2 ? dqe(Object(n), !0).forEach(function(t) {
+ pqe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dqe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function mqe(e, t, n) {
- return (t = hqe(t)) in e ? Object.defineProperty(e, t, {
+function pqe(e, t, n) {
+ return (t = mqe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function hqe(e) {
- var t = gqe(e, "string");
+function mqe(e) {
+ var t = hqe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function gqe(e, t) {
+function hqe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78100,17 +78115,17 @@ function gqe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var _qe = { zIndexMap: Object.values(YQ).reduce((e, t) => pqe(pqe({}, e), {}, { [t]: {
+var gqe = { zIndexMap: Object.values(XQ).reduce((e, t) => fqe(fqe({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, vqe = new Set(Object.values(YQ));
-function yqe(e) {
- return vqe.has(e);
+} }), {}) }, _qe = new Set(Object.values(XQ));
+function vqe(e) {
+ return _qe.has(e);
}
-var bqe = CY({
+var yqe = wY({
name: "zIndex",
- initialState: _qe,
+ initialState: gqe,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -78121,50 +78136,50 @@ var bqe = CY({
panoramaElement: void 0
};
},
- prepare: yY()
+ prepare: bY()
},
unregisterZIndexPortal: {
reducer: (e, t) => {
var n = t.payload.zIndex;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !yqe(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !vqe(n) && delete e.zIndexMap[n]);
},
- prepare: yY()
+ prepare: bY()
},
registerZIndexPortalElement: {
reducer: (e, t) => {
var n = t.payload, r = n.zIndex, i = n.element, a = n.isPanorama;
- e.zIndexMap[r] ? a ? e.zIndexMap[r].panoramaElement = fY(i) : e.zIndexMap[r].element = fY(i) : e.zIndexMap[r] = {
+ e.zIndexMap[r] ? a ? e.zIndexMap[r].panoramaElement = pY(i) : e.zIndexMap[r].element = pY(i) : e.zIndexMap[r] = {
consumers: 0,
- element: a ? void 0 : fY(i),
- panoramaElement: a ? fY(i) : void 0
+ element: a ? void 0 : pY(i),
+ panoramaElement: a ? pY(i) : void 0
};
},
- prepare: yY()
+ prepare: bY()
},
unregisterZIndexPortalElement: {
reducer: (e, t) => {
var n = t.payload.zIndex;
e.zIndexMap[n] && (t.payload.isPanorama ? e.zIndexMap[n].panoramaElement = void 0 : e.zIndexMap[n].element = void 0);
},
- prepare: yY()
+ prepare: bY()
}
}
-}), i4 = bqe.actions, xqe = i4.registerZIndexPortal, a4 = i4.unregisterZIndexPortal, Sqe = i4.registerZIndexPortalElement, Cqe = i4.unregisterZIndexPortalElement, wqe = bqe.reducer;
+}), a4 = yqe.actions, bqe = a4.registerZIndexPortal, o4 = a4.unregisterZIndexPortal, xqe = a4.registerZIndexPortalElement, Sqe = a4.unregisterZIndexPortalElement, Cqe = yqe.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
-function o4(e) {
- var t = e.zIndex, n = e.children, r = vLe() && t !== void 0 && t !== 0, i = DX(), a = (0, b.useRef)(void 0), o = (0, b.useRef)(/* @__PURE__ */ new Set()), s = Nq(), c = J((e) => uqe(e, t, i));
+function s4(e) {
+ var t = e.zIndex, n = e.children, r = _Le() && t !== void 0 && t !== 0, i = OX(), a = (0, b.useRef)(void 0), o = (0, b.useRef)(/* @__PURE__ */ new Set()), s = Pq(), c = J((e) => lqe(e, t, i));
if ((0, b.useLayoutEffect)(() => {
if (!r) {
var e = o.current;
e.forEach((e) => {
- s(a4({ zIndex: e }));
+ s(o4({ zIndex: e }));
}), e.clear(), a.current = void 0;
- } else if (o.current.has(t) || (s(xqe({ zIndex: t })), o.current.add(t)), c) {
+ } else if (o.current.has(t) || (s(bqe({ zIndex: t })), o.current.add(t)), c) {
a.current = c;
var n = o.current;
n.forEach((e) => {
- e !== t && (s(a4({ zIndex: e })), n.delete(e));
+ e !== t && (s(o4({ zIndex: e })), n.delete(e));
});
}
}, [
@@ -78176,7 +78191,7 @@ function o4(e) {
var e = o.current;
return () => {
e.forEach((e) => {
- s(a4({ zIndex: e }));
+ s(o4({ zIndex: e }));
}), e.clear();
};
}, [s]), !r) return n;
@@ -78185,16 +78200,16 @@ function o4(e) {
}
//#endregion
//#region node_modules/recharts/es6/component/Cursor.js
-function s4() {
- return s4 = Object.assign ? Object.assign.bind() : function(e) {
+function c4() {
+ return c4 = 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;
- }, s4.apply(null, arguments);
+ }, c4.apply(null, arguments);
}
-function Tqe(e, t) {
+function wqe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78204,30 +78219,30 @@ function Tqe(e, t) {
}
return n;
}
-function c4(e) {
+function l4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Tqe(Object(n), !0).forEach(function(t) {
- Eqe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Tqe(Object(n)).forEach(function(t) {
+ t % 2 ? wqe(Object(n), !0).forEach(function(t) {
+ Tqe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wqe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Eqe(e, t, n) {
- return (t = Dqe(t)) in e ? Object.defineProperty(e, t, {
+function Tqe(e, t, n) {
+ return (t = Eqe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Dqe(e) {
- var t = Oqe(e, "string");
+function Eqe(e) {
+ var t = Dqe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Oqe(e, t) {
+function Dqe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78237,18 +78252,18 @@ function Oqe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function kqe(e) {
+function Oqe(e) {
var t = e.cursor, n = e.cursorComp, r = e.cursorProps;
return /*#__PURE__*/ (0, b.isValidElement)(t) ? /*#__PURE__*/ (0, b.cloneElement)(t, r) : /*#__PURE__*/ (0, b.createElement)(n, r);
}
-function Aqe(e) {
+function kqe(e) {
var t = e.coordinate, n = e.payload, r = e.index, i = e.offset, a = e.tooltipAxisBandSize, o = e.layout, s = e.cursor, c = e.tooltipEventType, l = e.chartName, u = t, d = n, f = r;
if (!s || !u || l !== "ScatterChart" && c !== "axis") return null;
var p, m, h;
- if (l === "ScatterChart") p = u, m = ZRe, h = YQ.cursorLine;
- else if (l === "BarChart") p = QRe(o, u, i, a), m = aQ, h = YQ.cursorRectangle;
- else if (o === "radial" && IK(u)) {
- var g = dQ(u), _ = g.cx, v = g.cy, y = g.radius;
+ if (l === "ScatterChart") p = u, m = XRe, h = XQ.cursorLine;
+ else if (l === "BarChart") p = ZRe(o, u, i, a), m = oQ, h = XQ.cursorRectangle;
+ else if (o === "radial" && LK(u)) {
+ var g = fQ(u), _ = g.cx, v = g.cy, y = g.radius;
p = {
cx: _,
cy: v,
@@ -78256,25 +78271,25 @@ function Aqe(e) {
endAngle: g.endAngle,
innerRadius: y,
outerRadius: y
- }, m = gQ, h = YQ.cursorLine;
- } else p = { points: cBe(o, u, i) }, m = PZ, h = YQ.cursorLine;
- var x = typeof s == "object" && "className" in s ? s.className : void 0, S = c4(c4(c4(c4({
+ }, m = _Q, h = XQ.cursorLine;
+ } else p = { points: sBe(o, u, i) }, m = FZ, h = XQ.cursorLine;
+ var x = typeof s == "object" && "className" in s ? s.className : void 0, S = l4(l4(l4(l4({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), aG(s)), {}, {
+ }, i), p), oG(s)), {}, {
payload: d,
payloadIndex: f,
className: Cv("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ b.createElement(o4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ b.createElement(kqe, {
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ b.createElement(Oqe, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
-function jqe(e) {
- var t = UKe(), n = HX(), r = KX(), i = QKe();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ b.createElement(Aqe, s4({}, e, {
+function Aqe(e) {
+ var t = HKe(), n = UX(), r = qX(), i = ZKe();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ b.createElement(kqe, c4({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -78283,7 +78298,7 @@ function jqe(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var Mqe = /*#__PURE__*/ (0, b.createContext)(null), Nqe = () => (0, b.useContext)(Mqe), Pqe = (/* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
+var jqe = /*#__PURE__*/ (0, b.createContext)(null), Mqe = () => (0, b.useContext)(jqe), Nqe = (/* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -78370,12 +78385,12 @@ var Mqe = /*#__PURE__*/ (0, b.createContext)(null), Nqe = () => (0, b.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, l4 = new Pqe(), u4 = "recharts.syncEvent.tooltip", Fqe = "recharts.syncEvent.brush", d4 = (e, t) => {
+})))(), 1)).default, u4 = new Nqe(), d4 = "recharts.syncEvent.tooltip", Pqe = "recharts.syncEvent.brush", f4 = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!xG(n)) return e[n];
+ if (!SG(n)) return e[n];
}
-}, Iqe = CY({
+}, Fqe = wY({
name: "options",
initialState: {
chartName: "",
@@ -78386,13 +78401,13 @@ var Mqe = /*#__PURE__*/ (0, b.createContext)(null), Nqe = () => (0, b.useContext
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), Lqe = Iqe.reducer, Rqe = Iqe.actions.createEventEmitter;
+}), Iqe = Fqe.reducer, Lqe = Fqe.actions.createEventEmitter;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function zqe(e) {
+function Rqe(e) {
return e.tooltip.syncInteraction;
}
-var Bqe = CY({
+var zqe = wY({
name: "chartData",
initialState: {
chartData: void 0,
@@ -78402,7 +78417,7 @@ var Bqe = CY({
},
reducers: {
setChartData(e, t) {
- e.chartData = fY(t.payload), t.payload == null ? (e.dataStartIndex = 0, e.dataEndIndex = 0) : t.payload.length > 0 && e.dataEndIndex !== t.payload.length - 1 && (e.dataEndIndex = t.payload.length - 1);
+ e.chartData = pY(t.payload), t.payload == null ? (e.dataStartIndex = 0, e.dataEndIndex = 0) : t.payload.length > 0 && e.dataEndIndex !== t.payload.length - 1 && (e.dataEndIndex = t.payload.length - 1);
},
setComputedData(e, t) {
e.computedData = t.payload;
@@ -78412,10 +78427,10 @@ var Bqe = CY({
r != null && (e.dataStartIndex = r), i != null && (e.dataEndIndex = i);
}
}
-}), f4 = Bqe.actions, Vqe = f4.setChartData, Hqe = f4.setDataStartEndIndexes;
-f4.setComputedData;
-var Uqe = Bqe.reducer, Wqe = ["x", "y"];
-function Gqe(e, t) {
+}), p4 = zqe.actions, Bqe = p4.setChartData, Vqe = p4.setDataStartEndIndexes;
+p4.setComputedData;
+var Hqe = zqe.reducer, Uqe = ["x", "y"];
+function Wqe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78425,30 +78440,30 @@ function Gqe(e, t) {
}
return n;
}
-function p4(e) {
+function m4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Gqe(Object(n), !0).forEach(function(t) {
- Kqe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Gqe(Object(n)).forEach(function(t) {
+ t % 2 ? Wqe(Object(n), !0).forEach(function(t) {
+ Gqe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Wqe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Kqe(e, t, n) {
- return (t = qqe(t)) in e ? Object.defineProperty(e, t, {
+function Gqe(e, t, n) {
+ return (t = Kqe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qqe(e) {
- var t = Jqe(e, "string");
+function Kqe(e) {
+ var t = qqe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Jqe(e, t) {
+function qqe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78458,16 +78473,16 @@ function Jqe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Yqe(e, t) {
+function Jqe(e, t) {
if (e == null) return {};
- var n, r, i = Xqe(e, t);
+ var n, r, i = Yqe(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 Xqe(e, t) {
+function Yqe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -78476,13 +78491,13 @@ function Xqe(e, t) {
}
return n;
}
-function Zqe() {
- var e = J(KQ), t = J(JQ), n = Nq(), r = J(qQ), i = J(q2), a = KX(), o = VX(), s = J((e) => e.rootProps.className);
+function Xqe() {
+ var e = J(qQ), t = J(YQ), n = Pq(), r = J(JQ), i = J(J2), a = qX(), o = HX(), s = J((e) => e.rootProps.className);
(0, b.useEffect)(() => {
- if (e == null) return NG;
+ if (e == null) return PG;
var s = (s, c, l) => {
if (t !== l && e === s) {
- if (c.payload.active === !1) n(L2({
+ if (c.payload.active === !1) n(R2({
active: !1,
coordinate: void 0,
dataKey: void 0,
@@ -78494,11 +78509,11 @@ function Zqe() {
else if (r === "index") {
var u;
if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {
- var d = c.payload.coordinate, f = d.x, p = d.y, m = Yqe(d, Wqe), h = c.payload.sourceViewBox, g = h.x, _ = h.y, v = h.width, y = h.height, b = p4(p4({}, m), {}, {
+ var d = c.payload.coordinate, f = d.x, p = d.y, m = Jqe(d, Uqe), h = c.payload.sourceViewBox, g = h.x, _ = h.y, v = h.width, y = h.height, b = m4(m4({}, m), {}, {
x: o.x + (v ? (f - g) / v : 0) * o.width,
y: o.y + (y ? (p - _) / y : 0) * o.height
});
- n(p4(p4({}, c), {}, { payload: p4(p4({}, c.payload), {}, { coordinate: b }) }));
+ n(m4(m4({}, c), {}, { payload: m4(m4({}, c.payload), {}, { coordinate: b }) }));
} else n(c);
} else if (i != null) {
var x;
@@ -78511,7 +78526,7 @@ function Zqe() {
activeCoordinate: c.payload.coordinate
})] : r === "value" && (x = i.find((e) => String(e.value) === c.payload.label));
var S = c.payload.coordinate;
- if (S == null || o == null) n(L2({
+ if (S == null || o == null) n(R2({
active: !1,
coordinate: void 0,
dataKey: void 0,
@@ -78520,7 +78535,7 @@ function Zqe() {
sourceViewBox: void 0,
graphicalItemId: void 0
}));
- else if (x == null) n(L2({
+ else if (x == null) n(R2({
active: !1,
coordinate: void 0,
dataKey: void 0,
@@ -78534,7 +78549,7 @@ function Zqe() {
x: a === "horizontal" ? x.coordinate : T,
y: a === "horizontal" ? E : x.coordinate
};
- n(L2({
+ n(R2({
active: c.payload.active,
coordinate: D,
dataKey: c.payload.dataKey,
@@ -78547,8 +78562,8 @@ function Zqe() {
}
}
};
- return l4.on(u4, s), () => {
- l4.off(u4, s);
+ return u4.on(d4, s), () => {
+ u4.off(d4, s);
};
}, [
s,
@@ -78561,15 +78576,15 @@ function Zqe() {
o
]);
}
-function Qqe() {
- var e = J(KQ), t = J(JQ), n = Nq();
+function Zqe() {
+ var e = J(qQ), t = J(YQ), n = Pq();
(0, b.useEffect)(() => {
- if (e == null) return NG;
+ if (e == null) return PG;
var r = (r, i, a) => {
- t !== a && e === r && n(Hqe(i));
+ t !== a && e === r && n(Vqe(i));
};
- return l4.on(Fqe, r), () => {
- l4.off(Fqe, r);
+ return u4.on(Pqe, r), () => {
+ u4.off(Pqe, r);
};
}, [
n,
@@ -78577,17 +78592,17 @@ function Qqe() {
e
]);
}
-function $qe() {
- var e = Nq();
+function Qqe() {
+ var e = Pq();
(0, b.useEffect)(() => {
- e(Rqe());
- }, [e]), Zqe(), Qqe();
+ e(Lqe());
+ }, [e]), Xqe(), Zqe();
}
-function eJe(e, t, n, r, i, a) {
- var o = J((n) => tqe(n, e, t)), s = J(MKe), c = J(JQ), l = J(KQ), u = J(qQ), d = J(zqe)?.sourceViewBox != null, f = VX();
+function $qe(e, t, n, r, i, a) {
+ var o = J((n) => eqe(n, e, t)), s = J(jKe), c = J(YQ), l = J(qQ), u = J(JQ), d = J(Rqe)?.sourceViewBox != null, f = HX();
(0, b.useEffect)(() => {
if (!d && l != null && c != null) {
- var e = L2({
+ var e = R2({
active: a,
coordinate: n,
dataKey: o,
@@ -78596,7 +78611,7 @@ function eJe(e, t, n, r, i, a) {
sourceViewBox: f,
graphicalItemId: s
});
- l4.emit(u4, l, e, c);
+ u4.emit(d4, l, e, c);
}
}, [
d,
@@ -78614,7 +78629,7 @@ function eJe(e, t, n, r, i, a) {
}
//#endregion
//#region node_modules/recharts/es6/component/Tooltip.js
-function tJe(e, t) {
+function eJe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78624,30 +78639,30 @@ function tJe(e, t) {
}
return n;
}
-function nJe(e) {
+function tJe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? tJe(Object(n), !0).forEach(function(t) {
- rJe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tJe(Object(n)).forEach(function(t) {
+ t % 2 ? eJe(Object(n), !0).forEach(function(t) {
+ nJe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eJe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rJe(e, t, n) {
- return (t = iJe(t)) in e ? Object.defineProperty(e, t, {
+function nJe(e, t, n) {
+ return (t = rJe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function iJe(e) {
- var t = aJe(e, "string");
+function rJe(e) {
+ var t = iJe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aJe(e, t) {
+function iJe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78657,25 +78672,25 @@ function aJe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function oJe(e, t) {
- return dJe(e) || uJe(e, t) || cJe(e, t) || sJe();
+function aJe(e, t) {
+ return uJe(e) || lJe(e, t) || sJe(e, t) || oJe();
}
-function sJe() {
+function oJe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function cJe(e, t) {
+function sJe(e, t) {
if (e) {
- if (typeof e == "string") return lJe(e, t);
+ if (typeof e == "string") return cJe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? lJe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? cJe(e, t) : void 0;
}
}
-function lJe(e, t) {
+function cJe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function uJe(e, t) {
+function lJe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -78696,16 +78711,16 @@ function uJe(e, t) {
return s;
}
}
-function dJe(e) {
+function uJe(e) {
if (Array.isArray(e)) return e;
}
-function fJe(e) {
+function dJe(e) {
return e.dataKey;
}
-function pJe(e, t) {
- return /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ b.createElement(e, t) : /*#__PURE__*/ b.createElement(_Re, t);
+function fJe(e, t) {
+ return /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ b.createElement(e, t) : /*#__PURE__*/ b.createElement(gRe, t);
}
-var mJe = [], hJe = {
+var pJe = [], mJe = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -78731,10 +78746,10 @@ var mJe = [], hJe = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function gJe(e) {
- var t = BK(e, hJe), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, x = t.axisId, S = Nq(), C = typeof v == "number" ? String(v) : v;
+function hJe(e) {
+ var t = VK(e, mJe), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, x = t.axisId, S = Pq(), C = typeof v == "number" ? String(v) : v;
(0, b.useEffect)(() => {
- S(IGe({
+ S(FGe({
shared: g,
trigger: _,
axisId: x,
@@ -78749,20 +78764,20 @@ function gJe(e) {
n,
C
]);
- var w = VX(), T = wZ(), E = kGe(g), D = J((e) => oqe(e, E, _, C)) ?? {}, O = D.activeIndex, k = D.isActive, A = J((e) => aqe(e, E, _, C)), j = J((e) => iqe(e, E, _, C)), M = J((e) => rqe(e, E, _, C)), N = A, P = Nqe(), ee = n ?? k ?? !1, F = oJe(Jq([N, ee]), 2), te = F[0], ne = F[1], re = E === "axis" ? j : void 0;
- eJe(E, _, M, re, O, ee);
+ var w = HX(), T = TZ(), E = OGe(g), D = J((e) => aqe(e, E, _, C)) ?? {}, O = D.activeIndex, k = D.isActive, A = J((e) => iqe(e, E, _, C)), j = J((e) => rqe(e, E, _, C)), M = J((e) => nqe(e, E, _, C)), N = A, P = Mqe(), ee = n ?? k ?? !1, F = aJe(Yq([N, ee]), 2), te = F[0], ne = F[1], re = E === "axis" ? j : void 0;
+ $qe(E, _, M, re, O, ee);
var ie = y ?? P;
if (ie == null || w == null || E == null) return null;
- var ae = N ?? mJe;
- ee || (ae = mJe), s && ae.length && (ae = jq(ae.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, fJe));
- var oe = ae.length > 0, se = nJe(nJe({}, t), {}, {
+ var ae = N ?? pJe;
+ ee || (ae = pJe), s && ae.length && (ae = Mq(ae.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, dJe));
+ var oe = ae.length > 0, se = tJe(tJe({}, t), {}, {
payload: ae,
label: re,
active: ee,
activeIndex: O,
coordinate: M,
accessibilityLayer: T
- }), ce = /*#__PURE__*/ b.createElement(LRe, {
+ }), ce = /*#__PURE__*/ b.createElement(IRe, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -78779,8 +78794,8 @@ function gJe(e) {
lastBoundingBox: te,
innerRef: ne,
hasPortalFromProps: !!y
- }, pJe(o, se));
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ (0, mt.createPortal)(ce, ie), ee && /*#__PURE__*/ b.createElement(jqe, {
+ }, fJe(o, se));
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ (0, mt.createPortal)(ce, ie), ee && /*#__PURE__*/ b.createElement(Aqe, {
cursor: h,
tooltipEventType: E,
coordinate: M,
@@ -78790,23 +78805,23 @@ function gJe(e) {
}
//#endregion
//#region node_modules/recharts/es6/component/Cell.js
-var m4 = (e) => null;
-m4.displayName = "Cell";
+var h4 = (e) => null;
+h4.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function _Je(e, t, n) {
- return (t = vJe(t)) in e ? Object.defineProperty(e, t, {
+function gJe(e, t, n) {
+ return (t = _Je(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function vJe(e) {
- var t = yJe(e, "string");
+function _Je(e) {
+ var t = vJe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function yJe(e, t) {
+function vJe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78816,9 +78831,9 @@ function yJe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var bJe = class {
+var yJe = class {
constructor(e) {
- _Je(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ gJe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -78841,7 +78856,7 @@ var bJe = class {
};
//#endregion
//#region node_modules/recharts/es6/util/DOMUtils.js
-function xJe(e, t) {
+function bJe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78851,30 +78866,30 @@ function xJe(e, t) {
}
return n;
}
-function SJe(e) {
+function xJe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? xJe(Object(n), !0).forEach(function(t) {
- CJe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xJe(Object(n)).forEach(function(t) {
+ t % 2 ? bJe(Object(n), !0).forEach(function(t) {
+ SJe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bJe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function CJe(e, t, n) {
- return (t = wJe(t)) in e ? Object.defineProperty(e, t, {
+function SJe(e, t, n) {
+ return (t = CJe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wJe(e) {
- var t = TJe(e, "string");
+function CJe(e) {
+ var t = wJe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function TJe(e, t) {
+function wJe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78884,10 +78899,10 @@ function TJe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var EJe = SJe({}, {
+var TJe = xJe({}, {
cacheSize: 2e3,
enableCache: !0
-}), DJe = new bJe(EJe.cacheSize), OJe = {
+}), EJe = new yJe(TJe.cacheSize), DJe = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -78895,14 +78910,14 @@ var EJe = SJe({}, {
margin: 0,
border: "none",
whiteSpace: "pre"
-}, kJe = "recharts_measurement_span";
-function AJe(e, t) {
+}, OJe = "recharts_measurement_span";
+function kJe(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
-var jJe = (e, t) => {
+var AJe = (e, t) => {
try {
- var n = document.getElementById(kJe);
- n || (n = document.createElement("span"), n.setAttribute("id", kJe), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, OJe, t), n.textContent = `${e}`;
+ var n = document.getElementById(OJe);
+ n || (n = document.createElement("span"), n.setAttribute("id", OJe), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, DJe, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -78914,37 +78929,37 @@ var jJe = (e, t) => {
height: 0
};
}
-}, h4 = function(e) {
+}, g4 = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
- if (e == null || vZ.isSsr) return {
+ if (e == null || yZ.isSsr) return {
width: 0,
height: 0
};
- if (!EJe.enableCache) return jJe(e, t);
- var n = AJe(e, t), r = DJe.get(n);
+ if (!TJe.enableCache) return AJe(e, t);
+ var n = kJe(e, t), r = EJe.get(n);
if (r) return r;
- var i = jJe(e, t);
- return DJe.set(n, i), i;
-}, MJe;
-function g4(e, t) {
- return LJe(e) || IJe(e, t) || PJe(e, t) || NJe();
+ var i = AJe(e, t);
+ return EJe.set(n, i), i;
+}, jJe;
+function _4(e, t) {
+ return IJe(e) || FJe(e, t) || NJe(e, t) || MJe();
}
-function NJe() {
+function MJe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function PJe(e, t) {
+function NJe(e, t) {
if (e) {
- if (typeof e == "string") return FJe(e, t);
+ if (typeof e == "string") return PJe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? FJe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? PJe(e, t) : void 0;
}
}
-function FJe(e, t) {
+function PJe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function IJe(e, t) {
+function FJe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -78965,22 +78980,22 @@ function IJe(e, t) {
return s;
}
}
-function LJe(e) {
+function IJe(e) {
if (Array.isArray(e)) return e;
}
-function RJe(e, t, n) {
- return (t = zJe(t)) in e ? Object.defineProperty(e, t, {
+function LJe(e, t, n) {
+ return (t = RJe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zJe(e) {
- var t = BJe(e, "string");
+function RJe(e) {
+ var t = zJe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function BJe(e, t) {
+function zJe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78990,7 +79005,7 @@ function BJe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var VJe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, HJe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, UJe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, WJe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, GJe = {
+var BJe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, VJe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, HJe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, UJe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, WJe = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -78998,7 +79013,7 @@ var VJe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, HJe =
in: 96,
Q: 96 / 101.6,
px: 1
-}, KJe = [
+}, GJe = [
"cm",
"mm",
"pt",
@@ -79007,20 +79022,20 @@ var VJe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, HJe =
"Q",
"px"
];
-function qJe(e) {
- return KJe.includes(e);
+function KJe(e) {
+ return GJe.includes(e);
}
-var _4 = "NaN";
-function JJe(e, t) {
- return e * GJe[t];
+var v4 = "NaN";
+function qJe(e, t) {
+ return e * WJe[t];
}
-var v4 = class e {
+var y4 = class e {
static parse(t) {
- var n = g4(WJe.exec(t) ?? [], 3), r = n[1], i = n[2];
+ var n = _4(UJe.exec(t) ?? [], 3), r = n[1], i = n[2];
return r == null ? e.NaN : new e(parseFloat(r), i ?? "");
}
constructor(e, t) {
- this.num = e, this.unit = t, this.num = e, this.unit = t, xG(e) && (this.unit = ""), t !== "" && !UJe.test(t) && (this.num = NaN, this.unit = ""), qJe(t) && (this.num = JJe(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, SG(e) && (this.unit = ""), t !== "" && !HJe.test(t) && (this.num = NaN, this.unit = ""), KJe(t) && (this.num = qJe(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -79038,50 +79053,50 @@ var v4 = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return xG(this.num);
+ return SG(this.num);
}
};
-MJe = v4, RJe(v4, "NaN", new MJe(NaN, ""));
-function YJe(e) {
- if (e == null || e.includes(_4)) return _4;
+jJe = y4, LJe(y4, "NaN", new jJe(NaN, ""));
+function JJe(e) {
+ if (e == null || e.includes(v4)) return v4;
for (var t = e; t.includes("*") || t.includes("/");) {
- var n = g4(VJe.exec(t) ?? [], 4), r = n[1], i = n[2], a = n[3], o = v4.parse(r ?? ""), s = v4.parse(a ?? ""), c = i === "*" ? o.multiply(s) : o.divide(s);
- if (c.isNaN()) return _4;
- t = t.replace(VJe, c.toString());
+ var n = _4(BJe.exec(t) ?? [], 4), r = n[1], i = n[2], a = n[3], o = y4.parse(r ?? ""), s = y4.parse(a ?? ""), c = i === "*" ? o.multiply(s) : o.divide(s);
+ if (c.isNaN()) return v4;
+ t = t.replace(BJe, c.toString());
}
for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {
- var l = g4(HJe.exec(t) ?? [], 4), u = l[1], d = l[2], f = l[3], p = v4.parse(u ?? ""), m = v4.parse(f ?? ""), h = d === "+" ? p.add(m) : p.subtract(m);
- if (h.isNaN()) return _4;
- t = t.replace(HJe, h.toString());
+ var l = _4(VJe.exec(t) ?? [], 4), u = l[1], d = l[2], f = l[3], p = y4.parse(u ?? ""), m = y4.parse(f ?? ""), h = d === "+" ? p.add(m) : p.subtract(m);
+ if (h.isNaN()) return v4;
+ t = t.replace(VJe, h.toString());
}
return t;
}
-var XJe = /\(([^()]*)\)/;
-function ZJe(e) {
- for (var t = e, n; (n = XJe.exec(t)) != null;) {
- var r = g4(n, 2)[1];
- t = t.replace(XJe, YJe(r));
+var YJe = /\(([^()]*)\)/;
+function XJe(e) {
+ for (var t = e, n; (n = YJe.exec(t)) != null;) {
+ var r = _4(n, 2)[1];
+ t = t.replace(YJe, JJe(r));
}
return t;
}
-function QJe(e) {
+function ZJe(e) {
var t = e.replace(/\s+/g, "");
- return t = ZJe(t), t = YJe(t), t;
+ return t = XJe(t), t = JJe(t), t;
}
-function $Je(e) {
+function QJe(e) {
try {
- return QJe(e);
+ return ZJe(e);
} catch {
- return _4;
+ return v4;
}
}
-function y4(e) {
- var t = $Je(e.slice(5, -1));
- return t === _4 ? "" : t;
+function b4(e) {
+ var t = QJe(e.slice(5, -1));
+ return t === v4 ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var eYe = [
+var $Je = [
"x",
"y",
"lineHeight",
@@ -79090,32 +79105,32 @@ var eYe = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], tYe = [
+], eYe = [
"dx",
"dy",
"angle",
"className",
"breakAll"
];
-function b4() {
- return b4 = Object.assign ? Object.assign.bind() : function(e) {
+function x4() {
+ return x4 = 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);
+ }, x4.apply(null, arguments);
}
-function nYe(e, t) {
+function tYe(e, t) {
if (e == null) return {};
- var n, r, i = rYe(e, t);
+ var n, r, i = nYe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function rYe(e, t) {
+function nYe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -79124,25 +79139,25 @@ function rYe(e, t) {
}
return n;
}
-function iYe(e, t) {
- return lYe(e) || cYe(e, t) || oYe(e, t) || aYe();
+function rYe(e, t) {
+ return cYe(e) || sYe(e, t) || aYe(e, t) || iYe();
}
-function aYe() {
+function iYe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function oYe(e, t) {
+function aYe(e, t) {
if (e) {
- if (typeof e == "string") return sYe(e, t);
+ if (typeof e == "string") return oYe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? sYe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? oYe(e, t) : void 0;
}
}
-function sYe(e, t) {
+function oYe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function cYe(e, t) {
+function sYe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -79163,31 +79178,31 @@ function cYe(e, t) {
return s;
}
}
-function lYe(e) {
+function cYe(e) {
if (Array.isArray(e)) return e;
}
-var uYe = /[ \f\n\r\t\v\u2028\u2029]+/, dYe = (e) => {
+var lYe = /[ \f\n\r\t\v\u2028\u2029]+/, uYe = (e) => {
var t = e.children, n = e.breakAll, r = e.style;
try {
var i = [];
- return AG(t) || (i = n ? t.toString().split("") : t.toString().split(uYe)), {
+ return jG(t) || (i = n ? t.toString().split("") : t.toString().split(lYe)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
- width: h4(e, r).width
+ width: g4(e, r).width
})),
- spaceWidth: n ? 0 : h4("\xA0", r).width
+ spaceWidth: n ? 0 : g4("\xA0", r).width
};
} catch {
return null;
}
};
-function fYe(e) {
+function dYe(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function pYe(e) {
- return AG(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+function fYe(e) {
+ return jG(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
-var mYe = (e, t, n, r) => e.reduce((e, i) => {
+var pYe = (e, t, n, r) => e.reduce((e, i) => {
var a = i.word, o = i.width, s = e[e.length - 1];
if (s && o != null && (t == null || r || s.width + o + n < Number(t))) s.words.push(a), s.width += o + n;
else {
@@ -79198,20 +79213,20 @@ var mYe = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), hYe = (e) => e.reduce((e, t) => e.width > t.width ? e : t), gYe = "…", _Ye = (e, t, n, r, i, a, o, s) => {
- var c = dYe({
+}, []), mYe = (e) => e.reduce((e, t) => e.width > t.width ? e : t), hYe = "…", gYe = (e, t, n, r, i, a, o, s) => {
+ var c = uYe({
breakAll: n,
style: r,
- children: e.slice(0, t) + gYe
+ children: e.slice(0, t) + hYe
});
if (!c) return [!1, []];
- var l = mYe(c.wordsWithComputedWidth, a, o, s);
- return [l.length > i || hYe(l).width > Number(a), l];
-}, vYe = (e, t, n, r, i) => {
- var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = CG(a), u = String(o), d = mYe(t, r, n, i);
- if (!l || i || !(d.length > a || hYe(d).width > Number(r))) return d;
+ var l = pYe(c.wordsWithComputedWidth, a, o, s);
+ return [l.length > i || mYe(l).width > Number(a), l];
+}, _Ye = (e, t, n, r, i) => {
+ var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = wG(a), u = String(o), d = pYe(t, r, n, i);
+ if (!l || i || !(d.length > a || mYe(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), _ = iYe(_Ye(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = iYe(_Ye(u, g, c, s, a, r, n, i), 1)[0];
+ var g = Math.floor((f + p) / 2), _ = rYe(gYe(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = rYe(gYe(u, g, c, s, a, r, n, i), 1)[0];
if (!v && !b && (f = g + 1), v && b && (p = g - 1), !v && b) {
h = y;
break;
@@ -79219,13 +79234,13 @@ var mYe = (e, t, n, r) => e.reduce((e, i) => {
m++;
}
return h || d;
-}, yYe = (e) => [{
- words: AG(e) ? [] : e.toString().split(uYe),
+}, vYe = (e) => [{
+ words: jG(e) ? [] : e.toString().split(lYe),
width: void 0
-}], bYe = (e) => {
+}], yYe = (e) => {
var t = e.width, n = e.scaleToFit, r = e.children, i = e.style, a = e.breakAll, o = e.maxLines;
- if ((t || n) && !vZ.isSsr) {
- var s, c, l = dYe({
+ if ((t || n) && !yZ.isSsr) {
+ var s, c, l = uYe({
breakAll: a,
children: r,
style: i
@@ -79233,28 +79248,28 @@ var mYe = (e, t, n, r) => e.reduce((e, i) => {
if (l) {
var u = l.wordsWithComputedWidth, d = l.spaceWidth;
s = u, c = d;
- } else return yYe(r);
- return vYe({
+ } else return vYe(r);
+ return _Ye({
breakAll: a,
children: r,
maxLines: o,
style: i
}, s, c, t, !!n);
}
- return yYe(r);
-}, xYe = "#808080", SYe = {
+ return vYe(r);
+}, bYe = "#808080", xYe = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
- fill: xYe,
+ fill: bYe,
lineHeight: "1em",
scaleToFit: !1,
textAnchor: "start",
verticalAnchor: "end",
x: 0,
y: 0
-}, x4 = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = BK(e, SYe), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = nYe(n, eYe), f = (0, b.useMemo)(() => bYe({
+}, S4 = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = VK(e, xYe), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = tYe(n, $Je), f = (0, b.useMemo)(() => yYe({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -79268,32 +79283,32 @@ var mYe = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = nYe(d, tYe);
- if (!wG(r) || !wG(i) || f.length === 0) return null;
- var y = Number(r) + (CG(p) ? p : 0), x = Number(i) + (CG(m) ? m : 0);
- if (!$Y(y) || !$Y(x)) return null;
+ ]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = tYe(d, eYe);
+ if (!TG(r) || !TG(i) || f.length === 0) return null;
+ var y = Number(r) + (wG(p) ? p : 0), x = Number(i) + (wG(m) ? m : 0);
+ if (!eX(y) || !eX(x)) return null;
var S;
switch (u) {
case "start":
- S = y4(`calc(${o})`);
+ S = b4(`calc(${o})`);
break;
case "middle":
- S = y4(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
+ S = b4(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
break;
- default: S = y4(`calc(${f.length - 1} * -${a})`);
+ default: S = b4(`calc(${f.length - 1} * -${a})`);
}
var C = [], w = f[0];
if (c && w != null) {
var T = w.width, E = d.width;
- C.push(`scale(${CG(E) && CG(T) ? E / T : 1})`);
+ C.push(`scale(${wG(E) && wG(T) ? E / T : 1})`);
}
- return h && C.push(`rotate(${h}, ${y}, ${x})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ b.createElement("text", b4({}, oG(v), {
+ return h && C.push(`rotate(${h}, ${y}, ${x})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ b.createElement("text", x4({}, sG(v), {
ref: t,
x: y,
y: x,
className: Cv("recharts-text", g),
textAnchor: l,
- fill: s.includes("url") ? xYe : s
+ fill: s.includes("url") ? bYe : s
}), f.map((e, t) => {
var n = e.words.join(_ ? "" : " ");
return /*#__PURE__*/ b.createElement("tspan", {
@@ -79303,20 +79318,20 @@ var mYe = (e, t, n, r) => e.reduce((e, i) => {
}, n);
}));
});
-x4.displayName = "Text";
+S4.displayName = "Text";
//#endregion
//#region node_modules/recharts/es6/component/Label.js
-var CYe = ["labelRef"], wYe = ["content"];
-function TYe(e, t) {
+var SYe = ["labelRef"], CYe = ["content"];
+function wYe(e, t) {
if (e == null) return {};
- var n, r, i = EYe(e, t);
+ var n, r, i = TYe(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 EYe(e, t) {
+function TYe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -79325,7 +79340,7 @@ function EYe(e, t) {
}
return n;
}
-function DYe(e, t) {
+function EYe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -79335,30 +79350,30 @@ function DYe(e, t) {
}
return n;
}
-function S4(e) {
+function C4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? DYe(Object(n), !0).forEach(function(t) {
- OYe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DYe(Object(n)).forEach(function(t) {
+ t % 2 ? EYe(Object(n), !0).forEach(function(t) {
+ DYe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EYe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function OYe(e, t, n) {
- return (t = kYe(t)) in e ? Object.defineProperty(e, t, {
+function DYe(e, t, n) {
+ return (t = OYe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kYe(e) {
- var t = AYe(e, "string");
+function OYe(e) {
+ var t = kYe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function AYe(e, t) {
+function kYe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -79368,16 +79383,16 @@ function AYe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function C4() {
- return C4 = Object.assign ? Object.assign.bind() : function(e) {
+function w4() {
+ return w4 = 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;
- }, C4.apply(null, arguments);
+ }, w4.apply(null, arguments);
}
-var jYe = /*#__PURE__*/ (0, b.createContext)(null), MYe = (e) => {
+var AYe = /*#__PURE__*/ (0, b.createContext)(null), jYe = (e) => {
var t = e.x, n = e.y, r = e.upperWidth, i = e.lowerWidth, a = e.width, o = e.height, s = e.children, c = (0, b.useMemo)(() => ({
x: t,
y: n,
@@ -79393,11 +79408,11 @@ var jYe = /*#__PURE__*/ (0, b.createContext)(null), MYe = (e) => {
a,
o
]);
- return /*#__PURE__*/ b.createElement(jYe.Provider, { value: c }, s);
-}, NYe = () => {
- var e = (0, b.useContext)(jYe), t = VX();
- return e || (t ? PG(t) : void 0);
-}, PYe = /*#__PURE__*/ (0, b.createContext)(null), FYe = (e) => {
+ return /*#__PURE__*/ b.createElement(AYe.Provider, { value: c }, s);
+}, MYe = () => {
+ var e = (0, b.useContext)(AYe), t = HX();
+ return e || (t ? FG(t) : void 0);
+}, NYe = /*#__PURE__*/ (0, b.createContext)(null), PYe = (e) => {
var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = e.clockWise, c = e.children, l = (0, b.useMemo)(() => ({
cx: t,
cy: n,
@@ -79415,15 +79430,15 @@ var jYe = /*#__PURE__*/ (0, b.createContext)(null), MYe = (e) => {
o,
s
]);
- return /*#__PURE__*/ b.createElement(PYe.Provider, { value: l }, c);
-}, IYe = () => {
- var e = (0, b.useContext)(PYe), t = J(f$);
+ return /*#__PURE__*/ b.createElement(NYe.Provider, { value: l }, c);
+}, FYe = () => {
+ var e = (0, b.useContext)(NYe), t = J(p$);
return e || t;
-}, LYe = (e) => {
- var t = e.value, n = e.formatter, r = AG(e.children) ? t : e.children;
+}, IYe = (e) => {
+ var t = e.value, n = e.formatter, r = jG(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, w4 = (e) => e != null && typeof e == "function", RYe = (e, t) => bG(t - e) * Math.min(Math.abs(t - e), 360), zYe = (e, t, n, r, i) => {
- var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = RYe(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, T4 = (e) => e != null && typeof e == "function", LYe = (e, t) => xG(t - e) * Math.min(Math.abs(t - e), 360), RYe = (e, t, n, r, i) => {
+ var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = LYe(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -79437,20 +79452,20 @@ var jYe = /*#__PURE__*/ (0, b.createContext)(null), MYe = (e) => {
default: throw Error(`Unsupported position ${t}`);
}
v = h <= 0 ? v : !v;
- var y = uQ(s, c, m, _), x = uQ(s, c, m, _ + (v ? 1 : -1) * 359), S = `M${y.x},${y.y}
+ var y = dQ(s, c, m, _), x = dQ(s, c, m, _ + (v ? 1 : -1) * 359), S = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${x.x},${x.y}`, C = AG(e.id) ? TG("recharts-radial-line-") : e.id;
- return /*#__PURE__*/ b.createElement("text", C4({}, r, {
+ ${x.x},${x.y}`, C = jG(e.id) ? EG("recharts-radial-line-") : e.id;
+ return /*#__PURE__*/ b.createElement("text", w4({}, r, {
dominantBaseline: "central",
className: Cv("recharts-radial-bar-label", o)
}), /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("path", {
id: C,
d: S
})), /*#__PURE__*/ b.createElement("textPath", { xlinkHref: `#${C}` }, n));
-}, BYe = (e, t, n) => {
+}, zYe = (e, t, n) => {
var r = e.cx, i = e.cy, a = e.innerRadius, o = e.outerRadius, s = (e.startAngle + e.endAngle) / 2;
if (n === "outside") {
- var c = uQ(r, i, o + t, s), l = c.x;
+ var c = dQ(r, i, o + t, s), l = c.x;
return {
x: l,
y: c.y,
@@ -79476,22 +79491,22 @@ var jYe = /*#__PURE__*/ (0, b.createContext)(null), MYe = (e) => {
textAnchor: "middle",
verticalAnchor: "end"
};
- var u = uQ(r, i, (a + o) / 2, s);
+ var u = dQ(r, i, (a + o) / 2, s);
return {
x: u.x,
y: u.y,
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, T4 = (e) => e != null && "cx" in e && CG(e.cx), VYe = {
+}, E4 = (e) => e != null && "cx" in e && wG(e.cx), BYe = {
angle: 0,
offset: 5,
- zIndex: YQ.label,
+ zIndex: XQ.label,
position: "middle",
textBreakAll: !1
};
-function HYe(e) {
- if (!T4(e)) return e;
+function VYe(e) {
+ if (!E4(e)) return e;
var t = e.cx, n = e.cy, r = e.outerRadius, i = r * 2;
return {
x: t - r,
@@ -79502,100 +79517,100 @@ function HYe(e) {
height: i
};
}
-function E4(e) {
- var t = BK(e, VYe), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = IYe(), p = NYe(), m = n == null ? i === "center" ? p : f ?? p : T4(n) ? n : PG(n), h, g, _ = HYe(m);
- if (!m || AG(a) && AG(o) && !/*#__PURE__*/ (0, b.isValidElement)(s) && typeof s != "function") return null;
- var v = T4(m) && (i === "insideStart" || i === "insideEnd" || i === "end");
- if (T4(m)) v || (g = BYe(m, t.offset, t.position));
+function D4(e) {
+ var t = VK(e, BYe), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = FYe(), p = MYe(), m = n == null ? i === "center" ? p : f ?? p : E4(n) ? n : FG(n), h, g, _ = VYe(m);
+ if (!m || jG(a) && jG(o) && !/*#__PURE__*/ (0, b.isValidElement)(s) && typeof s != "function") return null;
+ var v = E4(m) && (i === "insideStart" || i === "insideEnd" || i === "end");
+ if (E4(m)) v || (g = zYe(m, t.offset, t.position));
else if (_) {
- var y = LG({
+ var y = RG({
viewBox: _,
position: i,
offset: t.offset,
- parentViewBox: T4(r) ? void 0 : r,
+ parentViewBox: E4(r) ? void 0 : r,
clamp: !0
});
- g = S4(S4({
+ g = C4(C4({
x: y.x,
y: y.y,
textAnchor: y.horizontalAnchor,
verticalAnchor: y.verticalAnchor
}, y.width === void 0 ? {} : { width: y.width }), y.height === void 0 ? {} : { height: y.height });
}
- var x = S4(S4(S4(S4({}, g?.x === void 0 ? {} : { x: g.x }), g?.y === void 0 ? {} : { y: g.y }), t), {}, { viewBox: m });
+ var x = C4(C4(C4(C4({}, g?.x === void 0 ? {} : { x: g.x }), g?.y === void 0 ? {} : { y: g.y }), t), {}, { viewBox: m });
if (/*#__PURE__*/ (0, b.isValidElement)(s)) {
x.labelRef;
- var S = TYe(x, CYe);
+ var S = wYe(x, SYe);
return /*#__PURE__*/ (0, b.cloneElement)(s, S);
}
if (typeof s == "function") {
x.content;
- var C = TYe(x, wYe);
+ var C = wYe(x, CYe);
if (h = /*#__PURE__*/ (0, b.createElement)(s, C), /*#__PURE__*/ (0, b.isValidElement)(h)) return h;
- } else h = LYe(t);
- var w = oG(t);
- return v && T4(m) ? zYe(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ b.createElement(o4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(x4, C4({
+ } else h = IYe(t);
+ var w = sG(t);
+ return v && E4(m) ? RYe(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ b.createElement(s4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(S4, w4({
ref: d,
className: Cv("recharts-label", l)
}, w, g, {
- textAnchor: fYe(w.textAnchor) ? w.textAnchor : g.textAnchor,
+ textAnchor: dYe(w.textAnchor) ? w.textAnchor : g.textAnchor,
breakAll: u
}), h));
}
-E4.displayName = "Label";
-var UYe = (e, t, n) => {
+D4.displayName = "Label";
+var HYe = (e, t, n) => {
if (!e) return null;
var r = {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ b.createElement(E4, C4({ key: "label-implicit" }, r)) : wG(e) ? /*#__PURE__*/ b.createElement(E4, C4({
+ return e === !0 ? /*#__PURE__*/ b.createElement(D4, w4({ key: "label-implicit" }, r)) : TG(e) ? /*#__PURE__*/ b.createElement(D4, w4({
key: "label-implicit",
value: e
- }, r)) : /*#__PURE__*/ (0, b.isValidElement)(e) ? e.type === E4 ? /*#__PURE__*/ (0, b.cloneElement)(e, S4({ key: "label-implicit" }, r)) : /*#__PURE__*/ b.createElement(E4, C4({
+ }, r)) : /*#__PURE__*/ (0, b.isValidElement)(e) ? e.type === D4 ? /*#__PURE__*/ (0, b.cloneElement)(e, C4({ key: "label-implicit" }, r)) : /*#__PURE__*/ b.createElement(D4, w4({
key: "label-implicit",
content: e
- }, r)) : w4(e) ? /*#__PURE__*/ b.createElement(E4, C4({
+ }, r)) : T4(e) ? /*#__PURE__*/ b.createElement(D4, w4({
key: "label-implicit",
content: e
- }, r)) : e && typeof e == "object" ? /*#__PURE__*/ b.createElement(E4, C4({}, e, { key: "label-implicit" }, r)) : null;
+ }, r)) : e && typeof e == "object" ? /*#__PURE__*/ b.createElement(D4, w4({}, e, { key: "label-implicit" }, r)) : null;
};
-function WYe(e) {
+function UYe(e) {
var t = e.label, n = e.labelRef;
- return UYe(t, NYe(), n) || null;
+ return HYe(t, MYe(), n) || null;
}
-function GYe(e) {
+function WYe(e) {
var t = e.label;
- return UYe(t, IYe()) || null;
+ return HYe(t, FYe()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var KYe = ["valueAccessor"], qYe = [
+var GYe = ["valueAccessor"], KYe = [
"dataKey",
"clockWise",
"id",
"textBreakAll",
"zIndex"
];
-function D4() {
- return D4 = Object.assign ? Object.assign.bind() : function(e) {
+function O4() {
+ return O4 = 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;
- }, D4.apply(null, arguments);
+ }, O4.apply(null, arguments);
}
-function JYe(e, t) {
+function qYe(e, t) {
if (e == null) return {};
- var n, r, i = YYe(e, t);
+ var n, r, i = JYe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function YYe(e, t) {
+function JYe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -79604,23 +79619,23 @@ function YYe(e, t) {
}
return n;
}
-var XYe = (e) => {
+var YYe = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (pYe(t)) return t;
-}, ZYe = /*#__PURE__*/ (0, b.createContext)(void 0), O4 = ZYe.Provider, QYe = /*#__PURE__*/ (0, b.createContext)(void 0), $Ye = QYe.Provider;
+ if (fYe(t)) return t;
+}, XYe = /*#__PURE__*/ (0, b.createContext)(void 0), k4 = XYe.Provider, ZYe = /*#__PURE__*/ (0, b.createContext)(void 0), QYe = ZYe.Provider;
+function $Ye() {
+ return (0, b.useContext)(XYe);
+}
function eXe() {
return (0, b.useContext)(ZYe);
}
-function tXe() {
- return (0, b.useContext)(QYe);
-}
-function k4(e) {
- var t = e.valueAccessor, n = t === void 0 ? XYe : t, r = JYe(e, KYe), i = r.dataKey;
+function A4(e) {
+ var t = e.valueAccessor, n = t === void 0 ? YYe : t, r = qYe(e, GYe), i = r.dataKey;
r.clockWise;
- var a = r.id, o = r.textBreakAll, s = r.zIndex, c = JYe(r, qYe), l = eXe(), u = tXe(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ b.createElement(o4, { zIndex: s ?? YQ.label }, /*#__PURE__*/ b.createElement(uG, { className: "recharts-label-list" }, d.map((e, t) => {
- var s = AG(i) ? n(e, t) : rX(e.payload, i), l = AG(a) ? {} : { id: `${a}-${t}` };
- return /*#__PURE__*/ b.createElement(E4, D4({ key: `label-${t}` }, oG(e), c, l, {
+ var a = r.id, o = r.textBreakAll, s = r.zIndex, c = qYe(r, KYe), l = $Ye(), u = eXe(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ b.createElement(s4, { zIndex: s ?? XQ.label }, /*#__PURE__*/ b.createElement(dG, { className: "recharts-label-list" }, d.map((e, t) => {
+ var s = jG(i) ? n(e, t) : iX(e.payload, i), l = jG(a) ? {} : { id: `${a}-${t}` };
+ return /*#__PURE__*/ b.createElement(D4, O4({ key: `label-${t}` }, sG(e), c, l, {
fill: r.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -79631,41 +79646,41 @@ function k4(e) {
}));
})));
}
-k4.displayName = "LabelList";
-function A4(e) {
+A4.displayName = "LabelList";
+function j4(e) {
var t = e.label;
- return t ? t === !0 ? /*#__PURE__*/ b.createElement(k4, { key: "labelList-implicit" }) : /*#__PURE__*/ b.isValidElement(t) || w4(t) ? /*#__PURE__*/ b.createElement(k4, {
+ return t ? t === !0 ? /*#__PURE__*/ b.createElement(A4, { key: "labelList-implicit" }) : /*#__PURE__*/ b.isValidElement(t) || T4(t) ? /*#__PURE__*/ b.createElement(A4, {
key: "labelList-implicit",
content: t
- }) : typeof t == "object" ? /*#__PURE__*/ b.createElement(k4, D4({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
+ }) : typeof t == "object" ? /*#__PURE__*/ b.createElement(A4, O4({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var nXe = [
+var tXe = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], rXe;
-function j4() {
- return j4 = Object.assign ? Object.assign.bind() : function(e) {
+], nXe;
+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 iXe(e, t) {
+function rXe(e, t) {
if (e == null) return {};
- var n, r, i = aXe(e, t);
+ var n, r, i = iXe(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 aXe(e, t) {
+function iXe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -79674,23 +79689,23 @@ function aXe(e, t) {
}
return n;
}
-function oXe(e, t) {
+function aXe(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var sXe = (e) => e != null && e.x === +e.x && e.y === +e.y, cXe = function() {
+var oXe = (e) => e != null && e.x === +e.x && e.y === +e.y, sXe = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
- sXe(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
+ oXe(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
});
var n = e[0], r = t[t.length - 1];
- sXe(n) && r && r.push(n);
+ oXe(n) && r && r.push(n);
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
-}, M4 = (e, t) => {
- var n = cXe(e);
+}, N4 = (e, t) => {
+ var n = sXe(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => yG(rXe ||= oXe([
+ var r = n.map((e) => e.reduce((e, t, n) => bG(nXe ||= aXe([
"",
"",
"",
@@ -79698,29 +79713,29 @@ var sXe = (e) => e != null && e.x === +e.x && e.y === +e.y, cXe = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, lXe = (e, t, n) => {
- var r = M4(e, n);
- return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${M4(Array.from(t).reverse(), n).slice(1)}`;
-}, uXe = (e) => {
- var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = iXe(e, nXe);
+}, cXe = (e, t, n) => {
+ var r = N4(e, n);
+ return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${N4(Array.from(t).reverse(), n).slice(1)}`;
+}, lXe = (e) => {
+ var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = rXe(e, tXe);
if (!t || !t.length) return null;
var o = Cv("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = lXe(t, r, i);
- return /*#__PURE__*/ b.createElement("g", { className: o }, /*#__PURE__*/ b.createElement("path", j4({}, oG(a), {
+ var s = a.stroke && a.stroke !== "none", c = cXe(t, r, i);
+ return /*#__PURE__*/ b.createElement("g", { className: o }, /*#__PURE__*/ b.createElement("path", M4({}, sG(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ b.createElement("path", j4({}, oG(a), {
+ })), s ? /*#__PURE__*/ b.createElement("path", M4({}, sG(a), {
fill: "none",
- d: M4(t, i)
- })) : null, s ? /*#__PURE__*/ b.createElement("path", j4({}, oG(a), {
+ d: N4(t, i)
+ })) : null, s ? /*#__PURE__*/ b.createElement("path", M4({}, sG(a), {
fill: "none",
- d: M4(r, i)
+ d: N4(r, i)
})) : null);
}
- var l = M4(t, i);
- return /*#__PURE__*/ b.createElement("path", j4({}, oG(a), {
+ var l = N4(t, i);
+ return /*#__PURE__*/ b.createElement("path", M4({}, sG(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -79728,112 +79743,112 @@ var sXe = (e) => e != null && e.x === +e.x && e.y === +e.y, cXe = function() {
};
//#endregion
//#region node_modules/recharts/es6/shape/Dot.js
-function N4() {
- return N4 = Object.assign ? Object.assign.bind() : function(e) {
+function P4() {
+ return P4 = 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;
- }, N4.apply(null, arguments);
+ }, P4.apply(null, arguments);
}
-var P4 = (e) => {
+var F4 = (e) => {
var t = e.cx, n = e.cy, r = e.r, i = e.className, a = Cv("recharts-dot", i);
- return CG(t) && CG(n) && CG(r) ? /*#__PURE__*/ b.createElement("circle", N4({}, iG(e), LK(e), {
+ return wG(t) && wG(n) && wG(r) ? /*#__PURE__*/ b.createElement("circle", P4({}, aG(e), RK(e), {
className: a,
cx: t,
cy: n,
r
})) : null;
-}, F4 = (e) => e.graphicalItems.polarItems, I4 = Y([
- F4,
- J0,
- Y([p$, m$], X0)
-], Q0), L4 = Y([Y([I4], e2), bQ], t2), dXe = Y([
- L4,
- J0,
- I4
-], bWe);
+}, I4 = (e) => e.graphicalItems.polarItems, L4 = Y([
+ I4,
+ Y0,
+ Y([m$, h$], Z0)
+], $0), R4 = Y([Y([L4], t2), xQ], n2), uXe = Y([
+ R4,
+ Y0,
+ L4
+], yWe);
Y([
- L4,
- J0,
- I4
+ R4,
+ Y0,
+ L4
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
- value: rX(e, t.dataKey ?? n.dataKey),
+ value: iX(e, t.dataKey ?? n.dataKey),
errorDomain: []
}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({
value: e,
errorDomain: []
})) : e.map((e) => ({
- value: rX(e, t.dataKey),
+ value: iX(e, t.dataKey),
errorDomain: []
})));
-var fXe = () => void 0, pXe = Y([
- J0,
- GX,
- L4,
- dXe,
- UQ,
- p$,
+var dXe = () => void 0, fXe = Y([
+ Y0,
+ KX,
+ R4,
+ uXe,
+ WQ,
+ m$,
Y([
- J0,
- d2,
+ Y0,
f2,
- fXe,
+ p2,
+ dXe,
Y([
+ R4,
+ Y0,
L4,
- J0,
- I4,
- p2,
- p$,
- dBe
- ], h2),
- fXe,
- GX,
- p$
- ], _2)
-], v2), mXe = Y([
- pXe,
+ m2,
+ m$,
+ uBe
+ ], g2),
+ dXe,
+ KX,
+ m$
+ ], v2)
+], y2), pXe = Y([
+ fXe,
+ X0,
+ x2
+], S2), mXe = Y([x2, Y([
Y0,
- b2
-], x2), hXe = Y([b2, Y([
- J0,
+ fXe,
pXe,
- mXe,
- p$
-], C2)], C$), R4 = (e, t, n) => {
+ m$
+], w2)], w$), z4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return i$(e, n);
- case "radiusAxis": return a$(e, n);
+ case "angleAxis": return a$(e, n);
+ case "radiusAxis": return o$(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, z4 = (e, t, n) => {
+}, B4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return DBe(e, n);
- case "radiusAxis": return OBe(e, n);
+ case "angleAxis": return EBe(e, n);
+ case "radiusAxis": return DBe(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, B4 = Y([Y([
- R4,
- b2,
- hXe,
- z4
-], B0)], S$), gXe = Y([
- GX,
- dXe,
- Y0,
- p$
-], E2), V4 = Y([
- GX,
- R4,
- b2,
- B4,
+}, V4 = Y([Y([
+ z4,
+ x2,
mXe,
+ B4
+], V0)], C$), hXe = Y([
+ KX,
+ uXe,
+ X0,
+ m$
+], D2), H4 = Y([
+ KX,
z4,
- j2,
- gXe,
- p$
-], SGe), _Xe = Y([V4], (e) => {
+ x2,
+ V4,
+ pXe,
+ B4,
+ M2,
+ hXe,
+ m$
+], xGe), gXe = Y([H4], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -79841,19 +79856,19 @@ var fXe = () => void 0, pXe = Y([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), vXe = Y([
- GX,
- R4,
- B4,
+}), _Xe = Y([
+ KX,
z4,
- j2,
- gXe,
- p$
-], wGe), yXe = Y([(e, t) => V4(e, "angleAxis", t, !1)], (e) => {
+ V4,
+ B4,
+ M2,
+ hXe,
+ m$
+], CGe), vXe = Y([(e, t) => H4(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), bXe = Y([(e, t) => V4(e, "radiusAxis", t, !1)], (e) => {
+}), yXe = Y([(e, t) => H4(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), xXe = [
+}), bXe = [
"gridType",
"radialLines",
"angleAxisId",
@@ -79866,16 +79881,16 @@ var fXe = () => void 0, pXe = Y([
"polarRadius",
"zIndex"
];
-function SXe(e, t) {
+function xXe(e, t) {
if (e == null) return {};
- var n, r, i = CXe(e, t);
+ var n, r, i = SXe(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 CXe(e, t) {
+function SXe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -79884,16 +79899,16 @@ function CXe(e, t) {
}
return n;
}
-function H4() {
- return H4 = Object.assign ? Object.assign.bind() : function(e) {
+function U4() {
+ return U4 = 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;
- }, H4.apply(null, arguments);
+ }, U4.apply(null, arguments);
}
-function wXe(e, t) {
+function CXe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -79903,30 +79918,30 @@ function wXe(e, t) {
}
return n;
}
-function U4(e) {
+function W4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? wXe(Object(n), !0).forEach(function(t) {
- TXe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wXe(Object(n)).forEach(function(t) {
+ t % 2 ? CXe(Object(n), !0).forEach(function(t) {
+ wXe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : CXe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function TXe(e, t, n) {
- return (t = EXe(t)) in e ? Object.defineProperty(e, t, {
+function wXe(e, t, n) {
+ return (t = TXe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function EXe(e) {
- var t = DXe(e, "string");
+function TXe(e) {
+ var t = EXe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function DXe(e, t) {
+function EXe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -79936,66 +79951,66 @@ function DXe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var OXe = (e, t, n, r) => {
+var DXe = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
- var o = uQ(t, n, e, r);
+ var o = dQ(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, kXe = (e) => {
+}, OXe = (e) => {
var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.polarAngles, o = e.radialLines;
if (!a || !a.length || !o) return null;
- var s = U4({}, iG(e));
+ var s = W4({}, aG(e));
return /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
- var a = uQ(t, n, r, e), o = uQ(t, n, i, e);
- return /*#__PURE__*/ b.createElement("line", H4({ key: `line-${e}` }, s, {
+ var a = dQ(t, n, r, e), o = dQ(t, n, i, e);
+ return /*#__PURE__*/ b.createElement("line", U4({ key: `line-${e}` }, s, {
x1: a.x,
y1: a.y,
x2: o.x,
y2: o.y
}));
}));
-}, AXe = (e) => {
- var t = e.cx, n = e.cy, r = e.radius, i = U4({}, iG(e));
- return /*#__PURE__*/ b.createElement("circle", H4({}, i, {
+}, kXe = (e) => {
+ var t = e.cx, n = e.cy, r = e.radius, i = W4({}, aG(e));
+ return /*#__PURE__*/ b.createElement("circle", U4({}, i, {
className: Cv("recharts-polar-grid-concentric-circle", e.className),
cx: t,
cy: n,
r
}));
-}, jXe = (e) => {
- var t = e.radius, n = U4({}, iG(e));
- return /*#__PURE__*/ b.createElement("path", H4({}, n, {
+}, AXe = (e) => {
+ var t = e.radius, n = W4({}, aG(e));
+ return /*#__PURE__*/ b.createElement("path", U4({}, n, {
className: Cv("recharts-polar-grid-concentric-polygon", e.className),
- d: OXe(t, e.cx, e.cy, e.polarAngles)
+ d: DXe(t, e.cx, e.cy, e.polarAngles)
}));
-}, MXe = (e) => {
+}, jXe = (e) => {
var t = e.polarRadius, n = e.gridType;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
- return /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ b.createElement(AXe, H4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ b.createElement(jXe, H4({}, e, { radius: r })), t.map((t, r) => {
+ return /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ b.createElement(kXe, U4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ b.createElement(AXe, U4({}, e, { radius: r })), t.map((t, r) => {
var i = r;
- return n === "circle" ? /*#__PURE__*/ b.createElement(AXe, H4({ key: i }, e, {
+ return n === "circle" ? /*#__PURE__*/ b.createElement(kXe, U4({ key: i }, e, {
fill: "none",
radius: t
- })) : /*#__PURE__*/ b.createElement(jXe, H4({ key: i }, e, {
+ })) : /*#__PURE__*/ b.createElement(AXe, U4({ key: i }, e, {
fill: "none",
radius: t
}));
}));
-}, NXe = {
+}, MXe = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
- zIndex: YQ.grid,
+ zIndex: XQ.grid,
stroke: "#ccc",
strokeWidth: 1,
fill: "none"
-}, PXe = (e) => {
- var t = BK(e, NXe), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = SXe(t, xXe), m = J(f$), h = J((e) => yXe(e, i)), g = J((e) => bXe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+}, NXe = (e) => {
+ var t = VK(e, MXe), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = xXe(t, bXe), m = J(p$), h = J((e) => vXe(e, i)), g = J((e) => yXe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
- var y = U4({
+ var y = W4({
cx: m?.cx ?? o ?? 0,
cy: m?.cy ?? s ?? 0,
innerRadius: m?.innerRadius ?? c ?? 0,
@@ -80004,13 +80019,13 @@ var OXe = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p);
- return y.outerRadius <= 0 ? null : /*#__PURE__*/ b.createElement(o4, { zIndex: y.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ b.createElement(MXe, H4({
+ return y.outerRadius <= 0 ? null : /*#__PURE__*/ b.createElement(s4, { zIndex: y.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ b.createElement(jXe, U4({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ b.createElement(kXe, H4({
+ })), /*#__PURE__*/ b.createElement(OXe, U4({
gridType: n,
radialLines: r
}, y, {
@@ -80018,19 +80033,19 @@ var OXe = (e, t, n, r) => {
polarRadius: v
}))));
};
-PXe.displayName = "PolarGrid";
+NXe.displayName = "PolarGrid";
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toArray.mjs
-function W4(e) {
+function G4(e) {
return Array.isArray(e) ? e : Array.from(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function FXe(e, t = GK) {
+function PXe(e, t = KK) {
if (e == null) return;
- let n = W4(e);
+ let n = G4(e);
if (n.length === 0) return;
- let r = kq(t), i, a;
+ let r = Aq(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o > a) && (a = o, i = t);
@@ -80039,11 +80054,11 @@ function FXe(e, t = GK) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function IXe(e, t = GK) {
+function FXe(e, t = KK) {
if (e == null) return;
- let n = W4(e);
+ let n = G4(e);
if (n.length === 0) return;
- let r = kq(t), i, a;
+ let r = Aq(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o < a) && (a = o, i = t);
@@ -80052,7 +80067,7 @@ function IXe(e, t = GK) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var LXe = CY({
+var IXe = wY({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -80060,47 +80075,47 @@ var LXe = CY({
},
reducers: {
addRadiusAxis(e, t) {
- e.radiusAxis[t.payload.id] = fY(t.payload);
+ e.radiusAxis[t.payload.id] = pY(t.payload);
},
removeRadiusAxis(e, t) {
delete e.radiusAxis[t.payload.id];
},
addAngleAxis(e, t) {
- e.angleAxis[t.payload.id] = fY(t.payload);
+ e.angleAxis[t.payload.id] = pY(t.payload);
},
removeAngleAxis(e, t) {
delete e.angleAxis[t.payload.id];
}
}
-}), G4 = LXe.actions, RXe = G4.addRadiusAxis, zXe = G4.removeRadiusAxis, BXe = G4.addAngleAxis, VXe = G4.removeAngleAxis, HXe = LXe.reducer;
+}), K4 = IXe.actions, LXe = K4.addRadiusAxis, RXe = K4.removeRadiusAxis, zXe = K4.addAngleAxis, BXe = K4.removeAngleAxis, VXe = IXe.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
-function K4(e) {
+function q4(e) {
return e && typeof e == "object" && "className" in e && typeof e.className == "string" ? e.className : "";
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var UXe = ["type"], WXe = [
+var HXe = ["type"], UXe = [
"cx",
"cy",
"angle",
"axisLine"
-], GXe = [
+], WXe = [
"angle",
"tickFormatter",
"stroke",
"tick"
];
-function q4() {
- return q4 = Object.assign ? Object.assign.bind() : function(e) {
+function J4() {
+ return J4 = 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;
- }, q4.apply(null, arguments);
+ }, J4.apply(null, arguments);
}
-function KXe(e, t) {
+function GXe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -80110,30 +80125,30 @@ function KXe(e, t) {
}
return n;
}
-function J4(e) {
+function Y4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? KXe(Object(n), !0).forEach(function(t) {
- qXe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : KXe(Object(n)).forEach(function(t) {
+ t % 2 ? GXe(Object(n), !0).forEach(function(t) {
+ KXe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GXe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qXe(e, t, n) {
- return (t = JXe(t)) in e ? Object.defineProperty(e, t, {
+function KXe(e, t, n) {
+ return (t = qXe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function JXe(e) {
- var t = YXe(e, "string");
+function qXe(e) {
+ var t = JXe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function YXe(e, t) {
+function JXe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -80143,16 +80158,16 @@ function YXe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Y4(e, t) {
+function X4(e, t) {
if (e == null) return {};
- var n, r, i = XXe(e, t);
+ var n, r, i = YXe(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 XXe(e, t) {
+function YXe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -80161,20 +80176,20 @@ function XXe(e, t) {
}
return n;
}
-var ZXe = "radiusAxis";
-function QXe(e) {
- var t = Nq(), n = YX(), r = (0, b.useMemo)(() => {
- var t = e.type, r = Y4(e, UXe), i = $Q(n, "radiusAxis", t);
- if (i != null) return J4(J4({}, r), {}, { type: i });
+var XXe = "radiusAxis";
+function ZXe(e) {
+ var t = Pq(), n = XX(), r = (0, b.useMemo)(() => {
+ var t = e.type, r = X4(e, HXe), i = e$(n, "radiusAxis", t);
+ if (i != null) return Y4(Y4({}, r), {}, { type: i });
}, [e, n]);
- return (0, b.useEffect)(() => r == null ? NG : (t(RXe(r)), () => {
- t(zXe(r));
+ return (0, b.useEffect)(() => r == null ? PG : (t(LXe(r)), () => {
+ t(RXe(r));
}), [t, r]), null;
}
-var $Xe = (e, t, n, r) => {
+var QXe = (e, t, n, r) => {
var i = e.coordinate;
- return uQ(n, r, i, t);
-}, eZe = (e) => {
+ return dQ(n, r, i, t);
+}, $Xe = (e) => {
var t;
switch (e) {
case "left":
@@ -80186,49 +80201,49 @@ var $Xe = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, tZe = (e, t, n, r) => {
- var i = FXe(r, (e) => e.coordinate || 0);
+}, eZe = (e, t, n, r) => {
+ var i = PXe(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: IXe(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: FXe(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, nZe = (e, t) => {
- var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = Y4(e, WXe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = uQ(n, r, s[0], i), l = uQ(n, r, s[1], i), u = J4(J4(J4({}, iG(o)), {}, { fill: "none" }, iG(a)), {}, {
+}, tZe = (e, t) => {
+ var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = X4(e, UXe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = dQ(n, r, s[0], i), l = dQ(n, r, s[1], i), u = Y4(Y4(Y4({}, aG(o)), {}, { fill: "none" }, aG(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
- return /*#__PURE__*/ b.createElement("line", q4({ className: "recharts-polar-radius-axis-line" }, u));
-}, rZe = (e, t, n) => /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ b.createElement(x4, q4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), iZe = (e, t) => {
- var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = Y4(e, GXe), s = eZe(e.orientation), c = iG(o), l = aG(a), u = t.map((t, o) => {
- var u = $Xe(t, e.angle, e.cx, e.cy), d = J4(J4(J4(J4({
+ return /*#__PURE__*/ b.createElement("line", J4({ className: "recharts-polar-radius-axis-line" }, u));
+}, nZe = (e, t, n) => /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ b.createElement(S4, J4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), rZe = (e, t) => {
+ var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = X4(e, WXe), s = $Xe(e.orientation), c = aG(o), l = oG(a), u = t.map((t, o) => {
+ var u = QXe(t, e.angle, e.cx, e.cy), d = Y4(Y4(Y4(Y4({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ b.createElement(uG, q4({
- className: Cv("recharts-polar-radius-axis-tick", K4(a)),
+ return /*#__PURE__*/ b.createElement(dG, J4({
+ className: Cv("recharts-polar-radius-axis-tick", q4(a)),
key: `tick-${t.coordinate}`
- }, RK(e, t, o)), rZe(a, d, r ? r(t.value, o) : t.value));
+ }, zK(e, t, o)), nZe(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ b.createElement(uG, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, aZe = (e) => {
- var t = e.radiusAxisId, n = J(f$), r = J((e) => B4(e, "radiusAxis", t)), i = J((e) => V4(e, "radiusAxis", t, !1));
+ return /*#__PURE__*/ b.createElement(dG, { className: "recharts-polar-radius-axis-ticks" }, u);
+}, iZe = (e) => {
+ var t = e.radiusAxisId, n = J(p$), r = J((e) => V4(e, "radiusAxis", t)), i = J((e) => H4(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
- var a = J4(J4({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;
- return /*#__PURE__*/ b.createElement(o4, { zIndex: a.zIndex }, /*#__PURE__*/ b.createElement(uG, { className: Cv("recharts-polar-radius-axis", ZXe, a.className) }, s && nZe(a, i), o && iZe(a, i), /*#__PURE__*/ b.createElement(FYe, tZe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ b.createElement(GYe, { label: a.label }), a.children)));
+ var a = Y4(Y4({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: a.zIndex }, /*#__PURE__*/ b.createElement(dG, { className: Cv("recharts-polar-radius-axis", XXe, a.className) }, s && tZe(a, i), o && rZe(a, i), /*#__PURE__*/ b.createElement(PYe, eZe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ b.createElement(WYe, { label: a.label }), a.children)));
};
-function oZe(e) {
- var t = BK(e, ZQ);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(QXe, {
+function aZe(e) {
+ var t = VK(e, QQ);
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ZXe, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -80245,22 +80260,22 @@ function oZe(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ b.createElement(aZe, t));
+ }), /*#__PURE__*/ b.createElement(iZe, t));
}
-oZe.displayName = "PolarRadiusAxis";
+aZe.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var sZe = ["children", "type"], cZe = ["ref"];
-function X4() {
- return X4 = Object.assign ? Object.assign.bind() : function(e) {
+var oZe = ["children", "type"], sZe = ["ref"];
+function Z4() {
+ return Z4 = 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;
- }, X4.apply(null, arguments);
+ }, Z4.apply(null, arguments);
}
-function lZe(e, t) {
+function cZe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -80270,30 +80285,30 @@ function lZe(e, t) {
}
return n;
}
-function Z4(e) {
+function Q4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? lZe(Object(n), !0).forEach(function(t) {
- uZe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : lZe(Object(n)).forEach(function(t) {
+ t % 2 ? cZe(Object(n), !0).forEach(function(t) {
+ lZe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cZe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function uZe(e, t, n) {
- return (t = dZe(t)) in e ? Object.defineProperty(e, t, {
+function lZe(e, t, n) {
+ return (t = uZe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dZe(e) {
- var t = fZe(e, "string");
+function uZe(e) {
+ var t = dZe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fZe(e, t) {
+function dZe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -80303,16 +80318,16 @@ function fZe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function pZe(e, t) {
+function fZe(e, t) {
if (e == null) return {};
- var n, r, i = mZe(e, t);
+ var n, r, i = pZe(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 mZe(e, t) {
+function pZe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -80321,50 +80336,50 @@ function mZe(e, t) {
}
return n;
}
-var hZe = 1e-5, gZe = Math.cos(lQ(45)), _Ze = "angleAxis";
-function vZe(e) {
- var t = Nq(), n = YX(), r = (0, b.useMemo)(() => {
+var mZe = 1e-5, hZe = Math.cos(uQ(45)), gZe = "angleAxis";
+function _Ze(e) {
+ var t = Pq(), n = XX(), r = (0, b.useMemo)(() => {
e.children;
- var t = e.type, r = pZe(e, sZe), i = $Q(n, "angleAxis", t);
- if (i != null) return Z4(Z4({}, r), {}, { type: i });
- }, [e, n]), i = r === J((e) => i$(e, r?.id));
- return (0, b.useEffect)(() => r == null ? NG : (t(BXe(r)), () => {
- t(VXe(r));
+ var t = e.type, r = fZe(e, oZe), i = e$(n, "angleAxis", t);
+ if (i != null) return Q4(Q4({}, r), {}, { type: i });
+ }, [e, n]), i = r === J((e) => a$(e, r?.id));
+ return (0, b.useEffect)(() => r == null ? PG : (t(zXe(r)), () => {
+ t(BXe(r));
}), [t, r]), i ? e.children : null;
}
-var yZe = (e, t) => {
- var n = t.cx, r = t.cy, i = t.radius, a = t.orientation, o = t.tickSize || 8, s = uQ(n, r, i, e.coordinate), c = uQ(n, r, i + (a === "inner" ? -1 : 1) * o, e.coordinate);
+var vZe = (e, t) => {
+ var n = t.cx, r = t.cy, i = t.radius, a = t.orientation, o = t.tickSize || 8, s = dQ(n, r, i, e.coordinate), c = dQ(n, r, i + (a === "inner" ? -1 : 1) * o, e.coordinate);
return {
x1: s.x,
y1: s.y,
x2: c.x,
y2: c.y
};
-}, bZe = (e, t) => {
- var n = Math.cos(lQ(-e.coordinate));
- return n > hZe ? t === "outer" ? "start" : "end" : n < -hZe ? t === "outer" ? "end" : "start" : "middle";
+}, yZe = (e, t) => {
+ var n = Math.cos(uQ(-e.coordinate));
+ return n > mZe ? t === "outer" ? "start" : "end" : n < -mZe ? t === "outer" ? "end" : "start" : "middle";
+}, bZe = (e) => {
+ var t = Math.cos(uQ(-e.coordinate)), n = Math.sin(uQ(-e.coordinate));
+ return Math.abs(t) <= hZe ? n > 0 ? "start" : "end" : "middle";
}, xZe = (e) => {
- var t = Math.cos(lQ(-e.coordinate)), n = Math.sin(lQ(-e.coordinate));
- return Math.abs(t) <= gZe ? n > 0 ? "start" : "end" : "middle";
-}, SZe = (e) => {
var t = e.cx, n = e.cy, r = e.radius, i = e.axisLineType, a = e.axisLine, o = e.ticks;
if (!a) return null;
- var s = Z4(Z4({}, iG(e)), {}, { fill: "none" }, iG(a));
- if (i === "circle") return /*#__PURE__*/ b.createElement(P4, X4({ className: "recharts-polar-angle-axis-line" }, s, {
+ var s = Q4(Q4({}, aG(e)), {}, { fill: "none" }, aG(a));
+ if (i === "circle") return /*#__PURE__*/ b.createElement(F4, Z4({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
r
}));
- var c = o.map((e) => uQ(t, n, r, e.coordinate));
- return /*#__PURE__*/ b.createElement(uXe, X4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, CZe = (e) => {
+ var c = o.map((e) => dQ(t, n, r, e.coordinate));
+ return /*#__PURE__*/ b.createElement(lXe, Z4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
+}, SZe = (e) => {
var t = e.tick, n = e.tickProps, r = e.value;
- return t ? /*#__PURE__*/ b.isValidElement(t) ? /*#__PURE__*/ b.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ b.createElement(x4, X4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, wZe = (e) => {
- var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = iG(e);
+ return t ? /*#__PURE__*/ b.isValidElement(t) ? /*#__PURE__*/ b.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ b.createElement(S4, Z4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
+}, CZe = (e) => {
+ var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = aG(e);
o.ref;
- var s = pZe(o, cZe), c = aG(t), l = Z4(Z4({}, s), {}, { fill: "none" }, iG(n)), u = a.map((a, o) => {
- var u = yZe(a, e), d = bZe(a, e.orientation), f = xZe(a), p = Z4(Z4(Z4({}, s), {}, {
+ var s = fZe(o, sZe), c = oG(t), l = Q4(Q4({}, s), {}, { fill: "none" }, aG(n)), u = a.map((a, o) => {
+ var u = vZe(a, e), d = yZe(a, e.orientation), f = bZe(a), p = Q4(Q4(Q4({}, s), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -80375,28 +80390,28 @@ var yZe = (e, t) => {
x: u.x2,
y: u.y2
});
- return /*#__PURE__*/ b.createElement(uG, X4({
- className: Cv("recharts-polar-angle-axis-tick", K4(t)),
+ return /*#__PURE__*/ b.createElement(dG, Z4({
+ className: Cv("recharts-polar-angle-axis-tick", q4(t)),
key: `tick-${a.coordinate}`
- }, RK(e, a, o)), n && /*#__PURE__*/ b.createElement("line", X4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ b.createElement(CZe, {
+ }, zK(e, a, o)), n && /*#__PURE__*/ b.createElement("line", Z4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ b.createElement(SZe, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ b.createElement(uG, { className: "recharts-polar-angle-axis-ticks" }, u);
-}, TZe = (e) => {
- var t = e.angleAxisId, n = J(f$), r = J((e) => B4(e, "angleAxis", t)), i = DX(), a = J((e) => _Xe(e, "angleAxis", t, i));
+ return /*#__PURE__*/ b.createElement(dG, { className: "recharts-polar-angle-axis-ticks" }, u);
+}, wZe = (e) => {
+ var t = e.angleAxisId, n = J(p$), r = J((e) => V4(e, "angleAxis", t)), i = OX(), a = J((e) => gXe(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
- var o = Z4(Z4(Z4({}, e), {}, { scale: r }, n), {}, {
+ var o = Q4(Q4(Q4({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ b.createElement(o4, { zIndex: o.zIndex }, /*#__PURE__*/ b.createElement(uG, { className: Cv("recharts-polar-angle-axis", _Ze, o.className) }, /*#__PURE__*/ b.createElement(SZe, o), /*#__PURE__*/ b.createElement(wZe, o)));
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: o.zIndex }, /*#__PURE__*/ b.createElement(dG, { className: Cv("recharts-polar-angle-axis", gZe, o.className) }, /*#__PURE__*/ b.createElement(xZe, o), /*#__PURE__*/ b.createElement(CZe, o)));
};
-function Q4(e) {
- var t = BK(e, XQ);
- return /*#__PURE__*/ b.createElement(vZe, {
+function $4(e) {
+ var t = VK(e, ZQ);
+ return /*#__PURE__*/ b.createElement(_Ze, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -80413,12 +80428,12 @@ function Q4(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ b.createElement(TZe, t));
+ }, /*#__PURE__*/ b.createElement(wZe, t));
}
-Q4.displayName = "PolarAngleAxis";
+$4.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var EZe = /* @__PURE__ */ o(((e) => {
+var TZe = /* @__PURE__ */ o(((e) => {
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition");
function m(e) {
if (typeof e == "object" && e) {
@@ -80447,26 +80462,26 @@ var EZe = /* @__PURE__ */ o(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), DZe = (/* @__PURE__ */ o(((e, t) => {
- t.exports = EZe();
-})))(), OZe = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", kZe = null, $4 = null, AZe = (e) => {
- if (e === kZe && Array.isArray($4)) return $4;
+})), EZe = (/* @__PURE__ */ o(((e, t) => {
+ t.exports = TZe();
+})))(), DZe = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", OZe = null, e3 = null, kZe = (e) => {
+ if (e === OZe && Array.isArray(e3)) return e3;
var t = [];
return b.Children.forEach(e, (e) => {
- AG(e) || ((0, DZe.isFragment)(e) ? t = t.concat(AZe(e.props.children)) : t.push(e));
- }), $4 = t, kZe = e, t;
+ jG(e) || ((0, EZe.isFragment)(e) ? t = t.concat(kZe(e.props.children)) : t.push(e));
+ }), e3 = t, OZe = e, t;
};
-function jZe(e, t) {
+function AZe(e, t) {
var n = [], r = [];
- return r = Array.isArray(t) ? t.map((e) => OZe(e)) : [OZe(t)], AZe(e).forEach((e) => {
- var t = _G(e, "type.displayName") || _G(e, "type.name");
+ return r = Array.isArray(t) ? t.map((e) => DZe(e)) : [DZe(t)], kZe(e).forEach((e) => {
+ var t = vG(e, "type.displayName") || vG(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
-var e3 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
+var t3 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/recharts/es6/util/ActiveShapeUtils.js
-function MZe(e, t) {
+function jZe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -80476,30 +80491,30 @@ function MZe(e, t) {
}
return n;
}
-function NZe(e) {
+function MZe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? MZe(Object(n), !0).forEach(function(t) {
- PZe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : MZe(Object(n)).forEach(function(t) {
+ t % 2 ? jZe(Object(n), !0).forEach(function(t) {
+ NZe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jZe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function PZe(e, t, n) {
- return (t = FZe(t)) in e ? Object.defineProperty(e, t, {
+function NZe(e, t, n) {
+ return (t = PZe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function FZe(e) {
- var t = IZe(e, "string");
+function PZe(e) {
+ var t = FZe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function IZe(e, t) {
+function FZe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -80509,49 +80524,49 @@ function IZe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function LZe(e, t) {
- return NZe(NZe({}, t), e);
+function IZe(e, t) {
+ return MZe(MZe({}, t), e);
}
-function RZe(e) {
+function LZe(e) {
return /*#__PURE__*/ (0, b.isValidElement)(e) ? e.props : e;
}
-function zZe(e, t) {
- return /*#__PURE__*/ (0, b.cloneElement)(e, LZe(RZe(e), t));
+function RZe(e, t) {
+ return /*#__PURE__*/ (0, b.cloneElement)(e, IZe(LZe(e), t));
}
-function BZe(e) {
+function zZe(e) {
if ("index" in e) {
var t = e.index;
return typeof t == "number" || typeof t == "string" ? t : void 0;
}
}
-function VZe(e) {
+function BZe(e) {
return "isActive" in e && e.isActive === !0;
}
-function t3(e) {
- var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = BZe(r), l = /*#__PURE__*/ (0, b.isValidElement)(t) ? zZe(t, r) : t === n ? /*#__PURE__*/ b.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ b.createElement(n, LZe(t, r)) : /*#__PURE__*/ b.createElement(n, r);
- return VZe(r) ? /*#__PURE__*/ b.createElement(uG, { className: a }, l) : /*#__PURE__*/ b.createElement(uG, { className: s }, l);
+function n3(e) {
+ var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = zZe(r), l = /*#__PURE__*/ (0, b.isValidElement)(t) ? RZe(t, r) : t === n ? /*#__PURE__*/ b.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ b.createElement(n, IZe(t, r)) : /*#__PURE__*/ b.createElement(n, r);
+ return BZe(r) ? /*#__PURE__*/ b.createElement(dG, { className: a }, l) : /*#__PURE__*/ b.createElement(dG, { className: s }, l);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
-var n3 = (e, t, n) => {
- var r = Nq();
+var r3 = (e, t, n) => {
+ var r = Pq();
return (i, a) => (o) => {
- e?.(i, a, o), r(LGe({
+ e?.(i, a, o), r(IGe({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
activeGraphicalItemId: n
}));
};
-}, r3 = (e) => {
- var t = Nq();
+}, i3 = (e) => {
+ var t = Pq();
return (n, r) => (i) => {
- e?.(n, r, i), t(RGe());
+ e?.(n, r, i), t(LGe());
};
-}, i3 = (e, t, n) => {
- var r = Nq();
+}, a3 = (e, t, n) => {
+ var r = Pq();
return (i, a) => (o) => {
- e?.(i, a, o), r(BGe({
+ e?.(i, a, o), r(zGe({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -80561,10 +80576,10 @@ var n3 = (e, t, n) => {
};
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
-function a3(e) {
- var t = e.tooltipEntrySettings, n = Nq(), r = DX(), i = (0, b.useRef)(null);
+function o3(e) {
+ var t = e.tooltipEntrySettings, n = Pq(), r = OX(), i = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- r || (i.current === null ? n(NGe(t)) : i.current !== t && n(PGe({
+ r || (i.current === null ? n(MGe(t)) : i.current !== t && n(NGe({
prev: i.current,
next: t
})), i.current = t);
@@ -80573,15 +80588,15 @@ function a3(e) {
n,
r
]), (0, b.useLayoutEffect)(() => () => {
- i.current &&= (n(FGe(i.current)), null);
+ i.current &&= (n(PGe(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
-function o3(e) {
- var t = e.legendPayload, n = Nq(), r = DX(), i = (0, b.useRef)(null);
+function s3(e) {
+ var t = e.legendPayload, n = Pq(), r = OX(), i = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- r || (i.current === null ? n(eZ(t)) : i.current !== t && n(tZ({
+ r || (i.current === null ? n(tZ(t)) : i.current !== t && n(nZ({
prev: i.current,
next: t
})), i.current = t);
@@ -80590,13 +80605,13 @@ function o3(e) {
r,
t
]), (0, b.useLayoutEffect)(() => () => {
- i.current &&= (n(nZ(i.current)), null);
+ i.current &&= (n(rZ(i.current)), null);
}, [n]), null;
}
-function HZe(e) {
- var t = e.legendPayload, n = Nq(), r = J(GX), i = (0, b.useRef)(null);
+function VZe(e) {
+ var t = e.legendPayload, n = Pq(), r = J(KX), i = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- (r === "centric" || r === "radial") && (i.current === null ? n(eZ(t)) : i.current !== t && n(tZ({
+ (r === "centric" || r === "radial") && (i.current === null ? n(tZ(t)) : i.current !== t && n(nZ({
prev: i.current,
next: t
})), i.current = t);
@@ -80605,30 +80620,30 @@ function HZe(e) {
r,
t
]), (0, b.useLayoutEffect)(() => () => {
- i.current &&= (n(nZ(i.current)), null);
+ i.current &&= (n(rZ(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/animation/matchBy.js
-function UZe(e, t) {
- return JZe(e) || qZe(e, t) || GZe(e, t) || WZe();
+function HZe(e, t) {
+ return qZe(e) || KZe(e, t) || WZe(e, t) || UZe();
}
-function WZe() {
+function UZe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function GZe(e, t) {
+function WZe(e, t) {
if (e) {
- if (typeof e == "string") return KZe(e, t);
+ if (typeof e == "string") return GZe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? KZe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? GZe(e, t) : void 0;
}
}
-function KZe(e, t) {
+function GZe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function qZe(e, t) {
+function KZe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -80649,11 +80664,11 @@ function qZe(e, t) {
return s;
}
}
-function JZe(e) {
+function qZe(e) {
if (Array.isArray(e)) return e;
}
-var s3 = "index", YZe = "append";
-function c3(e, t) {
+var c3 = "index", JZe = "append";
+function l3(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], r = [];
for (var i of n) r.push({
status: "removed",
@@ -80672,14 +80687,14 @@ function c3(e, t) {
}
return r;
}
-function XZe(e, t) {
+function YZe(e, t) {
var n = e.length / t.length;
- return c3(t.map((t, r) => e[Math.floor(r * n)]), t);
+ return l3(t.map((t, r) => e[Math.floor(r * n)]), t);
}
-function ZZe(e, t) {
- return c3(t.map((t, n) => e[n]), t);
+function XZe(e, t) {
+ return l3(t.map((t, n) => e[n]), t);
}
-function QZe(e, t) {
+function ZZe(e, t) {
for (var n = /* @__PURE__ */ new Map(), r = 0; r < e.length; r++) {
var i = e[r];
if (i != null) {
@@ -80689,8 +80704,8 @@ function QZe(e, t) {
}
return n;
}
-function $Ze(e, t, n) {
- var r = QZe(e, n), i = /* @__PURE__ */ new Set(), a = t.map((e, t) => {
+function QZe(e, t, n) {
+ var r = ZZe(e, n), i = /* @__PURE__ */ new Set(), a = t.map((e, t) => {
var a = n(e, t);
if (a != null) {
var o = r.get(a);
@@ -80698,20 +80713,20 @@ function $Ze(e, t, n) {
}
}), o = [];
for (var s of r) {
- var c = UZe(s, 2), l = c[0], u = c[1];
+ var c = HZe(s, 2), l = c[0], u = c[1];
i.has(l) || o.push(u);
}
- return c3(a, t, o);
+ return l3(a, t, o);
}
-function l3(e, t, n) {
+function u3(e, t, n) {
return t == null ? null : e == null ? t.map((e) => ({
status: "added",
next: e
- })) : n === "index" ? XZe(e, t) : n === "append" ? ZZe(e, t) : $Ze(e, t, n);
+ })) : n === "index" ? YZe(e, t) : n === "append" ? XZe(e, t) : QZe(e, t, n);
}
//#endregion
//#region node_modules/recharts/es6/animation/useAnimationStartSnapshot.js
-function u3(e, t) {
+function d3(e, t) {
var n = (0, b.useRef)(e), r = (0, b.useRef)(t.current), i = (0, b.useRef)(!0);
n.current !== e && (n.current = e, r.current = t.current, i.current = !1);
var a = (0, b.useCallback)(function(e, n) {
@@ -80725,25 +80740,25 @@ function u3(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/animation/AnimatedItems.js
-function eQe(e, t) {
- return aQe(e) || iQe(e, t) || nQe(e, t) || tQe();
+function $Ze(e, t) {
+ return iQe(e) || rQe(e, t) || tQe(e, t) || eQe();
}
-function tQe() {
+function eQe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function nQe(e, t) {
+function tQe(e, t) {
if (e) {
- if (typeof e == "string") return rQe(e, t);
+ if (typeof e == "string") return nQe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? rQe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? nQe(e, t) : void 0;
}
}
-function rQe(e, t) {
+function nQe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function iQe(e, t) {
+function rQe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -80764,11 +80779,11 @@ function iQe(e, t) {
return s;
}
}
-function aQe(e) {
+function iQe(e) {
if (Array.isArray(e)) return e;
}
-function d3(e, t) {
- var n = eQe((0, b.useState)(!1), 2), r = n[0], i = n[1];
+function f3(e, t) {
+ var n = $Ze((0, b.useState)(!1), 2), r = n[0], i = n[1];
return {
isAnimating: r,
handleAnimationStart: (0, b.useCallback)(() => {
@@ -80779,9 +80794,9 @@ function d3(e, t) {
}, [t])
};
}
-function f3(e) {
- var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = XZ(t, n), _ = u3(g, i), v = _.startValue ?? null, y = l3(v, r, f ?? s3);
- return /*#__PURE__*/ b.createElement(YZ, {
+function p3(e) {
+ var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = ZZ(t, n), _ = d3(g, i), v = _.startValue ?? null, y = u3(v, r, f ?? c3);
+ return /*#__PURE__*/ b.createElement(XZ, {
animationId: g,
begin: o,
duration: s,
@@ -80795,25 +80810,25 @@ function f3(e) {
return _.syncStepValue(n, e, i), n == null ? null : m(n, e, t);
});
}
-function oQe(e, t) {
- return dQe(e) || uQe(e, t) || cQe(e, t) || sQe();
+function aQe(e, t) {
+ return uQe(e) || lQe(e, t) || sQe(e, t) || oQe();
}
-function sQe() {
+function oQe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function cQe(e, t) {
+function sQe(e, t) {
if (e) {
- if (typeof e == "string") return lQe(e, t);
+ if (typeof e == "string") return cQe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? lQe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? cQe(e, t) : void 0;
}
}
-function lQe(e, t) {
+function cQe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function uQe(e, t) {
+function lQe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -80834,22 +80849,22 @@ function uQe(e, t) {
return s;
}
}
-function dQe(e) {
+function uQe(e) {
if (Array.isArray(e)) return e;
}
-var fQe = b.useId ?? (() => oQe(b.useState(() => TG("uid-")), 1)[0]);
+var dQe = b.useId ?? (() => aQe(b.useState(() => EG("uid-")), 1)[0]);
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function pQe(e, t) {
- var n = fQe();
+function fQe(e, t) {
+ var n = dQe();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var mQe = /*#__PURE__*/ (0, b.createContext)(void 0), p3 = (e) => {
- var t = e.id, n = e.type, r = e.children, i = pQe(`recharts-${n}`, t);
- return /*#__PURE__*/ b.createElement(mQe.Provider, { value: i }, r(i));
-}, hQe = CY({
+var pQe = /*#__PURE__*/ (0, b.createContext)(void 0), m3 = (e) => {
+ var t = e.id, n = e.type, r = e.children, i = fQe(`recharts-${n}`, t);
+ return /*#__PURE__*/ b.createElement(pQe.Provider, { value: i }, r(i));
+}, mQe = wY({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -80858,80 +80873,80 @@ var mQe = /*#__PURE__*/ (0, b.createContext)(void 0), p3 = (e) => {
reducers: {
addCartesianGraphicalItem: {
reducer(e, t) {
- e.cartesianItems.push(fY(t.payload));
+ e.cartesianItems.push(pY(t.payload));
},
- prepare: yY()
+ prepare: bY()
},
replaceCartesianGraphicalItem: {
reducer(e, t) {
- var n = t.payload, r = n.prev, i = n.next, a = lY(e).cartesianItems.indexOf(fY(r));
- a > -1 && (e.cartesianItems[a] = fY(i));
+ var n = t.payload, r = n.prev, i = n.next, a = uY(e).cartesianItems.indexOf(pY(r));
+ a > -1 && (e.cartesianItems[a] = pY(i));
},
- prepare: yY()
+ prepare: bY()
},
removeCartesianGraphicalItem: {
reducer(e, t) {
- var n = lY(e).cartesianItems.indexOf(fY(t.payload));
+ var n = uY(e).cartesianItems.indexOf(pY(t.payload));
n > -1 && e.cartesianItems.splice(n, 1);
},
- prepare: yY()
+ prepare: bY()
},
addPolarGraphicalItem: {
reducer(e, t) {
- e.polarItems.push(fY(t.payload));
+ e.polarItems.push(pY(t.payload));
},
- prepare: yY()
+ prepare: bY()
},
removePolarGraphicalItem: {
reducer(e, t) {
- var n = lY(e).polarItems.indexOf(fY(t.payload));
+ var n = uY(e).polarItems.indexOf(pY(t.payload));
n > -1 && e.polarItems.splice(n, 1);
},
- prepare: yY()
+ prepare: bY()
},
replacePolarGraphicalItem: {
reducer(e, t) {
- var n = t.payload, r = n.prev, i = n.next, a = lY(e).polarItems.indexOf(fY(r));
- a > -1 && (e.polarItems[a] = fY(i));
+ var n = t.payload, r = n.prev, i = n.next, a = uY(e).polarItems.indexOf(pY(r));
+ a > -1 && (e.polarItems[a] = pY(i));
},
- prepare: yY()
+ prepare: bY()
}
}
-}), m3 = hQe.actions, gQe = m3.addCartesianGraphicalItem, _Qe = m3.replaceCartesianGraphicalItem, vQe = m3.removeCartesianGraphicalItem, yQe = m3.addPolarGraphicalItem, bQe = m3.removePolarGraphicalItem, xQe = m3.replacePolarGraphicalItem, SQe = hQe.reducer, h3 = /*#__PURE__*/ (0, b.memo)((e) => {
- var t = Nq(), n = (0, b.useRef)(null);
+}), h3 = mQe.actions, hQe = h3.addCartesianGraphicalItem, gQe = h3.replaceCartesianGraphicalItem, _Qe = h3.removeCartesianGraphicalItem, vQe = h3.addPolarGraphicalItem, yQe = h3.removePolarGraphicalItem, bQe = h3.replacePolarGraphicalItem, xQe = mQe.reducer, g3 = /*#__PURE__*/ (0, b.memo)((e) => {
+ var t = Pq(), n = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- n.current === null ? t(gQe(e)) : n.current !== e && t(_Qe({
+ n.current === null ? t(hQe(e)) : n.current !== e && t(gQe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, b.useLayoutEffect)(() => () => {
- n.current &&= (t(vQe(n.current)), null);
+ n.current &&= (t(_Qe(n.current)), null);
}, [t]), null;
-}), CQe = /*#__PURE__*/ (0, b.memo)((e) => {
- var t = Nq(), n = (0, b.useRef)(null);
+}), SQe = /*#__PURE__*/ (0, b.memo)((e) => {
+ var t = Pq(), n = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- n.current === null ? t(yQe(e)) : n.current !== e && t(xQe({
+ n.current === null ? t(vQe(e)) : n.current !== e && t(bQe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, b.useLayoutEffect)(() => () => {
- n.current &&= (t(bQe(n.current)), null);
+ n.current &&= (t(yQe(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function wQe(e) {
+function CQe(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function TQe(e) {
- if (KK(e) && e.length !== 0) return wQe(W4(e));
+function wQe(e) {
+ if (qK(e) && e.length !== 0) return CQe(G4(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var EQe = ["points"];
-function DQe(e, t) {
+var TQe = ["points"];
+function EQe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -80941,30 +80956,30 @@ function DQe(e, t) {
}
return n;
}
-function g3(e) {
+function _3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? DQe(Object(n), !0).forEach(function(t) {
- OQe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DQe(Object(n)).forEach(function(t) {
+ t % 2 ? EQe(Object(n), !0).forEach(function(t) {
+ DQe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EQe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function OQe(e, t, n) {
- return (t = kQe(t)) in e ? Object.defineProperty(e, t, {
+function DQe(e, t, n) {
+ return (t = OQe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kQe(e) {
- var t = AQe(e, "string");
+function OQe(e) {
+ var t = kQe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function AQe(e, t) {
+function kQe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -80974,25 +80989,25 @@ function AQe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function _3() {
- return _3 = Object.assign ? Object.assign.bind() : function(e) {
+function v3() {
+ return v3 = 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;
- }, _3.apply(null, arguments);
+ }, v3.apply(null, arguments);
}
-function jQe(e, t) {
+function AQe(e, t) {
if (e == null) return {};
- var n, r, i = MQe(e, t);
+ var n, r, i = jQe(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 MQe(e, t) {
+function jQe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -81001,23 +81016,23 @@ function MQe(e, t) {
}
return n;
}
-function NQe(e) {
+function MQe(e) {
var t = e.option, n = e.dotProps, r = e.className;
if (/*#__PURE__*/ (0, b.isValidElement)(t)) return /*#__PURE__*/ (0, b.cloneElement)(t, n);
if (typeof t == "function") return t(n);
var i = Cv(r, typeof t == "boolean" ? "" : t.className), a = n ?? {};
a.points;
- var o = jQe(a, EQe);
- return /*#__PURE__*/ b.createElement(P4, _3({}, o, { className: i }));
+ var o = AQe(a, TQe);
+ return /*#__PURE__*/ b.createElement(F4, v3({}, o, { className: i }));
}
-function PQe(e, t) {
+function NQe(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
-function v3(e) {
- var t = e.points, n = e.dot, r = e.className, i = e.dotClassName, a = e.dataKey, o = e.baseProps, s = e.needClip, c = e.clipPathId, l = e.zIndex, u = l === void 0 ? YQ.scatter : l;
- if (!PQe(t, n)) return null;
- var d = e3(n), f = pNe(n), p = t.map((e, r) => {
- var s = g3(g3(g3({ r: 3 }, o), f), {}, {
+function y3(e) {
+ var t = e.points, n = e.dot, r = e.className, i = e.dotClassName, a = e.dataKey, o = e.baseProps, s = e.needClip, c = e.clipPathId, l = e.zIndex, u = l === void 0 ? XQ.scatter : l;
+ if (!NQe(t, n)) return null;
+ var d = t3(n), f = fNe(n), p = t.map((e, r) => {
+ var s = _3(_3(_3({ r: 3 }, o), f), {}, {
index: r,
cx: e.x ?? void 0,
cy: e.y ?? void 0,
@@ -81026,18 +81041,18 @@ function v3(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ b.createElement(NQe, {
+ return /*#__PURE__*/ b.createElement(MQe, {
key: `dot-${r}`,
option: n,
dotProps: s,
className: i
});
}), m = {};
- return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ b.createElement(o4, { zIndex: u }, /*#__PURE__*/ b.createElement(uG, _3({ className: r }, m), p));
+ return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ b.createElement(s4, { zIndex: u }, /*#__PURE__*/ b.createElement(dG, v3({ className: r }, m), p));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
-function FQe(e, t) {
+function PQe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -81047,30 +81062,30 @@ function FQe(e, t) {
}
return n;
}
-function y3(e) {
+function b3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? FQe(Object(n), !0).forEach(function(t) {
- IQe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : FQe(Object(n)).forEach(function(t) {
+ t % 2 ? PQe(Object(n), !0).forEach(function(t) {
+ FQe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PQe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function IQe(e, t, n) {
- return (t = LQe(t)) in e ? Object.defineProperty(e, t, {
+function FQe(e, t, n) {
+ return (t = IQe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function LQe(e) {
- var t = RQe(e, "string");
+function IQe(e) {
+ var t = LQe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function RQe(e, t) {
+function LQe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -81080,7 +81095,7 @@ function RQe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var zQe = CY({
+var RQe = wY({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -81090,60 +81105,60 @@ var zQe = CY({
reducers: {
addXAxis: {
reducer(e, t) {
- e.xAxis[t.payload.id] = fY(t.payload);
+ e.xAxis[t.payload.id] = pY(t.payload);
},
- prepare: yY()
+ prepare: bY()
},
replaceXAxis: {
reducer(e, t) {
var n = t.payload, r = n.prev, i = n.next;
- e.xAxis[r.id] !== void 0 && (r.id !== i.id && delete e.xAxis[r.id], e.xAxis[i.id] = fY(i));
+ e.xAxis[r.id] !== void 0 && (r.id !== i.id && delete e.xAxis[r.id], e.xAxis[i.id] = pY(i));
},
- prepare: yY()
+ prepare: bY()
},
removeXAxis: {
reducer(e, t) {
delete e.xAxis[t.payload.id];
},
- prepare: yY()
+ prepare: bY()
},
addYAxis: {
reducer(e, t) {
- e.yAxis[t.payload.id] = fY(t.payload);
+ e.yAxis[t.payload.id] = pY(t.payload);
},
- prepare: yY()
+ prepare: bY()
},
replaceYAxis: {
reducer(e, t) {
var n = t.payload, r = n.prev, i = n.next;
- e.yAxis[r.id] !== void 0 && (r.id !== i.id && delete e.yAxis[r.id], e.yAxis[i.id] = fY(i));
+ e.yAxis[r.id] !== void 0 && (r.id !== i.id && delete e.yAxis[r.id], e.yAxis[i.id] = pY(i));
},
- prepare: yY()
+ prepare: bY()
},
removeYAxis: {
reducer(e, t) {
delete e.yAxis[t.payload.id];
},
- prepare: yY()
+ prepare: bY()
},
addZAxis: {
reducer(e, t) {
- e.zAxis[t.payload.id] = fY(t.payload);
+ e.zAxis[t.payload.id] = pY(t.payload);
},
- prepare: yY()
+ prepare: bY()
},
replaceZAxis: {
reducer(e, t) {
var n = t.payload, r = n.prev, i = n.next;
- e.zAxis[r.id] !== void 0 && (r.id !== i.id && delete e.zAxis[r.id], e.zAxis[i.id] = fY(i));
+ e.zAxis[r.id] !== void 0 && (r.id !== i.id && delete e.zAxis[r.id], e.zAxis[i.id] = pY(i));
},
- prepare: yY()
+ prepare: bY()
},
removeZAxis: {
reducer(e, t) {
delete e.zAxis[t.payload.id];
},
- prepare: yY()
+ prepare: bY()
},
updateYAxisWidth(e, t) {
var n = t.payload, r = n.id, i = n.width, a = e.yAxis[r];
@@ -81151,7 +81166,7 @@ var zQe = CY({
var o = a.widthHistory || [];
if (o.length === 3 && o[0] === o[2] && i === o[1] && i !== a.width && Math.abs(i - (o[0] ?? 0)) <= 1) return;
var s = [...o, i].slice(-3);
- e.yAxis[r] = y3(y3({}, a), {}, {
+ e.yAxis[r] = b3(b3({}, a), {}, {
width: i,
widthHistory: s
});
@@ -81163,24 +81178,24 @@ var zQe = CY({
var o = a.heightHistory || [];
if (o.length === 3 && o[0] === o[2] && i === o[1] && i !== a.height && Math.abs(i - (o[0] ?? 0)) <= 1) return;
var s = [...o, i].slice(-3);
- e.xAxis[r] = y3(y3({}, a), {}, {
+ e.xAxis[r] = b3(b3({}, a), {}, {
height: i,
heightHistory: s
});
}
}
}
-}), b3 = zQe.actions, BQe = b3.addXAxis, VQe = b3.replaceXAxis, HQe = b3.removeXAxis, UQe = b3.addYAxis, WQe = b3.replaceYAxis, GQe = b3.removeYAxis;
-b3.addZAxis, b3.replaceZAxis, b3.removeZAxis;
-var KQe = b3.updateYAxisWidth, qQe = b3.updateXAxisHeight, JQe = zQe.reducer, YQe = Y([
- Y([wX], (e) => ({
+}), x3 = RQe.actions, zQe = x3.addXAxis, BQe = x3.replaceXAxis, VQe = x3.removeXAxis, HQe = x3.addYAxis, UQe = x3.replaceYAxis, WQe = x3.removeYAxis;
+x3.addZAxis, x3.replaceZAxis, x3.removeZAxis;
+var GQe = x3.updateYAxisWidth, KQe = x3.updateXAxisHeight, qQe = RQe.reducer, JQe = Y([
+ Y([TX], (e) => ({
top: e.top,
bottom: e.bottom,
left: e.left,
right: e.right
})),
- _X,
- vX
+ vX,
+ yX
], (e, t, n) => {
if (e && t != null && n != null) return {
x: e.left,
@@ -81188,10 +81203,10 @@ var KQe = b3.updateYAxisWidth, qQe = b3.updateXAxisHeight, JQe = zQe.reducer, YQ
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), x3 = () => J(YQe), XQe = () => J(IKe);
+}), S3 = () => J(JQe), YQe = () => J(FKe);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
-function ZQe(e, t) {
+function XQe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -81201,30 +81216,30 @@ function ZQe(e, t) {
}
return n;
}
-function S3(e) {
+function C3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? ZQe(Object(n), !0).forEach(function(t) {
- QQe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ZQe(Object(n)).forEach(function(t) {
+ t % 2 ? XQe(Object(n), !0).forEach(function(t) {
+ ZQe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XQe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function QQe(e, t, n) {
- return (t = $Qe(t)) in e ? Object.defineProperty(e, t, {
+function ZQe(e, t, n) {
+ return (t = QQe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $Qe(e) {
- var t = e$e(e, "string");
+function QQe(e) {
+ var t = $Qe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function e$e(e, t) {
+function $Qe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -81234,10 +81249,10 @@ function e$e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var t$e = (e) => {
+var e$e = (e) => {
var t = e.point, n = e.childIndex, r = e.mainColor, i = e.activeDot, a = e.dataKey, o = e.clipPath;
if (i === !1 || t.x == null || t.y == null) return null;
- var s = S3(S3(S3({}, {
+ var s = C3(C3(C3({}, {
index: n,
dataKey: a,
cx: t.x,
@@ -81248,17 +81263,17 @@ var t$e = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), aG(i)), LK(i)), c = /*#__PURE__*/ (0, b.isValidElement)(i) ? /*#__PURE__*/ (0, b.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ b.createElement(P4, s);
- return /*#__PURE__*/ b.createElement(uG, {
+ }), oG(i)), RK(i)), c = /*#__PURE__*/ (0, b.isValidElement)(i) ? /*#__PURE__*/ (0, b.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ b.createElement(F4, s);
+ return /*#__PURE__*/ b.createElement(dG, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
-function C3(e) {
- var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? YQ.activeDot : o, c = J(Z2), l = XQe();
+function w3(e) {
+ var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? XQ.activeDot : o, c = J(Q2), l = YQe();
if (t == null || l == null) return null;
var u = t.find((e) => l.includes(e.payload));
- return AG(u) ? null : /*#__PURE__*/ b.createElement(o4, { zIndex: s }, /*#__PURE__*/ b.createElement(t$e, {
+ return jG(u) ? null : /*#__PURE__*/ b.createElement(s4, { zIndex: s }, /*#__PURE__*/ b.createElement(e$e, {
point: u,
childIndex: Number(c),
mainColor: n,
@@ -81269,7 +81284,7 @@ function C3(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/radarSelectors.js
-function n$e(e, t) {
+function t$e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -81279,30 +81294,30 @@ function n$e(e, t) {
}
return n;
}
-function w3(e) {
+function T3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? n$e(Object(n), !0).forEach(function(t) {
- r$e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n$e(Object(n)).forEach(function(t) {
+ t % 2 ? t$e(Object(n), !0).forEach(function(t) {
+ n$e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t$e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function r$e(e, t, n) {
- return (t = i$e(t)) in e ? Object.defineProperty(e, t, {
+function n$e(e, t, n) {
+ return (t = r$e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function i$e(e) {
- var t = a$e(e, "string");
+function r$e(e) {
+ var t = i$e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function a$e(e, t) {
+function i$e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -81312,16 +81327,16 @@ function a$e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var o$e = (e, t) => B4(e, "radiusAxis", t), s$e = Y([o$e], (e) => {
+var a$e = (e, t) => V4(e, "radiusAxis", t), o$e = Y([a$e], (e) => {
if (e != null) return { scale: e };
-}), c$e = Y([a$, o$e], (e, t) => {
- if (e != null && t != null) return w3(w3({}, e), {}, { scale: t });
-}), l$e = (e, t, n, r) => V4(e, "radiusAxis", t, r), u$e = (e, t, n) => i$(e, n), d$e = (e, t, n) => B4(e, "angleAxis", n), f$e = Y([u$e, d$e], (e, t) => {
- if (e != null && t != null) return w3(w3({}, e), {}, { scale: t });
-}), p$e = (e, t, n, r) => V4(e, "angleAxis", n, r), m$e = Y([
+}), s$e = Y([o$, a$e], (e, t) => {
+ if (e != null && t != null) return T3(T3({}, e), {}, { scale: t });
+}), c$e = (e, t, n, r) => H4(e, "radiusAxis", t, r), l$e = (e, t, n) => a$(e, n), u$e = (e, t, n) => V4(e, "angleAxis", n), d$e = Y([l$e, u$e], (e, t) => {
+ if (e != null && t != null) return T3(T3({}, e), {}, { scale: t });
+}), f$e = (e, t, n, r) => H4(e, "angleAxis", n, r), p$e = Y([
+ l$e,
u$e,
- d$e,
- f$
+ p$
], (e, t, n) => {
if (n != null && t != null) return {
scale: t,
@@ -81330,40 +81345,40 @@ var o$e = (e, t) => B4(e, "radiusAxis", t), s$e = Y([o$e], (e) => {
cx: n.cx,
cy: n.cy
};
-}), h$e = (e, t, n, r, i) => i, g$e = Y([
- GX,
- c$e,
- l$e,
- f$e,
- p$e
-], (e, t, n, r, i) => iX(e, "radiusAxis") ? mX(t, n, !1) : mX(r, i, !1)), _$e = Y([
+}), m$e = (e, t, n, r, i) => i, h$e = Y([
+ KX,
s$e,
- m$e,
- bQ,
- Y([F4, h$e], (e, t) => {
+ c$e,
+ d$e,
+ f$e
+], (e, t, n, r, i) => aX(e, "radiusAxis") ? hX(t, n, !1) : hX(r, i, !1)), g$e = Y([
+ o$e,
+ p$e,
+ xQ,
+ Y([I4, m$e], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- g$e
+ h$e
], (e, t, n, r, i) => {
var a = n.chartData, o = n.dataStartIndex, s = n.dataEndIndex;
- if (e != null && t != null && a != null && i != null && r != null) return O$e({
+ if (e != null && t != null && a != null && i != null && r != null) return D$e({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), v$e = ["id"];
-function T3() {
- return T3 = Object.assign ? Object.assign.bind() : function(e) {
+}), _$e = ["id"];
+function E3() {
+ return E3 = 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;
- }, T3.apply(null, arguments);
+ }, E3.apply(null, arguments);
}
-function y$e(e, t) {
+function v$e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -81373,30 +81388,30 @@ function y$e(e, t) {
}
return n;
}
-function E3(e) {
+function D3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? y$e(Object(n), !0).forEach(function(t) {
- b$e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y$e(Object(n)).forEach(function(t) {
+ t % 2 ? v$e(Object(n), !0).forEach(function(t) {
+ y$e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v$e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function b$e(e, t, n) {
- return (t = x$e(t)) in e ? Object.defineProperty(e, t, {
+function y$e(e, t, n) {
+ return (t = b$e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function x$e(e) {
- var t = S$e(e, "string");
+function b$e(e) {
+ var t = x$e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function S$e(e, t) {
+function x$e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -81406,16 +81421,16 @@ function S$e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function C$e(e, t) {
+function S$e(e, t) {
if (e == null) return {};
- var n, r, i = w$e(e, t);
+ var n, r, i = C$e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function w$e(e, t) {
+function C$e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -81424,44 +81439,44 @@ function w$e(e, t) {
}
return n;
}
-function D3(e, t) {
+function O3(e, t) {
return e && e !== "none" ? e : t;
}
-var T$e = (e) => {
+var w$e = (e) => {
var t = e.dataKey, n = e.name, r = e.stroke, i = e.fill, a = e.legendType;
return [{
inactive: e.hide,
dataKey: t,
type: a,
- color: D3(r, i),
- value: gX(n, t),
+ color: O3(r, i),
+ value: _X(n, t),
payload: e
}];
-}, E$e = /*#__PURE__*/ b.memo((e) => {
+}, T$e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.tooltipType, c = e.id, l = {
dataDefinedOnItem: void 0,
- getPosition: NG,
+ getPosition: PG,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
nameKey: void 0,
dataKey: t,
- name: gX(a, t),
+ name: _X(a, t),
hide: o,
type: s,
- color: D3(n, i),
+ color: O3(n, i),
unit: "",
graphicalItemId: c
}
};
- return /*#__PURE__*/ b.createElement(a3, { tooltipEntrySettings: l });
+ return /*#__PURE__*/ b.createElement(o3, { tooltipEntrySettings: l });
});
-function D$e(e) {
+function E$e(e) {
var t = e.points, n = e.props, r = n.dot, i = n.dataKey;
n.id;
- var a = iG(C$e(n, v$e));
- return /*#__PURE__*/ b.createElement(v3, {
+ var a = aG(S$e(n, _$e));
+ return /*#__PURE__*/ b.createElement(y3, {
points: t,
dot: r,
className: "recharts-radar-dots",
@@ -81470,11 +81485,11 @@ function D$e(e) {
baseProps: a
});
}
-function O$e(e) {
+function D$e(e) {
var t = e.radiusAxis, n = e.angleAxis, r = e.displayedData, i = e.dataKey, a = e.bandSize, o = n.cx, s = n.cy, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;
r.forEach((e, r) => {
- var a = rX(e, n.dataKey, r), d = rX(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? TQe(d) : d, m = AG(p) ? 0 : t.scale.map(p) ?? 0;
- Array.isArray(d) && d.length >= 2 && (c = !0), l.push(E3(E3({}, uQ(o, s, m, f)), {}, {
+ var a = iX(e, n.dataKey, r), d = iX(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? wQe(d) : d, m = jG(p) ? 0 : t.scale.map(p) ?? 0;
+ Array.isArray(d) && d.length >= 2 && (c = !0), l.push(D3(D3({}, dQ(o, s, m, f)), {}, {
name: a,
value: d,
cx: o,
@@ -81487,8 +81502,8 @@ function O$e(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = AG(n) ? 0 : t.scale.map(n) ?? 0;
- d.push(E3(E3({}, e), {}, { radius: r }, uQ(o, s, r, e.angle)));
+ var n = e.value[0], r = jG(n) ? 0 : t.scale.map(n) ?? 0;
+ d.push(D3(D3({}, e), {}, { radius: r }, dQ(o, s, r, e.angle)));
} else d.push(e);
}), {
points: l,
@@ -81496,7 +81511,7 @@ function O$e(e) {
baseLinePoints: d
};
}
-function k$e(e) {
+function O$e(e) {
var t = e.showLabels, n = e.points, r = e.children, i = n.map((e) => {
var t = {
x: e.x,
@@ -81506,7 +81521,7 @@ function k$e(e) {
upperWidth: 0,
height: 0
};
- return E3(E3({}, t), {}, {
+ return D3(D3({}, t), {}, {
value: e.value ?? "",
payload: e.payload,
parentViewBox: void 0,
@@ -81514,12 +81529,12 @@ function k$e(e) {
fill: void 0
});
});
- return /*#__PURE__*/ b.createElement(O4, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ b.createElement(k4, { value: t ? i : void 0 }, r);
}
-function A$e(e) {
+function k$e(e) {
var t = e.points, n = e.baseLinePoints, r = e.props;
if (t == null) return null;
- var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ b.isValidElement(i) ? /*#__PURE__*/ b.cloneElement(i, E3(E3({}, r), {}, { points: t })) : typeof i == "function" ? i(E3(E3({}, r), {}, { points: t })) : /*#__PURE__*/ b.createElement(uXe, T3({}, oG(r), {
+ var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ b.isValidElement(i) ? /*#__PURE__*/ b.cloneElement(i, D3(D3({}, r), {}, { points: t })) : typeof i == "function" ? i(D3(D3({}, r), {}, { points: t })) : /*#__PURE__*/ b.createElement(lXe, E3({}, sG(r), {
onMouseEnter: (e) => {
var t = r.onMouseEnter;
t && t(r, e);
@@ -81532,24 +81547,24 @@ function A$e(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ b.createElement(uG, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ b.createElement(D$e, {
+ return /*#__PURE__*/ b.createElement(dG, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ b.createElement(E$e, {
props: r,
points: t
}));
}
-var j$e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [E3(E3({}, e.next), {}, {
- x: OG(e.prev.x, e.next.x, t),
- y: OG(e.prev.y, e.next.y, t)
-})] : [E3(E3({}, e.next), {}, {
- x: OG(e.next.cx, e.next.x, t),
- y: OG(e.next.cy, e.next.y, t)
+var A$e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [D3(D3({}, e.next), {}, {
+ x: kG(e.prev.x, e.next.x, t),
+ y: kG(e.prev.y, e.next.y, t)
+})] : [D3(D3({}, e.next), {}, {
+ x: kG(e.next.cx, e.next.x, t),
+ y: kG(e.next.cy, e.next.y, t)
})]);
-function M$e(e) {
- var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = u3(t, r), h = m.startValue, g = l3(h ?? null, a, u), _ = d3(f, p), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = YX();
- return S == null ? null : /*#__PURE__*/ b.createElement(k$e, {
+function j$e(e) {
+ var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = d3(t, r), h = m.startValue, g = u3(h ?? null, a, u), _ = f3(f, p), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = XX();
+ return S == null ? null : /*#__PURE__*/ b.createElement(O$e, {
showLabels: !v,
points: i
- }, /*#__PURE__*/ b.createElement(f3, {
+ }, /*#__PURE__*/ b.createElement(p3, {
animationInput: t,
animationIdPrefix: "recharts-radar-",
items: i,
@@ -81565,62 +81580,62 @@ function M$e(e) {
layout: S
}, (e, n) => {
var r = n === 1 ? a : d(g, n, S);
- return m.syncStepValue(r, n), /*#__PURE__*/ b.createElement(A$e, {
+ return m.syncStepValue(r, n), /*#__PURE__*/ b.createElement(k$e, {
points: e,
baseLinePoints: r,
props: t
});
- }), /*#__PURE__*/ b.createElement(A4, { label: t.label }), t.children);
+ }), /*#__PURE__*/ b.createElement(j4, { label: t.label }), t.children);
}
-function N$e(e) {
+function M$e(e) {
var t = (0, b.useRef)(void 0), n = (0, b.useRef)(void 0);
- return /*#__PURE__*/ b.createElement(M$e, {
+ return /*#__PURE__*/ b.createElement(j$e, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var P$e = {
+var N$e = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease",
- animationMatchBy: s3,
- animationInterpolateFn: j$e,
+ animationMatchBy: c3,
+ animationInterpolateFn: A$e,
dot: !1,
hide: !1,
isAnimationActive: "auto",
label: !1,
legendType: "rect",
radiusAxisId: 0,
- zIndex: YQ.area
+ zIndex: XQ.area
};
-function F$e(e) {
+function P$e(e) {
var t = e.hide, n = e.className, r = e.points;
if (t) return null;
var i = Cv("recharts-radar", n);
- return /*#__PURE__*/ b.createElement(o4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(uG, { className: i }, /*#__PURE__*/ b.createElement(N$e, e)), /*#__PURE__*/ b.createElement(C3, {
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(dG, { className: i }, /*#__PURE__*/ b.createElement(M$e, e)), /*#__PURE__*/ b.createElement(w3, {
points: r,
- mainColor: D3(e.stroke, e.fill),
+ mainColor: O3(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function I$e(e) {
- var t = DX(), n = J((n) => _$e(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ b.createElement(F$e, T3({}, e, {
+function F$e(e) {
+ var t = OX(), n = J((n) => g$e(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ b.createElement(P$e, E3({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
-function O3(e) {
- var t = BK(e, P$e);
- return /*#__PURE__*/ b.createElement(p3, {
+function k3(e) {
+ var t = VK(e, N$e);
+ return /*#__PURE__*/ b.createElement(m3, {
id: t.id,
type: "radar"
- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(CQe, {
+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(SQe, {
type: "radar",
id: e,
data: void 0,
@@ -81628,7 +81643,7 @@ function O3(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ b.createElement(HZe, { legendPayload: T$e(t) }), /*#__PURE__*/ b.createElement(E$e, {
+ }), /*#__PURE__*/ b.createElement(VZe, { legendPayload: w$e(t) }), /*#__PURE__*/ b.createElement(T$e, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -81637,22 +81652,22 @@ function O3(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ b.createElement(I$e, T3({}, t, { id: e }))));
+ }), /*#__PURE__*/ b.createElement(F$e, E3({}, t, { id: e }))));
}
-O3.displayName = "Radar";
+k3.displayName = "Radar";
//#endregion
//#region node_modules/recharts/es6/util/RadialBarUtils.js
-var L$e = ["option"];
-function R$e(e, t) {
+var I$e = ["option"];
+function L$e(e, t) {
if (e == null) return {};
- var n, r, i = z$e(e, t);
+ var n, r, i = R$e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function z$e(e, t) {
+function R$e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -81661,39 +81676,39 @@ function z$e(e, t) {
}
return n;
}
-var B$e = gQ;
-function V$e(e) {
+var z$e = _Q;
+function B$e(e) {
return typeof e == "string" ? parseInt(e, 10) : e;
}
-function k3(e) {
- var t = e.option, n = R$e(e, L$e);
- return /*#__PURE__*/ b.createElement(t3, {
+function A3(e) {
+ var t = e.option, n = L$e(e, I$e);
+ return /*#__PURE__*/ b.createElement(n3, {
option: t,
- DefaultShape: B$e,
+ DefaultShape: z$e,
shapeProps: n
});
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
-function H$e(e, t) {
- return q$e(e) || K$e(e, t) || W$e(e, t) || U$e();
+function V$e(e, t) {
+ return K$e(e) || G$e(e, t) || U$e(e, t) || H$e();
}
-function U$e() {
+function H$e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function W$e(e, t) {
+function U$e(e, t) {
if (e) {
- if (typeof e == "string") return G$e(e, t);
+ if (typeof e == "string") return W$e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? G$e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? W$e(e, t) : void 0;
}
}
-function G$e(e, t) {
+function W$e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function K$e(e, t) {
+function G$e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -81714,33 +81729,33 @@ function K$e(e, t) {
return s;
}
}
-function q$e(e) {
+function K$e(e) {
if (Array.isArray(e)) return e;
}
-var J$e = (e, t, n) => {
+var q$e = (e, t, n) => {
var r = n ?? e;
- if (!AG(r)) return EG(r, t, 0);
-}, Y$e = (e, t, n) => {
- var r = {}, i = e.filter(_$), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
+ if (!jG(r)) return DG(r, t, 0);
+}, J$e = (e, t, n) => {
+ var r = {}, i = e.filter(v$), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
return n ??= [], n.push(t), e[t.stackId] = n, e;
}, r), s = Object.entries(o).map((e) => {
- var r = H$e(e, 2), i = r[0], a = r[1];
+ var r = V$e(e, 2), i = r[0], a = r[1];
return {
stackId: i,
dataKeys: a.map((e) => e.dataKey),
- barSize: J$e(t, n, a[0]?.barSize)
+ barSize: q$e(t, n, a[0]?.barSize)
};
}), c = a.map((e) => ({
stackId: void 0,
dataKeys: [e.dataKey].filter((e) => e != null),
- barSize: J$e(t, n, e.barSize)
+ barSize: q$e(t, n, e.barSize)
}));
return [...s, ...c];
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js
-function X$e(e, t) {
+function Y$e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -81750,30 +81765,30 @@ function X$e(e, t) {
}
return n;
}
-function A3(e) {
+function j3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? X$e(Object(n), !0).forEach(function(t) {
- Z$e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X$e(Object(n)).forEach(function(t) {
+ t % 2 ? Y$e(Object(n), !0).forEach(function(t) {
+ X$e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y$e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Z$e(e, t, n) {
- return (t = Q$e(t)) in e ? Object.defineProperty(e, t, {
+function X$e(e, t, n) {
+ return (t = Z$e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Q$e(e) {
- var t = $$e(e, "string");
+function Z$e(e) {
+ var t = Q$e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $$e(e, t) {
+function Q$e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -81783,11 +81798,11 @@ function $$e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function e1e(e, t, n, r, i) {
+function $$e(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = EG(e, n, 0, !0), s, c = [];
- if ($Y(r[0]?.barSize)) {
+ var o = DG(e, n, 0, !0), s, c = [];
+ if (eX(r[0]?.barSize)) {
var l = !1, u = n / a, d = r.reduce((e, t) => e + (t.barSize || 0), 0);
d += (a - 1) * o, d >= n && (d -= (a - 1) * o, o = 0), d >= n && u > 0 && (l = !0, u *= .9, d = a * u);
var f = {
@@ -81806,11 +81821,11 @@ function e1e(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = EG(t, n, 0, !0);
+ var p = DG(t, n, 0, !0);
n - 2 * p - (a - 1) * o <= 0 && (o = 0);
var m = (n - 2 * p - (a - 1) * o) / a;
m > 1 && (m = Math.round(m));
- var h = $Y(i) ? Math.min(m, i) : m;
+ var h = eX(i) ? Math.min(m, i) : m;
s = r.reduce((e, t, n) => [...e, {
stackId: t.stackId,
dataKeys: t.dataKeys,
@@ -81823,11 +81838,11 @@ function e1e(e, t, n, r, i) {
return s;
}
}
-var t1e = (e, t, n, r, i, a, o) => {
- var s = AG(o) ? t : o, c = e1e(n, r, i === a ? a : i, e, s);
- return i !== a && c != null && (c = c.map((e) => A3(A3({}, e), {}, { position: A3(A3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
-}, n1e = (e, t) => {
- var n = h$(t);
+var e1e = (e, t, n, r, i, a, o) => {
+ var s = jG(o) ? t : o, c = $$e(n, r, i === a ? a : i, e, s);
+ return i !== a && c != null && (c = c.map((e) => j3(j3({}, e), {}, { position: j3(j3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
+}, t1e = (e, t) => {
+ var n = g$(t);
if (e && n != null && t != null) {
var r = t.stackId;
if (r != null) {
@@ -81838,7 +81853,7 @@ var t1e = (e, t, n, r, i, a, o) => {
}
}
}
-}, r1e = (e, t) => {
+}, n1e = (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;
@@ -81846,7 +81861,7 @@ var t1e = (e, t, n, r, i, a, o) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/radialBarSelectors.js
-function i1e(e, t) {
+function r1e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -81856,30 +81871,30 @@ function i1e(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 ? i1e(Object(n), !0).forEach(function(t) {
- a1e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i1e(Object(n)).forEach(function(t) {
+ t % 2 ? r1e(Object(n), !0).forEach(function(t) {
+ i1e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r1e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function a1e(e, t, n) {
- return (t = o1e(t)) in e ? Object.defineProperty(e, t, {
+function i1e(e, t, n) {
+ return (t = a1e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function o1e(e) {
- var t = s1e(e, "string");
+function a1e(e) {
+ var t = o1e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function s1e(e, t) {
+function o1e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -81889,81 +81904,81 @@ function s1e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var M3 = Y([(e, t) => a$(e, t), (e, t) => B4(e, "radiusAxis", t)], (e, t) => {
- if (e != null && t != null) return j3(j3({}, e), {}, { scale: t });
-}), N3 = (e, t) => vXe(e, "radiusAxis", t, !1), P3 = Y([(e, t, n) => i$(e, n), (e, t, n) => B4(e, "angleAxis", n)], (e, t) => {
- if (e != null && t != null) return j3(j3({}, e), {}, { scale: t });
-}), F3 = (e, t, n) => V4(e, "angleAxis", n, !1), I3 = Y([F4, (e, t, n, r) => r], (e, t) => {
+var N3 = Y([(e, t) => o$(e, t), (e, t) => V4(e, "radiusAxis", t)], (e, t) => {
+ if (e != null && t != null) return M3(M3({}, e), {}, { scale: t });
+}), P3 = (e, t) => _Xe(e, "radiusAxis", t, !1), F3 = Y([(e, t, n) => a$(e, n), (e, t, n) => V4(e, "angleAxis", n)], (e, t) => {
+ if (e != null && t != null) return M3(M3({}, e), {}, { scale: t });
+}), I3 = (e, t, n) => H4(e, "angleAxis", n, !1), L3 = Y([I4, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
-}), c1e = Y([
- GX,
- M3,
+}), s1e = Y([
+ KX,
N3,
P3,
- F3
-], (e, t, n, r, i) => iX(e, "radiusAxis") ? mX(t, n, !1) : mX(r, i, !1)), l1e = Y([
- P3,
- M3,
- GX
+ F3,
+ I3
+], (e, t, n, r, i) => aX(e, "radiusAxis") ? hX(t, n, !1) : hX(r, i, !1)), c1e = Y([
+ F3,
+ N3,
+ KX
], (e, t, n) => {
var r = n === "radial" ? e : t;
- if (r != null && r.scale != null) return dX({ numericAxis: r });
-}), u1e = (e, t, n, r, i) => i, d1e = (e, t, n, r, i) => n, f1e = (e, t, n, r, i) => t, p1e = (e, t, n, r, i) => r.maxBarSize, m1e = (e) => e.type === "radialBar", h1e = Y([Y([
+ if (r != null && r.scale != null) return fX({ numericAxis: r });
+}), l1e = (e, t, n, r, i) => i, u1e = (e, t, n, r, i) => n, d1e = (e, t, n, r, i) => t, f1e = (e, t, n, r, i) => r.maxBarSize, p1e = (e) => e.type === "radialBar", m1e = Y([Y([
Y([
Y([
- GX,
- F4,
- d1e,
- f1e
- ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(m1e)),
- HQ,
+ KX,
+ I4,
+ u1e,
+ d1e
+ ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(p1e)),
+ UQ,
() => void 0
- ], Y$e),
- zQ,
+ ], J$e),
BQ,
VQ,
+ HQ,
Y([
- GX,
- zQ,
- P3,
+ KX,
+ BQ,
F3,
- M3,
+ I3,
N3,
- p1e
+ P3,
+ f1e
], (e, t, n, r, i, a, o) => {
- var s = AG(o) ? t : o;
- return e === "centric" ? mX(n, r, !0) ?? s ?? 0 : mX(i, a, !0) ?? s ?? 0;
+ var s = jG(o) ? t : o;
+ return e === "centric" ? hX(n, r, !0) ?? s ?? 0 : hX(i, a, !0) ?? s ?? 0;
}),
- c1e,
- p1e
-], t1e), I3], r1e), g1e = Y([I4], (e) => e.filter(m1e).filter(_$)), _1e = Y([
+ s1e,
+ f1e
+], e1e), L3], n1e), h1e = Y([L4], (e) => e.filter(p1e).filter(v$)), g1e = Y([
Y([
- g1e,
- bQ,
- o2
- ], g$),
- g1e,
- UQ,
- WQ
-], c2), v1e = Y([
- P3,
+ h1e,
+ xQ,
+ s2
+ ], _$),
+ h1e,
+ WQ,
+ GQ
+], l2), _1e = Y([
F3,
- M3,
- N3,
- yQ,
I3,
+ N3,
+ P3,
+ bQ,
+ L3,
+ s1e,
+ KX,
c1e,
- GX,
+ p$,
l1e,
- f$,
- u1e,
- h1e,
- Y([(e, t, n) => GX(e) === "centric" ? _1e(e, "radiusAxis", t) : _1e(e, "angleAxis", n), I3], n1e)
+ m1e,
+ Y([(e, t, n) => KX(e) === "centric" ? g1e(e, "radiusAxis", t) : g1e(e, "angleAxis", n), L3], t1e)
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var p = i.chartData, m = i.dataStartIndex, h = i.dataEndIndex;
if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];
var g = a.dataKey, _ = a.minPointSize, v = l.cx, y = l.cy, b = l.startAngle, x = l.endAngle;
- return z1e({
+ return R1e({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -81984,7 +81999,7 @@ var M3 = Y([(e, t) => a$(e, t), (e, t) => B4(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), y1e = Y([bQ, (e, t) => t], (e, t) => {
+}), v1e = Y([xQ, (e, t) => t], (e, t) => {
var n = e.chartData, r = e.dataStartIndex, i = e.dataEndIndex;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -81997,31 +82012,31 @@ var M3 = Y([(e, t) => a$(e, t), (e, t) => B4(e, "radiusAxis", t)], (e, t) => {
});
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
-function b1e(e, t) {
- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && $Y(e.zIndex) ? e.zIndex : t;
+function y1e(e, t) {
+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && eX(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var x1e = [
+var b1e = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], S1e = [
+], x1e = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], C1e = ["value", "background"];
-function L3() {
- return L3 = Object.assign ? Object.assign.bind() : function(e) {
+], S1e = ["value", "background"];
+function R3() {
+ return R3 = 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;
- }, L3.apply(null, arguments);
+ }, R3.apply(null, arguments);
}
-function w1e(e, t) {
+function C1e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -82031,30 +82046,30 @@ function w1e(e, t) {
}
return n;
}
-function R3(e) {
+function z3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? w1e(Object(n), !0).forEach(function(t) {
- T1e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w1e(Object(n)).forEach(function(t) {
+ t % 2 ? C1e(Object(n), !0).forEach(function(t) {
+ w1e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C1e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function T1e(e, t, n) {
- return (t = E1e(t)) in e ? Object.defineProperty(e, t, {
+function w1e(e, t, n) {
+ return (t = T1e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function E1e(e) {
- var t = D1e(e, "string");
+function T1e(e) {
+ var t = E1e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function D1e(e, t) {
+function E1e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -82064,16 +82079,16 @@ function D1e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function z3(e, t) {
+function B3(e, t) {
if (e == null) return {};
- var n, r, i = O1e(e, t);
+ var n, r, i = D1e(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 O1e(e, t) {
+function D1e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -82082,8 +82097,8 @@ function O1e(e, t) {
}
return n;
}
-var k1e = [];
-function A1e(e) {
+var O1e = [];
+function k1e(e) {
var t = e.showLabels, n = e.sectors, r = e.children, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -82100,15 +82115,15 @@ function A1e(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ b.createElement($Ye, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ b.createElement(QYe, { value: t ? i : void 0 }, r);
}
-function j1e(e) {
- var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = z3(n, x1e), f = iG(d), p = J(Z2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = z3(n, S1e), v = n3(m, n.dataKey, u), y = r3(g), x = i3(h, n.dataKey, u);
- return t == null ? null : /*#__PURE__*/ b.createElement(A1e, {
+function A1e(e) {
+ var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = B3(n, b1e), f = aG(d), p = J(Q2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = B3(n, x1e), v = r3(m, n.dataKey, u), y = i3(g), x = a3(h, n.dataKey, u);
+ return t == null ? null : /*#__PURE__*/ b.createElement(k1e, {
showLabels: r,
sectors: t
}, t.map((e, t) => {
- var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = x(e, t), h = R3(R3(R3(R3({}, f), {}, { cornerRadius: V$e(l) }, e), RK(_, e, t)), {}, {
+ var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = x(e, t), h = z3(z3(z3(z3({}, f), {}, { cornerRadius: B$e(l) }, e), zK(_, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: u,
onClick: m,
@@ -82122,19 +82137,19 @@ function j1e(e) {
option: n && c != null ? c : s,
index: t
});
- return n ? /*#__PURE__*/ b.createElement(o4, {
- zIndex: YQ.activeBar,
+ return n ? /*#__PURE__*/ b.createElement(s4, {
+ zIndex: XQ.activeBar,
key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`
- }, /*#__PURE__*/ b.createElement(k3, h)) : /*#__PURE__*/ b.createElement(k3, L3({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, h));
- }), /*#__PURE__*/ b.createElement(A4, { label: n.label }), n.children);
-}
-var M1e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [R3(R3({}, e.next), {}, {
- startAngle: OG(e.prev.startAngle, e.next.startAngle, t),
- endAngle: OG(e.prev.endAngle, e.next.endAngle, t)
-})] : [R3(R3({}, e.next), {}, { endAngle: OG(e.next.startAngle, e.next.endAngle, t) })]);
-function N1e(e) {
- var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = d3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = YX();
- return m == null ? null : /*#__PURE__*/ b.createElement(f3, {
+ }, /*#__PURE__*/ b.createElement(A3, h)) : /*#__PURE__*/ b.createElement(A3, R3({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, h));
+ }), /*#__PURE__*/ b.createElement(j4, { label: n.label }), n.children);
+}
+var j1e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [z3(z3({}, e.next), {}, {
+ startAngle: kG(e.prev.startAngle, e.next.startAngle, t),
+ endAngle: kG(e.prev.endAngle, e.next.endAngle, t)
+})] : [z3(z3({}, e.next), {}, { endAngle: kG(e.next.startAngle, e.next.endAngle, t) })]);
+function M1e(e) {
+ var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = f3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = XX();
+ return m == null ? null : /*#__PURE__*/ b.createElement(p3, {
animationInput: t,
animationIdPrefix: "recharts-radialbar-",
items: r,
@@ -82148,7 +82163,7 @@ function N1e(e) {
animationInterpolateFn: t.animationInterpolateFn,
animationMatchBy: t.animationMatchBy,
layout: m
- }, (e, n, r) => /*#__PURE__*/ b.createElement(j1e, {
+ }, (e, n, r) => /*#__PURE__*/ b.createElement(A1e, {
sectors: e,
allOtherRadialBarProps: t,
showLabels: !d,
@@ -82157,21 +82172,21 @@ function N1e(e) {
isEntrance: r
}));
}
-function P1e(e) {
+function N1e(e) {
var t = (0, b.useRef)(null);
- return /*#__PURE__*/ b.createElement(N1e, {
+ return /*#__PURE__*/ b.createElement(M1e, {
props: e,
previousSectorsRef: t
});
}
-function F1e(e) {
- var t = J((t) => y1e(t, e.legendType));
- return /*#__PURE__*/ b.createElement(HZe, { legendPayload: t ?? [] });
+function P1e(e) {
+ var t = J((t) => v1e(t, e.legendType));
+ return /*#__PURE__*/ b.createElement(VZe, { legendPayload: t ?? [] });
}
-var I1e = /*#__PURE__*/ b.memo((e) => {
+var F1e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.sectors, r = e.stroke, i = e.strokeWidth, a = e.name, o = e.hide, s = e.fill, c = e.tooltipType, l = e.formatter, u = {
dataDefinedOnItem: n,
- getPosition: NG,
+ getPosition: PG,
settings: {
graphicalItemId: e.id,
stroke: r,
@@ -82179,7 +82194,7 @@ var I1e = /*#__PURE__*/ b.memo((e) => {
fill: s,
nameKey: void 0,
dataKey: t,
- name: gX(a, t),
+ name: _X(a, t),
hide: o,
type: c,
color: s,
@@ -82187,39 +82202,39 @@ var I1e = /*#__PURE__*/ b.memo((e) => {
formatter: l
}
};
- return /*#__PURE__*/ b.createElement(a3, { tooltipEntrySettings: u });
-}), L1e = class extends b.PureComponent {
+ return /*#__PURE__*/ b.createElement(o3, { tooltipEntrySettings: u });
+}), I1e = class extends b.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var t = this.props.cornerRadius, n = aG(this.props.background);
- return /*#__PURE__*/ b.createElement(o4, { zIndex: b1e(this.props.background, YQ.barBackground) }, e.map((e, r) => {
+ var t = this.props.cornerRadius, n = oG(this.props.background);
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: y1e(this.props.background, XQ.barBackground) }, e.map((e, r) => {
e.value;
- var i = e.background, a = z3(e, C1e);
+ var i = e.background, a = B3(e, S1e);
if (!i) return null;
- var o = R3(R3(R3(R3(R3({ cornerRadius: V$e(t) }, a), {}, { fill: "#eee" }, i), n), RK(this.props, e, r)), {}, {
+ var o = z3(z3(z3(z3(z3({ cornerRadius: B$e(t) }, a), {}, { fill: "#eee" }, i), n), zK(this.props, e, r)), {}, {
index: r,
className: Cv("recharts-radial-bar-background-sector", String(n?.className)),
option: i,
isActive: !1
});
- return /*#__PURE__*/ b.createElement(k3, L3({ key: `background-${a.cx}-${a.cy}-${a.innerRadius}-${a.outerRadius}-${a.startAngle}-${a.endAngle}-${r}` }, o));
+ return /*#__PURE__*/ b.createElement(A3, R3({ key: `background-${a.cx}-${a.cy}-${a.innerRadius}-${a.outerRadius}-${a.startAngle}-${a.endAngle}-${r}` }, o));
}));
}
render() {
var e = this.props, t = e.hide, n = e.sectors, r = e.className, i = e.background;
if (t) return null;
var a = Cv("recharts-area", r);
- return /*#__PURE__*/ b.createElement(o4, { zIndex: this.props.zIndex }, /*#__PURE__*/ b.createElement(uG, { className: a }, i && /*#__PURE__*/ b.createElement(uG, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ b.createElement(uG, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ b.createElement(P1e, this.props))));
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: this.props.zIndex }, /*#__PURE__*/ b.createElement(dG, { className: a }, i && /*#__PURE__*/ b.createElement(dG, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ b.createElement(dG, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ b.createElement(N1e, this.props))));
}
};
-function R1e(e) {
- var t = b.useMemo(() => jZe(e.children, m4), [e.children]), n = b.useMemo(() => ({
+function L1e(e) {
+ var t = b.useMemo(() => AZe(e.children, h4), [e.children]), n = b.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
dataKey: e.dataKey,
minPointSize: e.minPointSize,
- stackId: cX(e.stackId),
+ stackId: lX(e.stackId),
maxBarSize: e.maxBarSize,
barSize: e.barSize,
type: "radialBar",
@@ -82234,8 +82249,8 @@ function R1e(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = J((r) => v1e(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? k1e;
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(I1e, {
+ ]), r = J((r) => _1e(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? O1e;
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(F1e, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -82246,15 +82261,15 @@ function R1e(e) {
tooltipType: e.tooltipType,
formatter: e.formatter,
id: e.id
- }), /*#__PURE__*/ b.createElement(L1e, L3({}, e, { sectors: r })));
+ }), /*#__PURE__*/ b.createElement(I1e, R3({}, e, { sectors: r })));
}
-var B3 = {
+var V3 = {
angleAxisId: 0,
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease",
- animationMatchBy: YZe,
- animationInterpolateFn: M1e,
+ animationMatchBy: JZe,
+ animationInterpolateFn: j1e,
background: !1,
cornerIsExternal: !1,
cornerRadius: 0,
@@ -82265,15 +82280,15 @@ var B3 = {
legendType: "rect",
minPointSize: 0,
radiusAxisId: 0,
- shape: B$e,
- zIndex: YQ.bar
+ shape: z$e,
+ zIndex: XQ.bar
};
-function z1e(e) {
+function R1e(e) {
var t = e.displayedData, n = e.stackedData, r = e.dataStartIndex, i = e.stackedDomain, a = e.dataKey, o = e.baseValue, s = e.layout, c = e.radiusAxis, l = e.radiusAxisTicks, u = e.bandSize, d = e.pos, f = e.angleAxis, p = e.minPointSize, m = e.cx, h = e.cy, g = e.angleAxisTicks, _ = e.cells, v = e.startAngle, y = e.endAngle;
- return g == null || l == null ? k1e : (t ?? []).map((e, t) => {
+ return g == null || l == null ? O1e : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
- if (n ? b = sX(n[r + t], i) : (b = rX(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 = uX({
+ if (n ? b = cX(n[r + t], i) : (b = iX(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 = dX({
axis: c,
ticks: l,
bandSize: u,
@@ -82284,7 +82299,7 @@ function z1e(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = bG(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = xG(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -82296,7 +82311,7 @@ function z1e(e) {
endAngle: y
} };
}
- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = uX({
+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = dX({
axis: f,
ticks: g,
bandSize: u,
@@ -82307,11 +82322,11 @@ function z1e(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = bG(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = xG(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
- return R3(R3(R3({}, e), T), {}, {
+ return z3(z3(z3({}, e), T), {}, {
payload: e,
value: n ? b : b[1],
cx: m,
@@ -82323,38 +82338,38 @@ function z1e(e) {
}, _ && _[t] && _[t].props);
});
}
-function V3(e) {
- var t = BK(e, B3);
- return /*#__PURE__*/ b.createElement(p3, {
+function H3(e) {
+ var t = VK(e, V3);
+ return /*#__PURE__*/ b.createElement(m3, {
id: t.id,
type: "radialBar"
- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(CQe, {
+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(SQe, {
type: "radialBar",
id: e,
data: void 0,
dataKey: t.dataKey,
- hide: t.hide ?? B3.hide,
- angleAxisId: t.angleAxisId ?? B3.angleAxisId,
- radiusAxisId: t.radiusAxisId ?? B3.radiusAxisId,
- stackId: cX(t.stackId),
+ hide: t.hide ?? V3.hide,
+ angleAxisId: t.angleAxisId ?? V3.angleAxisId,
+ radiusAxisId: t.radiusAxisId ?? V3.radiusAxisId,
+ stackId: lX(t.stackId),
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ b.createElement(F1e, t), /*#__PURE__*/ b.createElement(R1e, L3({}, t, { id: e }))));
+ }), /*#__PURE__*/ b.createElement(P1e, t), /*#__PURE__*/ b.createElement(L1e, R3({}, t, { id: e }))));
}
-V3.displayName = "RadialBar";
+H3.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
-var B1e = (e) => {
- var t = e.chartData, n = Nq(), r = DX();
- return (0, b.useEffect)(() => r ? () => {} : (n(Vqe(t)), () => {
- n(Vqe(void 0));
+var z1e = (e) => {
+ var t = e.chartData, n = Pq(), r = OX();
+ return (0, b.useEffect)(() => r ? () => {} : (n(Bqe(t)), () => {
+ n(Bqe(void 0));
}), [
t,
n,
r
]), null;
-}, V1e = {
+}, B1e = {
x: 0,
y: 0,
width: 0,
@@ -82365,15 +82380,15 @@ var B1e = (e) => {
bottom: 0,
left: 0
}
-}, H1e = CY({
+}, V1e = wY({
name: "brush",
- initialState: V1e,
+ initialState: B1e,
reducers: { setBrushSettings(e, t) {
- return t.payload == null ? V1e : t.payload;
+ return t.payload == null ? B1e : t.payload;
} }
});
-H1e.actions.setBrushSettings;
-var U1e = H1e.reducer, W1e = (e, t) => {
+V1e.actions.setBrushSettings;
+var H1e = V1e.reducer, U1e = (e, t) => {
var n = e.x, r = e.y, i = t.x, a = t.y;
return {
x: Math.min(n, i),
@@ -82381,9 +82396,9 @@ var U1e = H1e.reducer, W1e = (e, t) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, G1e = (e) => {
+}, W1e = (e) => {
var t = e.x1, n = e.y1, r = e.x2, i = e.y2;
- return W1e({
+ return U1e({
x: t,
y: n
}, {
@@ -82391,13 +82406,13 @@ var U1e = H1e.reducer, W1e = (e, t) => {
y: i
});
};
-function K1e(e) {
+function G1e(e) {
return (e % 180 + 180) % 180;
}
-var q1e = function(e) {
- var t = e.width, n = e.height, r = K1e(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
+var K1e = function(e) {
+ var t = e.width, n = e.height, r = G1e(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);
-}, J1e = CY({
+}, q1e = wY({
name: "referenceElements",
initialState: {
dots: [],
@@ -82409,48 +82424,48 @@ var q1e = function(e) {
e.dots.push(t.payload);
},
removeDot: (e, t) => {
- var n = lY(e).dots.findIndex((e) => e === t.payload);
+ var n = uY(e).dots.findIndex((e) => e === t.payload);
n !== -1 && e.dots.splice(n, 1);
},
addArea: (e, t) => {
e.areas.push(t.payload);
},
removeArea: (e, t) => {
- var n = lY(e).areas.findIndex((e) => e === t.payload);
+ var n = uY(e).areas.findIndex((e) => e === t.payload);
n !== -1 && e.areas.splice(n, 1);
},
addLine: (e, t) => {
- e.lines.push(fY(t.payload));
+ e.lines.push(pY(t.payload));
},
removeLine: (e, t) => {
- var n = lY(e).lines.findIndex((e) => e === t.payload);
+ var n = uY(e).lines.findIndex((e) => e === t.payload);
n !== -1 && e.lines.splice(n, 1);
}
}
-}), H3 = J1e.actions;
-H3.addDot, H3.removeDot, H3.addArea, H3.removeArea;
-var Y1e = H3.addLine, X1e = H3.removeLine, Z1e = J1e.reducer;
+}), U3 = q1e.actions;
+U3.addDot, U3.removeDot, U3.addArea, U3.removeArea;
+var J1e = U3.addLine, Y1e = U3.removeLine, X1e = q1e.reducer;
//#endregion
//#region node_modules/recharts/es6/container/ClipPathProvider.js
-function Q1e(e, t) {
- return r0e(e) || n0e(e, t) || e0e(e, t) || $1e();
+function Z1e(e, t) {
+ return n0e(e) || t0e(e, t) || $1e(e, t) || Q1e();
}
-function $1e() {
+function Q1e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function e0e(e, t) {
+function $1e(e, t) {
if (e) {
- if (typeof e == "string") return t0e(e, t);
+ if (typeof e == "string") return e0e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? t0e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? e0e(e, t) : void 0;
}
}
-function t0e(e, t) {
+function e0e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function n0e(e, t) {
+function t0e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -82471,20 +82486,20 @@ function n0e(e, t) {
return s;
}
}
-function r0e(e) {
+function n0e(e) {
if (Array.isArray(e)) return e;
}
-var i0e = /*#__PURE__*/ (0, b.createContext)(void 0), a0e = (e) => {
- var t = e.children, n = Q1e((0, b.useState)(`${TG("recharts")}-clip`), 1)[0], r = x3();
+var r0e = /*#__PURE__*/ (0, b.createContext)(void 0), i0e = (e) => {
+ var t = e.children, n = Z1e((0, b.useState)(`${EG("recharts")}-clip`), 1)[0], r = S3();
if (r == null) return null;
var i = r.x, a = r.y, o = r.width, s = r.height;
- return /*#__PURE__*/ b.createElement(i0e.Provider, { value: n }, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: n }, /*#__PURE__*/ b.createElement("rect", {
+ return /*#__PURE__*/ b.createElement(r0e.Provider, { value: n }, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: n }, /*#__PURE__*/ b.createElement("rect", {
x: i,
y: a,
height: s,
width: o
}))), t);
-}, o0e = () => (0, b.useContext)(i0e), s0e = class {
+}, a0e = () => (0, b.useContext)(r0e), o0e = class {
constructor(e) {
var t = e.x, n = e.y;
this.xAxisScale = t, this.yAxisScale = n;
@@ -82510,7 +82525,7 @@ var i0e = /*#__PURE__*/ (0, b.createContext)(void 0), a0e = (e) => {
};
//#endregion
//#region node_modules/recharts/es6/cartesian/ReferenceLine.js
-function c0e(e, t) {
+function s0e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -82520,30 +82535,30 @@ function c0e(e, t) {
}
return n;
}
-function l0e(e) {
+function c0e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? c0e(Object(n), !0).forEach(function(t) {
- u0e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c0e(Object(n)).forEach(function(t) {
+ t % 2 ? s0e(Object(n), !0).forEach(function(t) {
+ l0e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s0e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function u0e(e, t, n) {
- return (t = d0e(t)) in e ? Object.defineProperty(e, t, {
+function l0e(e, t, n) {
+ return (t = u0e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function d0e(e) {
- var t = f0e(e, "string");
+function u0e(e) {
+ var t = d0e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function f0e(e, t) {
+function d0e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -82553,27 +82568,27 @@ function f0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function U3() {
- return U3 = Object.assign ? Object.assign.bind() : function(e) {
+function W3() {
+ return W3 = 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;
- }, U3.apply(null, arguments);
+ }, W3.apply(null, arguments);
}
-var p0e = (e, t) => {
+var f0e = (e, t) => {
var n;
if (/*#__PURE__*/ b.isValidElement(e)) n = /*#__PURE__*/ b.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
else {
- if (!$Y(t.x1) || !$Y(t.y1) || !$Y(t.x2) || !$Y(t.y2)) return null;
- n = /*#__PURE__*/ b.createElement("line", U3({}, t, { className: "recharts-reference-line-line" }));
+ if (!eX(t.x1) || !eX(t.y1) || !eX(t.x2) || !eX(t.y2)) return null;
+ n = /*#__PURE__*/ b.createElement("line", W3({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, m0e = (e, t, n, r, i, a) => {
+}, p0e = (e, t, n, r, i, a) => {
var o = a.x, s = a.width, c = i.map(e, { position: n });
- if (!$Y(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!eX(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: o + s,
y: c
@@ -82582,9 +82597,9 @@ var p0e = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, h0e = (e, t, n, r, i, a) => {
+}, m0e = (e, t, n, r, i, a) => {
var o = a.y, s = a.height, c = i.map(e, { position: n });
- if (!$Y(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!eX(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: c,
y: o + s
@@ -82593,7 +82608,7 @@ var p0e = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, g0e = (e, t, n, r) => {
+}, h0e = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -82602,43 +82617,43 @@ var p0e = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, _0e = (e, t, n, r, i, a, o) => {
- var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = wG(s);
- return wG(c) ? m0e(c, u, r, a, t, n) : d ? h0e(s, u, r, i, e, n) : l != null && l.length === 2 ? g0e(l, u, r, new s0e({
+}, g0e = (e, t, n, r, i, a, o) => {
+ var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = TG(s);
+ return TG(c) ? p0e(c, u, r, a, t, n) : d ? m0e(s, u, r, i, e, n) : l != null && l.length === 2 ? h0e(l, u, r, new o0e({
x: e,
y: t
})) : null;
};
-function v0e(e) {
- var t = Nq();
- return (0, b.useEffect)(() => (t(Y1e(e)), () => {
- t(X1e(e));
+function _0e(e) {
+ var t = Pq();
+ return (0, b.useEffect)(() => (t(J1e(e)), () => {
+ t(Y1e(e));
})), null;
}
-function y0e(e) {
- var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = DX(), s = o0e(), c = J((e) => W0(e, t)), l = J((e) => K0(e, n)), u = J((e) => O2(e, "xAxis", t, o)), d = J((e) => O2(e, "yAxis", n, o)), f = VX();
+function v0e(e) {
+ var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = OX(), s = a0e(), c = J((e) => G0(e, t)), l = J((e) => q0(e, n)), u = J((e) => k2(e, "xAxis", t, o)), d = J((e) => k2(e, "yAxis", n, o)), f = HX();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = _0e(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = g0e(u, d, f, e.position, c.orientation, l.orientation, e);
if (!p) return null;
var m = p[0], h = p[1];
if (m == null || h == null) return null;
- var g = m.x, _ = m.y, v = h.x, y = h.y, x = l0e(l0e({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, oG(e)), {}, {
+ var g = m.x, _ = m.y, v = h.x, y = h.y, x = c0e(c0e({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, sG(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), S = G1e({
+ }), S = W1e({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ b.createElement(o4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(uG, { className: Cv("recharts-reference-line", i) }, p0e(r, x), /*#__PURE__*/ b.createElement(MYe, U3({}, S, {
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(dG, { className: Cv("recharts-reference-line", i) }, f0e(r, x), /*#__PURE__*/ b.createElement(jYe, W3({}, S, {
lowerWidth: S.width,
upperWidth: S.width
- }), /*#__PURE__*/ b.createElement(WYe, { label: e.label }), e.children)));
+ }), /*#__PURE__*/ b.createElement(UYe, { label: e.label }), e.children)));
}
-var b0e = {
+var y0e = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -82648,36 +82663,36 @@ var b0e = {
fillOpacity: 1,
strokeWidth: 1,
position: "middle",
- zIndex: YQ.line
+ zIndex: XQ.line
};
-function x0e(e) {
- var t = BK(e, b0e);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(v0e, {
+function b0e(e) {
+ var t = VK(e, y0e);
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(_0e, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ b.createElement(y0e, t));
+ }), /*#__PURE__*/ b.createElement(v0e, t));
}
-x0e.displayName = "ReferenceLine";
+b0e.displayName = "ReferenceLine";
//#endregion
//#region node_modules/es-toolkit/dist/function/noop.mjs
-function S0e() {}
+function x0e() {}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPlainObject.mjs
-function C0e(e) {
+function S0e(e) {
if (!e || typeof e != "object") return !1;
let t = Object.getPrototypeOf(e);
return t !== null && t !== Object.prototype && Object.getPrototypeOf(t) !== null ? !1 : Object.prototype.toString.call(e) === "[object Object]";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isEqualWith.mjs
-function w0e(e, t, n) {
- return W3(e, t, void 0, void 0, void 0, void 0, n);
+function C0e(e, t, n) {
+ return G3(e, t, void 0, void 0, void 0, void 0, n);
}
-function W3(e, t, n, r, i, a, o) {
+function G3(e, t, n, r, i, a, o) {
let s = o(e, t, n, r, i, a);
if (s !== void 0) return s;
if (typeof e == typeof t) switch (typeof e) {
@@ -82688,22 +82703,22 @@ function W3(e, t, n, r, i, a, o) {
case "undefined": return e === t;
case "number": return e === t || Object.is(e, t);
case "function": return e === t;
- case "object": return G3(e, t, a, o);
+ case "object": return K3(e, t, a, o);
}
- return G3(e, t, a, o);
+ return K3(e, t, a, o);
}
-function G3(e, t, n, r) {
+function K3(e, t, n, r) {
if (Object.is(e, t)) return !0;
- let i = YK(e), a = YK(t);
- if (i === "[object Arguments]" && (i = sq), a === "[object Arguments]" && (a = sq), i !== a) return !1;
+ let i = XK(e), a = XK(t);
+ if (i === "[object Arguments]" && (i = cq), a === "[object Arguments]" && (a = cq), i !== a) return !1;
switch (i) {
- case ZK: return e.toString() === t.toString();
- case QK: return Sq(e.valueOf(), t.valueOf());
- case $K:
- case nq:
- case tq: return Object.is(e.valueOf(), t.valueOf());
- case XK: return e.source === t.source && e.flags === t.flags;
- case IPe: return e === t;
+ case QK: return e.toString() === t.toString();
+ case $K: return Cq(e.valueOf(), t.valueOf());
+ case eq:
+ case rq:
+ case nq: return Object.is(e.valueOf(), t.valueOf());
+ case ZK: return e.source === t.source && e.flags === t.flags;
+ case FPe: return e === t;
}
n ??= /* @__PURE__ */ new Map();
let o = n.get(e), s = n.get(t);
@@ -82711,47 +82726,47 @@ function G3(e, t, n, r) {
n.set(e, t), n.set(t, e);
try {
switch (i) {
- case rq:
+ case iq:
if (e.size !== t.size) return !1;
- for (let [i, a] of e.entries()) if (!t.has(i) || !W3(a, t.get(i), i, e, t, n, r)) return !1;
+ for (let [i, a] of e.entries()) if (!t.has(i) || !G3(a, t.get(i), i, e, t, n, r)) return !1;
return !0;
- case iq: {
+ case aq: {
if (e.size !== t.size) return !1;
let i = Array.from(e.values()), a = Array.from(t.values());
for (let o = 0; o < i.length; o++) {
- let s = i[o], c = a.findIndex((i) => W3(s, i, void 0, e, t, n, r));
+ let s = i[o], c = a.findIndex((i) => G3(s, i, void 0, e, t, n, r));
if (c === -1) return !1;
a.splice(c, 1);
}
return !0;
}
- case aq:
- case lq:
+ case oq:
case uq:
case dq:
case fq:
- case RPe:
case pq:
+ case LPe:
case mq:
case hq:
- case zPe:
case gq:
+ case RPe:
case _q:
- if (yq(e) !== yq(t) || e.length !== t.length) return !1;
- for (let i = 0; i < e.length; i++) if (!W3(e[i], t[i], i, e, t, n, r)) return !1;
+ case vq:
+ if (bq(e) !== bq(t) || e.length !== t.length) return !1;
+ for (let i = 0; i < e.length; i++) if (!G3(e[i], t[i], i, e, t, n, r)) return !1;
return !0;
- case oq: return e.byteLength === t.byteLength && G3(new Uint8Array(e), new Uint8Array(t), n, r);
- case cq: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : G3(new Uint8Array(e), new Uint8Array(t), n, r);
- case LPe: return e.name === t.name && e.message === t.message;
- case sq: {
- if (!(G3(e.constructor, t.constructor, n, r) || C0e(e) && C0e(t))) return !1;
- let i = [...Object.keys(e), ...JK(e)], a = [...Object.keys(t), ...JK(t)];
+ case sq: return e.byteLength === t.byteLength && K3(new Uint8Array(e), new Uint8Array(t), n, r);
+ case lq: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : K3(new Uint8Array(e), new Uint8Array(t), n, r);
+ case IPe: return e.name === t.name && e.message === t.message;
+ case cq: {
+ if (!(K3(e.constructor, t.constructor, n, r) || S0e(e) && S0e(t))) return !1;
+ let i = [...Object.keys(e), ...YK(e)], a = [...Object.keys(t), ...YK(t)];
if (i.length !== a.length) return !1;
for (let a = 0; a < i.length; a++) {
let o = i[a], s = e[o];
if (!Object.hasOwn(t, o)) return !1;
let c = t[o];
- if (!W3(s, c, o, e, t, n, r)) return !1;
+ if (!G3(s, c, o, e, t, n, r)) return !1;
}
return !0;
}
@@ -82763,12 +82778,12 @@ function G3(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isEqual.mjs
-function T0e(e, t) {
- return w0e(e, t, S0e);
+function w0e(e, t) {
+ return C0e(e, t, x0e);
}
//#endregion
//#region node_modules/recharts/es6/util/getEveryNth.js
-function E0e(e, t) {
+function T0e(e, t) {
if (t < 1) return [];
if (t === 1) return e;
for (var n = [], r = 0; r < e.length; r += t) {
@@ -82779,13 +82794,13 @@ function E0e(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function D0e(e, t, n) {
- return q1e({
+function E0e(e, t, n) {
+ return K1e({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function O0e(e, t, n) {
+function D0e(e, t, n) {
var r = n === "width", i = e.x, a = e.y, o = e.width, s = e.height;
return t === 1 ? {
start: r ? i : a,
@@ -82795,33 +82810,33 @@ function O0e(e, t, n) {
end: r ? i : a
};
}
-function K3(e, t, n, r, i) {
+function q3(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 k0e(e, t) {
- return E0e(e, t + 1);
+function O0e(e, t) {
+ return T0e(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function A0e(e, t, n, r, i) {
+function k0e(e, t, n, r, i) {
for (var a = (r || []).slice(), o = t.start, s = t.end, c = 0, l = 1, u = o, d = function() {
var t = r?.[c];
- if (t === void 0) return { v: E0e(r, l) };
- var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || K3(e, p, f, u, s);
+ if (t === void 0) return { v: T0e(r, l) };
+ var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || q3(e, p, f, u, s);
m || (c = 0, u = o, l += 1), m && (u = p + e * (f() / 2 + i), c += l);
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function j0e(e, t, n, r, i) {
+function A0e(e, t, n, r, i) {
var a = (r || []).slice().length;
if (a === 0) return [];
for (var o = t.start, s = t.end, c = 1; c <= a; c++) {
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 || K3(e, f, c, u, s);
+ var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || q3(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);
@@ -82837,7 +82852,7 @@ function j0e(e, t, n, r, i) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getTicks.js
-function M0e(e, t) {
+function j0e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -82847,30 +82862,30 @@ function M0e(e, t) {
}
return n;
}
-function q3(e) {
+function J3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? M0e(Object(n), !0).forEach(function(t) {
- N0e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M0e(Object(n)).forEach(function(t) {
+ t % 2 ? j0e(Object(n), !0).forEach(function(t) {
+ M0e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j0e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function N0e(e, t, n) {
- return (t = P0e(t)) in e ? Object.defineProperty(e, t, {
+function M0e(e, t, n) {
+ return (t = N0e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function P0e(e) {
- var t = F0e(e, "string");
+function N0e(e) {
+ var t = P0e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function F0e(e, t) {
+function P0e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -82880,26 +82895,26 @@ function F0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function I0e(e, t, n, r, i) {
+function F0e(e, t, n, r, i) {
for (var a = (r || []).slice(), o = a.length, s = t.start, c = t.end, l = function(t) {
var r = a[t];
if (r == null) return 1;
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 = q3(q3({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });
- } else a[t] = l = q3(q3({}, l), {}, { tickCoord: l.coordinate });
- l.tickCoord != null && K3(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = q3(q3({}, l), {}, { isShow: !0 }));
+ a[t] = l = J3(J3({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });
+ } else a[t] = l = J3(J3({}, l), {}, { tickCoord: l.coordinate });
+ l.tickCoord != null && q3(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = J3(J3({}, l), {}, { isShow: !0 }));
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function L0e(e, t, n, r, i, a) {
+function I0e(e, t, n, r, i, a) {
var o = (r || []).slice(), s = o.length, c = t.start, l = t.end;
if (a) {
var u = r[s - 1];
if (u != null) {
var d = n(u, s - 1), f = e * (u.coordinate + e * d / 2 - l);
- o[s - 1] = u = q3(q3({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && K3(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = q3(q3({}, u), {}, { isShow: !0 }));
+ o[s - 1] = u = J3(J3({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && q3(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = J3(J3({}, u), {}, { isShow: !0 }));
}
}
for (var p = a ? s - 1 : s, m = function(t) {
@@ -82908,17 +82923,17 @@ function L0e(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 = q3(q3({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });
- } else o[t] = a = q3(q3({}, a), {}, { tickCoord: a.coordinate });
- a.tickCoord != null && K3(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = q3(q3({}, a), {}, { isShow: !0 }));
+ o[t] = a = J3(J3({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });
+ } else o[t] = a = J3(J3({}, a), {}, { tickCoord: a.coordinate });
+ a.tickCoord != null && q3(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = J3(J3({}, a), {}, { isShow: !0 }));
}, h = 0; h < p; h++) if (m(h)) continue;
return o;
}
-function J3(e, t, n) {
+function Y3(e, t, n) {
var r = e.tick, i = e.ticks, a = e.viewBox, o = e.minTickGap, s = e.orientation, c = e.interval, l = e.tickFormatter, u = e.unit, d = e.angle;
if (!i || !i.length || !r) return [];
- if (CG(c) || vZ.isSsr) return k0e(i, CG(c) ? c : 0) ?? [];
- var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? h4(u, {
+ if (wG(c) || yZ.isSsr) return O0e(i, wG(c) ? c : 0) ?? [];
+ var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? g4(u, {
fontSize: t,
letterSpacing: n
}) : {
@@ -82926,19 +82941,19 @@ function J3(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? D0e(h4(i, {
+ return p === "width" ? E0e(g4(i, {
fontSize: t,
letterSpacing: n
- }), m, d) : h4(i, {
+ }), m, d) : g4(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? bG(_.coordinate - g.coordinate) : 1, y = O0e(a, v, p);
- return c === "equidistantPreserveStart" ? A0e(v, y, h, i, o) : c === "equidistantPreserveEnd" ? j0e(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? L0e(v, y, h, i, o, c === "preserveStartEnd") : I0e(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? xG(_.coordinate - g.coordinate) : 1, y = D0e(a, v, p);
+ return c === "equidistantPreserveStart" ? k0e(v, y, h, i, o) : c === "equidistantPreserveEnd" ? A0e(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? I0e(v, y, h, i, o, c === "preserveStartEnd") : F0e(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var R0e = (e) => {
+var L0e = (e) => {
var t = e.ticks, n = e.label, r = e.labelGapWithTick, i = r === void 0 ? 5 : r, a = e.tickSize, o = a === void 0 ? 0 : a, s = e.tickMargin, c = s === void 0 ? 0 : s, l = 0;
if (t) {
Array.from(t).forEach((e) => {
@@ -82951,7 +82966,7 @@ var R0e = (e) => {
return Math.round(f);
}
return 0;
-}, z0e = (e) => {
+}, R0e = (e) => {
var t = e.ticks, n = e.label, r = e.labelGapWithTick, i = r === void 0 ? 5 : r, a = e.tickSize, o = a === void 0 ? 0 : a, s = e.tickMargin, c = s === void 0 ? 0 : s, l = 0;
if (t) {
Array.from(t).forEach((e) => {
@@ -82964,7 +82979,7 @@ var R0e = (e) => {
return Math.round(f);
}
return 0;
-}, B0e = CY({
+}, z0e = wY({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -82973,14 +82988,14 @@ var R0e = (e) => {
reducers: {
setRenderedTicks: (e, t) => {
var n = t.payload, r = n.axisType, i = n.axisId, a = n.ticks;
- e[r][i] = fY(a);
+ e[r][i] = pY(a);
},
removeRenderedTicks: (e, t) => {
var n = t.payload, r = n.axisType, i = n.axisId;
delete e[r][i];
}
}
-}), V0e = B0e.actions, H0e = V0e.setRenderedTicks, U0e = V0e.removeRenderedTicks, W0e = B0e.reducer, G0e = [
+}), B0e = z0e.actions, V0e = B0e.setRenderedTicks, H0e = B0e.removeRenderedTicks, U0e = z0e.reducer, W0e = [
"axisLine",
"width",
"height",
@@ -82990,25 +83005,25 @@ var R0e = (e) => {
"axisType",
"axisId"
];
-function K0e(e, t) {
- return Z0e(e) || X0e(e, t) || J0e(e, t) || q0e();
+function G0e(e, t) {
+ return X0e(e) || Y0e(e, t) || q0e(e, t) || K0e();
}
-function q0e() {
+function K0e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function J0e(e, t) {
+function q0e(e, t) {
if (e) {
- if (typeof e == "string") return Y0e(e, t);
+ if (typeof e == "string") return J0e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Y0e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? J0e(e, t) : void 0;
}
}
-function Y0e(e, t) {
+function J0e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function X0e(e, t) {
+function Y0e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -83029,19 +83044,19 @@ function X0e(e, t) {
return s;
}
}
-function Z0e(e) {
+function X0e(e) {
if (Array.isArray(e)) return e;
}
-function Q0e(e, t) {
+function Z0e(e, t) {
if (e == null) return {};
- var n, r, i = $0e(e, t);
+ var n, r, i = Q0e(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 $0e(e, t) {
+function Q0e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -83050,16 +83065,16 @@ function $0e(e, t) {
}
return n;
}
-function Y3() {
- return Y3 = Object.assign ? Object.assign.bind() : function(e) {
+function X3() {
+ return X3 = 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;
- }, Y3.apply(null, arguments);
+ }, X3.apply(null, arguments);
}
-function e2e(e, t) {
+function $0e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -83069,30 +83084,30 @@ function e2e(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 ? e2e(Object(n), !0).forEach(function(t) {
- t2e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e2e(Object(n)).forEach(function(t) {
+ t % 2 ? $0e(Object(n), !0).forEach(function(t) {
+ e2e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $0e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function t2e(e, t, n) {
- return (t = n2e(t)) in e ? Object.defineProperty(e, t, {
+function e2e(e, t, n) {
+ return (t = t2e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function n2e(e) {
- var t = r2e(e, "string");
+function t2e(e) {
+ var t = n2e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function r2e(e, t) {
+function n2e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -83102,7 +83117,7 @@ function r2e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Z3 = {
+var Q3 = {
x: 0,
y: 0,
width: 0,
@@ -83124,15 +83139,15 @@ var Z3 = {
tickSize: 6,
tickMargin: 2,
interval: "preserveEnd",
- zIndex: YQ.axis
+ zIndex: XQ.axis
};
-function i2e(e) {
+function r2e(e) {
var t = e.x, n = e.y, r = e.width, i = e.height, a = e.orientation, o = e.mirror, s = e.axisLine, c = e.otherSvgProps;
if (!s) return null;
- var l = X3(X3(X3({}, c), iG(s)), {}, { fill: "none" });
+ var l = Z3(Z3(Z3({}, c), aG(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
- l = X3(X3({}, l), {}, {
+ l = Z3(Z3({}, l), {}, {
x1: t,
y1: n + u * i,
x2: t + r,
@@ -83140,17 +83155,17 @@ function i2e(e) {
});
} else {
var d = +(a === "left" && !o || a === "right" && o);
- l = X3(X3({}, l), {}, {
+ l = Z3(Z3({}, l), {}, {
x1: t + d * r,
y1: n,
x2: t + d * r,
y2: n + i
});
}
- return /*#__PURE__*/ b.createElement("line", Y3({}, l, { className: Cv("recharts-cartesian-axis-line", _G(s, "className")) }));
+ return /*#__PURE__*/ b.createElement("line", X3({}, l, { className: Cv("recharts-cartesian-axis-line", vG(s, "className")) }));
}
-function a2e(e, t, n, r, i, a, o, s, c) {
- var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = CG(e.tickCoord) ? e.tickCoord : e.coordinate;
+function i2e(e, t, n, r, i, a, o, s, c) {
+ var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = wG(e.tickCoord) ? e.tickCoord : e.coordinate;
switch (a) {
case "top":
l = u = e.coordinate, f = n + +!s * i, d = f - h * g, m = d - h * c, p = _;
@@ -83176,14 +83191,14 @@ function a2e(e, t, n, r, i, a, o, s, c) {
}
};
}
-function o2e(e, t) {
+function a2e(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function s2e(e, t) {
+function o2e(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -83191,18 +83206,18 @@ function s2e(e, t) {
default: return t ? "end" : "start";
}
}
-function c2e(e) {
+function s2e(e) {
var t = e.option, n = e.tickProps, r = e.value, i, a = Cv(n.className, "recharts-cartesian-axis-tick-value");
- if (/*#__PURE__*/ b.isValidElement(t)) i = /*#__PURE__*/ b.cloneElement(t, X3(X3({}, n), {}, { className: a }));
- else if (typeof t == "function") i = t(X3(X3({}, n), {}, { className: a }));
+ if (/*#__PURE__*/ b.isValidElement(t)) i = /*#__PURE__*/ b.cloneElement(t, Z3(Z3({}, n), {}, { className: a }));
+ else if (typeof t == "function") i = t(Z3(Z3({}, n), {}, { className: a }));
else {
var o = "recharts-cartesian-axis-tick-value";
- typeof t != "boolean" && (o = Cv(o, K4(t))), i = /*#__PURE__*/ b.createElement(x4, Y3({}, n, { className: o }), r);
+ typeof t != "boolean" && (o = Cv(o, q4(t))), i = /*#__PURE__*/ b.createElement(S4, X3({}, n, { className: o }), r);
}
return i;
}
-function l2e(e) {
- var t = e.ticks, n = e.axisType, r = e.axisId, i = Nq(), a = (0, b.useRef)(null);
+function c2e(e) {
+ var t = e.ticks, n = e.axisType, r = e.axisId, i = Pq(), a = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
if (r != null && n != null) {
var e = t.map((e) => ({
@@ -83211,11 +83226,11 @@ function l2e(e) {
offset: e.offset,
index: e.index
})), o = a.current;
- o != null && o.axisId === r && o.axisType === n && T0e(o.ticks, e) || (a.current = {
+ o != null && o.axisId === r && o.axisType === n && w0e(o.ticks, e) || (a.current = {
ticks: e,
axisId: r,
axisType: n
- }, i(H0e({
+ }, i(V0e({
ticks: e,
axisId: r,
axisType: n
@@ -83226,8 +83241,8 @@ function l2e(e) {
t,
r,
n
- ]), (0, b.useEffect)(() => r == null || n == null ? NG : () => {
- i(U0e({
+ ]), (0, b.useEffect)(() => r == null || n == null ? PG : () => {
+ i(H0e({
axisId: r,
axisType: n
}));
@@ -83237,17 +83252,17 @@ function l2e(e) {
n
]), null;
}
-var u2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, x = e.letterSpacing, S = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = J3(X3(X3({}, S), {}, { ticks: r }), y, x), D = iG(S), O = aG(i), k = fYe(D.textAnchor) ? D.textAnchor : o2e(d, f), A = s2e(d, f), j = {};
+var l2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, x = e.letterSpacing, S = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = Y3(Z3(Z3({}, S), {}, { ticks: r }), y, x), D = aG(S), O = oG(i), k = dYe(D.textAnchor) ? D.textAnchor : a2e(d, f), A = o2e(d, f), j = {};
typeof a == "object" && (j = a);
- var M = X3(X3({}, D), {}, { fill: "none" }, j), N = E.map((e) => X3({ entry: e }, a2e(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {
+ var M = Z3(Z3({}, D), {}, { fill: "none" }, j), N = E.map((e) => Z3({ entry: e }, i2e(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {
var t = e.entry, n = e.line;
- return /*#__PURE__*/ b.createElement(uG, {
+ return /*#__PURE__*/ b.createElement(dG, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, a && /*#__PURE__*/ b.createElement("line", Y3({}, M, n, { className: Cv("recharts-cartesian-axis-tick-line", _G(a, "className")) })));
+ }, a && /*#__PURE__*/ b.createElement("line", X3({}, M, n, { className: Cv("recharts-cartesian-axis-tick-line", vG(a, "className")) })));
}), ee = N.map((e, t) => {
- var n = e.entry, r = e.tick, a = X3(X3({}, X3(X3(X3(X3({ verticalAnchor: A }, D), {}, {
+ var n = e.entry, r = e.tick, a = Z3(Z3({}, Z3(Z3(Z3(Z3({ verticalAnchor: A }, D), {}, {
textAnchor: k,
stroke: "none",
fill: o
@@ -83258,34 +83273,34 @@ var u2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
tickFormatter: s,
padding: l
}, u), {}, { angle: u?.angle ?? D.angle ?? 0 })), O);
- return /*#__PURE__*/ b.createElement(uG, Y3({
+ return /*#__PURE__*/ b.createElement(dG, X3({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, RK(C, n, t)), i && /*#__PURE__*/ b.createElement(c2e, {
+ }, zK(C, n, t)), i && /*#__PURE__*/ b.createElement(s2e, {
option: i,
tickProps: a,
value: `${typeof s == "function" ? s(n.value, t) : n.value}${c || ""}`
}));
});
- return /*#__PURE__*/ b.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${w}-ticks` }, /*#__PURE__*/ b.createElement(l2e, {
+ return /*#__PURE__*/ b.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${w}-ticks` }, /*#__PURE__*/ b.createElement(c2e, {
ticks: E,
axisId: T,
axisType: w
- }), ee.length > 0 && /*#__PURE__*/ b.createElement(o4, { zIndex: YQ.label }, /*#__PURE__*/ b.createElement("g", {
+ }), ee.length > 0 && /*#__PURE__*/ b.createElement(s4, { zIndex: XQ.label }, /*#__PURE__*/ b.createElement("g", {
className: `recharts-cartesian-axis-tick-labels recharts-${w}-tick-labels`,
ref: t
}, ee)), P.length > 0 && /*#__PURE__*/ b.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${w}-tick-lines` }, P));
-}), d2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.axisLine, r = e.width, i = e.height, a = e.className, o = e.hide, s = e.ticks, c = e.axisType, l = e.axisId, u = Q0e(e, G0e), d = K0e((0, b.useState)(""), 2), f = d[0], p = d[1], m = K0e((0, b.useState)(""), 2), h = m[0], g = m[1], _ = (0, b.useRef)(null);
+}), u2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.axisLine, r = e.width, i = e.height, a = e.className, o = e.hide, s = e.ticks, c = e.axisType, l = e.axisId, u = Z0e(e, W0e), d = G0e((0, b.useState)(""), 2), f = d[0], p = d[1], m = G0e((0, b.useState)(""), 2), h = m[0], g = m[1], _ = (0, b.useRef)(null);
(0, b.useImperativeHandle)(t, () => ({
- getCalculatedWidth: () => R0e({
+ getCalculatedWidth: () => L0e({
ticks: _.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
tickSize: e.tickSize,
tickMargin: e.tickMargin
}),
- getCalculatedHeight: () => z0e({
+ getCalculatedHeight: () => R0e({
ticks: _.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -83304,7 +83319,7 @@ var u2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
}
}
}, [f, h]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ b.createElement(o4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(uG, { className: Cv("recharts-cartesian-axis", a) }, /*#__PURE__*/ b.createElement(i2e, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ b.createElement(s4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(dG, { className: Cv("recharts-cartesian-axis", a) }, /*#__PURE__*/ b.createElement(r2e, {
x: e.x,
y: e.y,
width: r,
@@ -83312,8 +83327,8 @@ var u2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: iG(e)
- }), /*#__PURE__*/ b.createElement(u2e, {
+ otherSvgProps: aG(e)
+ }), /*#__PURE__*/ b.createElement(l2e, {
ref: v,
axisType: c,
events: u,
@@ -83337,37 +83352,37 @@ var u2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
x: e.x,
y: e.y,
axisId: l
- }), /*#__PURE__*/ b.createElement(MYe, {
+ }), /*#__PURE__*/ b.createElement(jYe, {
x: e.x,
y: e.y,
width: e.width,
height: e.height,
lowerWidth: e.width,
upperWidth: e.width
- }, /*#__PURE__*/ b.createElement(WYe, {
+ }, /*#__PURE__*/ b.createElement(UYe, {
label: e.label,
labelRef: e.labelRef
}), e.children)));
-}), Q3 = /*#__PURE__*/ b.forwardRef((e, t) => {
- var n = BK(e, Z3);
- return /*#__PURE__*/ b.createElement(d2e, Y3({}, n, { ref: t }));
+}), $3 = /*#__PURE__*/ b.forwardRef((e, t) => {
+ var n = VK(e, Q3);
+ return /*#__PURE__*/ b.createElement(u2e, X3({}, n, { ref: t }));
});
-Q3.displayName = "CartesianAxis";
+$3.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/theme/RechartsThemeContext.js
-var f2e = /*#__PURE__*/ (0, b.createContext)({ grid: {
+var d2e = /*#__PURE__*/ (0, b.createContext)({ grid: {
stroke: "#ccc",
fill: "none"
} });
-f2e.Provider;
-var p2e = () => (0, b.useContext)(f2e), m2e = [
+d2e.Provider;
+var f2e = () => (0, b.useContext)(d2e), p2e = [
"x1",
"y1",
"x2",
"y2",
"key"
-], h2e = ["offset"], g2e = ["xAxisId", "yAxisId"], _2e = ["xAxisId", "yAxisId"];
-function v2e(e, t) {
+], m2e = ["offset"], h2e = ["xAxisId", "yAxisId"], g2e = ["xAxisId", "yAxisId"];
+function _2e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -83377,30 +83392,30 @@ function v2e(e, t) {
}
return n;
}
-function $3(e) {
+function e6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? v2e(Object(n), !0).forEach(function(t) {
- y2e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v2e(Object(n)).forEach(function(t) {
+ t % 2 ? _2e(Object(n), !0).forEach(function(t) {
+ v2e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _2e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function y2e(e, t, n) {
- return (t = b2e(t)) in e ? Object.defineProperty(e, t, {
+function v2e(e, t, n) {
+ return (t = y2e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function b2e(e) {
- var t = x2e(e, "string");
+function y2e(e) {
+ var t = b2e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function x2e(e, t) {
+function b2e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -83410,25 +83425,25 @@ function x2e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function e6() {
- return e6 = Object.assign ? Object.assign.bind() : function(e) {
+function t6() {
+ return t6 = 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;
- }, e6.apply(null, arguments);
+ }, t6.apply(null, arguments);
}
-function t6(e, t) {
+function n6(e, t) {
if (e == null) return {};
- var n, r, i = S2e(e, t);
+ var n, r, i = x2e(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 S2e(e, t) {
+function x2e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -83437,7 +83452,7 @@ function S2e(e, t) {
}
return n;
}
-var C2e = (e) => {
+var S2e = (e) => {
var t = e.fill;
if (!t || t === "none") return null;
var n = e.fillOpacity, r = e.x, i = e.y, a = e.width, o = e.height, s = e.ry;
@@ -83453,15 +83468,15 @@ var C2e = (e) => {
className: "recharts-cartesian-grid-bg"
});
};
-function w2e(e) {
+function C2e(e) {
var t = e.option, n = e.lineItemProps, r;
if (/*#__PURE__*/ b.isValidElement(t)) r = /*#__PURE__*/ b.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = iG(t6(n, m2e)) ?? {};
+ var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = aG(n6(n, p2e)) ?? {};
l.offset;
- var u = t6(l, h2e), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;
- r = /*#__PURE__*/ b.createElement("line", e6({}, u, {
+ var u = n6(l, m2e), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;
+ r = /*#__PURE__*/ b.createElement("line", t6({}, u, {
strokeDasharray: d,
x1: i,
y1: a,
@@ -83473,12 +83488,12 @@ function w2e(e) {
}
return r;
}
-function T2e(e) {
+function w2e(e) {
var t = e.x, n = e.width, r = e.horizontal, i = r === void 0 || r, a = e.horizontalPoints;
if (!i || !a || !a.length) return null;
e.xAxisId, e.yAxisId;
- var o = t6(e, g2e), s = a.map((e, r) => {
- var a = $3($3({}, o), {}, {
+ var o = n6(e, h2e), s = a.map((e, r) => {
+ var a = e6(e6({}, o), {}, {
x1: t,
y1: e,
x2: t + n,
@@ -83486,7 +83501,7 @@ function T2e(e) {
key: `line-${r}`,
index: r
});
- return /*#__PURE__*/ b.createElement(w2e, {
+ return /*#__PURE__*/ b.createElement(C2e, {
key: `line-${r}`,
option: i,
lineItemProps: a
@@ -83494,12 +83509,12 @@ function T2e(e) {
});
return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, s);
}
-function E2e(e) {
+function T2e(e) {
var t = e.y, n = e.height, r = e.vertical, i = r === void 0 || r, a = e.verticalPoints;
if (!i || !a || !a.length) return null;
e.xAxisId, e.yAxisId;
- var o = t6(e, _2e), s = a.map((e, r) => {
- var a = $3($3({}, o), {}, {
+ var o = n6(e, g2e), s = a.map((e, r) => {
+ var a = e6(e6({}, o), {}, {
x1: e,
y1: t,
x2: e,
@@ -83507,7 +83522,7 @@ function E2e(e) {
key: `line-${r}`,
index: r
});
- return /*#__PURE__*/ b.createElement(w2e, {
+ return /*#__PURE__*/ b.createElement(C2e, {
option: i,
lineItemProps: a,
key: `line-${r}`
@@ -83515,7 +83530,7 @@ function E2e(e) {
});
return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid-vertical" }, s);
}
-function D2e(e) {
+function E2e(e) {
var t = e.horizontalFill, n = e.fillOpacity, r = e.x, i = e.y, a = e.width, o = e.height, s = e.horizontalPoints, c = e.horizontal;
if (!(c === void 0 || c) || !t || !t.length || s == null) return null;
var l = s.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -83538,7 +83553,7 @@ function D2e(e) {
});
return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function O2e(e) {
+function D2e(e) {
var t = e.vertical, n = t === void 0 || t, r = e.verticalFill, i = e.fillOpacity, a = e.x, o = e.y, s = e.width, c = e.height, l = e.verticalPoints;
if (!n || !r || !r.length) return null;
var u = l.map((e) => Math.round(e + a - a)).sort((e, t) => e - t);
@@ -83561,10 +83576,10 @@ function O2e(e) {
});
return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, d);
}
-var k2e = (e, t) => {
+var O2e = (e, t) => {
var n = e.xAxis, r = e.width, i = e.height, a = e.offset;
- return aX(J3($3($3($3({}, Z3), n), {}, {
- ticks: oX(n, !0),
+ return oX(Y3(e6(e6(e6({}, Q3), n), {}, {
+ ticks: sX(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -83572,10 +83587,10 @@ var k2e = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, A2e = (e, t) => {
+}, k2e = (e, t) => {
var n = e.yAxis, r = e.width, i = e.height, a = e.offset;
- return aX(J3($3($3($3({}, Z3), n), {}, {
- ticks: oX(n, !0),
+ return oX(Y3(e6(e6(e6({}, Q3), n), {}, {
+ ticks: sX(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -83583,7 +83598,7 @@ var k2e = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, j2e = {
+}, A2e = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -83593,41 +83608,41 @@ var k2e = (e, t) => {
xAxisId: 0,
yAxisId: 0,
syncWithTicks: !1,
- zIndex: YQ.grid
+ zIndex: XQ.grid
};
-function M2e(e) {
- var t = UX(), n = WX(), r = HX(), i = $3($3({}, BK(e, j2e)), {}, {
- x: CG(e.x) ? e.x : r.left,
- y: CG(e.y) ? e.y : r.top,
- width: CG(e.width) ? e.width : r.width,
- height: CG(e.height) ? e.height : r.height
- }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = DX(), h = J((e) => xGe(e, "xAxis", a, m)), g = J((e) => xGe(e, "yAxis", o, m)), _ = p2e(), v = {
+function j2e(e) {
+ var t = WX(), n = GX(), r = UX(), i = e6(e6({}, VK(e, A2e)), {}, {
+ x: wG(e.x) ? e.x : r.left,
+ y: wG(e.y) ? e.y : r.top,
+ width: wG(e.width) ? e.width : r.width,
+ height: wG(e.height) ? e.height : r.height
+ }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = OX(), h = J((e) => bGe(e, "xAxis", a, m)), g = J((e) => bGe(e, "yAxis", o, m)), _ = f2e(), v = {
stroke: i.stroke ?? _.grid.stroke,
strokeWidth: i.strokeWidth ?? _.grid.strokeWidth,
strokeOpacity: i.strokeOpacity ?? _.grid.strokeOpacity,
strokeDasharray: i.strokeDasharray ?? _.grid.strokeDasharray
};
- if (!eX(l) || !eX(u) || !CG(s) || !CG(c)) return null;
- var y = i.verticalCoordinatesGenerator || k2e, x = i.horizontalCoordinatesGenerator || A2e, S = i.horizontalPoints, C = i.verticalPoints;
+ if (!tX(l) || !tX(u) || !wG(s) || !wG(c)) return null;
+ var y = i.verticalCoordinatesGenerator || O2e, x = i.horizontalCoordinatesGenerator || k2e, S = i.horizontalPoints, C = i.verticalPoints;
if ((!S || !S.length) && typeof x == "function") {
var w = f && f.length, T = x({
- yAxis: g ? $3($3({}, g), {}, { ticks: w ? f : g.ticks }) : void 0,
+ yAxis: g ? e6(e6({}, g), {}, { ticks: w ? f : g.ticks }) : void 0,
width: t ?? l,
height: n ?? u,
offset: r
}, w ? !0 : d);
- AX(Array.isArray(T), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof T}]`), Array.isArray(T) && (S = T);
+ jX(Array.isArray(T), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof T}]`), Array.isArray(T) && (S = T);
}
if ((!C || !C.length) && typeof y == "function") {
var E = p && p.length, D = y({
- xAxis: h ? $3($3({}, h), {}, { ticks: E ? p : h.ticks }) : void 0,
+ xAxis: h ? e6(e6({}, h), {}, { ticks: E ? p : h.ticks }) : void 0,
width: t ?? l,
height: n ?? u,
offset: r
}, E ? !0 : d);
- AX(Array.isArray(D), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof D}]`), Array.isArray(D) && (C = D);
+ jX(Array.isArray(D), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof D}]`), Array.isArray(D) && (C = D);
}
- return /*#__PURE__*/ b.createElement(o4, { zIndex: i.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ b.createElement(C2e, {
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: i.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ b.createElement(S2e, {
fill: i.fill ?? _.grid.fill,
fillOpacity: i.fillOpacity ?? _.grid.fillOpacity,
x: i.x,
@@ -83635,22 +83650,22 @@ function M2e(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ b.createElement(D2e, e6({}, i, { horizontalPoints: S })), /*#__PURE__*/ b.createElement(O2e, e6({}, i, { verticalPoints: C })), /*#__PURE__*/ b.createElement(T2e, e6({}, i, v, {
+ }), /*#__PURE__*/ b.createElement(E2e, t6({}, i, { horizontalPoints: S })), /*#__PURE__*/ b.createElement(D2e, t6({}, i, { verticalPoints: C })), /*#__PURE__*/ b.createElement(w2e, t6({}, i, v, {
offset: r,
horizontalPoints: S,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ b.createElement(E2e, e6({}, i, v, {
+ })), /*#__PURE__*/ b.createElement(T2e, t6({}, i, v, {
offset: r,
verticalPoints: C,
xAxis: h,
yAxis: g
}))));
}
-M2e.displayName = "CartesianGrid";
+j2e.displayName = "CartesianGrid";
//#endregion
//#region node_modules/recharts/es6/cartesian/LineDrawShape.js
-var N2e = [
+var M2e = [
"animationElapsedTime",
"isAnimating",
"isEntrance",
@@ -83658,25 +83673,25 @@ var N2e = [
"strokeDasharray",
"connectNulls"
];
-function n6() {
- return n6 = Object.assign ? Object.assign.bind() : function(e) {
+function r6() {
+ return r6 = 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;
- }, n6.apply(null, arguments);
+ }, r6.apply(null, arguments);
}
-function P2e(e, t) {
+function N2e(e, t) {
if (e == null) return {};
- var n, r, i = F2e(e, t);
+ var n, r, i = P2e(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 F2e(e, t) {
+function P2e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -83685,26 +83700,26 @@ function F2e(e, t) {
}
return n;
}
-function I2e(e) {
+function F2e(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function L2e(e, t) {
+function I2e(e, t) {
return `${t}px ${e}px`;
}
-function R2e(e) {
+function L2e(e) {
return e.length % 2 == 0 ? e : [...e, ...e];
}
-function z2e(e, t) {
+function R2e(e, t) {
for (var n = [], r = 0; r < t; ++r) n.push(...e);
return n;
}
-function B2e(e, t, n) {
- var r = R2e(n), i = r.reduce((e, t) => e + t, 0);
- if (!i) return L2e(t, e);
+function z2e(e, t, n) {
+ var r = L2e(n), i = r.reduce((e, t) => e + t, 0);
+ if (!i) return I2e(t, e);
for (var a = Math.floor(e / i), o = e % i, s = [], c = 0, l = 0; c < r.length; l += (u = r[c]) ?? 0, ++c) {
var u, d = r[c];
if (d != null && l + d > o) {
@@ -83714,39 +83729,39 @@ function B2e(e, t, n) {
}
var f = s.length % 2 == 0 ? [0, t] : [t];
return [
- ...z2e(r, a),
+ ...R2e(r, a),
...s,
...f
].map((e) => `${e}px`).join(", ");
}
-function V2e(e, t, n) {
- return e ? B2e(n, t, `${e}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : L2e(t, n);
+function B2e(e, t, n) {
+ return e ? z2e(n, t, `${e}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : I2e(t, n);
}
-function H2e(e) {
+function V2e(e) {
e.animationElapsedTime, e.isAnimating, e.isEntrance;
- var t = e.visibleLength, n = e.strokeDasharray, r = e.connectNulls, i = P2e(e, N2e), a = r ?? !1, o;
+ var t = e.visibleLength, n = e.strokeDasharray, r = e.connectNulls, i = N2e(e, M2e), a = r ?? !1, o;
if (t != null) {
var s = i.pathRef;
- o = V2e(n, I2e(s?.current ?? null), t);
+ o = B2e(n, F2e(s?.current ?? null), t);
} else n != null && (o = String(n));
- return /*#__PURE__*/ b.createElement(PZ, n6({}, i, {
+ return /*#__PURE__*/ b.createElement(FZ, r6({}, i, {
connectNulls: a,
strokeDasharray: o
}));
}
//#endregion
//#region node_modules/recharts/es6/cartesian/useAnimatedLineLength.js
-function U2e(e) {
+function H2e(e) {
var t = (0, b.useRef)(0), n = (0, b.useRef)(0), r = (0, b.useRef)(!1), i = (0, b.useRef)(e);
return i.current !== e && (t.current = n.current, i.current = e), (0, b.useCallback)((e, i) => {
if (r.current) return null;
- var a = Math.min(vG(t.current + e * i), i);
+ var a = Math.min(yG(t.current + e * i), i);
return e > 0 && i > 0 && (n.current = Math.max(n.current, a), a >= i) ? (r.current = !0, null) : a;
}, []);
}
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var W2e = CY({
+var U2e = wY({
name: "errorBars",
initialState: {},
reducers: {
@@ -83763,19 +83778,19 @@ var W2e = CY({
e[r] && (e[r] = e[r].filter((e) => e.dataKey !== i.dataKey || e.direction !== i.direction));
}
}
-}), r6 = W2e.actions;
-r6.addErrorBar, r6.replaceErrorBar, r6.removeErrorBar;
-var G2e = W2e.reducer, K2e = ["children"];
-function q2e(e, t) {
+}), i6 = U2e.actions;
+i6.addErrorBar, i6.replaceErrorBar, i6.removeErrorBar;
+var W2e = U2e.reducer, G2e = ["children"];
+function K2e(e, t) {
if (e == null) return {};
- var n, r, i = J2e(e, t);
+ var n, r, i = q2e(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 J2e(e, t) {
+function q2e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -83784,7 +83799,7 @@ function J2e(e, t) {
}
return n;
}
-var Y2e = /*#__PURE__*/ (0, b.createContext)({
+var J2e = /*#__PURE__*/ (0, b.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -83795,22 +83810,22 @@ var Y2e = /*#__PURE__*/ (0, b.createContext)({
}),
errorBarOffset: 0
});
-function X2e(e) {
- var t = e.children, n = q2e(e, K2e);
- return /*#__PURE__*/ b.createElement(Y2e.Provider, { value: n }, t);
+function Y2e(e) {
+ var t = e.children, n = K2e(e, G2e);
+ return /*#__PURE__*/ b.createElement(J2e.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
-function i6(e, t) {
- var n = J((t) => W0(t, e)), r = J((e) => K0(e, t)), i = n?.allowDataOverflow ?? U0.allowDataOverflow, a = r?.allowDataOverflow ?? G0.allowDataOverflow;
+function a6(e, t) {
+ var n = J((t) => G0(t, e)), r = J((e) => q0(e, t)), i = n?.allowDataOverflow ?? W0.allowDataOverflow, a = r?.allowDataOverflow ?? K0.allowDataOverflow;
return {
needClip: i || a,
needClipX: i,
needClipY: a
};
}
-function a6(e) {
- var t = e.xAxisId, n = e.yAxisId, r = e.clipPathId, i = x3(), a = i6(t, n), o = a.needClipX, s = a.needClipY, c = a.needClip, l = J((e) => rGe(e, t, !1)), u = J((e) => iGe(e, n, !1));
+function o6(e) {
+ var t = e.xAxisId, n = e.yAxisId, r = e.clipPathId, i = S3(), a = a6(t, n), o = a.needClipX, s = a.needClipY, c = a.needClip, l = J((e) => nGe(e, t, !1)), u = J((e) => rGe(e, n, !1));
if (!c || !i) return null;
var d = i.x, f = i.y, p = i.width, m = i.height, h = o && l ? Math.min(l[0], l[1]) : d - p / 2, g = s && u ? Math.min(u[0], u[1]) : f - m / 2, _ = o && l ? Math.abs(l[1] - l[0]) : p * 2, v = s && u ? Math.abs(u[1] - u[0]) : m * 2;
return /*#__PURE__*/ b.createElement("clipPath", { id: `clipPath-${r}` }, /*#__PURE__*/ b.createElement("rect", {
@@ -83822,30 +83837,30 @@ function a6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var Z2e = (e, t, n, r) => N2(e, "xAxis", t, r), Q2e = (e, t, n, r) => M2(e, "xAxis", t, r), $2e = (e, t, n, r) => N2(e, "yAxis", n, r), e4e = (e, t, n, r) => M2(e, "yAxis", n, r), t4e = Y([
- GX,
- Z2e,
- $2e,
+var X2e = (e, t, n, r) => P2(e, "xAxis", t, r), Z2e = (e, t, n, r) => N2(e, "xAxis", t, r), Q2e = (e, t, n, r) => P2(e, "yAxis", n, r), $2e = (e, t, n, r) => N2(e, "yAxis", n, r), e4e = Y([
+ KX,
+ X2e,
Q2e,
- e4e
-], (e, t, n, r, i) => iX(e, "xAxis") ? mX(t, r, !1) : mX(n, i, !1)), n4e = (e, t, n, r, i) => i;
-function r4e(e) {
+ Z2e,
+ $2e
+], (e, t, n, r, i) => aX(e, "xAxis") ? hX(t, r, !1) : hX(n, i, !1)), t4e = (e, t, n, r, i) => i;
+function n4e(e) {
return e.type === "line";
}
-var i4e = Y([
- GX,
+var r4e = Y([
+ KX,
+ X2e,
+ Q2e,
Z2e,
$2e,
- Q2e,
+ Y([Q0, t4e], (e, t) => e.filter(n4e).find((e) => e.id === t)),
e4e,
- Y([Z0, n4e], (e, t) => e.filter(r4e).find((e) => e.id === t)),
- t4e,
- xQ
+ SQ
], (e, t, n, r, i, a, o, s) => {
var c = s.chartData, l = s.dataStartIndex, u = s.dataEndIndex;
if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {
var d = a.dataKey, f = a.data, p = f != null && f.length > 0 ? f : c?.slice(l, u + 1);
- if (p != null) return E4e({
+ if (p != null) return T4e({
layout: e,
xAxis: t,
yAxis: n,
@@ -83859,8 +83874,8 @@ var i4e = Y([
});
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
-function a4e(e) {
- var t = aG(e), n = 3, r = 2;
+function i4e(e) {
+ var t = oG(e), n = 3, r = 2;
if (t != null) {
var i = t.r, a = t.strokeWidth, o = Number(i), s = Number(a);
return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {
@@ -83875,14 +83890,14 @@ function a4e(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var o4e = ["id"], s4e = [
+var a4e = ["id"], o4e = [
"type",
"layout",
"connectNulls",
"needClip",
"shape",
"strokeDasharray"
-], c4e = [
+], s4e = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -83898,25 +83913,25 @@ var o4e = ["id"], s4e = [
"yAxisId",
"id"
];
-function o6() {
- return o6 = Object.assign ? Object.assign.bind() : function(e) {
+function s6() {
+ return s6 = 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;
- }, o6.apply(null, arguments);
+ }, s6.apply(null, arguments);
}
-function s6(e, t) {
+function c6(e, t) {
if (e == null) return {};
- var n, r, i = l4e(e, t);
+ var n, r, i = c4e(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 l4e(e, t) {
+function c4e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -83925,7 +83940,7 @@ function l4e(e, t) {
}
return n;
}
-function u4e(e, t) {
+function l4e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -83935,30 +83950,30 @@ function u4e(e, t) {
}
return n;
}
-function c6(e) {
+function l6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? u4e(Object(n), !0).forEach(function(t) {
- d4e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u4e(Object(n)).forEach(function(t) {
+ t % 2 ? l4e(Object(n), !0).forEach(function(t) {
+ u4e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l4e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function d4e(e, t, n) {
- return (t = f4e(t)) in e ? Object.defineProperty(e, t, {
+function u4e(e, t, n) {
+ return (t = d4e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function f4e(e) {
- var t = p4e(e, "string");
+function d4e(e) {
+ var t = f4e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function p4e(e, t) {
+function f4e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -83968,19 +83983,19 @@ function p4e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function m4e(e) {
+function p4e(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function h4e(e) {
+function m4e(e) {
var t = 0, n = 0;
for (var r of e) r.status === "matched" && r.prev.x != null && r.next.x != null && (t += r.next.x - r.prev.x, n++);
return n > 0 ? t / n : 0;
}
-var l6 = {
+var u6 = {
activeDot: !0,
animateNewValues: !0,
animationBegin: 0,
@@ -83989,29 +84004,29 @@ var l6 = {
animationInterpolateFn: (e, t) => {
if (e == null) return [];
if (t === 1) return e.flatMap((e) => e.status === "removed" ? [] : [e.next]);
- var n = h4e(e), r = [];
- for (var i of e) if (i.status === "matched") r.push(c6(c6({}, i.next), {}, {
- x: OG(i.prev.x, i.next.x, t),
- y: OG(i.prev.y, i.next.y, t)
+ var n = m4e(e), r = [];
+ for (var i of e) if (i.status === "matched") r.push(l6(l6({}, i.next), {}, {
+ x: kG(i.prev.x, i.next.x, t),
+ y: kG(i.prev.y, i.next.y, t)
}));
else if (i.status === "added") {
if (i.next.x != null) {
var a = i.next.x - n;
- r.push(c6(c6({}, i.next), {}, {
- x: OG(a, i.next.x, t),
+ r.push(l6(l6({}, i.next), {}, {
+ x: kG(a, i.next.x, t),
y: i.next.y
}));
} else r.push(i.next);
} else if (i.status === "removed" && i.prev.x != null) {
var o = i.prev.x + n;
- r.push(c6(c6({}, i.prev), {}, {
- x: OG(i.prev.x, o, t),
+ r.push(l6(l6({}, i.prev), {}, {
+ x: kG(i.prev.x, o, t),
y: i.prev.y
}));
}
return r;
},
- animationMatchBy: s3,
+ animationMatchBy: c3,
connectNulls: !1,
dot: !0,
fill: "#fff",
@@ -84019,34 +84034,34 @@ var l6 = {
isAnimationActive: "auto",
label: !1,
legendType: "line",
- shape: H2e,
+ shape: V2e,
stroke: "#3182bd",
strokeWidth: 1,
xAxisId: 0,
yAxisId: 0,
- zIndex: YQ.line,
+ zIndex: XQ.line,
type: "linear"
-}, g4e = (e) => {
+}, h4e = (e) => {
var t = e.dataKey, n = e.name, r = e.stroke, i = e.legendType;
return [{
inactive: e.hide,
dataKey: t,
type: i,
color: r,
- value: gX(n, t),
+ value: _X(n, t),
payload: e
}];
-}, _4e = /*#__PURE__*/ b.memo((e) => {
+}, g4e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {
dataDefinedOnItem: n,
- getPosition: NG,
+ getPosition: PG,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: gX(o, t),
+ name: _X(o, t),
hide: s,
type: u,
color: r,
@@ -84055,13 +84070,13 @@ var l6 = {
graphicalItemId: d
}
};
- return /*#__PURE__*/ b.createElement(a3, { tooltipEntrySettings: f });
+ return /*#__PURE__*/ b.createElement(o3, { tooltipEntrySettings: f });
});
-function v4e(e) {
+function _4e(e) {
var t = e.clipPathId, n = e.points, r = e.props, i = r.dot, a = r.dataKey, o = r.needClip;
r.id;
- var s = iG(s6(r, o4e));
- return /*#__PURE__*/ b.createElement(v3, {
+ var s = aG(c6(r, a4e));
+ return /*#__PURE__*/ b.createElement(y3, {
points: n,
dot: i,
className: "recharts-line-dots",
@@ -84072,7 +84087,7 @@ function v4e(e) {
clipPathId: t
});
}
-function y4e(e) {
+function v4e(e) {
var t = e.showLabels, n = e.children, r = e.points, i = (0, b.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -84082,7 +84097,7 @@ function y4e(e) {
upperWidth: 0,
height: 0
};
- return c6(c6({}, t), {}, {
+ return l6(l6({}, t), {}, {
value: e.value,
payload: e.payload,
viewBox: t,
@@ -84090,10 +84105,10 @@ function y4e(e) {
fill: void 0
});
}), [r]);
- return /*#__PURE__*/ b.createElement(O4, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ b.createElement(k4, { value: t ? i : void 0 }, n);
}
-function b4e(e) {
- var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = c6(c6({}, oG(s6(i, s4e))), {}, {
+function y4e(e) {
+ var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = l6(l6({}, sG(c6(i, o4e))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: f ? `url(#clipPath-${t})` : void 0,
@@ -84108,22 +84123,22 @@ function b4e(e) {
isEntrance: i.animateNewValues ? s : !1,
visibleLength: c
});
- return /*#__PURE__*/ b.createElement(b.Fragment, null, r?.length > 1 && /*#__PURE__*/ b.createElement(t3, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, r?.length > 1 && /*#__PURE__*/ b.createElement(n3, {
option: p,
- DefaultShape: l6.shape,
+ DefaultShape: u6.shape,
shapeProps: h
- }), /*#__PURE__*/ b.createElement(v4e, {
+ }), /*#__PURE__*/ b.createElement(_4e, {
points: r,
clipPathId: t,
props: i
}));
}
-function x4e(e) {
- var t = e.clipPathId, n = e.props, r = e.pathRef, i = e.previousPointsRef, a = n.points, o = n.isAnimationActive, s = n.animationBegin, c = n.animationDuration, l = n.animationEasing, u = n.animationMatchBy, d = n.animationInterpolateFn, f = n.layout, p = m4e(r.current), m = d3(n.onAnimationStart, n.onAnimationEnd), h = m.isAnimating, g = m.handleAnimationStart, _ = m.handleAnimationEnd, v = !h, y = U2e(a), x = (0, b.useCallback)((e) => e > 0 && p > 0, [p]);
- return /*#__PURE__*/ b.createElement(y4e, {
+function b4e(e) {
+ var t = e.clipPathId, n = e.props, r = e.pathRef, i = e.previousPointsRef, a = n.points, o = n.isAnimationActive, s = n.animationBegin, c = n.animationDuration, l = n.animationEasing, u = n.animationMatchBy, d = n.animationInterpolateFn, f = n.layout, p = p4e(r.current), m = f3(n.onAnimationStart, n.onAnimationEnd), h = m.isAnimating, g = m.handleAnimationStart, _ = m.handleAnimationEnd, v = !h, y = H2e(a), x = (0, b.useCallback)((e) => e > 0 && p > 0, [p]);
+ return /*#__PURE__*/ b.createElement(v4e, {
points: a,
showLabels: v
- }, n.children, /*#__PURE__*/ b.createElement(f3, {
+ }, n.children, /*#__PURE__*/ b.createElement(p3, {
animationInput: a,
animationIdPrefix: "recharts-line-",
items: a,
@@ -84140,7 +84155,7 @@ function x4e(e) {
layout: f
}, (e, i, a) => {
var o = h || i < 1, s = o ? y(i, p) : null;
- return /*#__PURE__*/ b.createElement(b4e, {
+ return /*#__PURE__*/ b.createElement(y4e, {
props: n,
points: e,
clipPathId: t,
@@ -84150,28 +84165,28 @@ function x4e(e) {
isEntrance: a,
visibleLength: s
});
- }), /*#__PURE__*/ b.createElement(A4, { label: n.label }));
+ }), /*#__PURE__*/ b.createElement(j4, { label: n.label }));
}
-function S4e(e) {
+function x4e(e) {
var t = e.clipPathId, n = e.props, r = (0, b.useRef)(null), i = (0, b.useRef)(null);
- return /*#__PURE__*/ b.createElement(x4e, {
+ return /*#__PURE__*/ b.createElement(b4e, {
props: n,
clipPathId: t,
previousPointsRef: r,
pathRef: i
});
}
-var C4e = (e, t) => ({
+var S4e = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
- errorVal: rX(e.payload, t)
-}), w4e = class extends b.Component {
+ errorVal: iX(e.payload, t)
+}), C4e = class extends b.Component {
render() {
var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.top, c = e.left, l = e.width, u = e.height, d = e.id, f = e.needClip, p = e.zIndex;
if (t) return null;
- var m = Cv("recharts-line", i), h = d, g = a4e(n), _ = g.r, v = g.strokeWidth, y = e3(n), x = _ * 2 + v, S = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ b.createElement(o4, { zIndex: p }, /*#__PURE__*/ b.createElement(uG, { className: m }, f && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(a6, {
+ var m = Cv("recharts-line", i), h = d, g = i4e(n), _ = g.r, v = g.strokeWidth, y = t3(n), x = _ * 2 + v, S = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: p }, /*#__PURE__*/ b.createElement(dG, { className: m }, f && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(o6, {
clipPathId: h,
xAxisId: a,
yAxisId: o
@@ -84180,16 +84195,16 @@ var C4e = (e, t) => ({
y: s - x / 2,
width: l + x,
height: u + x
- }))), /*#__PURE__*/ b.createElement(X2e, {
+ }))), /*#__PURE__*/ b.createElement(Y2e, {
xAxisId: a,
yAxisId: o,
data: r,
- dataPointFormatter: C4e,
+ dataPointFormatter: S4e,
errorBarOffset: 0
- }, /*#__PURE__*/ b.createElement(S4e, {
+ }, /*#__PURE__*/ b.createElement(x4e, {
props: this.props,
clipPathId: h
- }))), /*#__PURE__*/ b.createElement(C3, {
+ }))), /*#__PURE__*/ b.createElement(w3, {
activeDot: this.props.activeDot,
points: r,
mainColor: this.props.stroke,
@@ -84198,11 +84213,11 @@ var C4e = (e, t) => ({
}));
}
};
-function T4e(e) {
- var t = BK(e, l6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = s6(t, c4e), _ = i6(p, m).needClip, v = x3(), y = KX(), x = DX(), S = J((e) => i4e(e, p, m, x, h));
+function w4e(e) {
+ var t = VK(e, u6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = c6(t, s4e), _ = a6(p, m).needClip, v = S3(), y = qX(), x = OX(), S = J((e) => r4e(e, p, m, x, h));
if (y !== "horizontal" && y !== "vertical" || S == null || v == null) return null;
var C = v.height, w = v.width, T = v.x, E = v.y;
- return /*#__PURE__*/ b.createElement(w4e, o6({}, g, {
+ return /*#__PURE__*/ b.createElement(C4e, s6({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -84226,23 +84241,23 @@ function T4e(e) {
needClip: _
}));
}
-function E4e(e) {
+function T4e(e) {
var t = e.layout, n = e.xAxis, r = e.yAxis, i = e.xAxisTicks, a = e.yAxisTicks, o = e.dataKey, s = e.bandSize;
return e.displayedData.map((e, c) => {
- var l = rX(e, o);
+ var l = iX(e, o);
if (t === "horizontal") return {
- x: lX({
+ x: uX({
axis: n,
ticks: i,
bandSize: s,
entry: e,
index: c
}),
- y: (AG(l) ? null : r.scale.map(l)) ?? null,
+ y: (jG(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = AG(l) ? null : n.scale.map(l), d = lX({
+ var u = jG(l) ? null : n.scale.map(l), d = uX({
axis: r,
ticks: a,
bandSize: s,
@@ -84257,12 +84272,12 @@ function E4e(e) {
};
}).filter(Boolean);
}
-function D4e(e) {
- var t = BK(e, l6), n = DX();
- return /*#__PURE__*/ b.createElement(p3, {
+function E4e(e) {
+ var t = VK(e, u6), n = OX();
+ return /*#__PURE__*/ b.createElement(m3, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(o3, { legendPayload: g4e(t) }), /*#__PURE__*/ b.createElement(_4e, {
+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(s3, { legendPayload: h4e(t) }), /*#__PURE__*/ b.createElement(g4e, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -84274,7 +84289,7 @@ function D4e(e) {
formatter: t.formatter,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ b.createElement(h3, {
+ }), /*#__PURE__*/ b.createElement(g3, {
type: "line",
id: e,
data: t.data,
@@ -84284,56 +84299,56 @@ function D4e(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ b.createElement(T4e, o6({}, t, { id: e }))));
+ }), /*#__PURE__*/ b.createElement(w4e, s6({}, t, { id: e }))));
}
-var O4e = /*#__PURE__*/ b.memo(D4e, aZ);
-O4e.displayName = "Line";
+var D4e = /*#__PURE__*/ b.memo(E4e, oZ);
+D4e.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
-function u6(e, t) {
+function d6(e, t) {
return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.xAxisId ?? 0;
}
-function d6(e, t) {
+function f6(e, t) {
return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.yAxisId ?? 0;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var k4e = (e, t, n) => N2(e, "xAxis", u6(e, t), n), A4e = (e, t, n) => M2(e, "xAxis", u6(e, t), n), j4e = (e, t, n) => N2(e, "yAxis", d6(e, t), n), M4e = (e, t, n) => M2(e, "yAxis", d6(e, t), n), N4e = Y([
- GX,
+var O4e = (e, t, n) => P2(e, "xAxis", d6(e, t), n), k4e = (e, t, n) => N2(e, "xAxis", d6(e, t), n), A4e = (e, t, n) => P2(e, "yAxis", f6(e, t), n), j4e = (e, t, n) => N2(e, "yAxis", f6(e, t), n), M4e = Y([
+ KX,
+ O4e,
+ A4e,
k4e,
- j4e,
+ j4e
+], (e, t, n, r, i) => aX(e, "xAxis") ? hX(t, r, !1) : hX(n, i, !1)), p6 = Y([Q0, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), N4e = (e) => aX(KX(e), "xAxis") ? "yAxis" : "xAxis", P4e = (e, t) => N4e(e) === "yAxis" ? f6(e, t) : d6(e, t), F4e = (e, t, n) => u2(e, N4e(e), P4e(e, t), n), I4e = Y([
+ KX,
+ O4e,
A4e,
- M4e
-], (e, t, n, r, i) => iX(e, "xAxis") ? mX(t, r, !1) : mX(n, i, !1)), f6 = Y([Z0, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), P4e = (e) => iX(GX(e), "xAxis") ? "yAxis" : "xAxis", F4e = (e, t) => P4e(e) === "yAxis" ? d6(e, t) : u6(e, t), I4e = (e, t, n) => l2(e, P4e(e), F4e(e, t), n), L4e = Y([
- GX,
k4e,
j4e,
- A4e,
- M4e,
- Y([f6, I4e], (e, t) => {
+ Y([p6, F4e], (e, t) => {
if (e != null && t != null) {
- var n = e.stackId, r = h$(e);
+ var n = e.stackId, r = g$(e);
if (n != null && r != null) {
var i = (t[n]?.stackedData)?.find((e) => e.key === r);
if (i != null) return i.map((e) => [e[0], e[1]]);
}
}
}),
- SQ,
- N4e,
- f6,
- CBe,
- Y([f6, I4e], (e, t) => {
+ CQ,
+ M4e,
+ p6,
+ SBe,
+ Y([p6, F4e], (e, t) => {
if (e != null && e.stackId != null && t != null) {
var n = t[e.stackId];
- if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(MG);
+ if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(NG);
}
})
], (e, t, n, r, i, a, o, s, c, l, u) => {
var d = o.chartData, f = o.dataStartIndex, p = o.dataEndIndex;
if (!(c == null || e !== "horizontal" && e !== "vertical" || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || s == null)) {
var m = c.data, h = m && m.length > 0 ? m : d?.slice(f, p + 1);
- if (h != null) return f3e({
+ if (h != null) return d3e({
layout: e,
xAxis: t,
yAxis: n,
@@ -84348,7 +84363,7 @@ var k4e = (e, t, n) => N2(e, "xAxis", u6(e, t), n), A4e = (e, t, n) => M2(e, "xA
stackDataKeys: u
});
}
-}), R4e = [
+}), L4e = [
"animationElapsedTime",
"isAnimating",
"isEntrance",
@@ -84356,26 +84371,26 @@ var k4e = (e, t, n) => N2(e, "xAxis", u6(e, t), n), A4e = (e, t, n) => M2(e, "xA
"isRange",
"stroke",
"connectNulls"
-], z4e = ["id", "baseLine"];
-function p6() {
- return p6 = Object.assign ? Object.assign.bind() : function(e) {
+], R4e = ["id", "baseLine"];
+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 B4e(e, t) {
+function z4e(e, t) {
if (e == null) return {};
- var n, r, i = V4e(e, t);
+ var n, r, i = B4e(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 V4e(e, t) {
+function B4e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -84384,51 +84399,51 @@ function V4e(e, t) {
}
return n;
}
-function H4e(e) {
+function V4e(e) {
var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.x, o = r[r.length - 1]?.x;
- if (!$Y(a) || !$Y(o)) return null;
+ if (!eX(a) || !eX(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
- return CG(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), CG(c) ? /*#__PURE__*/ b.createElement("rect", {
+ return wG(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), wG(c) ? /*#__PURE__*/ b.createElement("rect", {
x: a < o ? a : a - s,
y: 0,
width: s,
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function U4e(e) {
+function H4e(e) {
var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.y, o = r[r.length - 1]?.y;
- if (!$Y(a) || !$Y(o)) return null;
+ if (!eX(a) || !eX(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
- return CG(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), CG(c) ? /*#__PURE__*/ b.createElement("rect", {
+ return wG(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), wG(c) ? /*#__PURE__*/ b.createElement("rect", {
x: 0,
y: a < o ? a : a - s,
width: c + (i ? parseInt(`${i}`, 10) : 1),
height: Math.floor(s)
}) : null;
}
-function W4e(e) {
+function U4e(e) {
var t = e.alpha, n = e.layout, r = e.points, i = e.baseLine, a = e.strokeWidth;
- return n === "vertical" ? /*#__PURE__*/ b.createElement(U4e, {
+ return n === "vertical" ? /*#__PURE__*/ b.createElement(H4e, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ b.createElement(H4e, {
+ }) : /*#__PURE__*/ b.createElement(V4e, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function G4e(e) {
- var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = B4e(e, R4e), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = fQe(), h = d.id, g = d.baseLine, _ = iG(B4e(d, z4e)), v = /*#__PURE__*/ b.createElement(PZ, p6({}, d, {
+function W4e(e) {
+ var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = z4e(e, L4e), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = dQe(), h = d.id, g = d.baseLine, _ = aG(z4e(d, R4e)), v = /*#__PURE__*/ b.createElement(FZ, m6({}, d, {
id: h,
baseLine: g,
connectNulls: p,
stroke: "none",
className: "recharts-area-area",
layout: f
- })), y = l !== "none" && /*#__PURE__*/ b.createElement(PZ, p6({}, _, {
+ })), y = l !== "none" && /*#__PURE__*/ b.createElement(FZ, m6({}, _, {
className: "recharts-area-curve",
layout: f,
type: d.type,
@@ -84436,7 +84451,7 @@ function G4e(e) {
fill: "none",
stroke: l,
points: d.points
- })), x = l !== "none" && c && Array.isArray(g) && /*#__PURE__*/ b.createElement(PZ, p6({}, _, {
+ })), x = l !== "none" && c && Array.isArray(g) && /*#__PURE__*/ b.createElement(FZ, m6({}, _, {
className: "recharts-area-curve",
layout: f,
type: d.type,
@@ -84445,17 +84460,17 @@ function G4e(e) {
stroke: l,
points: g
}));
- return o && (i || n < 1) ? /*#__PURE__*/ b.createElement(uG, null, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: m }, /*#__PURE__*/ b.createElement(W4e, {
+ return o && (i || n < 1) ? /*#__PURE__*/ b.createElement(dG, null, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: m }, /*#__PURE__*/ b.createElement(U4e, {
alpha: n,
points: d.points ?? [],
baseLine: g,
layout: f,
strokeWidth: d.strokeWidth
- }))), /*#__PURE__*/ b.createElement(uG, { clipPath: `url(#${m})` }, v, y, x)) : /*#__PURE__*/ b.createElement(b.Fragment, null, v, y, x);
+ }))), /*#__PURE__*/ b.createElement(dG, { clipPath: `url(#${m})` }, v, y, x)) : /*#__PURE__*/ b.createElement(b.Fragment, null, v, y, x);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Area.js
-var K4e = ["id"], q4e = [
+var G4e = ["id"], K4e = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -84471,25 +84486,25 @@ var K4e = ["id"], q4e = [
"xAxisId",
"yAxisId"
];
-function m6() {
- return m6 = Object.assign ? Object.assign.bind() : function(e) {
+function h6() {
+ return h6 = 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;
- }, m6.apply(null, arguments);
+ }, h6.apply(null, arguments);
}
-function J4e(e, t) {
+function q4e(e, t) {
if (e == null) return {};
- var n, r, i = Y4e(e, t);
+ var n, r, i = J4e(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 Y4e(e, t) {
+function J4e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -84498,7 +84513,7 @@ function Y4e(e, t) {
}
return n;
}
-function X4e(e, t) {
+function Y4e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -84508,30 +84523,30 @@ function X4e(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 ? X4e(Object(n), !0).forEach(function(t) {
- Z4e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X4e(Object(n)).forEach(function(t) {
+ t % 2 ? Y4e(Object(n), !0).forEach(function(t) {
+ X4e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y4e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Z4e(e, t, n) {
- return (t = Q4e(t)) in e ? Object.defineProperty(e, t, {
+function X4e(e, t, n) {
+ return (t = Z4e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Q4e(e) {
- var t = $4e(e, "string");
+function Z4e(e) {
+ var t = Q4e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $4e(e, t) {
+function Q4e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -84541,15 +84556,15 @@ function $4e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var e3e = {
+var $4e = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease",
- animationMatchBy: s3,
- animationInterpolateFn: (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "matched" ? [h6(h6({}, e.next), {}, {
- x: OG(e.prev.x, e.next.x, t),
- y: OG(e.prev.y, e.next.y, t)
+ animationMatchBy: c3,
+ animationInterpolateFn: (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "matched" ? [g6(g6({}, e.next), {}, {
+ x: kG(e.prev.x, e.next.x, t),
+ y: kG(e.prev.y, e.next.y, t)
})] : e.status === "added" ? [e.next] : []),
connectNulls: !1,
dot: !1,
@@ -84562,48 +84577,48 @@ var e3e = {
strokeWidth: 1,
type: "linear",
label: !1,
- shape: G4e,
+ shape: W4e,
xAxisId: 0,
yAxisId: 0,
- zIndex: YQ.area
+ zIndex: XQ.area
};
-function g6(e, t) {
+function _6(e, t) {
return e && e !== "none" ? e : t;
}
-var t3e = (e) => {
+var e3e = (e) => {
var t = e.dataKey, n = e.name, r = e.stroke, i = e.fill, a = e.legendType;
return [{
inactive: e.hide,
dataKey: t,
type: a,
- color: g6(r, i),
- value: gX(n, t),
+ color: _6(r, i),
+ value: _X(n, t),
payload: e
}];
-}, n3e = /*#__PURE__*/ b.memo((e) => {
+}, t3e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {
dataDefinedOnItem: n,
- getPosition: NG,
+ getPosition: PG,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: gX(o, t),
+ name: _X(o, t),
hide: s,
type: u,
- color: g6(r, a),
+ color: _6(r, a),
unit: c,
formatter: l,
graphicalItemId: d
}
};
- return /*#__PURE__*/ b.createElement(a3, { tooltipEntrySettings: f });
+ return /*#__PURE__*/ b.createElement(o3, { tooltipEntrySettings: f });
});
-function r3e(e) {
- var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = iG(r);
- return /*#__PURE__*/ b.createElement(v3, {
+function n3e(e) {
+ var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = aG(r);
+ return /*#__PURE__*/ b.createElement(y3, {
points: n,
dot: a,
className: "recharts-area-dots",
@@ -84614,7 +84629,7 @@ function r3e(e) {
clipPathId: t
});
}
-function i3e(e) {
+function r3e(e) {
var t = e.showLabels, n = e.children, r = e.points.map((e) => {
var t = {
x: e.x ?? 0,
@@ -84624,7 +84639,7 @@ function i3e(e) {
upperWidth: 0,
height: 0
};
- return h6(h6({}, t), {}, {
+ return g6(g6({}, t), {}, {
value: e.value,
payload: e.payload,
parentViewBox: void 0,
@@ -84632,10 +84647,10 @@ function i3e(e) {
fill: void 0
});
});
- return /*#__PURE__*/ b.createElement(O4, { value: t ? r : void 0 }, n);
+ return /*#__PURE__*/ b.createElement(k4, { value: t ? r : void 0 }, n);
}
-function a3e(e) {
- var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = J4e(a, K4e), _ = h6(h6({}, oG(g)), {}, {
+function i3e(e) {
+ var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = q4e(a, G4e), _ = g6(g6({}, sG(g)), {}, {
id: h,
points: t,
connectNulls: f,
@@ -84648,27 +84663,27 @@ function a3e(e) {
isAnimating: s,
isEntrance: c
});
- return /*#__PURE__*/ b.createElement(b.Fragment, null, t?.length > 1 && /*#__PURE__*/ b.createElement(uG, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ b.createElement(t3, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, t?.length > 1 && /*#__PURE__*/ b.createElement(dG, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ b.createElement(n3, {
option: m,
- DefaultShape: e3e.shape,
+ DefaultShape: $4e.shape,
shapeProps: _
- })), /*#__PURE__*/ b.createElement(r3e, {
+ })), /*#__PURE__*/ b.createElement(n3e, {
points: t,
props: g,
clipPathId: i
}));
}
-function o3e(e, t, n) {
- return CG(e) ? OG(CG(t) ? t : void 0, e, n) : AG(e) || xG(e) ? OG(CG(t) ? t : void 0, 0, n) : e;
+function a3e(e, t, n) {
+ return wG(e) ? kG(wG(t) ? t : void 0, e, n) : jG(e) || SG(e) ? kG(wG(t) ? t : void 0, 0, n) : e;
}
-function s3e(e) {
+function o3e(e) {
var t = e.needClip, n = e.clipPathId, r = e.props, i = e.previousPointsRef, a = e.previousBaselineRef, o = r.points, s = r.baseLine, c = r.isAnimationActive, l = r.animationBegin, u = r.animationDuration, d = r.animationEasing, f = r.animationMatchBy, p = r.animationInterpolateFn, m = (0, b.useMemo)(() => ({
points: o,
baseLine: s
- }), [o, s]), h = u3(m, a), g = qX(), _ = d3(r.onAnimationStart, r.onAnimationEnd), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = h.startValue;
+ }), [o, s]), h = d3(m, a), g = JX(), _ = f3(r.onAnimationStart, r.onAnimationEnd), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = h.startValue;
if (g == null) return null;
- var C = Array.isArray(s) && Array.isArray(S) ? l3(S, s, f) : Array.isArray(s) ? l3(null, s, f) : null;
- return /*#__PURE__*/ b.createElement(f3, {
+ var C = Array.isArray(s) && Array.isArray(S) ? u3(S, s, f) : Array.isArray(s) ? u3(null, s, f) : null;
+ return /*#__PURE__*/ b.createElement(p3, {
animationInput: m,
animationIdPrefix: "recharts-area-",
items: o,
@@ -84683,11 +84698,11 @@ function s3e(e) {
animationMatchBy: f,
layout: g
}, (e, i, a) => {
- var c = i === 1 ? s : Array.isArray(s) ? p(C, i, g) : a ? s : o3e(s, S, i);
- return h.syncStepValue(c, i), /*#__PURE__*/ b.createElement(i3e, {
+ var c = i === 1 ? s : Array.isArray(s) ? p(C, i, g) : a ? s : a3e(s, S, i);
+ return h.syncStepValue(c, i), /*#__PURE__*/ b.createElement(r3e, {
showLabels: !v,
points: o
- }, r.children, /*#__PURE__*/ b.createElement(a3e, {
+ }, r.children, /*#__PURE__*/ b.createElement(i3e, {
points: e,
baseLine: c,
needClip: t,
@@ -84696,12 +84711,12 @@ function s3e(e) {
animationElapsedTime: i,
isAnimating: v || i < 1,
isEntrance: a
- }), /*#__PURE__*/ b.createElement(A4, { label: r.label }));
+ }), /*#__PURE__*/ b.createElement(j4, { label: r.label }));
});
}
-function c3e(e) {
+function s3e(e) {
var t = e.needClip, n = e.clipPathId, r = e.props, i = (0, b.useRef)(null), a = (0, b.useRef)();
- return /*#__PURE__*/ b.createElement(s3e, {
+ return /*#__PURE__*/ b.createElement(o3e, {
needClip: t,
clipPathId: n,
props: r,
@@ -84709,12 +84724,12 @@ function c3e(e) {
previousBaselineRef: a
});
}
-var l3e = class extends b.PureComponent {
+var c3e = class extends b.PureComponent {
render() {
var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.top, o = e.left, s = e.needClip, c = e.xAxisId, l = e.yAxisId, u = e.width, d = e.height, f = e.id, p = e.baseLine, m = e.zIndex;
if (t) return null;
- var h = Cv("recharts-area", i), g = f, _ = a4e(n), v = _.r, y = _.strokeWidth, x = e3(n), S = v * 2 + y, C = s ? `url(#clipPath-${x ? "" : "dots-"}${g})` : void 0;
- return /*#__PURE__*/ b.createElement(o4, { zIndex: m }, /*#__PURE__*/ b.createElement(uG, { className: h }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(a6, {
+ var h = Cv("recharts-area", i), g = f, _ = i4e(n), v = _.r, y = _.strokeWidth, x = t3(n), S = v * 2 + y, C = s ? `url(#clipPath-${x ? "" : "dots-"}${g})` : void 0;
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: m }, /*#__PURE__*/ b.createElement(dG, { className: h }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(o6, {
clipPathId: g,
xAxisId: c,
yAxisId: l
@@ -84723,30 +84738,30 @@ var l3e = class extends b.PureComponent {
y: a - S / 2,
width: u + S,
height: d + S
- }))), /*#__PURE__*/ b.createElement(c3e, {
+ }))), /*#__PURE__*/ b.createElement(s3e, {
needClip: s,
clipPathId: g,
props: this.props
- })), /*#__PURE__*/ b.createElement(C3, {
+ })), /*#__PURE__*/ b.createElement(w3, {
points: r,
- mainColor: g6(this.props.stroke, this.props.fill),
+ mainColor: _6(this.props.stroke, this.props.fill),
itemDataKey: this.props.dataKey,
activeDot: this.props.activeDot,
clipPath: C
- }), this.props.isRange && Array.isArray(p) && /*#__PURE__*/ b.createElement(C3, {
+ }), this.props.isRange && Array.isArray(p) && /*#__PURE__*/ b.createElement(w3, {
points: p,
- mainColor: g6(this.props.stroke, this.props.fill),
+ mainColor: _6(this.props.stroke, this.props.fill),
itemDataKey: this.props.dataKey,
activeDot: this.props.activeDot,
clipPath: C
}));
}
};
-function u3e(e) {
- var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = J4e(e, q4e), g = KX(), _ = QKe(), v = i6(p, m).needClip, y = DX(), x = J((t) => L4e(t, e.id, y)) ?? {}, S = x.points, C = x.isRange, w = x.baseLine, T = x3();
+function l3e(e) {
+ var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = q4e(e, K4e), g = qX(), _ = ZKe(), v = a6(p, m).needClip, y = OX(), x = J((t) => I4e(t, e.id, y)) ?? {}, S = x.points, C = x.isRange, w = x.baseLine, T = S3();
if (g !== "horizontal" && g !== "vertical" || T == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
var E = T.height, D = T.width, O = T.x, k = T.y;
- return !S || !S.length ? null : /*#__PURE__*/ b.createElement(l3e, m6({}, h, {
+ return !S || !S.length ? null : /*#__PURE__*/ b.createElement(c3e, h6({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -84772,9 +84787,9 @@ function u3e(e) {
yAxisId: m
}));
}
-var d3e = (e, t, n, r, i) => {
+var u3e = (e, t, n, r, i) => {
var a = n ?? t;
- if (CG(a)) return a;
+ if (wG(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
if (o.type === "number") {
var c = Math.max(s[0], s[1]), l = Math.min(s[0], s[1]);
@@ -84782,17 +84797,17 @@ var d3e = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function f3e(e) {
- var t = e.areaSettings, n = t.connectNulls, r = t.baseValue, i = t.dataKey, a = e.stackedData, o = e.layout, s = e.chartBaseValue, c = e.xAxis, l = e.yAxis, u = e.displayedData, d = e.dataStartIndex, f = e.xAxisTicks, p = e.yAxisTicks, m = e.bandSize, h = e.stackDataKeys, g = a && a.length, _ = d3e(o, s, r, c, l), v = o === "horizontal", y = !1, b = u.map((e, t) => {
+function d3e(e) {
+ var t = e.areaSettings, n = t.connectNulls, r = t.baseValue, i = t.dataKey, a = e.stackedData, o = e.layout, s = e.chartBaseValue, c = e.xAxis, l = e.yAxis, u = e.displayedData, d = e.dataStartIndex, f = e.xAxisTicks, p = e.yAxisTicks, m = e.bandSize, h = e.stackDataKeys, g = a && a.length, _ = u3e(o, s, r, c, l), v = o === "horizontal", y = !1, b = u.map((e, t) => {
var r;
if (g) r = a[d + t];
else {
- var o = rX(e, i);
+ var o = iX(e, i);
Array.isArray(o) ? (r = o, y = !0) : r = [_, o];
}
- var s = r?.[1] ?? null, u = rX(e, i), b = g && u == null && h != null && h.length > 0 && h.every((t) => rX(e, t) == null), x = s == null || g && !n && u == null || b;
+ var s = r?.[1] ?? null, u = iX(e, i), b = g && u == null && h != null && h.length > 0 && h.every((t) => iX(e, t) == null), x = s == null || g && !n && u == null || b;
return v ? {
- x: lX({
+ x: uX({
axis: c,
ticks: f,
bandSize: m,
@@ -84804,7 +84819,7 @@ function f3e(e) {
payload: e
} : {
x: x ? null : c.scale.map(s) ?? null,
- y: lX({
+ y: uX({
axis: l,
ticks: p,
bandSize: m,
@@ -84832,12 +84847,12 @@ function f3e(e) {
isRange: y
};
}
-function p3e(e) {
- var t = BK(e, e3e), n = DX();
- return /*#__PURE__*/ b.createElement(p3, {
+function f3e(e) {
+ var t = VK(e, $4e), n = OX();
+ return /*#__PURE__*/ b.createElement(m3, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(o3, { legendPayload: t3e(t) }), /*#__PURE__*/ b.createElement(n3e, {
+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(s3, { legendPayload: e3e(t) }), /*#__PURE__*/ b.createElement(t3e, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -84849,7 +84864,7 @@ function p3e(e) {
formatter: t.formatter,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ b.createElement(h3, {
+ }), /*#__PURE__*/ b.createElement(g3, {
type: "area",
id: e,
data: t.data,
@@ -84857,35 +84872,35 @@ function p3e(e) {
xAxisId: t.xAxisId,
yAxisId: t.yAxisId,
zAxisId: 0,
- stackId: cX(t.stackId),
+ stackId: lX(t.stackId),
hide: t.hide,
barSize: void 0,
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ b.createElement(u3e, m6({}, t, { id: e }))));
+ }), /*#__PURE__*/ b.createElement(l3e, h6({}, t, { id: e }))));
}
-var m3e = /*#__PURE__*/ b.memo(p3e, aZ);
-m3e.displayName = "Area";
+var p3e = /*#__PURE__*/ b.memo(f3e, oZ);
+p3e.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var h3e = "Invariant failed";
-function g3e(e, t) {
- if (!e) throw Error(h3e);
+var m3e = "Invariant failed";
+function h3e(e, t) {
+ if (!e) throw Error(m3e);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
-var _3e = ["option"];
-function v3e(e, t) {
+var g3e = ["option"];
+function _3e(e, t) {
if (e == null) return {};
- var n, r, i = y3e(e, t);
+ var n, r, i = v3e(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 y3e(e, t) {
+function v3e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -84894,92 +84909,92 @@ function y3e(e, t) {
}
return n;
}
-var _6 = aQ;
-function v6(e) {
- var t = e.option, n = v3e(e, _3e);
- return /*#__PURE__*/ b.createElement(t3, {
+var v6 = oQ;
+function y6(e) {
+ var t = e.option, n = _3e(e, g3e);
+ return /*#__PURE__*/ b.createElement(n3, {
option: t,
- DefaultShape: _6,
+ DefaultShape: v6,
shapeProps: n,
activeClassName: "recharts-active-bar",
inActiveClassName: "recharts-inactive-bar"
});
}
-var b3e = function(e) {
+var y3e = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
return (n, r) => {
- if (CG(e)) return e;
- var i = CG(n) || AG(n);
- return i ? e(n, r) : (!i && g3e(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
- };
-}, x3e = (e, t, n) => n, y6 = Y([Z0, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), S3e = Y([y6], (e) => e?.maxBarSize), C3e = (e, t, n, r) => r, w3e = Y([
- GX,
- Z0,
- u6,
+ if (wG(e)) return e;
+ var i = wG(n) || jG(n);
+ return i ? e(n, r) : (!i && h3e(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
+ };
+}, b3e = (e, t, n) => n, b6 = Y([Q0, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), x3e = Y([b6], (e) => e?.maxBarSize), S3e = (e, t, n, r) => r, C3e = Y([
+ KX,
+ Q0,
d6,
- x3e
-], (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")), T3e = (e, t, n) => {
- var r = GX(e), i = u6(e, t), a = d6(e, t);
- if (i != null && a != null) return r === "horizontal" ? l2(e, "yAxis", a, n) : l2(e, "xAxis", i, n);
-}, E3e = Y([
- w3e,
- HQ,
+ f6,
+ b3e
+], (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")), w3e = (e, t, n) => {
+ var r = KX(e), i = d6(e, t), a = f6(e, t);
+ if (i != null && a != null) return r === "horizontal" ? u2(e, "yAxis", a, n) : u2(e, "xAxis", i, n);
+}, T3e = Y([
+ C3e,
+ UQ,
(e, t) => {
- var n = GX(e), r = u6(e, t), i = d6(e, t);
- if (r != null && i != null) return n === "horizontal" ? yGe(e, "xAxis", r) : yGe(e, "yAxis", i);
+ var n = KX(e), r = d6(e, t), i = f6(e, t);
+ if (r != null && i != null) return n === "horizontal" ? vGe(e, "xAxis", r) : vGe(e, "yAxis", i);
}
-], Y$e), D3e = (e, t, n) => {
- var r = y6(e, t);
+], J$e), E3e = (e, t, n) => {
+ var r = b6(e, t);
if (r == null) return 0;
- var i = u6(e, t), a = d6(e, t);
+ var i = d6(e, t), a = f6(e, t);
if (i == null || a == null) return 0;
- var o = GX(e), s = zQ(e), c = r.maxBarSize, l = AG(c) ? s : c, u, d;
- return o === "horizontal" ? (u = N2(e, "xAxis", i, n), d = M2(e, "xAxis", i, n)) : (u = N2(e, "yAxis", a, n), d = M2(e, "yAxis", a, n)), mX(u, d, !0) ?? l ?? 0;
-}, O3e = (e, t, n) => {
- var r = GX(e), i = u6(e, t), a = d6(e, t);
+ var o = KX(e), s = BQ(e), c = r.maxBarSize, l = jG(c) ? s : c, u, d;
+ return o === "horizontal" ? (u = P2(e, "xAxis", i, n), d = N2(e, "xAxis", i, n)) : (u = P2(e, "yAxis", a, n), d = N2(e, "yAxis", a, n)), hX(u, d, !0) ?? l ?? 0;
+}, D3e = (e, t, n) => {
+ var r = KX(e), i = d6(e, t), a = f6(e, t);
if (i != null && a != null) {
var o, s;
- return r === "horizontal" ? (o = N2(e, "xAxis", i, n), s = M2(e, "xAxis", i, n)) : (o = N2(e, "yAxis", a, n), s = M2(e, "yAxis", a, n)), mX(o, s);
+ return r === "horizontal" ? (o = P2(e, "xAxis", i, n), s = N2(e, "xAxis", i, n)) : (o = P2(e, "yAxis", a, n), s = N2(e, "yAxis", a, n)), hX(o, s);
}
-}, k3e = Y([
- wX,
- EX,
- (e, t, n) => {
- var r = u6(e, t);
- if (r != null) return N2(e, "xAxis", r, n);
- },
+}, O3e = Y([
+ TX,
+ DX,
(e, t, n) => {
var r = d6(e, t);
- if (r != null) return N2(e, "yAxis", r, n);
+ if (r != null) return P2(e, "xAxis", r, n);
},
(e, t, n) => {
- var r = u6(e, t);
- if (r != null) return M2(e, "xAxis", r, n);
+ var r = f6(e, t);
+ if (r != null) return P2(e, "yAxis", r, n);
},
(e, t, n) => {
var r = d6(e, t);
- if (r != null) return M2(e, "yAxis", r, n);
+ if (r != null) return N2(e, "xAxis", r, n);
+ },
+ (e, t, n) => {
+ var r = f6(e, t);
+ if (r != null) return N2(e, "yAxis", r, n);
},
Y([Y([
- E3e,
- zQ,
+ T3e,
BQ,
VQ,
+ HQ,
+ E3e,
D3e,
- O3e,
- S3e
- ], t1e), y6], r1e),
- GX,
- SQ,
- O3e,
- Y([T3e, y6], n1e),
- y6,
- C3e
+ x3e
+ ], e1e), b6], n1e),
+ KX,
+ CQ,
+ D3e,
+ Y([w3e, b6], t1e),
+ b6,
+ S3e
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var p = c.chartData, m = c.dataStartIndex, h = c.dataEndIndex;
if (!(d == null || o == null || t == null || s !== "horizontal" && s !== "vertical" || n == null || r == null || i == null || a == null || l == null)) {
var g = d.data, _ = g != null && g.length > 0 ? g : p?.slice(m, h + 1);
- if (_ != null) return m6e({
+ if (_ != null) return p6e({
layout: s,
barSettings: d,
pos: o,
@@ -84996,26 +85011,26 @@ var b3e = function(e) {
dataStartIndex: m
});
}
-}), A3e = ["index"];
-function b6() {
- return b6 = Object.assign ? Object.assign.bind() : function(e) {
+}), k3e = ["index"];
+function x6() {
+ return x6 = 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;
- }, b6.apply(null, arguments);
+ }, x6.apply(null, arguments);
}
-function j3e(e, t) {
+function A3e(e, t) {
if (e == null) return {};
- var n, r, i = M3e(e, t);
+ var n, r, i = j3e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function M3e(e, t) {
+function j3e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -85024,54 +85039,54 @@ function M3e(e, t) {
}
return n;
}
-var N3e = /*#__PURE__*/ (0, b.createContext)(void 0), P3e = (e) => {
- var t = (0, b.useContext)(N3e);
+var M3e = /*#__PURE__*/ (0, b.createContext)(void 0), N3e = (e) => {
+ var t = (0, b.useContext)(M3e);
if (t != null) return t.stackId;
- if (e != null) return cX(e);
-}, F3e = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, I3e = (e) => {
- var t = (0, b.useContext)(N3e);
+ if (e != null) return lX(e);
+}, P3e = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, F3e = (e) => {
+ var t = (0, b.useContext)(M3e);
if (t != null) {
var n = t.stackId;
- return `url(#${F3e(n, e)})`;
+ return `url(#${P3e(n, e)})`;
}
-}, L3e = (e) => {
- var t = e.index, n = j3e(e, A3e), r = I3e(t);
- return /*#__PURE__*/ b.createElement(uG, b6({
+}, I3e = (e) => {
+ var t = e.index, n = A3e(e, k3e), r = F3e(t);
+ return /*#__PURE__*/ b.createElement(dG, x6({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, R3e = [
+}, L3e = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], z3e = [
+], R3e = [
"value",
"background",
"tooltipPosition"
-], B3e = ["id"], V3e = [
+], z3e = ["id"], B3e = [
"onMouseEnter",
"onClick",
"onMouseLeave"
];
-function H3e(e, t) {
- return q3e(e) || K3e(e, t) || W3e(e, t) || U3e();
+function V3e(e, t) {
+ return K3e(e) || G3e(e, t) || U3e(e, t) || H3e();
}
-function U3e() {
+function H3e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function W3e(e, t) {
+function U3e(e, t) {
if (e) {
- if (typeof e == "string") return G3e(e, t);
+ if (typeof e == "string") return W3e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? G3e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? W3e(e, t) : void 0;
}
}
-function G3e(e, t) {
+function W3e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function K3e(e, t) {
+function G3e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -85092,19 +85107,19 @@ function K3e(e, t) {
return s;
}
}
-function q3e(e) {
+function K3e(e) {
if (Array.isArray(e)) return e;
}
-function x6() {
- return x6 = Object.assign ? Object.assign.bind() : function(e) {
+function S6() {
+ return S6 = 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;
- }, x6.apply(null, arguments);
+ }, S6.apply(null, arguments);
}
-function J3e(e, t) {
+function q3e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -85114,30 +85129,30 @@ function J3e(e, t) {
}
return n;
}
-function S6(e) {
+function C6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? J3e(Object(n), !0).forEach(function(t) {
- Y3e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J3e(Object(n)).forEach(function(t) {
+ t % 2 ? q3e(Object(n), !0).forEach(function(t) {
+ J3e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q3e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Y3e(e, t, n) {
- return (t = X3e(t)) in e ? Object.defineProperty(e, t, {
+function J3e(e, t, n) {
+ return (t = Y3e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function X3e(e) {
- var t = Z3e(e, "string");
+function Y3e(e) {
+ var t = X3e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Z3e(e, t) {
+function X3e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -85147,16 +85162,16 @@ function Z3e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function C6(e, t) {
+function w6(e, t) {
if (e == null) return {};
- var n, r, i = Q3e(e, t);
+ var n, r, i = Z3e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Q3e(e, t) {
+function Z3e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -85165,27 +85180,27 @@ function Q3e(e, t) {
}
return n;
}
-var $3e = (e) => {
+var Q3e = (e) => {
var t = e.dataKey, n = e.name, r = e.fill, i = e.legendType;
return [{
inactive: e.hide,
dataKey: t,
type: i,
color: r,
- value: gX(n, t),
+ value: _X(n, t),
payload: e
}];
-}, e6e = /*#__PURE__*/ b.memo((e) => {
+}, $3e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.unit, c = e.formatter, l = e.tooltipType, u = e.id, d = {
dataDefinedOnItem: void 0,
- getPosition: NG,
+ getPosition: PG,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
dataKey: t,
nameKey: void 0,
- name: gX(a, t),
+ name: _X(a, t),
hide: o,
type: l,
color: i,
@@ -85194,22 +85209,22 @@ var $3e = (e) => {
graphicalItemId: u
}
};
- return /*#__PURE__*/ b.createElement(a3, { tooltipEntrySettings: d });
+ return /*#__PURE__*/ b.createElement(o3, { tooltipEntrySettings: d });
});
-function t6e(e) {
- var t = J(Z2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = C6(a, R3e), u = n3(o, r, a.id), d = r3(s), f = i3(c, r, a.id);
+function e6e(e) {
+ var t = J(Q2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = w6(a, L3e), u = r3(o, r, a.id), d = i3(s), f = a3(c, r, a.id);
if (!i || n == null) return null;
- var p = aG(i);
- return /*#__PURE__*/ b.createElement(o4, { zIndex: b1e(i, YQ.barBackground) }, n.map((e, n) => {
+ var p = oG(i);
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: y1e(i, XQ.barBackground) }, n.map((e, n) => {
e.value;
var a = e.background;
e.tooltipPosition;
- var o = C6(e, z3e);
+ var o = w6(e, R3e);
if (!a) return null;
- var s = u(e, e.originalDataIndex), c = d(e, e.originalDataIndex), m = f(e, e.originalDataIndex), h = S6(S6(S6(S6(S6({
+ var s = u(e, e.originalDataIndex), c = d(e, e.originalDataIndex), m = f(e, e.originalDataIndex), h = C6(C6(C6(C6(C6({
option: i,
isActive: String(e.originalDataIndex) === t
- }, o), {}, { fill: "#eee" }, a), p), RK(l, e, n)), {}, {
+ }, o), {}, { fill: "#eee" }, a), p), zK(l, e, n)), {}, {
onMouseEnter: s,
onMouseLeave: c,
onClick: m,
@@ -85217,10 +85232,10 @@ function t6e(e) {
index: n,
className: "recharts-bar-background-rectangle"
});
- return /*#__PURE__*/ b.createElement(v6, x6({ key: `background-bar-${n}` }, h));
+ return /*#__PURE__*/ b.createElement(y6, S6({ key: `background-bar-${n}` }, h));
}));
}
-function n6e(e) {
+function t6e(e) {
var t = e.showLabels, n = e.children, r = e.rects?.map((e) => {
var t = {
x: e.x,
@@ -85230,7 +85245,7 @@ function n6e(e) {
upperWidth: e.width,
height: e.height
};
- return S6(S6({}, t), {}, {
+ return C6(C6({}, t), {}, {
value: e.value,
payload: e.payload,
parentViewBox: e.parentViewBox,
@@ -85238,10 +85253,10 @@ function n6e(e) {
fill: e.fill
});
});
- return /*#__PURE__*/ b.createElement(O4, { value: t ? r : void 0 }, n);
+ return /*#__PURE__*/ b.createElement(k4, { value: t ? r : void 0 }, n);
}
-function r6e(e) {
- var t = e.shape, n = e.activeBar, r = e.baseProps, i = e.entry, a = e.index, o = e.dataKey, s = J(Z2), c = J(jKe), l = n && String(i.originalDataIndex) === s && (c == null || o === c), u = s != null && (String(i.originalDataIndex) !== s || c != null && o !== c), d = H3e((0, b.useState)(!1), 2), f = d[0], p = d[1], m = H3e((0, b.useState)(!1), 2), h = m[0], g = m[1];
+function n6e(e) {
+ var t = e.shape, n = e.activeBar, r = e.baseProps, i = e.entry, a = e.index, o = e.dataKey, s = J(Q2), c = J(AKe), l = n && String(i.originalDataIndex) === s && (c == null || o === c), u = s != null && (String(i.originalDataIndex) !== s || c != null && o !== c), d = V3e((0, b.useState)(!1), 2), f = d[0], p = d[1], m = V3e((0, b.useState)(!1), 2), h = m[0], g = m[1];
(0, b.useEffect)(() => {
var e;
return l ? (p(!0), e = requestAnimationFrame(() => {
@@ -85252,7 +85267,7 @@ function r6e(e) {
}, [l, u]);
var _ = (0, b.useCallback)(() => {
l || p(!1);
- }, [l]), v = l && h, y = l || f, x = l ? n === !0 ? t : n : t, S = /*#__PURE__*/ b.createElement(v6, x6({}, r, { name: String(r.name) }, i, {
+ }, [l]), v = l && h, y = l || f, x = l ? n === !0 ? t : n : t, S = /*#__PURE__*/ b.createElement(y6, S6({}, r, { name: String(r.name) }, i, {
isActive: v,
option: x,
index: a,
@@ -85262,11 +85277,11 @@ function r6e(e) {
isEntrance: e.isEntrance,
onTransitionEnd: _
}));
- return y ? /*#__PURE__*/ b.createElement(o4, { zIndex: YQ.activeBar }, /*#__PURE__*/ b.createElement(L3e, { index: i.originalDataIndex }, S)) : S;
+ return y ? /*#__PURE__*/ b.createElement(s4, { zIndex: XQ.activeBar }, /*#__PURE__*/ b.createElement(I3e, { index: i.originalDataIndex }, S)) : S;
}
-function i6e(e) {
+function r6e(e) {
var t = e.shape, n = e.baseProps, r = e.entry, i = e.index, a = e.dataKey;
- return /*#__PURE__*/ b.createElement(v6, x6({}, n, { name: String(n.name) }, r, {
+ return /*#__PURE__*/ b.createElement(y6, S6({}, n, { name: String(n.name) }, r, {
isActive: !1,
option: t,
index: i,
@@ -85276,17 +85291,17 @@ function i6e(e) {
isEntrance: e.isEntrance
}));
}
-function a6e(e) {
- var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = iG(n) ?? {}, s = o.id, c = C6(o, B3e), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = C6(n, V3e), g = n3(f, u, s), _ = r3(m), v = i3(p, u, s);
- return t ? /*#__PURE__*/ b.createElement(b.Fragment, null, t.map((e, t) => /*#__PURE__*/ b.createElement(L3e, x6({
+function i6e(e) {
+ var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = aG(n) ?? {}, s = o.id, c = w6(o, z3e), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = w6(n, B3e), g = r3(f, u, s), _ = i3(m), v = a3(p, u, s);
+ return t ? /*#__PURE__*/ b.createElement(b.Fragment, null, t.map((e, t) => /*#__PURE__*/ b.createElement(I3e, S6({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, RK(h, e, t), {
+ }, zK(h, e, t), {
onMouseEnter: g(e, e.originalDataIndex),
onMouseLeave: _(e, e.originalDataIndex),
onClick: v(e, e.originalDataIndex)
- }), d ? /*#__PURE__*/ b.createElement(r6e, {
+ }), d ? /*#__PURE__*/ b.createElement(n6e, {
shape: l,
activeBar: d,
baseProps: c,
@@ -85296,7 +85311,7 @@ function a6e(e) {
animationElapsedTime: r,
isAnimating: i,
isEntrance: a
- }) : /*#__PURE__*/ b.createElement(i6e, {
+ }) : /*#__PURE__*/ b.createElement(r6e, {
shape: l,
baseProps: c,
entry: e,
@@ -85307,32 +85322,32 @@ function a6e(e) {
isEntrance: a
})))) : null;
}
-var o6e = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {
- if (e.status === "removed") return n === "horizontal" ? [S6(S6({}, e.prev), {}, {
- height: OG(e.prev.height, 0, t),
- y: OG(e.prev.y, e.prev.y + e.prev.height, t)
- })] : [S6(S6({}, e.prev), {}, { width: OG(e.prev.width, 0, t) })];
- if (e.status === "matched") return [S6(S6({}, e.next), {}, {
- x: OG(e.prev.x, e.next.x, t),
- y: OG(e.prev.y, e.next.y, t),
- width: OG(e.prev.width, e.next.width, t),
- height: OG(e.prev.height, e.next.height, t)
+var a6e = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {
+ if (e.status === "removed") return n === "horizontal" ? [C6(C6({}, e.prev), {}, {
+ height: kG(e.prev.height, 0, t),
+ y: kG(e.prev.y, e.prev.y + e.prev.height, t)
+ })] : [C6(C6({}, e.prev), {}, { width: kG(e.prev.width, 0, t) })];
+ if (e.status === "matched") return [C6(C6({}, e.next), {}, {
+ x: kG(e.prev.x, e.next.x, t),
+ y: kG(e.prev.y, e.next.y, t),
+ width: kG(e.prev.width, e.next.width, t),
+ height: kG(e.prev.height, e.next.height, t)
})];
var r = e.next;
- return n === "horizontal" ? [S6(S6({}, r), {}, {
- height: OG(0, r.height, t),
- y: OG(r.stackedBarStart, r.y, t)
- })] : [S6(S6({}, r), {}, {
- width: OG(0, r.width, t),
- x: OG(r.stackedBarStart, r.x, t)
+ return n === "horizontal" ? [C6(C6({}, r), {}, {
+ height: kG(0, r.height, t),
+ y: kG(r.stackedBarStart, r.y, t)
+ })] : [C6(C6({}, r), {}, {
+ width: kG(0, r.width, t),
+ x: kG(r.stackedBarStart, r.x, t)
})];
});
-function s6e(e) {
- var t = e.props, n = e.previousRectanglesRef, r = t.data, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.animationInterpolateFn, l = t.layout, u = d3(t.onAnimationStart, t.onAnimationEnd), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd;
- return /*#__PURE__*/ b.createElement(n6e, {
+function o6e(e) {
+ var t = e.props, n = e.previousRectanglesRef, r = t.data, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.animationInterpolateFn, l = t.layout, u = f3(t.onAnimationStart, t.onAnimationEnd), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd;
+ return /*#__PURE__*/ b.createElement(t6e, {
showLabels: !d,
rects: r
- }, /*#__PURE__*/ b.createElement(f3, {
+ }, /*#__PURE__*/ b.createElement(p3, {
animationInput: r,
animationIdPrefix: "recharts-bar-",
items: r,
@@ -85346,80 +85361,80 @@ function s6e(e) {
animationInterpolateFn: c,
animationMatchBy: t.animationMatchBy,
layout: l
- }, (e, n, r) => /*#__PURE__*/ b.createElement(uG, null, /*#__PURE__*/ b.createElement(a6e, {
+ }, (e, n, r) => /*#__PURE__*/ b.createElement(dG, null, /*#__PURE__*/ b.createElement(i6e, {
props: t,
data: e,
animationElapsedTime: n,
isAnimating: d || n < 1,
isEntrance: r
- }))), /*#__PURE__*/ b.createElement(A4, { label: t.label }), t.children);
+ }))), /*#__PURE__*/ b.createElement(j4, { label: t.label }), t.children);
}
-function c6e(e) {
+function s6e(e) {
var t = (0, b.useRef)(null);
- return /*#__PURE__*/ b.createElement(s6e, {
+ return /*#__PURE__*/ b.createElement(o6e, {
previousRectanglesRef: t,
props: e
});
}
-var l6e = 0, u6e = (e, t) => {
+var c6e = 0, l6e = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
y: e.y,
value: n,
- errorVal: rX(e, t)
+ errorVal: iX(e, t)
};
-}, d6e = class extends b.PureComponent {
+}, u6e = class extends b.PureComponent {
render() {
var e = this.props, t = e.hide, n = e.data, r = e.dataKey, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.needClip, c = e.background, l = e.id;
if (t || n == null) return null;
var u = Cv("recharts-bar", i), d = l;
- return /*#__PURE__*/ b.createElement(uG, {
+ return /*#__PURE__*/ b.createElement(dG, {
className: u,
id: l
- }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(a6, {
+ }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(o6, {
clipPathId: d,
xAxisId: a,
yAxisId: o
- })), /*#__PURE__*/ b.createElement(uG, {
+ })), /*#__PURE__*/ b.createElement(dG, {
className: "recharts-bar-rectangles",
clipPath: s ? `url(#clipPath-${d})` : void 0
- }, /*#__PURE__*/ b.createElement(t6e, {
+ }, /*#__PURE__*/ b.createElement(e6e, {
data: n,
dataKey: r,
background: c,
allOtherBarProps: this.props
- }), /*#__PURE__*/ b.createElement(c6e, this.props)));
+ }), /*#__PURE__*/ b.createElement(s6e, this.props)));
}
-}, f6e = {
+}, d6e = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
animationEasing: "ease",
- animationInterpolateFn: o6e,
- animationMatchBy: YZe,
+ animationInterpolateFn: a6e,
+ animationMatchBy: JZe,
background: !1,
hide: !1,
isAnimationActive: "auto",
label: !1,
legendType: "rect",
- minPointSize: l6e,
- shape: _6,
+ minPointSize: c6e,
+ shape: v6,
xAxisId: 0,
yAxisId: 0,
- zIndex: YQ.bar
+ zIndex: XQ.bar
};
-function p6e(e) {
- var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = i6(t, n).needClip, f = KX(), p = DX(), m = jZe(e.children, m4), h = J((t) => k3e(t, e.id, p, m));
+function f6e(e) {
+ var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = a6(t, n).needClip, f = qX(), p = OX(), m = AZe(e.children, h4), h = J((t) => O3e(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__*/ b.createElement(X2e, {
+ return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ b.createElement(Y2e, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: u6e,
+ dataPointFormatter: l6e,
errorBarOffset: g
- }, /*#__PURE__*/ b.createElement(d6e, x6({}, e, {
+ }, /*#__PURE__*/ b.createElement(u6e, S6({}, e, {
layout: f,
needClip: d,
data: h,
@@ -85435,20 +85450,20 @@ function p6e(e) {
isAnimationActive: u
})));
}
-function m6e(e) {
- var t = e.layout, n = e.barSettings, r = n.dataKey, i = n.minPointSize, a = n.hasCustomShape, o = e.pos, s = e.bandSize, c = e.xAxis, l = e.yAxis, u = e.xAxisTicks, d = e.yAxisTicks, f = e.stackedData, p = e.displayedData, m = e.offset, h = e.cells, g = e.parentViewBox, _ = e.dataStartIndex, v = t === "horizontal" ? l : c, y = f ? v.scale.domain() : null, b = dX({ numericAxis: v }), x = v.scale.map(b);
+function p6e(e) {
+ var t = e.layout, n = e.barSettings, r = n.dataKey, i = n.minPointSize, a = n.hasCustomShape, o = e.pos, s = e.bandSize, c = e.xAxis, l = e.yAxis, u = e.xAxisTicks, d = e.yAxisTicks, f = e.stackedData, p = e.displayedData, m = e.offset, h = e.cells, g = e.parentViewBox, _ = e.dataStartIndex, v = t === "horizontal" ? l : c, y = f ? v.scale.domain() : null, b = fX({ numericAxis: v }), x = v.scale.map(b);
return p.map((e, n) => {
var p, v, S, C, w, T;
if (f) {
var E = f[n + _];
if (E == null) return null;
- p = sX(E, y);
- } else p = rX(e, r), Array.isArray(p) || (p = [b, p]);
- var D = b3e(i, l6e)(p[1], n);
+ p = cX(E, y);
+ } else p = iX(e, r), Array.isArray(p) || (p = [b, p]);
+ var D = y3e(i, c6e)(p[1], n);
if (t === "horizontal") {
var O = l.scale.map(p[0]), k = l.scale.map(p[1]);
if (O == null || k == null) return null;
- v = uX({
+ v = dX({
axis: c,
ticks: u,
bandSize: s,
@@ -85457,19 +85472,19 @@ function m6e(e) {
index: n
}), S = k ?? O ?? void 0, C = o.size;
var A = O - k;
- if (w = xG(A) ? 0 : A, T = {
+ if (w = SG(A) ? 0 : A, T = {
x: v,
y: m.top,
width: C,
height: m.height
}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {
- var j = bG(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = xG(w || D) * (Math.abs(D) - Math.abs(w));
S -= j, w += j;
}
} else {
var M = c.scale.map(p[0]), N = c.scale.map(p[1]);
if (M == null || N == null) return null;
- if (v = M, S = uX({
+ if (v = M, S = dX({
axis: l,
ticks: d,
bandSize: s,
@@ -85482,11 +85497,11 @@ function m6e(e) {
width: m.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var P = bG(C || D) * (Math.abs(D) - Math.abs(C));
+ var P = xG(C || D) * (Math.abs(D) - Math.abs(C));
C += P;
}
}
- return v == null || S == null || C == null || w == null || !a && (C === 0 || w === 0) ? null : S6(S6({}, e), {}, {
+ return v == null || S == null || C == null || w == null || !a && (C === 0 || w === 0) ? null : C6(C6({}, e), {}, {
stackedBarStart: x,
x: v,
y: S,
@@ -85504,12 +85519,12 @@ function m6e(e) {
}, h && h[n] && h[n].props);
}).filter(Boolean);
}
-function h6e(e) {
- var t = BK(e, f6e), n = P3e(t.stackId), r = DX();
- return /*#__PURE__*/ b.createElement(p3, {
+function m6e(e) {
+ var t = VK(e, d6e), n = N3e(t.stackId), r = OX();
+ return /*#__PURE__*/ b.createElement(m3, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(o3, { legendPayload: $3e(t) }), /*#__PURE__*/ b.createElement(e6e, {
+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(s3, { legendPayload: Q3e(t) }), /*#__PURE__*/ b.createElement($3e, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -85520,7 +85535,7 @@ function h6e(e) {
formatter: t.formatter,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ b.createElement(h3, {
+ }), /*#__PURE__*/ b.createElement(g3, {
type: "bar",
id: e,
data: void 0,
@@ -85534,24 +85549,24 @@ function h6e(e) {
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize,
isPanorama: r,
- hasCustomShape: t.shape != null && t.shape !== _6
- }), /*#__PURE__*/ b.createElement(o4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(p6e, x6({}, t, { id: e })))));
+ hasCustomShape: t.shape != null && t.shape !== v6
+ }), /*#__PURE__*/ b.createElement(s4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(f6e, S6({}, t, { id: e })))));
}
-var w6 = /*#__PURE__*/ b.memo(h6e, aZ);
-w6.displayName = "Bar";
+var T6 = /*#__PURE__*/ b.memo(m6e, oZ);
+T6.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var g6e = ["domain", "range"], _6e = ["domain", "range"];
-function v6e(e, t) {
+var h6e = ["domain", "range"], g6e = ["domain", "range"];
+function _6e(e, t) {
if (e == null) return {};
- var n, r, i = y6e(e, t);
+ var n, r, i = v6e(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 y6e(e, t) {
+function v6e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -85560,31 +85575,31 @@ function y6e(e, t) {
}
return n;
}
-function b6e(e, t) {
+function y6e(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 x6e(e, t) {
+function b6e(e, t) {
if (e === t) return !0;
- var n = e.domain, r = e.range, i = v6e(e, g6e), a = t.domain, o = t.range, s = v6e(t, _6e);
- return !b6e(n, a) || !b6e(r, o) ? !1 : aZ(i, s);
+ var n = e.domain, r = e.range, i = _6e(e, h6e), a = t.domain, o = t.range, s = _6e(t, g6e);
+ return !y6e(n, a) || !y6e(r, o) ? !1 : oZ(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var S6e = ["type"], C6e = [
+var x6e = ["type"], S6e = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], w6e = ["id", "scale"];
-function T6() {
- return T6 = Object.assign ? Object.assign.bind() : function(e) {
+], C6e = ["id", "scale"];
+function E6() {
+ return E6 = 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;
- }, T6.apply(null, arguments);
+ }, E6.apply(null, arguments);
}
-function T6e(e, t) {
+function w6e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -85594,30 +85609,30 @@ function T6e(e, t) {
}
return n;
}
-function E6e(e) {
+function T6e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? T6e(Object(n), !0).forEach(function(t) {
- D6e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T6e(Object(n)).forEach(function(t) {
+ t % 2 ? w6e(Object(n), !0).forEach(function(t) {
+ E6e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w6e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function D6e(e, t, n) {
- return (t = O6e(t)) in e ? Object.defineProperty(e, t, {
+function E6e(e, t, n) {
+ return (t = D6e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function O6e(e) {
- var t = k6e(e, "string");
+function D6e(e) {
+ var t = O6e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function k6e(e, t) {
+function O6e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -85627,16 +85642,16 @@ function k6e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function E6(e, t) {
+function D6(e, t) {
if (e == null) return {};
- var n, r, i = A6e(e, t);
+ var n, r, i = k6e(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 A6e(e, t) {
+function k6e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -85645,27 +85660,27 @@ function A6e(e, t) {
}
return n;
}
-function j6e(e) {
- var t = Nq(), n = (0, b.useRef)(null), r = qX(), i = e.type, a = E6(e, S6e), o = $Q(r, "xAxis", i), s = (0, b.useMemo)(() => {
- if (o != null) return E6e(E6e({}, a), {}, { type: o });
+function A6e(e) {
+ var t = Pq(), n = (0, b.useRef)(null), r = JX(), i = e.type, a = D6(e, x6e), o = e$(r, "xAxis", i), s = (0, b.useMemo)(() => {
+ if (o != null) return T6e(T6e({}, a), {}, { type: o });
}, [a, o]);
return (0, b.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(BQe(s)) : n.current !== s && t(VQe({
+ s != null && (n.current === null ? t(zQe(s)) : n.current !== s && t(BQe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, b.useLayoutEffect)(() => () => {
- n.current &&= (t(HQe(n.current)), null);
+ n.current &&= (t(VQe(n.current)), null);
}, [t]), null;
}
-var M6e = (e) => {
- var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(EX), c = DX(), l = Nq(), u = "xAxis", d = J((e) => CGe(e, u, t, c)), f = J((e) => dGe(e, t)), p = J((e) => gGe(e, t)), m = J((e) => lWe(e, t));
+var j6e = (e) => {
+ var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(DX), c = OX(), l = Pq(), u = "xAxis", d = J((e) => SGe(e, u, t, c)), f = J((e) => uGe(e, t)), p = J((e) => hGe(e, t)), m = J((e) => cWe(e, t));
if ((0, b.useLayoutEffect)(() => {
- if (!(r !== "auto" || !f || w4(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {
+ if (!(r !== "auto" || !f || T4(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedHeight();
- Math.round(f.height) !== Math.round(n) && l(qQe({
+ Math.round(f.height) !== Math.round(n) && l(KQe({
id: t,
height: n
}));
@@ -85681,10 +85696,10 @@ var M6e = (e) => {
m
]), f == null || p == null || m == null) return null;
e.dangerouslySetInnerHTML, e.ticks, e.scale;
- var h = E6(e, C6e);
+ var h = D6(e, S6e);
m.id, m.scale;
- var g = E6(m, w6e);
- return /*#__PURE__*/ b.createElement(Q3, T6({}, h, g, {
+ var g = D6(m, C6e);
+ return /*#__PURE__*/ b.createElement($3, E6({}, h, g, {
ref: a,
labelRef: o,
x: p.x,
@@ -85697,33 +85712,33 @@ var M6e = (e) => {
axisType: u,
axisId: t
}));
-}, N6e = {
- allowDataOverflow: U0.allowDataOverflow,
- allowDecimals: U0.allowDecimals,
- allowDuplicatedCategory: U0.allowDuplicatedCategory,
- angle: U0.angle,
- axisLine: Z3.axisLine,
- height: U0.height,
+}, M6e = {
+ allowDataOverflow: W0.allowDataOverflow,
+ allowDecimals: W0.allowDecimals,
+ allowDuplicatedCategory: W0.allowDuplicatedCategory,
+ angle: W0.angle,
+ axisLine: Q3.axisLine,
+ height: W0.height,
hide: !1,
- includeHidden: U0.includeHidden,
- interval: U0.interval,
+ includeHidden: W0.includeHidden,
+ interval: W0.interval,
label: !1,
- minTickGap: U0.minTickGap,
- mirror: U0.mirror,
- orientation: U0.orientation,
- padding: U0.padding,
- reversed: U0.reversed,
- scale: U0.scale,
- tick: U0.tick,
- tickCount: U0.tickCount,
- tickLine: Z3.tickLine,
- tickSize: Z3.tickSize,
- type: U0.type,
- niceTicks: U0.niceTicks,
+ minTickGap: W0.minTickGap,
+ mirror: W0.mirror,
+ orientation: W0.orientation,
+ padding: W0.padding,
+ reversed: W0.reversed,
+ scale: W0.scale,
+ tick: W0.tick,
+ tickCount: W0.tickCount,
+ tickLine: Q3.tickLine,
+ tickSize: Q3.tickSize,
+ type: W0.type,
+ niceTicks: W0.niceTicks,
xAxisId: 0
-}, P6e = /*#__PURE__*/ b.memo((e) => {
- var t = BK(e, N6e);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(j6e, {
+}, N6e = /*#__PURE__*/ b.memo((e) => {
+ var t = VK(e, M6e);
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(A6e, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -85749,26 +85764,26 @@ var M6e = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ b.createElement(M6e, t));
-}, x6e);
-P6e.displayName = "XAxis";
+ }), /*#__PURE__*/ b.createElement(j6e, t));
+}, b6e);
+N6e.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var F6e = ["type"], I6e = [
+var P6e = ["type"], F6e = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], L6e = ["id", "scale"];
-function D6() {
- return D6 = Object.assign ? Object.assign.bind() : function(e) {
+], I6e = ["id", "scale"];
+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);
}
-function R6e(e, t) {
+function L6e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -85778,30 +85793,30 @@ function R6e(e, t) {
}
return n;
}
-function z6e(e) {
+function R6e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? R6e(Object(n), !0).forEach(function(t) {
- B6e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R6e(Object(n)).forEach(function(t) {
+ t % 2 ? L6e(Object(n), !0).forEach(function(t) {
+ z6e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L6e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function B6e(e, t, n) {
- return (t = V6e(t)) in e ? Object.defineProperty(e, t, {
+function z6e(e, t, n) {
+ return (t = B6e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function V6e(e) {
- var t = H6e(e, "string");
+function B6e(e) {
+ var t = V6e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function H6e(e, t) {
+function V6e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -85811,16 +85826,16 @@ function H6e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function O6(e, t) {
+function k6(e, t) {
if (e == null) return {};
- var n, r, i = U6e(e, t);
+ var n, r, i = H6e(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 U6e(e, t) {
+function H6e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -85829,27 +85844,27 @@ function U6e(e, t) {
}
return n;
}
-function W6e(e) {
- var t = Nq(), n = (0, b.useRef)(null), r = qX(), i = e.type, a = O6(e, F6e), o = $Q(r, "yAxis", i), s = (0, b.useMemo)(() => {
- if (o != null) return z6e(z6e({}, a), {}, { type: o });
+function U6e(e) {
+ var t = Pq(), n = (0, b.useRef)(null), r = JX(), i = e.type, a = k6(e, P6e), o = e$(r, "yAxis", i), s = (0, b.useMemo)(() => {
+ if (o != null) return R6e(R6e({}, a), {}, { type: o });
}, [o, a]);
return (0, b.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(UQe(s)) : n.current !== s && t(WQe({
+ s != null && (n.current === null ? t(HQe(s)) : n.current !== s && t(UQe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, b.useLayoutEffect)(() => () => {
- n.current &&= (t(GQe(n.current)), null);
+ n.current &&= (t(WQe(n.current)), null);
}, [t]), null;
}
-function G6e(e) {
- var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(EX), c = DX(), l = Nq(), u = "yAxis", d = J((e) => vGe(e, t)), f = J((e) => _Ge(e, t)), p = J((e) => CGe(e, u, t, c)), m = J((e) => uWe(e, t));
+function W6e(e) {
+ var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(DX), c = OX(), l = Pq(), u = "yAxis", d = J((e) => _Ge(e, t)), f = J((e) => gGe(e, t)), p = J((e) => SGe(e, u, t, c)), m = J((e) => lWe(e, t));
if ((0, b.useLayoutEffect)(() => {
- if (!(r !== "auto" || !d || w4(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {
+ if (!(r !== "auto" || !d || T4(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(KQe({
+ Math.round(d.width) !== Math.round(n) && l(GQe({
id: t,
width: n
}));
@@ -85865,10 +85880,10 @@ function G6e(e) {
m
]), d == null || f == null || m == null) return null;
e.dangerouslySetInnerHTML, e.ticks, e.scale;
- var h = O6(e, I6e);
+ var h = k6(e, F6e);
m.id, m.scale;
- var g = O6(m, L6e);
- return /*#__PURE__*/ b.createElement(Q3, D6({}, h, g, {
+ var g = k6(m, I6e);
+ return /*#__PURE__*/ b.createElement($3, O6({}, h, g, {
ref: a,
labelRef: o,
x: f.x,
@@ -85883,33 +85898,33 @@ function G6e(e) {
axisId: t
}));
}
-var K6e = {
- allowDataOverflow: G0.allowDataOverflow,
- allowDecimals: G0.allowDecimals,
- allowDuplicatedCategory: G0.allowDuplicatedCategory,
- angle: G0.angle,
- axisLine: Z3.axisLine,
+var G6e = {
+ allowDataOverflow: K0.allowDataOverflow,
+ allowDecimals: K0.allowDecimals,
+ allowDuplicatedCategory: K0.allowDuplicatedCategory,
+ angle: K0.angle,
+ axisLine: Q3.axisLine,
hide: !1,
- includeHidden: G0.includeHidden,
- interval: G0.interval,
+ includeHidden: K0.includeHidden,
+ interval: K0.interval,
label: !1,
- minTickGap: G0.minTickGap,
- mirror: G0.mirror,
- orientation: G0.orientation,
- padding: G0.padding,
- reversed: G0.reversed,
- scale: G0.scale,
- tick: G0.tick,
- tickCount: G0.tickCount,
- tickLine: Z3.tickLine,
- tickSize: Z3.tickSize,
- type: G0.type,
- niceTicks: G0.niceTicks,
- width: G0.width,
+ minTickGap: K0.minTickGap,
+ mirror: K0.mirror,
+ orientation: K0.orientation,
+ padding: K0.padding,
+ reversed: K0.reversed,
+ scale: K0.scale,
+ tick: K0.tick,
+ tickCount: K0.tickCount,
+ tickLine: Q3.tickLine,
+ tickSize: Q3.tickSize,
+ type: K0.type,
+ niceTicks: K0.niceTicks,
+ width: K0.width,
yAxisId: 0
-}, q6e = /*#__PURE__*/ b.memo((e) => {
- var t = BK(e, K6e);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(W6e, {
+}, K6e = /*#__PURE__*/ b.memo((e) => {
+ var t = VK(e, G6e);
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(U6e, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -85935,27 +85950,27 @@ var K6e = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ b.createElement(G6e, t));
-}, x6e);
-q6e.displayName = "YAxis";
-var k6 = Y([
+ }), /*#__PURE__*/ b.createElement(W6e, t));
+}, b6e);
+K6e.displayName = "YAxis";
+var A6 = Y([
(e, t) => t,
- GX,
- f$,
- b$,
- DKe,
- q2,
- eqe,
- wX
-], lqe);
+ KX,
+ p$,
+ x$,
+ EKe,
+ J2,
+ $Ke,
+ TX
+], cqe);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function J6e(e) {
+function q6e(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
-function A6(e) {
+function j6(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (J6e(e)) {
+ if (q6e(e)) {
var i = e.currentTarget.getBBox();
n = i.width > 0 ? t.width / i.width : 1, r = i.height > 0 ? t.height / i.height : 1;
} else {
@@ -85970,50 +85985,50 @@ function A6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var Y6e = mY("mouseClick"), X6e = JY();
-X6e.startListening({
- actionCreator: Y6e,
+var J6e = hY("mouseClick"), Y6e = YY();
+Y6e.startListening({
+ actionCreator: J6e,
effect: (e, t) => {
- var n = e.payload, r = k6(t.getState(), A6(n));
- r?.activeIndex != null && t.dispatch(HGe({
+ var n = e.payload, r = A6(t.getState(), j6(n));
+ r?.activeIndex != null && t.dispatch(VGe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
});
-var j6 = mY("mouseMove"), Z6e = JY(), M6 = null, N6 = null, P6 = null;
-Z6e.startListening({
- actionCreator: j6,
+var M6 = hY("mouseMove"), X6e = YY(), N6 = null, P6 = null, F6 = null;
+X6e.startListening({
+ actionCreator: M6,
effect: (e, t) => {
var n = e.payload, r = t.getState().eventSettings, i = r.throttleDelay, a = r.throttledEvents, o = a === "all" || a?.includes("mousemove");
- M6 !== null && (cancelAnimationFrame(M6), M6 = null), N6 !== null && (typeof i != "number" || !o) && (clearTimeout(N6), N6 = null), P6 = A6(n);
+ N6 !== null && (cancelAnimationFrame(N6), N6 = null), P6 !== null && (typeof i != "number" || !o) && (clearTimeout(P6), P6 = null), F6 = j6(n);
var s = () => {
- var e = t.getState(), n = P2(e, e.tooltip.settings.shared);
- if (!P6) M6 = null, N6 = null;
+ var e = t.getState(), n = F2(e, e.tooltip.settings.shared);
+ if (!F6) N6 = null, P6 = null;
else {
if (n === "axis") {
- var r = k6(e, P6);
- r?.activeIndex == null ? t.dispatch(zGe()) : t.dispatch(VGe({
+ var r = A6(e, F6);
+ r?.activeIndex == null ? t.dispatch(RGe()) : t.dispatch(BGe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
- M6 = null, N6 = null;
+ N6 = null, P6 = null;
}
};
- o ? i === "raf" ? M6 = requestAnimationFrame(s) : typeof i == "number" && N6 === null && (N6 = setTimeout(s, i)) : s();
+ o ? i === "raf" ? N6 = requestAnimationFrame(s) : typeof i == "number" && P6 === null && (P6 = setTimeout(s, i)) : s();
}
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function Q6e(e, t) {
+function Z6e(e, t) {
return t instanceof HTMLElement ? `HTMLElement <${t.tagName} class="${t.className}">` : t === window ? "global.window" : e === "children" && typeof t == "object" && t ? "<<CHILDREN>>" : t;
}
//#endregion
//#region node_modules/recharts/es6/state/rootPropsSlice.js
-var $6e = {
+var Q6e = {
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -86025,43 +86040,43 @@ var $6e = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, e8e = CY({
+}, $6e = wY({
name: "rootProps",
- initialState: $6e,
+ initialState: Q6e,
reducers: { updateOptions: (e, t) => {
- e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? $6e.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 ?? Q6e.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;
} }
-}), t8e = e8e.reducer, n8e = e8e.actions.updateOptions, r8e = CY({
+}), e8e = $6e.reducer, t8e = $6e.actions.updateOptions, n8e = wY({
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) }
-}), i8e = r8e.actions.updatePolarOptions, a8e = r8e.reducer, o8e = mY("keyDown"), s8e = mY("focus"), c8e = mY("blur"), F6 = JY(), I6 = null, L6 = null, R6 = null;
-F6.startListening({
- actionCreator: o8e,
+}), r8e = n8e.actions.updatePolarOptions, i8e = n8e.reducer, a8e = hY("keyDown"), o8e = hY("focus"), s8e = hY("blur"), I6 = YY(), L6 = null, R6 = null, z6 = null;
+I6.startListening({
+ actionCreator: a8e,
effect: (e, t) => {
- R6 = e.payload, I6 !== null && (cancelAnimationFrame(I6), I6 = null);
+ z6 = e.payload, L6 !== null && (cancelAnimationFrame(L6), L6 = null);
var n = t.getState().eventSettings, r = n.throttleDelay, i = n.throttledEvents, a = i === "all" || i.includes("keydown");
- L6 !== null && (typeof r != "number" || !a) && (clearTimeout(L6), L6 = null);
+ R6 !== null && (typeof r != "number" || !a) && (clearTimeout(R6), R6 = null);
var o = () => {
try {
var e = t.getState();
if (e.rootProps.accessibilityLayer === !1) return;
- var n = e.tooltip.keyboardInteraction, r = R6;
+ var n = e.tooltip.keyboardInteraction, r = z6;
if (r !== "ArrowRight" && r !== "ArrowLeft" && r !== "Enter") return;
- var i = B2(n, W2(e), s2(e), K2(e)), a = i == null ? -1 : Number(i), o = !Number.isFinite(a) || a < 0, s = q2(e), c = W2(e), l = P2(e, e.tooltip.settings.shared);
+ var i = V2(n, G2(e), c2(e), q2(e)), a = i == null ? -1 : Number(i), o = !Number.isFinite(a) || a < 0, s = J2(e), c = G2(e), l = F2(e, e.tooltip.settings.shared);
if (r === "Enter") {
if (o) return;
- var u = r4(e, l, "hover", String(n.index));
- t.dispatch(R2({
+ var u = i4(e, l, "hover", String(n.index));
+ t.dispatch(z2({
active: !n.active,
activeIndex: n.index,
activeCoordinate: u
}));
return;
}
- var d = TGe(e) === "left-to-right" ? 1 : -1, f = r === "ArrowRight" ? 1 : -1, p;
+ var d = wGe(e) === "left-to-right" ? 1 : -1, f = r === "ArrowRight" ? 1 : -1, p;
if (o) {
- var m = s2(e), h = K2(e), g = f * d, _ = (e) => ({
+ var m = c2(e), h = q2(e), g = f * d, _ = (e) => ({
active: !1,
index: String(e),
dataKey: void 0,
@@ -86069,11 +86084,11 @@ F6.startListening({
coordinate: void 0
});
if (p = -1, g > 0) {
- for (var v = 0; v < c.length; v++) if (B2(_(v), c, m, h) != null) {
+ for (var v = 0; v < c.length; v++) if (V2(_(v), c, m, h) != null) {
p = v;
break;
}
- } else for (var y = c.length - 1; y >= 0; y--) if (B2(_(y), c, m, h) != null) {
+ } else for (var y = c.length - 1; y >= 0; y--) if (V2(_(y), c, m, h) != null) {
p = y;
break;
}
@@ -86083,29 +86098,29 @@ F6.startListening({
var b = s?.length || c.length;
if (b === 0 || p >= b || p < 0) return;
}
- var x = r4(e, l, "hover", String(p));
- t.dispatch(R2({
+ var x = i4(e, l, "hover", String(p));
+ t.dispatch(z2({
active: !0,
activeIndex: p.toString(),
activeCoordinate: x
}));
} finally {
- I6 = null, L6 = null;
+ L6 = null, R6 = null;
}
};
- a ? r === "raf" ? I6 = requestAnimationFrame(o) : typeof r == "number" && L6 === null && (o(), R6 = null, L6 = setTimeout(() => {
- R6 ? o() : (L6 = null, I6 = null);
+ a ? r === "raf" ? L6 = requestAnimationFrame(o) : typeof r == "number" && R6 === null && (o(), z6 = null, R6 = setTimeout(() => {
+ z6 ? o() : (R6 = null, L6 = null);
}, r)) : o();
}
-}), F6.startListening({
- actionCreator: s8e,
+}), I6.startListening({
+ actionCreator: o8e,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
var r = n.tooltip.keyboardInteraction;
if (!r.active && r.index == null) {
- var i = "0", a = r4(n, P2(n, n.tooltip.settings.shared), "hover", String(i));
- t.dispatch(R2({
+ var i = "0", a = i4(n, F2(n, n.tooltip.settings.shared), "hover", String(i));
+ t.dispatch(z2({
active: !0,
activeIndex: i,
activeCoordinate: a
@@ -86113,13 +86128,13 @@ F6.startListening({
}
}
}
-}), F6.startListening({
- actionCreator: c8e,
+}), I6.startListening({
+ actionCreator: s8e,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
var r = n.tooltip.keyboardInteraction;
- r.active && t.dispatch(R2({
+ r.active && t.dispatch(z2({
active: !1,
activeIndex: r.index,
activeCoordinate: r.coordinate
@@ -86129,7 +86144,7 @@ F6.startListening({
});
//#endregion
//#region node_modules/recharts/es6/util/createEventProxy.js
-function l8e(e) {
+function c8e(e) {
e.persist();
var t = e.currentTarget;
return new Proxy(e, { get: (e, n) => {
@@ -86140,54 +86155,54 @@ function l8e(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var z6 = mY("externalEvent"), u8e = JY(), B6 = /* @__PURE__ */ new Map(), V6 = /* @__PURE__ */ new Map(), H6 = /* @__PURE__ */ new Map();
-u8e.startListening({
- actionCreator: z6,
+var B6 = hY("externalEvent"), l8e = YY(), V6 = /* @__PURE__ */ new Map(), H6 = /* @__PURE__ */ new Map(), U6 = /* @__PURE__ */ new Map();
+l8e.startListening({
+ actionCreator: B6,
effect: (e, t) => {
var n = e.payload, r = n.handler, i = n.reactEvent;
if (r != null) {
- var a = i.type, o = l8e(i);
- H6.set(a, {
+ var a = i.type, o = c8e(i);
+ U6.set(a, {
handler: r,
reactEvent: o
});
- var s = B6.get(a);
- s !== void 0 && (cancelAnimationFrame(s), B6.delete(a));
- var c = t.getState().eventSettings, l = c.throttleDelay, u = c.throttledEvents, d = u === "all" || u?.includes(a), f = V6.get(a);
- f !== void 0 && (typeof l != "number" || !d) && (clearTimeout(f), V6.delete(a));
+ var s = V6.get(a);
+ s !== void 0 && (cancelAnimationFrame(s), V6.delete(a));
+ var c = t.getState().eventSettings, l = c.throttleDelay, u = c.throttledEvents, d = u === "all" || u?.includes(a), f = H6.get(a);
+ f !== void 0 && (typeof l != "number" || !d) && (clearTimeout(f), H6.delete(a));
var p = () => {
- var e = H6.get(a);
+ var e = U6.get(a);
try {
if (!e) return;
var n = e.handler, r = e.reactEvent, i = t.getState(), o = {
- activeCoordinate: PKe(i),
- activeDataKey: jKe(i),
- activeIndex: Z2(i),
- activeLabel: AKe(i),
- activeTooltipIndex: Z2(i),
- isTooltipActive: FKe(i)
+ activeCoordinate: NKe(i),
+ activeDataKey: AKe(i),
+ activeIndex: Q2(i),
+ activeLabel: kKe(i),
+ activeTooltipIndex: Q2(i),
+ isTooltipActive: PKe(i)
};
n && n(o, r);
} finally {
- B6.delete(a), V6.delete(a), H6.delete(a);
+ V6.delete(a), H6.delete(a), U6.delete(a);
}
};
if (!d) p();
else if (l === "raf") {
var m = requestAnimationFrame(p);
- B6.set(a, m);
+ V6.set(a, m);
} else if (typeof l == "number") {
- if (!V6.has(a)) {
+ if (!H6.has(a)) {
p();
var h = setTimeout(p, l);
- V6.set(a, h);
+ H6.set(a, h);
}
} else p();
}
}
});
-var d8e = Y([
- Y([V2], (e) => e.tooltipItemPayloads),
+var u8e = Y([
+ Y([H2], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
], (e, t, n) => {
@@ -86198,61 +86213,61 @@ var d8e = Y([
if (i != null) return i(t);
}
}
-}), f8e = mY("touchMove"), p8e = JY(), U6 = null, W6 = null, m8e = null, G6 = null;
-p8e.startListening({
- actionCreator: f8e,
+}), d8e = hY("touchMove"), f8e = YY(), W6 = null, G6 = null, p8e = null, K6 = null;
+f8e.startListening({
+ actionCreator: d8e,
effect: (e, t) => {
var n = e.payload;
if (n.touches != null && n.touches.length !== 0) {
- G6 = l8e(n);
+ K6 = c8e(n);
var r = t.getState().eventSettings, i = r.throttleDelay, a = r.throttledEvents, o = a === "all" || a.includes("touchmove");
- U6 !== null && (cancelAnimationFrame(U6), U6 = null), W6 !== null && (typeof i != "number" || !o) && (clearTimeout(W6), W6 = null), m8e = Array.from(n.touches).map((e) => A6({
+ W6 !== null && (cancelAnimationFrame(W6), W6 = null), G6 !== null && (typeof i != "number" || !o) && (clearTimeout(G6), G6 = null), p8e = Array.from(n.touches).map((e) => j6({
clientX: e.clientX,
clientY: e.clientY,
currentTarget: n.currentTarget
}));
var s = () => {
- if (G6 != null) {
- var e = t.getState(), n = P2(e, e.tooltip.settings.shared);
+ if (K6 != null) {
+ var e = t.getState(), n = F2(e, e.tooltip.settings.shared);
if (n === "axis") {
- var r = m8e?.[0];
+ var r = p8e?.[0];
if (r == null) {
- U6 = null, W6 = null;
+ W6 = null, G6 = null;
return;
}
- var i = k6(e, r);
- i?.activeIndex != null && t.dispatch(VGe({
+ var i = A6(e, r);
+ i?.activeIndex != null && t.dispatch(BGe({
activeIndex: i.activeIndex,
activeDataKey: void 0,
activeCoordinate: i.activeCoordinate
}));
} else if (n === "item") {
- var a = G6.touches[0];
+ var a = K6.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(RIe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = U2(e).find((e) => e.id === c);
+ var s = o.getAttribute(LIe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = W2(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var u = l.dataKey, d = d8e(e, s, c);
- t.dispatch(LGe({
+ var u = l.dataKey, d = u8e(e, s, c);
+ t.dispatch(IGe({
activeDataKey: u,
activeIndex: s,
activeCoordinate: d,
activeGraphicalItemId: c
}));
}
- U6 = null, W6 = null;
+ W6 = null, G6 = null;
}
};
- o ? i === "raf" ? U6 = requestAnimationFrame(s) : typeof i == "number" && W6 === null && (s(), G6 = null, W6 = setTimeout(() => {
- G6 ? s() : (W6 = null, U6 = null);
+ o ? i === "raf" ? W6 = requestAnimationFrame(s) : typeof i == "number" && G6 === null && (s(), K6 = null, G6 = setTimeout(() => {
+ K6 ? s() : (G6 = null, W6 = null);
}, i)) : s();
}
}
});
//#endregion
//#region node_modules/recharts/es6/state/eventSettingsSlice.js
-var K6 = {
+var q6 = {
throttleDelay: "raf",
throttledEvents: [
"mousemove",
@@ -86261,33 +86276,33 @@ var K6 = {
"scroll",
"wheel"
]
-}, h8e = CY({
+}, m8e = wY({
name: "eventSettings",
- initialState: K6,
+ initialState: q6,
reducers: { setEventSettings: (e, t) => {
- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = fY(t.payload.throttledEvents));
+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = pY(t.payload.throttledEvents));
} }
-}), g8e = h8e.actions.setEventSettings, _8e = h8e.reducer, v8e = tJ({
- brush: U1e,
- cartesianAxis: JQe,
- chartData: Uqe,
- errorBars: G2e,
- eventSettings: _8e,
- graphicalItems: SQe,
- layout: TIe,
- legend: bLe,
- options: Lqe,
- polarAxis: HXe,
- polarOptions: a8e,
- referenceElements: Z1e,
- renderedTicks: W0e,
- rootProps: t8e,
- tooltip: UGe,
- zIndex: wqe
-}), y8e = function(e) {
+}), h8e = m8e.actions.setEventSettings, g8e = m8e.reducer, _8e = nJ({
+ brush: H1e,
+ cartesianAxis: qQe,
+ chartData: Hqe,
+ errorBars: W2e,
+ eventSettings: g8e,
+ graphicalItems: xQe,
+ layout: wIe,
+ legend: yLe,
+ options: Iqe,
+ polarAxis: VXe,
+ polarOptions: i8e,
+ referenceElements: X1e,
+ renderedTicks: U0e,
+ rootProps: e8e,
+ tooltip: HGe,
+ zIndex: Cqe
+}), v8e = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return ZFe({
- reducer: v8e,
+ return XFe({
+ reducer: _8e,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -86297,40 +86312,40 @@ var K6 = {
"production"
].includes("es6")
}).concat([
+ Y6e.middleware,
X6e.middleware,
- Z6e.middleware,
- F6.middleware,
- u8e.middleware,
- p8e.middleware
+ I6.middleware,
+ l8e.middleware,
+ f8e.middleware
]),
enhancers: (e) => {
var t = e;
- return typeof e == "function" && (t = e()), t.concat(xY({ type: "raf" }));
+ return typeof e == "function" && (t = e()), t.concat(SY({ type: "raf" }));
},
- devTools: vZ.devToolsEnabled && {
- serialize: { replacer: Q6e },
+ devTools: yZ.devToolsEnabled && {
+ serialize: { replacer: Z6e },
name: `recharts-${t}`
}
});
};
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
-function b8e(e) {
- var t = e.preloadedState, n = e.children, r = e.reduxStoreName, i = DX(), a = (0, b.useRef)(null);
+function y8e(e) {
+ var t = e.preloadedState, n = e.children, r = e.reduxStoreName, i = OX(), a = (0, b.useRef)(null);
if (i) return n;
- a.current ??= y8e(t, r);
- var o = Mq;
- return /*#__PURE__*/ b.createElement(PLe, {
+ a.current ??= v8e(t, r);
+ var o = Nq;
+ return /*#__PURE__*/ b.createElement(NLe, {
context: o,
store: a.current
}, n);
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function x8e(e) {
- var t = e.layout, n = e.margin, r = Nq(), i = DX();
+function b8e(e) {
+ var t = e.layout, n = e.margin, r = Pq(), i = OX();
return (0, b.useEffect)(() => {
- i || (r(SIe(t)), r(xIe(n)));
+ i || (r(xIe(t)), r(bIe(n)));
}, [
r,
i,
@@ -86338,31 +86353,31 @@ function x8e(e) {
n
]), null;
}
-var S8e = /*#__PURE__*/ (0, b.memo)(x8e, aZ);
+var x8e = /*#__PURE__*/ (0, b.memo)(b8e, oZ);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
-function C8e(e) {
- var t = Nq();
+function S8e(e) {
+ var t = Pq();
return (0, b.useEffect)(() => {
- t(n8e(e));
+ t(t8e(e));
}, [t, e]), null;
}
-var w8e = /*#__PURE__*/ (0, b.memo)((e) => {
- var t = Nq();
+var C8e = /*#__PURE__*/ (0, b.memo)((e) => {
+ var t = Pq();
return (0, b.useEffect)(() => {
- t(g8e(e));
+ t(h8e(e));
}, [t, e]), null;
-}, aZ);
+}, oZ);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
-function T8e(e) {
- var t = e.zIndex, n = e.isPanorama, r = (0, b.useRef)(null), i = Nq();
- return (0, b.useLayoutEffect)(() => (r.current && i(Sqe({
+function w8e(e) {
+ var t = e.zIndex, n = e.isPanorama, r = (0, b.useRef)(null), i = Pq();
+ return (0, b.useLayoutEffect)(() => (r.current && i(xqe({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(Cqe({
+ i(Sqe({
zIndex: t,
isPanorama: n
}));
@@ -86376,15 +86391,15 @@ function T8e(e) {
className: `recharts-zIndex-layer_${t}`
});
}
-function E8e(e) {
- var t = e.children, n = e.isPanorama, r = J(dqe);
+function T8e(e) {
+ var t = e.children, n = e.isPanorama, r = J(uqe);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, i.map((e) => /*#__PURE__*/ b.createElement(T8e, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, i.map((e) => /*#__PURE__*/ b.createElement(w8e, {
key: e,
zIndex: e,
isPanorama: n
- })), t, a.map((e) => /*#__PURE__*/ b.createElement(T8e, {
+ })), t, a.map((e) => /*#__PURE__*/ b.createElement(w8e, {
key: e,
zIndex: e,
isPanorama: n
@@ -86392,17 +86407,17 @@ function E8e(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var D8e = ["children"];
-function O8e(e, t) {
+var E8e = ["children"];
+function D8e(e, t) {
if (e == null) return {};
- var n, r, i = k8e(e, t);
+ var n, r, i = O8e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function k8e(e, t) {
+function O8e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -86411,68 +86426,68 @@ function k8e(e, t) {
}
return n;
}
-function q6() {
- return q6 = Object.assign ? Object.assign.bind() : function(e) {
+function J6() {
+ return J6 = 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;
- }, q6.apply(null, arguments);
+ }, J6.apply(null, arguments);
}
-var A8e = {
+var k8e = {
width: "100%",
height: "100%",
display: "block"
-}, j8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = UX(), r = WX(), i = wZ();
- if (!eX(n) || !eX(r)) return null;
+}, A8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = WX(), r = GX(), i = TZ();
+ if (!tX(n) || !tX(r)) return null;
var a = e.children, o = e.otherAttributes, s = e.title, c = e.desc, l, u;
- return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ b.createElement(cG, q6({}, 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__*/ b.createElement(lG, J6({}, o, {
title: s,
desc: c,
role: u,
tabIndex: l,
width: n,
height: r,
- style: A8e,
+ style: k8e,
ref: t
}), a);
-}), M8e = (e) => {
- var t = e.children, n = J(kX);
+}), j8e = (e) => {
+ var t = e.children, n = J(AX);
if (!n) return null;
var r = n.width, i = n.height, a = n.y, o = n.x;
- return /*#__PURE__*/ b.createElement(cG, {
+ return /*#__PURE__*/ b.createElement(lG, {
width: r,
height: i,
x: o,
y: a
}, t);
-}, N8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.children, r = O8e(e, D8e);
- return DX() ? /*#__PURE__*/ b.createElement(M8e, null, /*#__PURE__*/ b.createElement(E8e, { isPanorama: !0 }, n)) : /*#__PURE__*/ b.createElement(j8e, q6({ ref: t }, r), /*#__PURE__*/ b.createElement(E8e, { isPanorama: !1 }, n));
+}, M8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.children, r = D8e(e, E8e);
+ return OX() ? /*#__PURE__*/ b.createElement(j8e, null, /*#__PURE__*/ b.createElement(T8e, { isPanorama: !0 }, n)) : /*#__PURE__*/ b.createElement(A8e, J6({ ref: t }, r), /*#__PURE__*/ b.createElement(T8e, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function P8e(e, t) {
- return z8e(e) || R8e(e, t) || I8e(e, t) || F8e();
+function N8e(e, t) {
+ return R8e(e) || L8e(e, t) || F8e(e, t) || P8e();
}
-function F8e() {
+function P8e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function I8e(e, t) {
+function F8e(e, t) {
if (e) {
- if (typeof e == "string") return L8e(e, t);
+ if (typeof e == "string") return I8e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? L8e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? I8e(e, t) : void 0;
}
}
-function L8e(e, t) {
+function I8e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function R8e(e, t) {
+function L8e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -86493,15 +86508,15 @@ function R8e(e, t) {
return s;
}
}
-function z8e(e) {
+function R8e(e) {
if (Array.isArray(e)) return e;
}
-function B8e() {
- var e = Nq(), t = P8e((0, b.useState)(null), 2), n = t[0], r = t[1], i = J(LIe);
+function z8e() {
+ var e = Pq(), t = N8e((0, b.useState)(null), 2), n = t[0], r = t[1], i = J(IIe);
return (0, b.useEffect)(() => {
if (n != null) {
var t = n.getBoundingClientRect().width / n.offsetWidth;
- $Y(t) && t !== i && e(wIe(t));
+ eX(t) && t !== i && e(CIe(t));
}
}, [
n,
@@ -86511,7 +86526,7 @@ function B8e() {
}
//#endregion
//#region node_modules/recharts/es6/chart/RechartsWrapper.js
-function V8e(e, t) {
+function B8e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -86521,30 +86536,30 @@ function V8e(e, t) {
}
return n;
}
-function H8e(e) {
+function V8e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? V8e(Object(n), !0).forEach(function(t) {
- U8e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V8e(Object(n)).forEach(function(t) {
+ t % 2 ? B8e(Object(n), !0).forEach(function(t) {
+ H8e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B8e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function U8e(e, t, n) {
- return (t = W8e(t)) in e ? Object.defineProperty(e, t, {
+function H8e(e, t, n) {
+ return (t = U8e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function W8e(e) {
- var t = G8e(e, "string");
+function U8e(e) {
+ var t = W8e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function G8e(e, t) {
+function W8e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -86554,34 +86569,34 @@ function G8e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function J6() {
- return J6 = Object.assign ? Object.assign.bind() : function(e) {
+function Y6() {
+ return Y6 = 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;
- }, J6.apply(null, arguments);
+ }, Y6.apply(null, arguments);
}
-function Y6(e, t) {
- return X8e(e) || Y8e(e, t) || q8e(e, t) || K8e();
+function X6(e, t) {
+ return Y8e(e) || J8e(e, t) || K8e(e, t) || G8e();
}
-function K8e() {
+function G8e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function q8e(e, t) {
+function K8e(e, t) {
if (e) {
- if (typeof e == "string") return J8e(e, t);
+ if (typeof e == "string") return q8e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? J8e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? q8e(e, t) : void 0;
}
}
-function J8e(e, t) {
+function q8e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function Y8e(e, t) {
+function J8e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -86602,11 +86617,11 @@ function Y8e(e, t) {
return s;
}
}
-function X8e(e) {
+function Y8e(e) {
if (Array.isArray(e)) return e;
}
-var Z8e = () => ($qe(), null);
-function X6(e) {
+var X8e = () => (Qqe(), null);
+function Z6(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
var t = parseFloat(e);
@@ -86614,10 +86629,10 @@ function X6(e) {
}
return 0;
}
-var Q8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = (0, b.useRef)(null), r = Y6((0, b.useState)({
- containerWidth: X6(e.style?.width),
- containerHeight: X6(e.style?.height)
+var Z8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = (0, b.useRef)(null), r = X6((0, b.useState)({
+ containerWidth: Z6(e.style?.width),
+ containerHeight: Z6(e.style?.height)
}), 2), i = r[0], a = r[1], o = (0, b.useCallback)((e, t) => {
a((n) => {
var r = Math.round(e), i = Math.round(t);
@@ -86642,14 +86657,14 @@ var Q8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
}, [t, o]);
return (0, b.useEffect)(() => () => {
n.current?.disconnect();
- }, [o]), /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(XX, {
+ }, [o]), /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ZX, {
width: i.containerWidth,
height: i.containerHeight
- }), /*#__PURE__*/ b.createElement("div", J6({ ref: s }, e)));
-}), $8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.width, r = e.height, i = Y6((0, b.useState)({
- containerWidth: X6(n),
- containerHeight: X6(r)
+ }), /*#__PURE__*/ b.createElement("div", Y6({ ref: s }, e)));
+}), Q8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.width, r = e.height, i = X6((0, b.useState)({
+ containerWidth: Z6(n),
+ containerHeight: Z6(r)
}), 2), a = i[0], o = i[1], s = (0, b.useCallback)((e, t) => {
o((n) => {
var r = Math.round(e), i = Math.round(t);
@@ -86664,32 +86679,32 @@ var Q8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
s(r, i);
}
}, [t, s]);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(XX, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ZX, {
width: a.containerWidth,
height: a.containerHeight
- }), /*#__PURE__*/ b.createElement("div", J6({ ref: c }, e)));
-}), e5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ }), /*#__PURE__*/ b.createElement("div", Y6({ ref: c }, e)));
+}), $8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
var n = e.width, r = e.height;
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(XX, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ZX, {
width: n,
height: r
- }), /*#__PURE__*/ b.createElement("div", J6({ ref: t }, e)));
-}), t5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ }), /*#__PURE__*/ b.createElement("div", Y6({ ref: t }, e)));
+}), e5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
var n = e.width, r = e.height;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ b.createElement($8e, J6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ b.createElement(e5e, J6({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ b.createElement(Q8e, Y6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ b.createElement($8e, Y6({}, e, {
width: n,
height: r,
ref: t
- })) : /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(XX, {
+ })) : /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ZX, {
width: n,
height: r
- }), /*#__PURE__*/ b.createElement("div", J6({ ref: t }, e)));
+ }), /*#__PURE__*/ b.createElement("div", Y6({ ref: t }, e)));
});
-function n5e(e) {
- return e ? Q8e : t5e;
+function t5e(e) {
+ return e ? Z8e : e5e;
}
-var r5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, x = y === void 0 || y, S = (0, b.useRef)(null), C = Nq(), w = Y6((0, b.useState)(null), 2), T = w[0], E = w[1], D = Y6((0, b.useState)(null), 2), O = D[0], k = D[1], A = B8e(), j = zX(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, b.useCallback)((e) => {
+var n5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, x = y === void 0 || y, S = (0, b.useRef)(null), C = Pq(), w = X6((0, b.useState)(null), 2), T = w[0], E = w[1], D = X6((0, b.useState)(null), 2), O = D[0], k = D[1], A = z8e(), j = BX(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, b.useCallback)((e) => {
A(e), typeof t == "function" && t(e), E(e), k(e), e != null && (S.current = e);
}, [
A,
@@ -86697,58 +86712,58 @@ var r5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
E,
k
]), ee = (0, b.useCallback)((e) => {
- C(Y6e(e)), C(z6({
+ C(J6e(e)), C(B6({
handler: a,
reactEvent: e
}));
}, [C, a]), F = (0, b.useCallback)((e) => {
- C(j6(e)), C(z6({
+ C(M6(e)), C(B6({
handler: l,
reactEvent: e
}));
}, [C, l]), te = (0, b.useCallback)((e) => {
- C(zGe()), C(z6({
+ C(RGe()), C(B6({
handler: u,
reactEvent: e
}));
}, [C, u]), ne = (0, b.useCallback)((e) => {
- C(j6(e)), C(z6({
+ C(M6(e)), C(B6({
handler: d,
reactEvent: e
}));
}, [C, d]), re = (0, b.useCallback)(() => {
- C(s8e());
+ C(o8e());
}, [C]), ie = (0, b.useCallback)(() => {
- C(c8e());
+ C(s8e());
}, [C]), ae = (0, b.useCallback)((e) => {
- C(o8e(e.key));
+ C(a8e(e.key));
}, [C]), oe = (0, b.useCallback)((e) => {
- C(z6({
+ C(B6({
handler: o,
reactEvent: e
}));
}, [C, o]), se = (0, b.useCallback)((e) => {
- C(z6({
+ C(B6({
handler: s,
reactEvent: e
}));
}, [C, s]), ce = (0, b.useCallback)((e) => {
- C(z6({
+ C(B6({
handler: c,
reactEvent: e
}));
}, [C, c]), le = (0, b.useCallback)((e) => {
- C(z6({
+ C(B6({
handler: f,
reactEvent: e
}));
}, [C, f]), ue = (0, b.useCallback)((e) => {
- C(z6({
+ C(B6({
handler: h,
reactEvent: e
}));
}, [C, h]), de = (0, b.useCallback)((e) => {
- x && C(f8e(e)), C(z6({
+ x && C(d8e(e)), C(B6({
handler: m,
reactEvent: e
}));
@@ -86757,16 +86772,16 @@ var r5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
x,
m
]), fe = (0, b.useCallback)((e) => {
- C(z6({
+ C(B6({
handler: p,
reactEvent: e
}));
- }, [C, p]), pe = n5e(v);
- return /*#__PURE__*/ b.createElement(Mqe.Provider, { value: T }, /*#__PURE__*/ b.createElement(zG.Provider, { value: O }, /*#__PURE__*/ b.createElement(pe, {
+ }, [C, p]), pe = t5e(v);
+ return /*#__PURE__*/ b.createElement(jqe.Provider, { value: T }, /*#__PURE__*/ b.createElement(BG.Provider, { value: O }, /*#__PURE__*/ b.createElement(pe, {
width: M ?? g?.width,
height: N ?? g?.height,
className: Cv("recharts-wrapper", r),
- style: H8e({
+ style: V8e({
position: "relative",
cursor: "default",
width: M,
@@ -86787,8 +86802,8 @@ var r5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
onTouchMove: de,
onTouchStart: ue,
ref: P
- }, /*#__PURE__*/ b.createElement(Z8e, null), n)));
-}), i5e = [
+ }, /*#__PURE__*/ b.createElement(X8e, null), n)));
+}), r5e = [
"width",
"height",
"responsive",
@@ -86799,16 +86814,16 @@ var r5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
"title",
"desc"
];
-function a5e(e, t) {
+function i5e(e, t) {
if (e == null) return {};
- var n, r, i = o5e(e, t);
+ var n, r, i = a5e(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 o5e(e, t) {
+function a5e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -86817,16 +86832,16 @@ function o5e(e, t) {
}
return n;
}
-var s5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = iG(a5e(e, i5e));
- return c ? /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(XX, {
+var o5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = aG(i5e(e, r5e));
+ return c ? /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ZX, {
width: n,
height: r
- }), /*#__PURE__*/ b.createElement(N8e, {
+ }), /*#__PURE__*/ b.createElement(M8e, {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ b.createElement(r5e, {
+ }, a)) : /*#__PURE__*/ b.createElement(n5e, {
className: o,
style: s,
width: n,
@@ -86843,25 +86858,25 @@ var s5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
onTouchStart: e.onTouchStart,
onTouchMove: e.onTouchMove,
onTouchEnd: e.onTouchEnd
- }, /*#__PURE__*/ b.createElement(N8e, {
+ }, /*#__PURE__*/ b.createElement(M8e, {
otherAttributes: d,
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ b.createElement(a0e, null, a)));
+ }, /*#__PURE__*/ b.createElement(i0e, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
-function Z6() {
- return Z6 = Object.assign ? Object.assign.bind() : function(e) {
+function Q6() {
+ return Q6 = 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;
- }, Z6.apply(null, arguments);
+ }, Q6.apply(null, arguments);
}
-function c5e(e, t) {
+function s5e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -86871,30 +86886,30 @@ function c5e(e, t) {
}
return n;
}
-function l5e(e) {
+function c5e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? c5e(Object(n), !0).forEach(function(t) {
- u5e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c5e(Object(n)).forEach(function(t) {
+ t % 2 ? s5e(Object(n), !0).forEach(function(t) {
+ l5e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s5e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function u5e(e, t, n) {
- return (t = d5e(t)) in e ? Object.defineProperty(e, t, {
+function l5e(e, t, n) {
+ return (t = u5e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function d5e(e) {
- var t = f5e(e, "string");
+function u5e(e) {
+ var t = d5e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function f5e(e, t) {
+function d5e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -86904,7 +86919,7 @@ function f5e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var p5e = l5e({
+var f5e = c5e({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -86919,24 +86934,24 @@ var p5e = l5e({
reverseStackOrder: !1,
stackOffset: "none",
syncMethod: "index"
-}, K6), Q6 = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- var n = BK(e.categoricalChartProps, p5e), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {
+}, q6), $6 = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ var n = VK(e.categoricalChartProps, f5e), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
tooltipPayloadSearcher: o,
eventEmitter: void 0
};
- return /*#__PURE__*/ b.createElement(b8e, {
+ return /*#__PURE__*/ b.createElement(y8e, {
preloadedState: { options: c },
reduxStoreName: s.id ?? r
- }, /*#__PURE__*/ b.createElement(B1e, { chartData: s.data }), /*#__PURE__*/ b.createElement(S8e, {
+ }, /*#__PURE__*/ b.createElement(z1e, { chartData: s.data }), /*#__PURE__*/ b.createElement(x8e, {
layout: n.layout,
margin: n.margin
- }), /*#__PURE__*/ b.createElement(w8e, {
+ }), /*#__PURE__*/ b.createElement(C8e, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ b.createElement(C8e, {
+ }), /*#__PURE__*/ b.createElement(S8e, {
baseValue: n.baseValue,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -86948,52 +86963,52 @@ var p5e = l5e({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ b.createElement(s5e, Z6({}, n, { ref: t })));
-}), m5e = ["axis"], h5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Q6, {
+ }), /*#__PURE__*/ b.createElement(o5e, Q6({}, n, { ref: t })));
+}), p5e = ["axis"], m5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement($6, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: m5e,
- tooltipPayloadSearcher: d4,
+ validateTooltipEventTypes: p5e,
+ tooltipPayloadSearcher: f4,
categoricalChartProps: e,
ref: t
-})), g5e = ["axis", "item"], _5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Q6, {
+})), h5e = ["axis", "item"], g5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement($6, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: g5e,
- tooltipPayloadSearcher: d4,
+ validateTooltipEventTypes: h5e,
+ tooltipPayloadSearcher: f4,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function v5e(e) {
- var t = Nq();
+function _5e(e) {
+ var t = Pq();
return (0, b.useEffect)(() => {
- t(i8e(e));
+ t(r8e(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var y5e = ["layout"];
-function $6() {
- return $6 = Object.assign ? Object.assign.bind() : function(e) {
+var v5e = ["layout"];
+function e8() {
+ return e8 = 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;
- }, $6.apply(null, arguments);
+ }, e8.apply(null, arguments);
}
-function b5e(e, t) {
+function y5e(e, t) {
if (e == null) return {};
- var n, r, i = x5e(e, t);
+ var n, r, i = b5e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function x5e(e, t) {
+function b5e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -87002,7 +87017,7 @@ function x5e(e, t) {
}
return n;
}
-function S5e(e, t) {
+function x5e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -87012,30 +87027,30 @@ function S5e(e, t) {
}
return n;
}
-function C5e(e) {
+function S5e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? S5e(Object(n), !0).forEach(function(t) {
- w5e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S5e(Object(n)).forEach(function(t) {
+ t % 2 ? x5e(Object(n), !0).forEach(function(t) {
+ C5e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : x5e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function w5e(e, t, n) {
- return (t = T5e(t)) in e ? Object.defineProperty(e, t, {
+function C5e(e, t, n) {
+ return (t = w5e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function T5e(e) {
- var t = E5e(e, "string");
+function w5e(e) {
+ var t = T5e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function E5e(e, t) {
+function T5e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -87045,7 +87060,7 @@ function E5e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var e8 = C5e({
+var t8 = S5e({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -87064,24 +87079,24 @@ var e8 = C5e({
cy: "50%",
innerRadius: 0,
outerRadius: "80%"
-}, K6), D5e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- var n = BK(e.categoricalChartProps, e8), r = n.layout, i = b5e(n, y5e), a = e.chartName, o = {
+}, q6), E5e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ var n = VK(e.categoricalChartProps, t8), r = n.layout, i = y5e(n, v5e), a = e.chartName, o = {
chartName: a,
defaultTooltipEventType: e.defaultTooltipEventType,
validateTooltipEventTypes: e.validateTooltipEventTypes,
tooltipPayloadSearcher: e.tooltipPayloadSearcher,
eventEmitter: void 0
};
- return /*#__PURE__*/ b.createElement(b8e, {
+ return /*#__PURE__*/ b.createElement(y8e, {
preloadedState: { options: o },
reduxStoreName: n.id ?? a
- }, /*#__PURE__*/ b.createElement(B1e, { chartData: n.data }), /*#__PURE__*/ b.createElement(S8e, {
+ }, /*#__PURE__*/ b.createElement(z1e, { chartData: n.data }), /*#__PURE__*/ b.createElement(x8e, {
layout: r,
margin: n.margin
- }), /*#__PURE__*/ b.createElement(w8e, {
+ }), /*#__PURE__*/ b.createElement(C8e, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ b.createElement(C8e, {
+ }), /*#__PURE__*/ b.createElement(S8e, {
baseValue: void 0,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -87093,18 +87108,18 @@ var e8 = C5e({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ b.createElement(v5e, {
+ }), /*#__PURE__*/ b.createElement(_5e, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
endAngle: n.endAngle,
innerRadius: n.innerRadius,
outerRadius: n.outerRadius
- }), /*#__PURE__*/ b.createElement(s5e, $6({}, i, { ref: t })));
+ }), /*#__PURE__*/ b.createElement(o5e, e8({}, i, { ref: t })));
});
//#endregion
//#region node_modules/recharts/es6/chart/RadarChart.js
-function O5e(e, t) {
+function D5e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -87114,30 +87129,30 @@ function O5e(e, t) {
}
return n;
}
-function k5e(e) {
+function O5e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? O5e(Object(n), !0).forEach(function(t) {
- A5e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O5e(Object(n)).forEach(function(t) {
+ t % 2 ? D5e(Object(n), !0).forEach(function(t) {
+ k5e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D5e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function A5e(e, t, n) {
- return (t = j5e(t)) in e ? Object.defineProperty(e, t, {
+function k5e(e, t, n) {
+ return (t = A5e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function j5e(e) {
- var t = M5e(e, "string");
+function A5e(e) {
+ var t = j5e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function M5e(e, t) {
+function j5e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -87147,31 +87162,31 @@ function M5e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var N5e = ["axis"], P5e = k5e(k5e({}, e8), {}, {
+var M5e = ["axis"], N5e = O5e(O5e({}, t8), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), F5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = BK(e, P5e);
- return /*#__PURE__*/ b.createElement(D5e, {
+}), P5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = VK(e, N5e);
+ return /*#__PURE__*/ b.createElement(E5e, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: N5e,
- tooltipPayloadSearcher: d4,
+ validateTooltipEventTypes: M5e,
+ tooltipPayloadSearcher: f4,
categoricalChartProps: n,
ref: t
});
-}), I5e = ["axis"], L5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Q6, {
+}), F5e = ["axis"], I5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement($6, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: I5e,
- tooltipPayloadSearcher: d4,
+ validateTooltipEventTypes: F5e,
+ tooltipPayloadSearcher: f4,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/chart/RadialBarChart.js
-function R5e(e, t) {
+function L5e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -87181,30 +87196,30 @@ function R5e(e, t) {
}
return n;
}
-function z5e(e) {
+function R5e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? R5e(Object(n), !0).forEach(function(t) {
- B5e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R5e(Object(n)).forEach(function(t) {
+ t % 2 ? L5e(Object(n), !0).forEach(function(t) {
+ z5e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L5e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function B5e(e, t, n) {
- return (t = V5e(t)) in e ? Object.defineProperty(e, t, {
+function z5e(e, t, n) {
+ return (t = B5e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function V5e(e) {
- var t = H5e(e, "string");
+function B5e(e) {
+ var t = V5e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function H5e(e, t) {
+function V5e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -87214,59 +87229,59 @@ function H5e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var U5e = ["axis", "item"], W5e = z5e(z5e({}, e8), {}, {
+var H5e = ["axis", "item"], U5e = R5e(R5e({}, t8), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), G5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = BK(e, W5e);
- return /*#__PURE__*/ b.createElement(D5e, {
+}), W5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = VK(e, U5e);
+ return /*#__PURE__*/ b.createElement(E5e, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: U5e,
- tooltipPayloadSearcher: d4,
+ validateTooltipEventTypes: H5e,
+ tooltipPayloadSearcher: f4,
categoricalChartProps: n,
ref: t
});
});
//#endregion
//#region src/react/charts/cn.ts
-function t8(...e) {
+function n8(...e) {
return nk(Cv(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
-var K5e = {
+var G5e = {
light: "",
dark: ".dark"
-}, n8 = Object.keys(K5e);
-function q5e(e) {
- for (let [t, n] of Object.entries(e)) if (n.colors && !n8.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${n8.join(", ")}). Received empty object or invalid keys.`);
+}, r8 = Object.keys(G5e);
+function K5e(e) {
+ for (let [t, n] of Object.entries(e)) if (n.colors && !r8.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${r8.join(", ")}). Received empty object or invalid keys.`);
}
-var J5e = b.createContext(null);
-function r8() {
- let e = b.useContext(J5e);
+var q5e = b.createContext(null);
+function i8() {
+ let e = b.useContext(q5e);
if (!e) throw Error("useChart must be used within a <ChartContainer />");
return e;
}
-function i8({ id: e, config: t, initialDimension: n = {
+function a8({ id: e, config: t, initialDimension: n = {
width: 320,
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = b.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return q5e(t), /* @__PURE__ */ (0, x.jsx)(J5e.Provider, {
+ return K5e(t), /* @__PURE__ */ (0, x.jsx)(q5e.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-slot": "chart",
"data-chart": c,
- className: t8("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: n8("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, x.jsx)(X5e, {
+ /* @__PURE__ */ (0, x.jsx)(Y5e, {
id: c,
config: t
}),
- /* @__PURE__ */ (0, x.jsx)(BX, {
+ /* @__PURE__ */ (0, x.jsx)(VX, {
className: "min-h-0 w-full flex-1",
initialDimension: n,
children: i
@@ -87276,7 +87291,7 @@ function i8({ id: e, config: t, initialDimension: n = {
})
});
}
-function a8({ isLoading: e }) {
+function o8({ isLoading: e }) {
return e ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "pointer-events-none absolute inset-0 z-20 flex items-center justify-center",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -87285,7 +87300,7 @@ function a8({ isLoading: e }) {
})
}) : null;
}
-function Y5e(e, t) {
+function J5e(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -87295,46 +87310,46 @@ function Y5e(e, t) {
}
return r;
}
-var X5e = ({ id: e, config: t }) => {
+var Y5e = ({ 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 ? [] : Y5e(r, s8(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
- }).filter(Boolean).join("\n"), i = Object.entries(K5e).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : J5e(r, c8(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ }).filter(Boolean).join("\n"), i = Object.entries(G5e).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
return /* @__PURE__ */ (0, x.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
-function o8(e, t, n) {
+function s8(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 s8(e) {
+function c8(e) {
if (!e.colors) return 1;
- let t = n8.map((t) => e.colors?.[t]?.length ?? 0);
+ let t = r8.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var Z5e = (e = 10, t = 0, n = 70) => {
+var X5e = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, Q5e = {
+}, Z5e = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, $5e = {
+}, Q5e = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
-function c8({ 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 } = r8(), g = b.useMemo(() => {
+function l8({ 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 } = i8(), g = b.useMemo(() => {
if (i || !t?.length) return null;
- let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = o8(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 = s8(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;
return s ? /* @__PURE__ */ (0, x.jsx)("div", {
- className: t8("font-medium", c),
+ className: n8("font-medium", c),
children: s(a, t)
}) : a ? /* @__PURE__ */ (0, x.jsx)("div", {
- className: t8("font-medium", c),
+ className: n8("font-medium", c),
children: a
}) : null;
}, [
@@ -87349,23 +87364,23 @@ function c8({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, x.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: t8("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", Q5e[p], $5e[m], n),
+ className: n8("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", Z5e[p], Q5e[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, x.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 = o8(h, e, n), o = i ? s8(i) : 1;
+ let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = s8(h, e, n), o = i ? c8(i) : 1;
return /* @__PURE__ */ (0, x.jsx)("div", {
- className: t8("[&>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: n8("[&>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, x.jsxs)(x.Fragment, { children: [i?.icon ? /* @__PURE__ */ (0, x.jsx)(i.icon, {}) : !a && /* @__PURE__ */ (0, x.jsx)("div", {
- className: t8("shrink-0 rounded-[2px]", {
+ className: n8("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",
"my-0.5": _ && r === "dashed"
}),
- style: e7e(n, o)
+ style: $5e(n, o)
}), /* @__PURE__ */ (0, x.jsxs)("div", {
- className: t8("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
+ className: n8("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "grid gap-1.5",
children: [_ ? g : null, /* @__PURE__ */ (0, x.jsx)("span", {
@@ -87382,27 +87397,27 @@ function c8({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function e7e(e, t) {
+function $5e(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 l8 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, x.jsx)(gJe, {
+var u8 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, x.jsx)(hJe, {
animationDuration: e,
...t
});
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-legend.tsx
-function u8({ 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 } = r8();
+function d8({ 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 } = i8();
return r?.length ? /* @__PURE__ */ (0, x.jsx)("div", {
- className: t8("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: n8("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 = o8(u, e, r), a = o === null || o === r, d = i ? s8(i) : 1;
+ let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = s8(u, e, r), a = o === null || o === r, d = i ? c8(i) : 1;
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: t8("[&>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: n8("[&>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);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, x.jsx)(i.icon, {}) : /* @__PURE__ */ (0, x.jsx)(t7e, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, x.jsx)(i.icon, {}) : /* @__PURE__ */ (0, x.jsx)(e7e, {
variant: l,
dataKey: r,
colorsCount: d
@@ -87411,8 +87426,8 @@ function u8({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function t7e({ variant: e, dataKey: t, colorsCount: n }) {
- let r = n7e(t, n), i = r7e(t, n);
+function e7e({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = t7e(t, n), i = n7e(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, x.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -87444,10 +87459,10 @@ function t7e({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function n7e(e, t) {
+function t7e(e, t) {
return t <= 1 ? { backgroundColor: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-function r7e(e, t) {
+function n7e(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -87462,12 +87477,12 @@ function r7e(e, t) {
...n
};
}
-var d8 = uZ, f8 = () => null, i7e = {
+var f8 = dZ, p8 = () => null, r7e = {
stiffness: 300,
damping: 35,
mass: .8
};
-function a7e({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function i7e({ range: e, totalPoints: t, containerRef: n, commit: r }) {
let i = b.useRef(null), [a, o] = b.useState(!1), s = (0, b.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, b.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
@@ -87513,7 +87528,7 @@ function a7e({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function o7e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: S = !1 }) {
+function a7e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: S = !1 }) {
let C = b.useRef(null), w = b.useMemo(() => n ?? Object.keys(t), [n, t]), T = e.length, E = b.useId().replace(/:/g, ""), D = d !== void 0 && f !== void 0, [O, k] = b.useState(() => ({
startIndex: Math.max(0, Math.min(p, T - 1)),
endIndex: Math.max(0, Math.min(m ?? T - 1, T - 1))
@@ -87547,7 +87562,7 @@ function o7e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [T, v]), { isDragging: M, bind: N } = a7e({
+ }, [T, v]), { isDragging: M, bind: N } = i7e({
range: O,
totalPoints: T,
containerRef: C,
@@ -87574,7 +87589,7 @@ function o7e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]);
let ee = T > 1 ? P.startIndex / (T - 1) * 100 : 0, F = T > 1 ? P.endIndex / (T - 1) * 100 : 100, te = c_(ee), ne = c_(F);
te.get() !== ee && te.set(ee), ne.get() !== F && ne.set(F);
- let re = f_(te, i7e), ie = f_(ne, i7e), ae = u_(re, (e) => `${e}%`), oe = u_(ie, (e) => `${e}%`), se = u_(re, (e) => `${e}%`), ce = u_(ie, (e) => `${Math.max(0, 100 - e)}%`), le = c_(`${Math.max(0, F - ee)}%`), ue = (0, b.useCallback)(() => {
+ let re = f_(te, r7e), ie = f_(ne, r7e), ae = u_(re, (e) => `${e}%`), oe = u_(ie, (e) => `${e}%`), se = u_(re, (e) => `${e}%`), ce = u_(ie, (e) => `${Math.max(0, 100 - e)}%`), le = c_(`${Math.max(0, F - ee)}%`), ue = (0, b.useCallback)(() => {
le.set(`${Math.max(0, ie.get() - re.get())}%`);
}, [
re,
@@ -87594,16 +87609,16 @@ function o7e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
return T === 0 ? null : /* @__PURE__ */ (0, x.jsxs)("div", {
ref: C,
"data-chart": S ? void 0 : E,
- className: t8("group relative select-none", o),
+ className: n8("group relative select-none", o),
style: { height: a },
children: [
- !S && /* @__PURE__ */ (0, x.jsx)(X5e, {
+ !S && /* @__PURE__ */ (0, x.jsx)(Y5e, {
id: E,
config: t
}),
/* @__PURE__ */ (0, x.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, x.jsx)(c7e, {
+ children: /* @__PURE__ */ (0, x.jsx)(s7e, {
data: e,
keys: w,
chartConfig: t,
@@ -87632,13 +87647,13 @@ function o7e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
},
...N("middle")
}),
- /* @__PURE__ */ (0, x.jsx)(s7e, {
+ /* @__PURE__ */ (0, x.jsx)(o7e, {
side: "left",
position: ae,
label: y ? de(P.startIndex) : void 0,
bind: N("left")
}),
- /* @__PURE__ */ (0, x.jsx)(s7e, {
+ /* @__PURE__ */ (0, x.jsx)(o7e, {
side: "right",
position: oe,
label: y ? de(P.endIndex) : void 0,
@@ -87647,16 +87662,16 @@ function o7e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]
});
}
-function s7e({ side: e, position: t, label: n, bind: r }) {
+function o7e({ side: e, position: t, label: n, bind: r }) {
let i = e === "left";
return /* @__PURE__ */ (0, x.jsxs)(p_.div, {
className: "absolute inset-y-0 z-10",
style: { left: t },
children: [/* @__PURE__ */ (0, x.jsx)("div", {
- className: t8("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: n8("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, x.jsx)("div", {
- className: t8("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: n8("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, x.jsxs)("div", {
className: "flex flex-col gap-[2px]",
children: [
@@ -87667,15 +87682,15 @@ function s7e({ side: e, position: t, label: n, bind: r }) {
})
})
}), n && /* @__PURE__ */ (0, x.jsx)("div", {
- className: t8("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: n8("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
})]
});
}
-function c7e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function s7e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = b.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
- colorsCount: s8(t)
+ colorsCount: c8(t)
})), [n, t]), d = s === "dashed" || s === "animated-dashed" ? "4 4" : void 0, f = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [r === "area" && /* @__PURE__ */ (0, x.jsxs)("linearGradient", {
id: `${a}-zm-vertical-fade`,
x1: "0",
@@ -87729,10 +87744,10 @@ function c7e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
})] })] }, e);
})] });
- if (r === "line") return /* @__PURE__ */ (0, x.jsx)(BX, {
+ if (r === "line") return /* @__PURE__ */ (0, x.jsx)(VX, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, x.jsxs)(h5e, {
+ children: /* @__PURE__ */ (0, x.jsxs)(m5e, {
data: e,
margin: {
top: 4,
@@ -87740,7 +87755,7 @@ function c7e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(O4e, {
+ children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(D4e, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -87756,10 +87771,10 @@ function c7e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
});
if (r === "bar") {
let n = l ?? 3;
- return /* @__PURE__ */ (0, x.jsx)(BX, {
+ return /* @__PURE__ */ (0, x.jsx)(VX, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, x.jsxs)(_5e, {
+ children: /* @__PURE__ */ (0, x.jsxs)(g5e, {
data: e,
margin: {
top: 2,
@@ -87769,7 +87784,7 @@ function c7e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
},
barGap: 2,
barSize: 14,
- children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(w6, {
+ children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(T6, {
dataKey: e,
fill: `url(#${a}-zm-${e})`,
fillOpacity: .35,
@@ -87785,10 +87800,10 @@ function c7e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
- return /* @__PURE__ */ (0, x.jsx)(BX, {
+ return /* @__PURE__ */ (0, x.jsx)(VX, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, x.jsxs)(L5e, {
+ children: /* @__PURE__ */ (0, x.jsxs)(I5e, {
data: e,
margin: {
top: 4,
@@ -87796,7 +87811,7 @@ function c7e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(m3e, {
+ children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(p3e, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -87814,7 +87829,7 @@ function c7e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function l7e({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function c7e({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = b.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -87838,7 +87853,7 @@ function l7e({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var u7e = {
+var l7e = {
dots: ({ id: e }) => /* @__PURE__ */ (0, x.jsx)("pattern", {
id: e,
x: "0",
@@ -88010,9 +88025,9 @@ var u7e = {
})
})
};
-function p8({ variant: e }) {
- let t = (0, b.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = u7e[e];
- return /* @__PURE__ */ (0, x.jsxs)(o4, {
+function m8({ variant: e }) {
+ let t = (0, b.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = l7e[e];
+ return /* @__PURE__ */ (0, x.jsxs)(s4, {
zIndex: -1,
children: [/* @__PURE__ */ (0, x.jsxs)("defs", { children: [
/* @__PURE__ */ (0, x.jsx)(a, { id: n }),
@@ -88042,20 +88057,20 @@ function p8({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var d7e = 2, f7e = "loading", p7e = 2e3, m7e = "evil-stacked", h7e = .5, g7e = .05, _7e = [
+var u7e = 2, d7e = "loading", f7e = 2e3, p7e = "evil-stacked", m7e = .5, h7e = .05, g7e = [
0,
.7,
.5,
1
-], v7e = (0, b.createContext)(null);
-function m8() {
- let e = (0, b.use)(v7e);
+], _7e = (0, b.createContext)(null);
+function h8() {
+ let e = (0, b.use)(_7e);
if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");
return e;
}
-function h8({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = d7e, 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, b.useId)().replace(/:/g, ""), [v] = (0, b.useState)(() => Date.now()), [y, S] = (0, b.useState)(f), [C, w] = (0, b.useState)(!1), { loadingData: T, onShimmerExit: E } = R7e(m, h), { visibleData: D, brushProps: O } = l7e({ data: t }), k = (0, b.useMemo)(() => {
- let e = b.Children.toArray(n), t = e.find((e) => (0, b.isValidElement)(e) && e.type === f8), r = (0, b.isValidElement)(t) ? t.props : {};
+function g8({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = u7e, 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, b.useId)().replace(/:/g, ""), [v] = (0, b.useState)(() => Date.now()), [y, S] = (0, b.useState)(f), [C, w] = (0, b.useState)(!1), { loadingData: T, onShimmerExit: E } = L7e(m, h), { visibleData: D, brushProps: O } = c7e({ data: t }), k = (0, b.useMemo)(() => {
+ let e = b.Children.toArray(n), t = e.find((e) => (0, b.isValidElement)(e) && e.type === p8), r = (0, b.isValidElement)(t) ? t.props : {};
return {
slot: {
present: (0, b.isValidElement)(t),
@@ -88063,7 +88078,7 @@ function h8({ config: e, data: t, children: n, className: r, chartProps: i, stac
formatLabel: r.formatLabel,
onChange: r.onChange
},
- chartChildren: e.filter((e) => !((0, b.isValidElement)(e) && e.type === f8))
+ chartChildren: e.filter((e) => !((0, b.isValidElement)(e) && e.type === p8))
};
}, [n]), A = k.slot.present, j = a === "stacked" || a === "percent", M = o === "horizontal", N = A && !m ? D : t, P = (0, b.useCallback)((e) => {
S(e), p?.(e);
@@ -88092,12 +88107,12 @@ function h8({ config: e, data: t, children: n, className: r, chartProps: i, stac
P,
C
]);
- return /* @__PURE__ */ (0, x.jsx)(v7e, {
+ return /* @__PURE__ */ (0, x.jsx)(_7e, {
value: ee,
- children: /* @__PURE__ */ (0, x.jsxs)(i8, {
+ children: /* @__PURE__ */ (0, x.jsxs)(a8, {
className: r,
config: e,
- footer: A && !m && /* @__PURE__ */ (0, x.jsx)(o7e, {
+ footer: A && !m && /* @__PURE__ */ (0, x.jsx)(a7e, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -88113,7 +88128,7 @@ function h8({ config: e, data: t, children: n, className: r, chartProps: i, stac
O.onChange(e), k.slot.onChange?.(e);
}
}),
- children: [/* @__PURE__ */ (0, x.jsx)(a8, { isLoading: m }), /* @__PURE__ */ (0, x.jsxs)(_5e, {
+ children: [/* @__PURE__ */ (0, x.jsx)(o8, { isLoading: m }), /* @__PURE__ */ (0, x.jsxs)(g5e, {
id: _,
accessibilityLayer: !0,
layout: M ? "vertical" : "horizontal",
@@ -88125,10 +88140,10 @@ function h8({ config: e, data: t, children: n, className: r, chartProps: i, stac
onMouseLeave: () => w(!1),
...i,
children: [
- d && /* @__PURE__ */ (0, x.jsx)(p8, { variant: d }),
- /* @__PURE__ */ (0, x.jsx)(x0e, { color: "white" }),
+ d && /* @__PURE__ */ (0, x.jsx)(m8, { variant: d }),
+ /* @__PURE__ */ (0, x.jsx)(b0e, { color: "white" }),
k.chartChildren,
- m && /* @__PURE__ */ (0, x.jsx)(z7e, {
+ m && /* @__PURE__ */ (0, x.jsx)(R7e, {
chartId: _,
onShimmerExit: E
})
@@ -88137,8 +88152,8 @@ function h8({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function y7e({ 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 } = m8(), S = (0, b.useId)().replace(/:/g, ""), C = ere();
+function v7e({ 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 } = h8(), S = (0, b.useId)().replace(/:/g, ""), C = ere();
if (f) return null;
let w = n ?? p, T = _ === e, E = C ? "none" : r ?? m, D = {
id: S,
@@ -88158,65 +88173,65 @@ function y7e({ dataKey: e, variant: t = "default", radius: n, animationType: r,
i && v(T ? null : e);
}
};
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(w6, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(T6, {
dataKey: e,
- stackId: u ? m7e : void 0,
+ stackId: u ? p7e : void 0,
fill: `url(#${S}-colors-${e})`,
radius: w,
isAnimationActive: !1,
style: i || a ? { cursor: "pointer" } : void 0,
- shape: (e) => /* @__PURE__ */ (0, x.jsx)(T7e, {
+ shape: (e) => /* @__PURE__ */ (0, x.jsx)(w7e, {
...e,
...D,
animationType: E
}),
- activeBar: (e) => /* @__PURE__ */ (0, x.jsx)(T7e, {
+ activeBar: (e) => /* @__PURE__ */ (0, x.jsx)(w7e, {
...e,
...D,
animationType: "none"
}),
...c
}), /* @__PURE__ */ (0, x.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, x.jsx)(k7e, {
+ /* @__PURE__ */ (0, x.jsx)(O7e, {
id: S,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, x.jsx)(A7e, {
+ t === "hatched" && /* @__PURE__ */ (0, x.jsx)(k7e, {
id: S,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, x.jsx)(M7e, {
+ t === "duotone" && /* @__PURE__ */ (0, x.jsx)(j7e, {
id: S,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, x.jsx)(N7e, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, x.jsx)(M7e, {
id: S,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, x.jsx)(P7e, {
+ t === "gradient" && /* @__PURE__ */ (0, x.jsx)(N7e, {
id: S,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, x.jsx)(F7e, {
+ t === "stripped" && /* @__PURE__ */ (0, x.jsx)(P7e, {
id: S,
dataKey: e
}),
- s && /* @__PURE__ */ (0, x.jsx)(j7e, {
+ s && /* @__PURE__ */ (0, x.jsx)(A7e, {
id: S,
dataKey: e
}),
- o && /* @__PURE__ */ (0, x.jsx)(I7e, {
+ o && /* @__PURE__ */ (0, x.jsx)(F7e, {
id: S,
dataKey: e
})
] })] });
}
-function b7e({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
- let { isLoading: o, isHorizontal: s } = m8();
- return o ? null : /* @__PURE__ */ (0, x.jsx)(P6e, {
+function y7e({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+ let { isLoading: o, isHorizontal: s } = h8();
+ return o ? null : /* @__PURE__ */ (0, x.jsx)(N6e, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -88225,9 +88240,9 @@ function b7e({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function x7e({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
- let { isLoading: s, isHorizontal: c } = m8();
- return s ? null : /* @__PURE__ */ (0, x.jsx)(q6e, {
+function b7e({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+ let { isLoading: s, isHorizontal: c } = h8();
+ return s ? null : /* @__PURE__ */ (0, x.jsx)(K6e, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -88237,33 +88252,33 @@ function x7e({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function S7e({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
- let { isHorizontal: i } = m8();
- return /* @__PURE__ */ (0, x.jsx)(M2e, {
+function x7e({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+ let { isHorizontal: i } = h8();
+ return /* @__PURE__ */ (0, x.jsx)(j2e, {
strokeDasharray: e,
vertical: t ?? i,
horizontal: n ?? !i,
...r
});
}
-function C7e({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, selectedDataKey: i } = m8();
- return r ? null : /* @__PURE__ */ (0, x.jsx)(l8, {
+function S7e({ variant: e, roundness: t, defaultIndex: n }) {
+ let { isLoading: r, selectedDataKey: i } = h8();
+ return r ? null : /* @__PURE__ */ (0, x.jsx)(u8, {
cursor: !1,
defaultIndex: n,
- content: /* @__PURE__ */ (0, x.jsx)(c8, {
+ content: /* @__PURE__ */ (0, x.jsx)(l8, {
selected: i,
roundness: t,
variant: e
})
});
}
-function w7e({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
- let { selectedDataKey: i, selectDataKey: a } = m8();
- return /* @__PURE__ */ (0, x.jsx)(d8, {
+function C7e({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+ let { selectedDataKey: i, selectDataKey: a } = h8();
+ return /* @__PURE__ */ (0, x.jsx)(f8, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, x.jsx)(u8, {
+ content: /* @__PURE__ */ (0, x.jsx)(d8, {
selected: i,
onSelectChange: a,
isClickable: r,
@@ -88271,8 +88286,8 @@ function w7e({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
})
});
}
-var T7e = (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, S = typeof e.index == "number" ? e.index : -1, C = u && y > 0 && S === y - 1, w = s === "stripped", T = E7e(h, S, y, m, g), E = C ? `url(#${a}-buffer-hatched-${o})` : D7e(s, a, o), D = l ? `url(#${a}-bar-glow-${o})` : void 0, O = O7e({
+var w7e = (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, S = typeof e.index == "number" ? e.index : -1, C = u && y > 0 && S === y - 1, w = s === "stripped", T = T7e(h, S, y, m, g), E = C ? `url(#${a}-buffer-hatched-${o})` : E7e(s, a, o), D = l ? `url(#${a}-bar-glow-${o})` : void 0, O = D7e({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -88284,7 +88299,7 @@ var T7e = (e) => {
c,
0,
0
- ] : c, j = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(aQ, {
+ ] : c, j = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(oQ, {
x: t,
y: n,
width: r,
@@ -88295,7 +88310,7 @@ var T7e = (e) => {
filter: D,
stroke: C ? `url(#${a}-colors-${o})` : void 0,
strokeWidth: C ? 1 : void 0
- }), w && /* @__PURE__ */ (0, x.jsx)(aQ, {
+ }), w && /* @__PURE__ */ (0, x.jsx)(oQ, {
x: t,
y: n - 4,
width: r,
@@ -88306,7 +88321,7 @@ var T7e = (e) => {
return /* @__PURE__ */ (0, x.jsxs)("g", {
style: k,
onClick: b,
- children: [/* @__PURE__ */ (0, x.jsx)(aQ, {
+ children: [/* @__PURE__ */ (0, x.jsx)(oQ, {
...e,
fill: "transparent"
}), T ? /* @__PURE__ */ (0, x.jsx)(p_.g, {
@@ -88317,7 +88332,7 @@ var T7e = (e) => {
children: j
}) : j]
});
-}, E7e = (e, t, n, r, i) => {
+}, T7e = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -88332,11 +88347,11 @@ var T7e = (e) => {
break;
default: s = t;
}
- let c = s * g7e * 1e3, l = h7e * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * h7e * 1e3, l = m7e * 1e3, u = c + l, d = Date.now() - i;
if (d >= u) return null;
let f = d <= c ? 0 : (d - c) / l, p = {
duration: (u - Math.max(d, c)) / 1e3,
- ease: _7e,
+ ease: g7e,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -88350,7 +88365,7 @@ var T7e = (e) => {
transition: p,
style: { originY: 1 }
};
-}, D7e = (e, t, n) => {
+}, E7e = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -88359,11 +88374,11 @@ var T7e = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, O7e = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, D7e = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
let o = e && t !== null ? t === null || t === n ? 1 : .15 : 1;
return r && i ? a ? o : o * .3 : o;
-}, k7e = ({ id: e, dataKey: t, config: n }) => {
- let r = s8(n[t] ?? {});
+}, O7e = ({ id: e, dataKey: t, config: n }) => {
+ let r = c8(n[t] ?? {});
return /* @__PURE__ */ (0, x.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
x1: "0",
@@ -88384,7 +88399,7 @@ var T7e = (e) => {
}, i);
})
});
-}, A7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+}, k7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -88425,7 +88440,7 @@ var T7e = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), j7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+] }), A7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -88466,8 +88481,8 @@ var T7e = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), M7e = ({ id: e, dataKey: t, config: n }) => {
- let r = s8(n[t] ?? {});
+] }), j7e = ({ id: e, dataKey: t, config: n }) => {
+ let r = c8(n[t] ?? {});
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("linearGradient", {
id: `${e}-duotone-mask-gradient-${t}`,
@@ -88534,8 +88549,8 @@ var T7e = (e) => {
})
})
] });
-}, N7e = ({ id: e, dataKey: t, config: n }) => {
- let r = s8(n[t] ?? {});
+}, M7e = ({ id: e, dataKey: t, config: n }) => {
+ let r = c8(n[t] ?? {});
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("linearGradient", {
id: `${e}-duotone-reverse-mask-gradient-${t}`,
@@ -88602,7 +88617,7 @@ var T7e = (e) => {
})
})
] });
-}, P7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+}, N7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -88639,7 +88654,7 @@ var T7e = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), F7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+] }), P7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -88676,7 +88691,7 @@ var T7e = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), I7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {
+] }), F7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -88696,35 +88711,35 @@ var T7e = (e) => {
}),
/* @__PURE__ */ (0, x.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), L7e = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), I7e = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
let a = i / (e - 1), o = t + Math.sin(a * Math.PI) ** 2 * (n - t);
return {
offset: `${(a * 100).toFixed(0)}%`,
opacity: Number(o.toFixed(3))
};
});
-function R7e(e, t = 12) {
+function L7e(e, t = 12) {
let [n, r] = (0, b.useState)(!1), i = (0, b.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, b.useMemo)(() => Z5e(t, 20, 80), [t, n]),
+ loadingData: (0, b.useMemo)(() => X5e(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var z7e = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(w6, {
- dataKey: f7e,
+var R7e = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(T6, {
+ dataKey: d7e,
fill: "currentColor",
fillOpacity: .15,
- radius: d7e,
+ radius: u7e,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(B7e, {
+}), /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(z7e, {
chartId: e,
onShimmerExit: t
-}) })] }), B7e = ({ chartId: e, onShimmerExit: t }) => {
- let n = L7e(), r = (0, b.useRef)(-1);
+}) })] }), z7e = ({ chartId: e, onShimmerExit: t }) => {
+ let n = I7e(), r = (0, b.useRef)(-1);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -88755,7 +88770,7 @@ var z7e = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: p7e / 1e3,
+ duration: f7e / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -88777,13 +88792,13 @@ var z7e = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fr
})
] });
};
-h8.Bar = y7e, h8.XAxis = b7e, h8.YAxis = x7e, h8.Grid = S7e, h8.Tooltip = C7e, h8.Legend = w7e, h8.Brush = f8;
+g8.Bar = v7e, g8.XAxis = y7e, g8.YAxis = b7e, g8.Grid = x7e, g8.Tooltip = S7e, g8.Legend = C7e, g8.Brush = p8;
//#endregion
//#region src/react/charts/chart-card.tsx
-var g8 = `${ck({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
-function _8({ title: e, children: t }) {
+var _8 = `${ck({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+function v8({ title: e, children: t }) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
- className: g8,
+ className: _8,
"aria-label": e,
children: [/* @__PURE__ */ (0, x.jsx)("h3", {
className: "text-title-2-medium text-text-primary",
@@ -88794,31 +88809,31 @@ function _8({ title: e, children: t }) {
})]
});
}
-var V7e = (e) => (e.codePointAt(0) ?? 0) > 11903 ? 13 : 7, H7e = (e) => [...new Intl.Segmenter(void 0, { granularity: "grapheme" }).segment(e)].map((e) => e.segment), v8;
-function U7e(e) {
- if (v8 === void 0) try {
- v8 = document.createElement("canvas").getContext("2d"), v8 && (v8.font = `12px ${getComputedStyle(document.body).fontFamily || "sans-serif"}`);
+var B7e = (e) => (e.codePointAt(0) ?? 0) > 11903 ? 13 : 7, V7e = (e) => [...new Intl.Segmenter(void 0, { granularity: "grapheme" }).segment(e)].map((e) => e.segment), y8;
+function H7e(e) {
+ if (y8 === void 0) try {
+ y8 = document.createElement("canvas").getContext("2d"), y8 && (y8.font = `12px ${getComputedStyle(document.body).fontFamily || "sans-serif"}`);
} catch {
- v8 = null;
+ y8 = null;
}
- return v8 ? v8.measureText(e).width : null;
+ return y8 ? y8.measureText(e).width : null;
}
-var y8 = (e) => U7e(e) ?? H7e(e).reduce((e, t) => e + V7e(t), 0);
-function W7e(e, t) {
- if (y8(e) <= t) return e;
- let n = H7e(e), r = 0;
- for (; r < n.length && y8(`${n.slice(0, r + 1).join("")}…`) <= t;) r += 1;
+var b8 = (e) => H7e(e) ?? V7e(e).reduce((e, t) => e + B7e(t), 0);
+function U7e(e, t) {
+ if (b8(e) <= t) return e;
+ let n = V7e(e), r = 0;
+ for (; r < n.length && b8(`${n.slice(0, r + 1).join("")}…`) <= t;) r += 1;
return `${n.slice(0, r).join("")}…`;
}
-var G7e = (e, t = 104) => Math.min(t, Math.max(24, ...e.map(y8)) + 12);
-function b8(e) {
+var W7e = (e, t = 104) => Math.min(t, Math.max(24, ...e.map(b8)) + 12);
+function x8(e) {
let { along: t, payload: n, width: r = 0, visibleTicksCount: i = 1, ...a } = e, o = String(n?.value ?? ""), s = t === "x" ? r / Math.max(1, i) - 2 : r - 8;
- return /* @__PURE__ */ (0, x.jsxs)("g", { children: [/* @__PURE__ */ (0, x.jsx)("title", { children: o }), /* @__PURE__ */ (0, x.jsx)(x4, {
+ return /* @__PURE__ */ (0, x.jsxs)("g", { children: [/* @__PURE__ */ (0, x.jsx)("title", { children: o }), /* @__PURE__ */ (0, x.jsx)(S4, {
...a,
- children: W7e(o, s)
+ children: U7e(o, s)
})] });
}
-function x8({ title: e, figure: t, note: n }) {
+function S8({ title: e, figure: t, note: n }) {
return /* @__PURE__ */ (0, x.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
children: [/* @__PURE__ */ (0, x.jsxs)("span", {
@@ -88836,24 +88851,24 @@ function x8({ title: e, figure: t, note: n }) {
})]
});
}
-var S8 = [
+var C8 = [
"var(--color-chart-1)",
"var(--color-chart-2)",
"var(--color-chart-3)",
"var(--color-chart-4)",
"var(--color-chart-5)",
"var(--color-chart-6)"
-], C8 = (e) => ({ light: [e] }), w8 = (e) => `s${e}`;
-function K7e(e) {
- return Object.fromEntries(e.map((e, t) => [w8(t), {
+], w8 = (e) => ({ light: [e] }), T8 = (e) => `s${e}`;
+function G7e(e) {
+ return Object.fromEntries(e.map((e, t) => [T8(t), {
label: e,
- colors: C8(S8[t % S8.length])
+ colors: w8(C8[t % C8.length])
}]));
}
//#endregion
//#region src/react/charts/chart-tip.tsx
-var q7e = "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 J7e({ swatch: e, name: t, value: n }) {
+var K7e = "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 q7e({ swatch: e, name: t, value: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex w-full items-center gap-2",
children: [e, /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -88868,33 +88883,33 @@ function J7e({ swatch: e, name: t, value: n }) {
})]
});
}
-var Y7e = "size-2.5 shrink-0 rounded-xs";
-function X7e({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
- let { config: o } = r8(), s = (t ?? []).filter((e) => e.type !== "none");
+var J7e = "size-2.5 shrink-0 rounded-xs";
+function Y7e({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+ let { config: o } = i8(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, x.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: q7e,
+ className: K7e,
children: [c ? /* @__PURE__ */ (0, x.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 = o8(o, e, a), c = i ? n[i] : e.value;
- return /* @__PURE__ */ (0, x.jsx)(J7e, {
+ let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = s8(o, e, a), c = i ? n[i] : e.value;
+ return /* @__PURE__ */ (0, x.jsx)(q7e, {
name: s?.label ?? e.name,
value: Number(c ?? 0),
swatch: /* @__PURE__ */ (0, x.jsx)("i", {
- className: Y7e,
+ className: J7e,
style: { background: `var(--color-${a}-0)` }
})
}, a + t);
})]
});
}
-function T8({ nameKey: e, valueKey: t, hideLabel: n }) {
- return /* @__PURE__ */ (0, x.jsx)(l8, {
+function E8({ nameKey: e, valueKey: t, hideLabel: n }) {
+ return /* @__PURE__ */ (0, x.jsx)(u8, {
cursor: !1,
- content: /* @__PURE__ */ (0, x.jsx)(X7e, {
+ content: /* @__PURE__ */ (0, x.jsx)(Y7e, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -88903,41 +88918,41 @@ function T8({ nameKey: e, valueKey: t, hideLabel: n }) {
}
//#endregion
//#region src/react/charts/bar-card.tsx
-var E8 = [0, (e) => e * 1.2];
-function Z7e(e) {
+var D8 = [0, (e) => e * 1.2];
+function X7e(e) {
let t = Math.abs(e), n = (t, n) => {
let r = e / t;
return `${r.toLocaleString(void 0, { maximumFractionDigits: +(Math.abs(r) < 100) })}${n}`;
};
return t >= 1e8 ? n(1e8, "亿") : t >= 1e5 ? n(1e4, "万") : e.toLocaleString();
}
-var Q7e = (e) => ({
+var Z7e = (e) => ({
position: e,
className: "fill-text-secondary",
- formatter: (e) => Z7e(Number(e))
+ formatter: (e) => X7e(Number(e))
});
-function D8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout: o = "vertical" }) {
+function O8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout: o = "vertical" }) {
let s = r.filter((e) => Number.isFinite(e.value) && e.value >= 0).map((e) => ({
name: e.name,
value: e.value
})), c = s.reduce((e, t) => e + t.value, 0);
- if (!c) return /* @__PURE__ */ (0, x.jsx)(_8, {
+ if (!c) return /* @__PURE__ */ (0, x.jsx)(v8, {
title: e,
children: a
});
let l = o === "horizontal";
return /* @__PURE__ */ (0, x.jsxs)("section", {
- className: g8,
+ className: _8,
"aria-label": e,
- children: [/* @__PURE__ */ (0, x.jsx)(x8, {
+ children: [/* @__PURE__ */ (0, x.jsx)(S8, {
title: e,
figure: c.toLocaleString(),
note: t
- }), /* @__PURE__ */ (0, x.jsxs)(h8, {
+ }), /* @__PURE__ */ (0, x.jsxs)(g8, {
data: s,
config: { value: {
label: n,
- colors: C8(i)
+ colors: w8(i)
} },
layout: o,
barRadius: 4,
@@ -88949,40 +88964,40 @@ function D8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout:
} } : void 0,
className: l ? "aspect-auto h-64 flex-none text-text-secondary" : "aspect-auto h-56 flex-none text-text-secondary",
children: [
- /* @__PURE__ */ (0, x.jsx)(h8.Grid, {}),
- l ? /* @__PURE__ */ (0, x.jsx)(h8.YAxis, {
+ /* @__PURE__ */ (0, x.jsx)(g8.Grid, {}),
+ l ? /* @__PURE__ */ (0, x.jsx)(g8.YAxis, {
dataKey: "name",
interval: 0,
- tick: /* @__PURE__ */ (0, x.jsx)(b8, { along: "y" }),
- width: G7e(s.map((e) => e.name))
- }) : /* @__PURE__ */ (0, x.jsx)(h8.XAxis, {
+ tick: /* @__PURE__ */ (0, x.jsx)(x8, { along: "y" }),
+ width: W7e(s.map((e) => e.name))
+ }) : /* @__PURE__ */ (0, x.jsx)(g8.XAxis, {
dataKey: "name",
interval: 0,
- tick: /* @__PURE__ */ (0, x.jsx)(b8, { along: "x" })
+ tick: /* @__PURE__ */ (0, x.jsx)(x8, { along: "x" })
}),
- l ? /* @__PURE__ */ (0, x.jsx)(h8.XAxis, {
+ l ? /* @__PURE__ */ (0, x.jsx)(g8.XAxis, {
hide: !0,
- domain: E8
- }) : /* @__PURE__ */ (0, x.jsx)(h8.YAxis, {
+ domain: D8
+ }) : /* @__PURE__ */ (0, x.jsx)(g8.YAxis, {
hide: !0,
- domain: E8
+ domain: D8
}),
- /* @__PURE__ */ (0, x.jsx)(h8.Bar, {
+ /* @__PURE__ */ (0, x.jsx)(g8.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: Q7e(l ? "right" : "top")
+ label: Z7e(l ? "right" : "top")
}
}),
- /* @__PURE__ */ (0, x.jsx)(T8, {})
+ /* @__PURE__ */ (0, x.jsx)(E8, {})
]
})]
});
}
//#endregion
//#region src/react/charts/heat.ts
-var $7e = [
+var Q7e = [
"周一",
"周二",
"周三",
@@ -88990,8 +89005,8 @@ var $7e = [
"周五",
"周六",
"周日"
-], e9e = (e, t) => e ? Math.max(.12, e / t) : 0;
-function t9e(e) {
+], $7e = (e, t) => e ? Math.max(.12, e / t) : 0;
+function e9e(e) {
let t = Array.from({ length: 7 }, () => Array(24).fill(0));
for (let n of e?.hours || []) {
let { weekday: e, hour: r, count: i } = n;
@@ -89001,14 +89016,14 @@ function t9e(e) {
return {
cells: t.flatMap((e, t) => e.map((e, n) => ({
key: `${t}-${n}`,
- label: `${$7e[t]} ${n}:00`,
+ label: `${Q7e[t]} ${n}:00`,
count: e,
- share: e9e(e, r)
+ share: $7e(e, r)
}))),
total: n.reduce((e, t) => e + t, 0)
};
}
-function n9e(e) {
+function t9e(e) {
let t = (e?.days || []).filter((e) => /^\d{4}-\d{2}-\d{2}$/.test(e.date) && Number.isFinite(e.count) && e.count >= 0).slice().sort((e, t) => e.date.localeCompare(t.date)), n = {
cells: [],
total: 0,
@@ -89026,7 +89041,7 @@ function n9e(e) {
key: r,
label: r,
count: s,
- share: e9e(s, o)
+ share: $7e(s, o)
};
});
return {
@@ -89038,7 +89053,7 @@ function n9e(e) {
}
//#endregion
//#region src/react/charts/heat-card.tsx
-var O8 = 14, k8 = 17, r9e = {
+var k8 = 14, A8 = 17, n9e = {
4: {
fill: "fill-chart-4",
dot: "bg-chart-4"
@@ -89047,42 +89062,42 @@ var O8 = 14, k8 = 17, r9e = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, i9e = {
+}, r9e = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function a9e({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function i9e({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${q7e} ${i9e[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${K7e} ${r9e[a]}`,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
- }), /* @__PURE__ */ (0, x.jsx)(J7e, {
+ }), /* @__PURE__ */ (0, x.jsx)(q7e, {
name: t,
value: e.count,
- swatch: /* @__PURE__ */ (0, x.jsx)("i", { className: `${Y7e} ${r9e[n].dot}` })
+ swatch: /* @__PURE__ */ (0, x.jsx)("i", { className: `${J7e} ${n9e[n].dot}` })
})]
});
}
-function o9e({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
- let [l, u] = (0, b.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * k8, m = f + a * k8, h = (e) => ({
- x: d + e % i * k8,
- y: f + Math.floor(e / i) * k8
- }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + O8 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", S = _ ? {
+function a9e({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
+ let [l, u] = (0, b.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * A8, m = f + a * A8, h = (e) => ({
+ x: d + e % i * A8,
+ y: f + Math.floor(e / i) * A8
+ }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + k8 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", S = _ ? {
start: _.x,
- center: _.x + O8 / 2,
- end: _.x + O8
+ center: _.x + k8 / 2,
+ end: _.x + k8
}[y] : 0;
return /* @__PURE__ */ (0, x.jsxs)("section", {
- className: g8,
+ className: _8,
children: [
- /* @__PURE__ */ (0, x.jsx)(x8, {
+ /* @__PURE__ */ (0, x.jsx)(S8, {
title: e,
figure: (g ? g.count : r).toLocaleString(),
note: g ? g.label : t.unit
@@ -89105,19 +89120,19 @@ function o9e({ 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: O8,
- height: O8,
+ width: k8,
+ height: k8,
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 ${r9e[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 ${n9e[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",
onPointerEnter: () => u(n),
onFocus: () => u(n),
onBlur: () => u(-1)
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, x.jsx)(a9e, {
+ }), g && _ ? /* @__PURE__ */ (0, x.jsx)(i9e, {
cell: g,
series: t.series,
tone: c,
@@ -89133,24 +89148,24 @@ function o9e({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis
]
});
}
-var s9e = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [$7e.map((e, t) => /* @__PURE__ */ (0, x.jsx)("text", {
+var o9e = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [Q7e.map((e, t) => /* @__PURE__ */ (0, x.jsx)("text", {
x: 0,
- y: 18 + t * k8 + 7,
+ y: 18 + t * A8 + 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, x.jsx)("text", {
- x: 30 + t * k8,
+ x: 30 + t * A8,
y: 8,
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
children: t
}, t))] });
-function c9e({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = t9e(e), s = n9e(e);
+function s9e({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
+ let o = e9e(e), s = t9e(e);
return s.cells.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
- children: [/* @__PURE__ */ (0, x.jsx)(o9e, {
+ children: [/* @__PURE__ */ (0, x.jsx)(a9e, {
title: t,
words: r,
tone: i,
@@ -89158,9 +89173,9 @@ function c9e({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: s9e,
+ axis: o9e,
footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
- }), /* @__PURE__ */ (0, x.jsx)(o9e, {
+ }), /* @__PURE__ */ (0, x.jsx)(a9e, {
title: n,
words: r,
tone: i,
@@ -89170,14 +89185,14 @@ function c9e({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
rows: 7,
footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", { children: s.start }), /* @__PURE__ */ (0, x.jsx)("span", { children: s.end })] })
})]
- }) : /* @__PURE__ */ (0, x.jsx)(_8, {
+ }) : /* @__PURE__ */ (0, x.jsx)(v8, {
title: t,
children: a
});
}
//#endregion
//#region src/react/components/expandable-ranking.tsx
-function l9e({ children: e, className: t = "", previewCount: n = 10 }) {
+function c9e({ children: e, className: t = "", previewCount: n = 10 }) {
let r = (0, b.useId)(), i = (0, b.useRef)(null), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(!1), l = b.Children.toArray(e), u = l.length > n;
(0, b.useLayoutEffect)(() => {
let e = i.current;
@@ -89224,14 +89239,14 @@ function l9e({ children: e, className: t = "", previewCount: n = 10 }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var u9e = "30%", d9e = "100%", f9e = 5, p9e = 14, m9e = 5, h9e = 1500, g9e = (0, b.createContext)(null);
-function A8() {
- let e = (0, b.use)(g9e);
+var l9e = "30%", u9e = "100%", d9e = 5, f9e = 14, p9e = 5, m9e = 1500, h9e = (0, b.createContext)(null);
+function j8() {
+ let e = (0, b.use)(h9e);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function j8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = u9e, outerRadius: l = d9e, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, b.useId)().replace(/:/g, ""), [h, g] = (0, b.useState)(u), _ = C9e(f), v = b9e(o), y = (0, b.useCallback)((e, t) => {
+function M8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = l9e, outerRadius: l = u9e, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, b.useId)().replace(/:/g, ""), [h, g] = (0, b.useState)(u), _ = S9e(f), v = y9e(o), y = (0, b.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -89258,12 +89273,12 @@ function j8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
h,
y
]);
- return /* @__PURE__ */ (0, x.jsx)(g9e, {
+ return /* @__PURE__ */ (0, x.jsx)(h9e, {
value: C,
- children: /* @__PURE__ */ (0, x.jsxs)(i8, {
+ children: /* @__PURE__ */ (0, x.jsxs)(a8, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, x.jsx)(a8, { isLoading: f }), /* @__PURE__ */ (0, x.jsxs)(G5e, {
+ children: [/* @__PURE__ */ (0, x.jsx)(o8, { isLoading: f }), /* @__PURE__ */ (0, x.jsxs)(W5e, {
id: m,
data: f ? _ : S,
innerRadius: c,
@@ -89274,16 +89289,16 @@ function j8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
cy: v.cy,
...a,
children: [
- s != null && s > 0 && /* @__PURE__ */ (0, x.jsx)(Q4, {
+ s != null && s > 0 && /* @__PURE__ */ (0, x.jsx)($4, {
type: "number",
domain: [0, s],
tick: !1,
axisLine: !1
}),
- p && /* @__PURE__ */ (0, x.jsx)(p8, { variant: p }),
+ p && /* @__PURE__ */ (0, x.jsx)(m8, { variant: p }),
r,
- f && /* @__PURE__ */ (0, x.jsx)(w9e, {}),
- /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(x9e, {
+ f && /* @__PURE__ */ (0, x.jsx)(C9e, {}),
+ /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(b9e, {
config: e,
chartId: m
}) })
@@ -89292,9 +89307,9 @@ function j8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function _9e({ dataKey: e, cornerRadius: t = f9e, barSize: n = p9e, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
- let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = A8();
- return s ? null : /* @__PURE__ */ (0, x.jsx)(V3, {
+function g9e({ dataKey: e, cornerRadius: t = d9e, barSize: n = f9e, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+ let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = j8();
+ return s ? null : /* @__PURE__ */ (0, x.jsx)(H3, {
dataKey: e,
cornerRadius: t,
barSize: n,
@@ -89308,7 +89323,7 @@ function _9e({ dataKey: e, cornerRadius: t = f9e, barSize: n = p9e, showBackgrou
},
shape: (e) => {
let t = e[o], n = c === null || c === t;
- return /* @__PURE__ */ (0, x.jsx)(gQ, {
+ return /* @__PURE__ */ (0, x.jsx)(_Q, {
...e,
opacity: i && !n ? .15 : 1,
className: "transition-opacity duration-200"
@@ -89317,12 +89332,12 @@ function _9e({ dataKey: e, cornerRadius: t = f9e, barSize: n = p9e, showBackgrou
...a
});
}
-function v9e({ variant: e, roundness: t, defaultIndex: n }) {
- let { nameKey: r, isLoading: i } = A8();
- return i ? null : /* @__PURE__ */ (0, x.jsx)(l8, {
+function _9e({ variant: e, roundness: t, defaultIndex: n }) {
+ let { nameKey: r, isLoading: i } = j8();
+ return i ? null : /* @__PURE__ */ (0, x.jsx)(u8, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, x.jsx)(c8, {
+ content: /* @__PURE__ */ (0, x.jsx)(l8, {
nameKey: r,
hideLabel: !0,
roundness: t,
@@ -89330,12 +89345,12 @@ function v9e({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function y9e({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = A8();
- return a ? null : /* @__PURE__ */ (0, x.jsx)(d8, {
+function v9e({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+ let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = j8();
+ return a ? null : /* @__PURE__ */ (0, x.jsx)(f8, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, x.jsx)(u8, {
+ content: /* @__PURE__ */ (0, x.jsx)(d8, {
selected: o,
onSelectChange: s,
isClickable: r,
@@ -89344,7 +89359,7 @@ function y9e({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function b9e(e) {
+function y9e(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -89360,8 +89375,8 @@ function b9e(e) {
};
}
}
-var x9e = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: Object.entries(e).map(([e, n]) => {
- let r = s8(n);
+var b9e = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: Object.entries(e).map(([e, n]) => {
+ let r = c8(n);
return /* @__PURE__ */ (0, x.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
x1: "0",
@@ -89383,47 +89398,47 @@ var x9e = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, x.jsx)(x.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function S9e() {
- return Array.from({ length: m9e }, (e, t) => ({
+function x9e() {
+ return Array.from({ length: p9e }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function C9e(e) {
+function S9e(e) {
let [t, n] = (0, b.useState)(0);
return (0, b.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
n((e) => e + 1);
- }, h9e);
+ }, m9e);
return () => clearInterval(t);
- }, [e]), (0, b.useMemo)(() => S9e(), [t]);
+ }, [e]), (0, b.useMemo)(() => x9e(), [t]);
}
-var w9e = () => /* @__PURE__ */ (0, x.jsx)(V3, {
+var C9e = () => /* @__PURE__ */ (0, x.jsx)(H3, {
dataKey: "value",
- cornerRadius: f9e,
- barSize: p9e,
+ cornerRadius: d9e,
+ barSize: f9e,
background: !0,
isAnimationActive: !0,
- animationDuration: h9e,
+ animationDuration: m9e,
animationEasing: "ease-in-out",
- shape: (e) => /* @__PURE__ */ (0, x.jsx)(gQ, {
+ shape: (e) => /* @__PURE__ */ (0, x.jsx)(_Q, {
...e,
fill: "currentColor",
fillOpacity: .25
})
});
-j8.RadialBar = _9e, j8.Tooltip = v9e, j8.Legend = y9e;
+M8.RadialBar = g9e, M8.Tooltip = _9e, M8.Legend = v9e;
//#endregion
//#region src/react/stats/radial-card.tsx
-var T9e = [
+var w9e = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], E9e = [
+], T9e = [
"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",
@@ -89431,19 +89446,19 @@ var T9e = [
"aria-pressed:bg-chart-5/10 aria-pressed:ring-chart-5",
"aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"
];
-function D9e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
- let [i, a] = (0, b.useState)(-1), [o, s] = (0, b.useState)(-1), c = tNe(t);
- if (!c.length) return /* @__PURE__ */ (0, x.jsx)(_8, {
+function E9e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
+ let [i, a] = (0, b.useState)(-1), [o, s] = (0, b.useState)(-1), c = eNe(t);
+ if (!c.length) return /* @__PURE__ */ (0, x.jsx)(v8, {
title: e,
children: n
});
- let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = nNe(c.map((e) => e.value)), m = c.map((e, t) => ({
- slice: w8(t),
+ let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = tNe(c.map((e) => e.value)), m = c.map((e, t) => ({
+ slice: T8(t),
value: e.value,
- arc: rNe(e.value, p)
+ arc: nNe(e.value, p)
}));
return /* @__PURE__ */ (0, x.jsxs)("section", {
- className: g8,
+ className: _8,
children: [
/* @__PURE__ */ (0, x.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
@@ -89465,18 +89480,18 @@ function D9e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
role: "img",
"aria-label": e,
onPointerLeave: () => s(-1),
- children: /* @__PURE__ */ (0, x.jsxs)(j8, {
+ children: /* @__PURE__ */ (0, x.jsxs)(M8, {
data: m,
nameKey: "slice",
- config: K7e(c.map((e) => e.name)),
+ config: G7e(c.map((e) => e.name)),
max: p,
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
- children: [/* @__PURE__ */ (0, x.jsx)(j8.RadialBar, {
+ children: [/* @__PURE__ */ (0, x.jsx)(M8.RadialBar, {
dataKey: "arc",
- barSize: iNe(c.length),
+ barSize: rNe(c.length),
radialBarProps: {
- shape: (e) => /* @__PURE__ */ (0, x.jsx)(gQ, {
+ shape: (e) => /* @__PURE__ */ (0, x.jsx)(_Q, {
...e,
opacity: l >= 0 && l !== e.index ? .3 : 1,
className: "cursor-pointer transition-opacity duration-200"
@@ -89484,7 +89499,7 @@ function D9e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
onClick: (e, t) => f(t),
onMouseEnter: (e, t) => s(t)
}
- }), /* @__PURE__ */ (0, x.jsx)(T8, {
+ }), /* @__PURE__ */ (0, x.jsx)(E8, {
nameKey: "slice",
valueKey: "value",
hideLabel: !0
@@ -89501,13 +89516,13 @@ function D9e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
onPointerLeave: () => s(-1),
onFocus: () => s(t),
onBlur: () => s(-1),
- className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${E9e[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 ${T9e[t % 6]}`,
children: [
/* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 max-w-full items-start gap-1.5 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, x.jsx)("i", {
"aria-hidden": !0,
- className: `mt-0.5 size-3 shrink-0 rounded-sm ${T9e[t % 6]}`
+ className: `mt-0.5 size-3 shrink-0 rounded-sm ${w9e[t % 6]}`
}), /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex min-w-0 items-start gap-1.5 wrap-anywhere",
children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(kk, { mark: e.mark }) : null, e.name]
@@ -89522,15 +89537,15 @@ function D9e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
children: Ut(e.bytes)
})
]
- }, w8(t)))
+ }, T8(t)))
})
]
});
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var O9e = 10, M8 = S8[5], k9e = S8[4], A9e = `${ck()} flex flex-col gap-4`, N8 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", j9e = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", M9e = "开始播放后,这里会显示最近的真实观看证据。", N9e = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", P9e = "添加媒体文件夹后,这里会显示存储空间。", F9e = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", I9e = "探测时长后,这里会显示时长分布。", L9e = "探测画质后,这里会显示画质分布。", R9e = "开始播放后,这里会显示播放落在一周的哪些时段。", z9e = "开始播放后,这里会显示每个作品播了几次。", P8 = (e, t) => Math.min(Math.max(e, 0), t);
-function F8({ term: e, value: t }) {
+var D9e = 10, N8 = C8[5], O9e = C8[4], k9e = `${ck()} flex flex-col gap-4`, P8 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", A9e = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", j9e = "开始播放后,这里会显示最近的真实观看证据。", M9e = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", N9e = "添加媒体文件夹后,这里会显示存储空间。", P9e = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", F9e = "探测时长后,这里会显示时长分布。", I9e = "探测画质后,这里会显示画质分布。", L9e = "开始播放后,这里会显示播放落在一周的哪些时段。", R9e = "开始播放后,这里会显示每个作品播了几次。", F8 = (e, t) => Math.min(Math.max(e, 0), t);
+function I8({ term: e, value: t }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, x.jsx)("span", {
@@ -89538,11 +89553,11 @@ function F8({ term: e, value: t }) {
children: e
}), /* @__PURE__ */ (0, x.jsx)("b", {
className: "text-title-3-medium tabular-nums text-text-primary",
- children: YW(t)
+ children: XW(t)
})]
});
}
-function I8({ term: e, value: t, total: n }) {
+function L8({ term: e, value: t, total: n }) {
let r = Math.max(n, 1);
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -89550,19 +89565,19 @@ function I8({ term: e, value: t, total: n }) {
className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",
children: [/* @__PURE__ */ (0, x.jsx)("span", { children: e }), /* @__PURE__ */ (0, x.jsxs)("b", {
className: "tabular-nums",
- children: [YW(t), JW(t) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [XW(t), YW(t) ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: XW(t, n)
+ children: ZW(t, n)
}) : null]
})]
}), /* @__PURE__ */ (0, x.jsx)(pk, {
- label: `${e}:${YW(t)} / ${n.toLocaleString()}`,
- value: JW(t) ? P8(t, r) : 0,
+ label: `${e}:${XW(t)} / ${n.toLocaleString()}`,
+ value: YW(t) ? F8(t, r) : 0,
max: r
})]
});
}
-function L8({ term: e, figure: t, unit: n }) {
+function R8({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-64 md:pr-6 md:pb-0",
children: [
@@ -89581,32 +89596,32 @@ function L8({ term: e, figure: t, unit: n }) {
]
});
}
-function R8({ headline: e, children: t }) {
+function z8({ headline: e, children: t }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: `${A9e} md:flex-row md:gap-6`,
+ className: `${k9e} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function B9e({ data: e, configurable: t, openMediaSettings: n }) {
+function z9e({ data: e, configurable: t, openMediaSettings: n }) {
return e.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2",
- children: [/* @__PURE__ */ (0, x.jsx)(D9e, {
+ children: [/* @__PURE__ */ (0, x.jsx)(E9e, {
title: "网盘与本地",
- empty: N8,
+ empty: P8,
rows: e.by_loc.map((e) => ({
name: Yt[e.k] ?? e.k,
value: e.videos,
bytes: e.bytes,
mark: Ja[e.k] || "database"
}))
- }), /* @__PURE__ */ (0, x.jsx)(D9e, {
+ }), /* @__PURE__ */ (0, x.jsx)(E9e, {
title: "媒体库",
- empty: F9e,
+ empty: P9e,
rows: e.by_library.map((e) => ({
name: e.name,
value: e.videos,
@@ -89617,30 +89632,30 @@ function B9e({ data: e, configurable: t, openMediaSettings: n }) {
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(D8, {
+ /* @__PURE__ */ (0, x.jsx)(O8, {
title: "时长",
unit: "个视频",
series: "视频",
- color: M8,
- rows: cNe(e.by_length),
- empty: I9e
+ color: N8,
+ rows: sNe(e.by_length),
+ empty: F9e
}),
- /* @__PURE__ */ (0, x.jsx)(D8, {
+ /* @__PURE__ */ (0, x.jsx)(O8, {
title: "画质",
unit: "个视频",
series: "视频",
- color: M8,
- rows: eG(e.by_quality),
- empty: L9e
+ color: N8,
+ rows: tG(e.by_quality),
+ empty: I9e
}),
- /* @__PURE__ */ (0, x.jsx)(D8, {
+ /* @__PURE__ */ (0, x.jsx)(O8, {
title: "文件类型",
unit: "个条目",
series: "条目",
- color: M8,
+ color: N8,
layout: "horizontal",
- rows: oNe(e.by_medium),
- empty: N8
+ rows: aNe(e.by_medium),
+ empty: P8
})
]
})]
@@ -89658,11 +89673,11 @@ function B9e({ data: e, configurable: t, openMediaSettings: n }) {
size: "small",
children: "添加关注"
})] }),
- children: N8
+ children: P8
});
}
-function V9e({ data: e }) {
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(c9e, {
+function B9e({ data: e }) {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(s9e, {
activity: e.play_activity,
title: "播放时间",
dailyTitle: "每日播放",
@@ -89672,42 +89687,42 @@ function V9e({ data: e }) {
cellUnit: "个作品"
},
tone: 5,
- empty: R9e
- }), /* @__PURE__ */ (0, x.jsx)(D8, {
+ empty: L9e
+ }), /* @__PURE__ */ (0, x.jsx)(O8, {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: k9e,
- rows: uNe(e.replays),
- empty: z9e
+ color: O9e,
+ rows: lNe(e.replays),
+ empty: R9e
})] });
}
-function H9e({ attribution: e }) {
+function V9e({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col",
children: [
- /* @__PURE__ */ (0, x.jsx)(I8, {
+ /* @__PURE__ */ (0, x.jsx)(L8, {
term: "有创作者",
value: e.creator,
total: t
}),
- /* @__PURE__ */ (0, x.jsx)(I8, {
+ /* @__PURE__ */ (0, x.jsx)(L8, {
term: "有番号",
value: e.code,
total: t
}),
- /* @__PURE__ */ (0, x.jsx)(I8, {
+ /* @__PURE__ */ (0, x.jsx)(L8, {
term: "有厂牌",
value: e.studio,
total: t
}),
- /* @__PURE__ */ (0, x.jsx)(I8, {
+ /* @__PURE__ */ (0, x.jsx)(L8, {
term: "已抽帧",
value: e.thumb,
total: t
}),
- /* @__PURE__ */ (0, x.jsx)(I8, {
+ /* @__PURE__ */ (0, x.jsx)(L8, {
term: "已探测时长",
value: e.duration,
total: t
@@ -89715,7 +89730,7 @@ function H9e({ attribution: e }) {
]
});
}
-function U9e({ volume: e }) {
+function H9e({ volume: e }) {
let t = e.total, n = e.used ?? 0;
return /* @__PURE__ */ (0, x.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -89732,13 +89747,13 @@ function U9e({ volume: e }) {
className: "whitespace-nowrap tabular-nums",
children: [Ut(n), /* @__PURE__ */ (0, x.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: XW(n, t)
+ children: ZW(n, t)
})]
})]
}),
t == null ? null : /* @__PURE__ */ (0, x.jsx)(pk, {
label: `${e.label}空间使用率`,
- value: P8(n, Math.max(t, 1)),
+ value: F8(n, Math.max(t, 1)),
max: Math.max(t, 1)
}),
/* @__PURE__ */ (0, x.jsxs)("p", {
@@ -89754,10 +89769,10 @@ function U9e({ volume: e }) {
]
});
}
-function W9e({ volumes: e, configurable: t, openMediaSettings: n }) {
+function U9e({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col",
- children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(U9e, { volume: e }, `${e.kind}:${e.label}`))
+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(H9e, { volume: e }, `${e.kind}:${e.label}`))
}) : /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
icon: kO,
@@ -89767,12 +89782,12 @@ function W9e({ volumes: e, configurable: t, openMediaSettings: n }) {
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: P9e
+ children: N9e
});
}
-function G9e({ tags: e, tagLabel: t, onTag: n }) {
- return e.length ? /* @__PURE__ */ (0, x.jsx)(l9e, {
- previewCount: O9e,
+function W9e({ tags: e, tagLabel: t, onTag: n }) {
+ return e.length ? /* @__PURE__ */ (0, x.jsx)(c9e, {
+ previewCount: D9e,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, x.jsx)("li", {
className: "min-w-0",
@@ -89806,14 +89821,14 @@ function G9e({ tags: e, tagLabel: t, onTag: n }) {
size: "small",
children: "补全资料"
}),
- children: j9e
+ children: A9e
});
}
-function K9e({ rows: e }) {
+function G9e({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = QW(e);
+ let t = $W(e);
return /* @__PURE__ */ (0, x.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -89821,7 +89836,7 @@ function K9e({ rows: e }) {
children: [/* @__PURE__ */ (0, x.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, x.jsx)("a", {
- href: eNe(e),
+ href: $Me(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
@@ -89831,7 +89846,7 @@ function K9e({ rows: e }) {
children: [e.creator ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 wrap-anywhere",
children: e.creator
- }) : null, /* @__PURE__ */ (0, x.jsx)("span", { children: $Me(e) })]
+ }) : null, /* @__PURE__ */ (0, x.jsx)("span", { children: QMe(e) })]
})]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "min-w-0 basis-40",
@@ -89840,7 +89855,7 @@ function K9e({ rows: e }) {
value: t
}), /* @__PURE__ */ (0, x.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${$W(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${eG(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
@@ -89855,10 +89870,10 @@ function K9e({ rows: e }) {
size: "small",
children: "浏览馆藏"
}),
- children: M9e
+ children: j9e
});
}
-function q9e({ sources: e, videos: t }) {
+function K9e({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)("article", {
@@ -89879,7 +89894,7 @@ function q9e({ sources: e, videos: t }) {
}),
/* @__PURE__ */ (0, x.jsx)(pk, {
label: `${e.k} 覆盖视频`,
- value: P8(e.assets, Math.max(t, 1)),
+ value: F8(e.assets, Math.max(t, 1)),
max: Math.max(t, 1)
}),
/* @__PURE__ */ (0, x.jsxs)("small", {
@@ -89898,17 +89913,17 @@ function q9e({ sources: e, videos: t }) {
size: "small",
children: "补全资料"
}),
- children: N9e
+ children: M9e
});
}
-function z8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, x.jsx)(Ej, {
+function B8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
+ return /* @__PURE__ */ (0, x.jsx)(Dj, {
id: e,
- className: pP({
+ className: mP({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, x.jsx)(_P, {
+ children: /* @__PURE__ */ (0, x.jsx)(vP, {
label: t,
icon: i,
accent: a,
@@ -89917,31 +89932,31 @@ function z8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function J9e(e) {
+function q9e(e) {
let t = dt({
- queryKey: KW,
- queryFn: ({ signal: e }) => qW(e)
+ queryKey: qW,
+ queryFn: ({ signal: e }) => JW(e)
}), n = t.data;
if (!n) return /* @__PURE__ */ (0, x.jsx)(dk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? z(t.error) : "未取得统计数据,请刷新页面重试。"
}) });
- let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = JW(n.tag_cov) ? XW(n.tag_cov, n.attribution.videos) : "未取得", c = `${YW(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
+ let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = YW(n.tag_cov) ? ZW(n.tag_cov, n.attribution.videos) : "未取得", c = `${XW(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
return /* @__PURE__ */ (0, x.jsxs)(dk, { children: [
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${Ut(o)}`
}),
- /* @__PURE__ */ (0, x.jsxs)(wj, {
+ /* @__PURE__ */ (0, x.jsxs)(Tj, {
defaultSelectedKey: "inventory",
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsxs)(Tj, {
+ /* @__PURE__ */ (0, x.jsxs)(Ej, {
"aria-label": "统计视图",
- className: mP,
+ className: hP,
children: [
- /* @__PURE__ */ (0, x.jsx)(z8, {
+ /* @__PURE__ */ (0, x.jsx)(B8, {
id: "inventory",
label: "馆藏视频",
icon: EO,
@@ -89949,15 +89964,15 @@ function J9e(e) {
figure: a.toLocaleString(),
detail: Ut(o)
}),
- /* @__PURE__ */ (0, x.jsx)(z8, {
+ /* @__PURE__ */ (0, x.jsx)(B8, {
id: "viewing",
label: "看过",
icon: ade,
accent: 1,
- figure: YW(r.played),
- detail: ZW(r.play_seconds)
+ figure: XW(r.played),
+ detail: QW(r.play_seconds)
}),
- /* @__PURE__ */ (0, x.jsx)(z8, {
+ /* @__PURE__ */ (0, x.jsx)(B8, {
id: "coverage",
label: "内容标签",
icon: jO,
@@ -89965,7 +89980,7 @@ function J9e(e) {
figure: s,
detail: c
}),
- /* @__PURE__ */ (0, x.jsx)(z8, {
+ /* @__PURE__ */ (0, x.jsx)(B8, {
id: "storage",
label: "使用空间",
icon: kO,
@@ -89975,81 +89990,81 @@ function J9e(e) {
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(Dj, {
+ /* @__PURE__ */ (0, x.jsx)(Oj, {
id: "inventory",
- children: /* @__PURE__ */ (0, x.jsx)(B9e, {
+ children: /* @__PURE__ */ (0, x.jsx)(z9e, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, x.jsxs)(Dj, {
+ /* @__PURE__ */ (0, x.jsxs)(Oj, {
id: "viewing",
className: "flex flex-col gap-5",
- children: [/* @__PURE__ */ (0, x.jsx)(R8, {
- headline: /* @__PURE__ */ (0, x.jsx)(L8, {
+ children: [/* @__PURE__ */ (0, x.jsx)(z8, {
+ headline: /* @__PURE__ */ (0, x.jsx)(R8, {
term: "观看",
- figure: YW(r.played),
+ figure: XW(r.played),
unit: "个作品有播放记录"
}),
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "inline-grid w-full gap-3 sm:grid-cols-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(F8, {
+ /* @__PURE__ */ (0, x.jsx)(I8, {
term: "馆藏观看",
value: r.library_played
}),
- /* @__PURE__ */ (0, x.jsx)(F8, {
+ /* @__PURE__ */ (0, x.jsx)(I8, {
term: "在线直接观看",
value: r.online_played
}),
- /* @__PURE__ */ (0, x.jsx)(F8, {
+ /* @__PURE__ */ (0, x.jsx)(I8, {
term: "高潮计数",
value: r.o_total
}),
- /* @__PURE__ */ (0, x.jsx)(F8, {
+ /* @__PURE__ */ (0, x.jsx)(I8, {
term: "快进扫过",
value: r.skimmed
}),
- /* @__PURE__ */ (0, x.jsx)(F8, {
+ /* @__PURE__ */ (0, x.jsx)(I8, {
term: "喜欢",
value: r.liked
}),
- /* @__PURE__ */ (0, x.jsx)(F8, {
+ /* @__PURE__ */ (0, x.jsx)(I8, {
term: "明确不喜欢",
value: r.dislike
}),
- /* @__PURE__ */ (0, x.jsx)(F8, {
+ /* @__PURE__ */ (0, x.jsx)(I8, {
term: "看过了",
value: r.seen
}),
- /* @__PURE__ */ (0, x.jsx)(F8, {
+ /* @__PURE__ */ (0, x.jsx)(I8, {
term: "回收站",
value: r.trash
})
]
})
- }), /* @__PURE__ */ (0, x.jsx)(V9e, { data: n })]
+ }), /* @__PURE__ */ (0, x.jsx)(B9e, { data: n })]
}),
- /* @__PURE__ */ (0, x.jsx)(Dj, {
+ /* @__PURE__ */ (0, x.jsx)(Oj, {
id: "coverage",
- children: /* @__PURE__ */ (0, x.jsx)(R8, {
- headline: /* @__PURE__ */ (0, x.jsx)(L8, {
+ children: /* @__PURE__ */ (0, x.jsx)(z8, {
+ headline: /* @__PURE__ */ (0, x.jsx)(R8, {
term: "内容标签覆盖",
figure: s,
unit: c
}),
- children: /* @__PURE__ */ (0, x.jsx)(H9e, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, x.jsx)(V9e, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, x.jsx)(Dj, {
+ /* @__PURE__ */ (0, x.jsx)(Oj, {
id: "storage",
- children: /* @__PURE__ */ (0, x.jsx)(R8, {
- headline: /* @__PURE__ */ (0, x.jsx)(L8, {
+ children: /* @__PURE__ */ (0, x.jsx)(z8, {
+ headline: /* @__PURE__ */ (0, x.jsx)(R8, {
term: "使用空间",
figure: i.measured.toLocaleString(),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, x.jsx)(W9e, {
+ children: /* @__PURE__ */ (0, x.jsx)(U9e, {
volumes: n.storage_volumes,
...e
})
@@ -90057,51 +90072,51 @@ function J9e(e) {
})
]
}),
- /* @__PURE__ */ (0, x.jsxs)(wj, {
+ /* @__PURE__ */ (0, x.jsxs)(Tj, {
defaultSelectedKey: "tags",
className: `${ck({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, x.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, x.jsxs)(Kj, {
+ children: /* @__PURE__ */ (0, x.jsxs)(qj, {
"aria-label": "统计维度",
- className: Jj,
+ className: Yj,
children: [
- /* @__PURE__ */ (0, x.jsx)(Ej, {
+ /* @__PURE__ */ (0, x.jsx)(Dj, {
id: "tags",
- className: Yj,
+ className: Xj,
children: "内容标签"
}),
- /* @__PURE__ */ (0, x.jsx)(Ej, {
+ /* @__PURE__ */ (0, x.jsx)(Dj, {
id: "recent",
- className: Yj,
+ className: Xj,
children: "最近看过"
}),
- /* @__PURE__ */ (0, x.jsx)(Ej, {
+ /* @__PURE__ */ (0, x.jsx)(Dj, {
id: "sources",
- className: Yj,
+ className: Xj,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, x.jsx)(Dj, {
+ /* @__PURE__ */ (0, x.jsx)(Oj, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, x.jsx)(G9e, {
+ children: /* @__PURE__ */ (0, x.jsx)(W9e, {
tags: n.top_tags,
...e
})
}),
- /* @__PURE__ */ (0, x.jsx)(Dj, {
+ /* @__PURE__ */ (0, x.jsx)(Oj, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, x.jsx)(K9e, { rows: n.recent })
+ children: /* @__PURE__ */ (0, x.jsx)(G9e, { rows: n.recent })
}),
- /* @__PURE__ */ (0, x.jsx)(Dj, {
+ /* @__PURE__ */ (0, x.jsx)(Oj, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, x.jsx)(q9e, {
+ children: /* @__PURE__ */ (0, x.jsx)(K9e, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -90112,66 +90127,66 @@ function J9e(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function Y9e(e, t) {
+function J9e(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
//#region node_modules/d3-sankey/src/constant.js
-function B8(e) {
+function V8(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-sankey/src/sankey.js
-function X9e(e, t) {
- return V8(e.source, t.source) || e.index - t.index;
+function Y9e(e, t) {
+ return H8(e.source, t.source) || e.index - t.index;
}
-function Z9e(e, t) {
- return V8(e.target, t.target) || e.index - t.index;
+function X9e(e, t) {
+ return H8(e.target, t.target) || e.index - t.index;
}
-function V8(e, t) {
+function H8(e, t) {
return e.y0 - t.y0;
}
-function H8(e) {
+function U8(e) {
return e.value;
}
-function Q9e(e) {
+function Z9e(e) {
return e.index;
}
-function $9e(e) {
+function Q9e(e) {
return e.nodes;
}
-function eet(e) {
+function $9e(e) {
return e.links;
}
-function tet(e, t) {
+function eet(e, t) {
let n = e.get(t);
if (!n) throw Error("missing: " + t);
return n;
}
-function net({ nodes: e }) {
+function tet({ nodes: e }) {
for (let t of e) {
let e = t.y0, n = e;
for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function ret() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = Q9e, c = Y9e, l, u, d = $9e, f = eet, p = 6;
+function net() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = Z9e, c = J9e, l, u, d = Q9e, f = $9e, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
links: f.apply(null, arguments)
};
- return h(e), g(e), _(e), v(e), x(e), net(e), e;
+ return h(e), g(e), _(e), v(e), x(e), tet(e), e;
}
m.update = function(e) {
- return net(e), e;
+ return tet(e), e;
}, m.nodeId = function(e) {
- return arguments.length ? (s = typeof e == "function" ? e : B8(e), m) : s;
+ return arguments.length ? (s = typeof e == "function" ? e : V8(e), m) : s;
}, m.nodeAlign = function(e) {
- return arguments.length ? (c = typeof e == "function" ? e : B8(e), m) : c;
+ return arguments.length ? (c = typeof e == "function" ? e : V8(e), m) : c;
}, m.nodeSort = function(e) {
return arguments.length ? (l = e, m) : l;
}, m.nodeWidth = function(e) {
@@ -90179,9 +90194,9 @@ function ret() {
}, m.nodePadding = function(e) {
return arguments.length ? (a = o = +e, m) : a;
}, m.nodes = function(e) {
- return arguments.length ? (d = typeof e == "function" ? e : B8(e), m) : d;
+ return arguments.length ? (d = typeof e == "function" ? e : V8(e), m) : d;
}, m.links = function(e) {
- return arguments.length ? (f = typeof e == "function" ? e : B8(e), m) : f;
+ return arguments.length ? (f = typeof e == "function" ? e : V8(e), m) : f;
}, m.linkSort = function(e) {
return arguments.length ? (u = e, m) : u;
}, m.size = function(i) {
@@ -90197,12 +90212,12 @@ function ret() {
for (let [e, r] of t.entries()) {
r.index = e;
let { source: t, target: i } = r;
- typeof t != "object" && (t = r.source = tet(n, t)), typeof i != "object" && (i = r.target = tet(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
+ typeof t != "object" && (t = r.source = eet(n, t)), typeof i != "object" && (i = r.target = eet(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
}
if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);
}
function g({ nodes: e }) {
- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(B$(t.sourceLinks, H8), B$(t.targetLinks, H8)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(V$(t.sourceLinks, U8), V$(t.targetLinks, U8)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -90227,7 +90242,7 @@ function ret() {
}
}
function y({ nodes: t }) {
- let r = I$(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
+ let r = L$(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
for (let n of t) {
let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));
n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];
@@ -90236,7 +90251,7 @@ function ret() {
return o;
}
function b(e) {
- let n = L$(e, (e) => (r - t - (e.length - 1) * o) / B$(e, H8));
+ let n = R$(e, (e) => (r - t - (e.length - 1) * o) / V$(e, U8));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -90253,7 +90268,7 @@ function ret() {
}
function x(e) {
let n = y(e);
- o = Math.min(a, (r - t) / (I$(n, (e) => e.length) - 1)), b(n);
+ o = Math.min(a, (r - t) / (L$(n, (e) => e.length) - 1)), b(n);
for (let e = 0; e < p; ++e) {
let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);
C(n, t, r), S(n, t, r);
@@ -90272,7 +90287,7 @@ function ret() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(V8), w(i, n);
+ l === void 0 && i.sort(H8), w(i, n);
}
}
function C(e, t, n) {
@@ -90288,7 +90303,7 @@ function ret() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(V8), w(i, n);
+ l === void 0 && i.sort(H8), w(i, n);
}
}
function w(e, n) {
@@ -90309,12 +90324,12 @@ function ret() {
}
function D({ sourceLinks: e, targetLinks: t }) {
if (u === void 0) {
- for (let { source: { sourceLinks: e } } of t) e.sort(Z9e);
- for (let { target: { targetLinks: t } } of e) t.sort(X9e);
+ for (let { source: { sourceLinks: e } } of t) e.sort(X9e);
+ for (let { target: { targetLinks: t } } of e) t.sort(Y9e);
}
}
function O(e) {
- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(Z9e), n.sort(X9e);
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(X9e), n.sort(Y9e);
}
function k(e, t) {
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
@@ -90344,15 +90359,15 @@ function ret() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var U8 = Math.PI, W8 = 2 * U8, G8 = 1e-6, iet = W8 - G8;
-function K8() {
+var W8 = Math.PI, G8 = 2 * W8, K8 = 1e-6, ret = G8 - K8;
+function q8() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
-function aet() {
- return new K8();
+function iet() {
+ return new q8();
}
-K8.prototype = aet.prototype = {
- constructor: K8,
+q8.prototype = iet.prototype = {
+ constructor: q8,
moveTo: function(e, t) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
},
@@ -90373,11 +90388,11 @@ K8.prototype = aet.prototype = {
var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (i < 0) throw Error("negative radius: " + i);
if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);
- else if (d > G8) {
- if (!(Math.abs(u * s - c * l) > G8) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
+ else if (d > K8) {
+ if (!(Math.abs(u * s - c * l) > K8) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
else {
- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((U8 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > G8 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((W8 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > K8 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
}
}
},
@@ -90385,7 +90400,7 @@ K8.prototype = aet.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) > G8 || Math.abs(this._y1 - l) > G8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % W8 + W8), d > iet ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > G8 && (this._ += "A" + n + "," + n + ",0," + +(d >= U8) + "," + 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) > K8 || Math.abs(this._y1 - l) > K8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % G8 + G8), d > ret ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > K8 && (this._ += "A" + n + "," + n + ",0," + +(d >= W8) + "," + 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";
@@ -90396,93 +90411,93 @@ K8.prototype = aet.prototype = {
};
//#endregion
//#region node_modules/d3-shape/src/constant.js
-function oet(e) {
+function aet(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function set(e) {
+function oet(e) {
return e[0];
}
-function cet(e) {
+function set(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var uet = Array.prototype.slice;
+var cet = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function det(e) {
+function uet(e) {
return e.source;
}
-function fet(e) {
+function det(e) {
return e.target;
}
-function pet(e) {
- var t = det, n = fet, r = set, i = cet, a = null;
+function fet(e) {
+ var t = uet, n = det, r = oet, i = set, a = null;
function o() {
- var o, s = uet.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
- if (a ||= o = aet(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
+ var o, s = cet.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ if (a ||= o = iet(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
}
return o.source = function(e) {
return arguments.length ? (t = e, o) : t;
}, o.target = function(e) {
return arguments.length ? (n = e, o) : n;
}, o.x = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : oet(+e), o) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : aet(+e), o) : r;
}, o.y = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : oet(+e), o) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : aet(+e), o) : i;
}, o.context = function(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function met(e, t, n, r, i) {
+function pet(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function het() {
- return pet(met);
+function met() {
+ return fet(pet);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function get(e) {
+function het(e) {
return [e.source.x1, e.y0];
}
-function _et(e) {
+function get(e) {
return [e.target.x0, e.y1];
}
-function vet() {
- return het().source(get).target(_et);
+function _et() {
+ return met().source(het).target(get);
}
//#endregion
//#region src/react/taste/taste.ts
-var yet = "/api/taste", bet = "/api/taste/refresh", xet = "/api/taste/import", Cet = "/api/taste/source", q8 = (e) => ["taste", e], wet = ["taste", "refresh"], Tet = [
+var vet = "/api/taste", yet = "/api/taste/refresh", bet = "/api/taste/import", xet = "/api/taste/source", J8 = (e) => ["taste", e], Cet = ["taste", "refresh"], wet = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], Eet = (e, t) => V(Cet, {
+], Tet = (e, t) => V(xet, {
...e,
window: t
-}), Det = (e, t) => B(`${yet}?window=${e}`, t), Oet = (e) => B(bet, e);
-async function ket(e, t) {
+}), Eet = (e, t) => B(`${vet}?window=${e}`, t), Det = (e) => B(yet, e);
+async function Oet(e, t) {
await H.fetchQuery({
- queryKey: q8(e),
- queryFn: () => Det(e, t)
+ queryKey: J8(e),
+ queryFn: () => Eet(e, t)
});
}
-var Aet = (e) => V(bet, {
+var ket = (e) => V(yet, {
window: e,
background: !0
-}), jet = (e, t) => V(Cet, {
+}), Aet = (e, t) => V(xet, {
operation: "remove",
source_key: e,
window: t
});
-async function Met(e) {
- let t = await fetch(xet, {
+async function jet(e) {
+ let t = await fetch(bet, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -90500,47 +90515,47 @@ async function Met(e) {
}
return n;
}
-var Net = 1e4, J8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
-function Pet(e) {
+var Met = 1e4, Y8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
+function Net(e) {
let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;
- return !e.range_start && !e.range_end ? t : `${t} · ${J8(e.range_start)}—${J8(e.range_end)}`;
+ return !e.range_start && !e.range_end ? t : `${t} · ${Y8(e.range_start)}—${Y8(e.range_end)}`;
}
-var Fet = ZW, Iet = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), Let = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function Ret(e) {
+var Pet = QW, Fet = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), Iet = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function Let(e) {
if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();
let t = [];
return e.web_visits && t.push(`浏览 ${Number(e.web_visits).toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");
}
-function zet(e) {
- let t = e.map(Let), n = Math.max(1, ...t);
+function Ret(e) {
+ let t = e.map(Iet), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
-var Bet = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
+var zet = (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 Vet(e) {
- let t = Bet(e, 6);
+function Bet(e) {
+ let t = zet(e, 6);
return t.length < 3 ? [] : t;
}
-var Het = {
+var Vet = {
width: 720,
height: 435
-}, Uet = {
+}, Het = {
source: 145,
target: 545
-}, Wet = 30, Get = 240;
-function Ket(e, t, n) {
+}, Uet = 30, Wet = 240;
+function Get(e, t, n) {
let r = /* @__PURE__ */ new Map();
for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);
if (r.size <= 12) return (e) => e;
let i = [...r].sort((e, t) => t[1] - e[1]).map(([e]) => e), a = new Set(i.slice(0, 11)), o = n(i.length - a.size);
return (e) => a.has(e) ? e : o;
}
-function qet(e = []) {
+function Ket(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = Ket(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = Ket(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
+ let n = Get(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = Get(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
for (let e of t) {
let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);
s ? s.value += e.value : i.set(o, {
@@ -90549,7 +90564,7 @@ function qet(e = []) {
value: e.value
});
}
- let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * Wet + Get), u = ret().nodeId((e) => e.id).nodeWidth(10).nodePadding(Wet).extent([[155, 16], [535, l]])({
+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * Uet + Wet), u = net().nodeId((e) => e.id).nodeWidth(10).nodePadding(Uet).extent([[155, 16], [535, l]])({
nodes: [...o.map((e) => ({
id: `source:${e}`,
name: e,
@@ -90564,7 +90579,7 @@ function qet(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), d = a.reduce((e, t) => e + t.value, 0), f = vet();
+ }), d = a.reduce((e, t) => e + t.value, 0), f = _et();
return {
nodes: u.nodes.map((e) => ({
id: e.id,
@@ -90592,14 +90607,14 @@ function qet(e = []) {
};
}),
total: d,
- height: l + Het.height - 404
+ height: l + Vet.height - 404
};
}
-var Jet = (e) => Jt(e, 17), Yet = b.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var qet = (e) => Jt(e, 17), Jet = b.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = b.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
- case "border": return /* @__PURE__ */ (0, x.jsx)(Zet, {
+ case "border": return /* @__PURE__ */ (0, x.jsx)(Xet, {
cx: e,
cy: t,
dotId: c,
@@ -90608,7 +90623,7 @@ var Jet = (e) => Jt(e, 17), Yet = b.memo(function({ cx: e, cy: t, dataKey: n, ch
className: i,
maskId: s
});
- case "colored-border": return /* @__PURE__ */ (0, x.jsx)(Qet, {
+ case "colored-border": return /* @__PURE__ */ (0, x.jsx)(Zet, {
cx: e,
cy: t,
dotId: c,
@@ -90617,7 +90632,7 @@ var Jet = (e) => Jt(e, 17), Yet = b.memo(function({ cx: e, cy: t, dataKey: n, ch
className: i,
maskId: s
});
- default: return /* @__PURE__ */ (0, x.jsx)(Xet, {
+ default: return /* @__PURE__ */ (0, x.jsx)(Yet, {
cx: e,
cy: t,
dotId: c,
@@ -90627,7 +90642,7 @@ var Jet = (e) => Jt(e, 17), Yet = b.memo(function({ cx: e, cy: t, dataKey: n, ch
maskId: s
});
}
-}), Xet = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {
+}), Yet = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {
className: a,
mask: o ? `url(#${o})` : void 0,
children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)("clipPath", {
@@ -90647,9 +90662,9 @@ var Jet = (e) => Jt(e, 17), Yet = b.memo(function({ cx: e, cy: t, dataKey: n, ch
clipPath: `url(#dot-clip-${n})`
})]
}));
-Xet.displayName = "DefaultDot";
-var Zet = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {
- className: t8(a, "text-background"),
+Yet.displayName = "DefaultDot";
+var Xet = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {
+ className: n8(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
/* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)("clipPath", {
@@ -90685,9 +90700,9 @@ var Zet = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, clas
}) })
]
}));
-Zet.displayName = "PrimaryBorderDot";
-var Qet = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {
- className: t8(a, "text-background"),
+Xet.displayName = "PrimaryBorderDot";
+var Zet = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {
+ className: n8(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
/* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)("clipPath", {
@@ -90715,17 +90730,17 @@ var Qet = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, clas
})
]
}));
-Qet.displayName = "ColoredBorderDot";
+Zet.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var $et = 1, ett = .3, ttt = 6, ntt = 1500, rtt = "value", itt = (0, b.createContext)(null);
-function Y8() {
- let e = (0, b.use)(itt);
+var Qet = 1, $et = .3, ett = 6, ttt = 1500, ntt = "value", rtt = (0, b.createContext)(null);
+function X8() {
+ let e = (0, b.use)(rtt);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
-function X8({ 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, b.useId)().replace(/:/g, ""), [d, f] = (0, b.useState)(o), p = ytt(c, l), m = (0, b.useCallback)((e) => {
+function Z8({ 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, b.useId)().replace(/:/g, ""), [d, f] = (0, b.useState)(o), p = vtt(c, l), m = (0, b.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, b.useMemo)(() => ({
config: e,
@@ -90738,37 +90753,37 @@ function X8({ config: e, data: t, children: n, className: r, chartProps: i, back
d,
m
]);
- return /* @__PURE__ */ (0, x.jsx)(itt, {
+ return /* @__PURE__ */ (0, x.jsx)(rtt, {
value: h,
- children: /* @__PURE__ */ (0, x.jsxs)(i8, {
+ children: /* @__PURE__ */ (0, x.jsxs)(a8, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, x.jsx)(a8, { isLoading: c }), /* @__PURE__ */ (0, x.jsxs)(F5e, {
+ children: [/* @__PURE__ */ (0, x.jsx)(o8, { isLoading: c }), /* @__PURE__ */ (0, x.jsxs)(P5e, {
id: u,
data: c ? p : t,
...i,
children: [
- a && /* @__PURE__ */ (0, x.jsx)(p8, { variant: a }),
+ a && /* @__PURE__ */ (0, x.jsx)(m8, { variant: a }),
n,
- c && /* @__PURE__ */ (0, x.jsx)(btt, {})
+ c && /* @__PURE__ */ (0, x.jsx)(ytt, {})
]
})]
})
});
}
-function att({ dataKey: e, variant: t = "filled", fillOpacity: n = ett, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
- let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = Y8(), d = (0, b.useId)().replace(/:/g, "");
+function itt({ dataKey: e, variant: t = "filled", fillOpacity: n = $et, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+ let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = X8(), d = (0, b.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 } = ptt(a, d, e, p.dot);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(O3, {
+ }, m = t === "filled", { dot: h, activeDot: g } = ftt(a, d, e, p.dot);
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(k3, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: $et,
+ strokeWidth: Qet,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -90781,30 +90796,30 @@ function att({ dataKey: e, variant: t = "filled", fillOpacity: n = ett, isGlowin
},
...o
}), /* @__PURE__ */ (0, x.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, x.jsx)(mtt, {
+ /* @__PURE__ */ (0, x.jsx)(ptt, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, x.jsx)(htt, {
+ /* @__PURE__ */ (0, x.jsx)(mtt, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, x.jsx)(gtt, {
+ m && /* @__PURE__ */ (0, x.jsx)(htt, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, x.jsx)(_tt, {
+ r && /* @__PURE__ */ (0, x.jsx)(gtt, {
id: d,
dataKey: e
})
] })] });
}
-var ott = () => null, stt = () => null;
-function ctt({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
- return /* @__PURE__ */ (0, x.jsx)(PXe, {
+var att = () => null, ott = () => null;
+function stt({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+ return /* @__PURE__ */ (0, x.jsx)(NXe, {
gridType: e,
stroke: t,
strokeOpacity: n,
@@ -90812,47 +90827,47 @@ function ctt({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function ltt({ tick: e = {
+function ctt({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
- let { isLoading: r } = Y8();
- return r ? null : /* @__PURE__ */ (0, x.jsx)(Q4, {
+ let { isLoading: r } = X8();
+ return r ? null : /* @__PURE__ */ (0, x.jsx)($4, {
tick: e,
tickLine: t,
...n
});
}
-function utt({ tick: e = {
+function ltt({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
- let { isLoading: i } = Y8();
- return i ? null : /* @__PURE__ */ (0, x.jsx)(oZe, {
+ let { isLoading: i } = X8();
+ return i ? null : /* @__PURE__ */ (0, x.jsx)(aZe, {
tick: e,
tickLine: t,
axisLine: n,
...r
});
}
-function dtt({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, selectedDataKey: i } = Y8();
- return r ? null : /* @__PURE__ */ (0, x.jsx)(l8, {
+function utt({ variant: e, roundness: t, defaultIndex: n }) {
+ let { isLoading: r, selectedDataKey: i } = X8();
+ return r ? null : /* @__PURE__ */ (0, x.jsx)(u8, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, x.jsx)(c8, {
+ content: /* @__PURE__ */ (0, x.jsx)(l8, {
selected: i,
roundness: t,
variant: e
})
});
}
-function ftt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { isLoading: i, selectedDataKey: a, selectDataKey: o } = Y8();
- return i ? null : /* @__PURE__ */ (0, x.jsx)(d8, {
+function dtt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+ let { isLoading: i, selectedDataKey: a, selectDataKey: o } = X8();
+ return i ? null : /* @__PURE__ */ (0, x.jsx)(f8, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, x.jsx)(u8, {
+ content: /* @__PURE__ */ (0, x.jsx)(d8, {
selected: a,
onSelectChange: o,
isClickable: r,
@@ -90860,22 +90875,22 @@ function ftt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var ptt = (e, t, n, r) => {
+var ftt = (e, t, n, r) => {
let i = !1, a = !1;
return b.Children.forEach(e, (e) => {
if ((0, b.isValidElement)(e)) {
- if (e.type === ott) {
+ if (e.type === att) {
let { variant: a } = e.props;
- i = /* @__PURE__ */ (0, x.jsx)(Yet, {
+ i = /* @__PURE__ */ (0, x.jsx)(Jet, {
type: a,
dataKey: n,
chartId: t,
fillOpacity: r
});
}
- if (e.type === stt) {
+ if (e.type === ott) {
let { variant: i } = e.props;
- a = /* @__PURE__ */ (0, x.jsx)(Yet, {
+ a = /* @__PURE__ */ (0, x.jsx)(Jet, {
type: i,
dataKey: n,
chartId: t,
@@ -90887,7 +90902,7 @@ var ptt = (e, t, n, r) => {
dot: i,
activeDot: a
};
-}, Z8 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("stop", {
+}, Q8 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("stop", {
offset: "0%",
stopColor: `var(--color-${e}-0)`,
stopOpacity: n?.[0]
@@ -90902,46 +90917,46 @@ var ptt = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), mtt = ({ id: e, dataKey: t, config: n }) => {
- let r = s8(n[t] ?? {});
+}) }), ptt = ({ id: e, dataKey: t, config: n }) => {
+ let r = c8(n[t] ?? {});
return /* @__PURE__ */ (0, x.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
x1: "0",
y1: "0",
x2: "1",
y2: "0",
- children: /* @__PURE__ */ (0, x.jsx)(Z8, {
+ children: /* @__PURE__ */ (0, x.jsx)(Q8, {
dataKey: t,
colorsCount: r
})
});
-}, htt = ({ id: e, dataKey: t, config: n }) => {
- let r = s8(n[t] ?? {});
+}, mtt = ({ id: e, dataKey: t, config: n }) => {
+ let r = c8(n[t] ?? {});
return /* @__PURE__ */ (0, x.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
x1: "0",
y1: "0",
x2: "1",
y2: "1",
- children: /* @__PURE__ */ (0, x.jsx)(Z8, {
+ children: /* @__PURE__ */ (0, x.jsx)(Q8, {
dataKey: t,
colorsCount: r
})
});
-}, gtt = ({ id: e, dataKey: t, config: n }) => {
- let r = s8(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
+}, htt = ({ id: e, dataKey: t, config: n }) => {
+ let r = c8(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
return /* @__PURE__ */ (0, x.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
cx: "50%",
cy: "50%",
r: "50%",
- children: /* @__PURE__ */ (0, x.jsx)(Z8, {
+ children: /* @__PURE__ */ (0, x.jsx)(Q8, {
dataKey: t,
colorsCount: r,
opacities: i
})
});
-}, _tt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {
+}, gtt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -90961,7 +90976,7 @@ var ptt = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, x.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), vtt = (e) => [
+}), _tt = (e) => [
"A",
"B",
"C",
@@ -90970,20 +90985,20 @@ var ptt = (e, t, n, r) => {
"F"
].slice(0, e).map((e) => ({
skill: e,
- [rtt]: 30 + Math.random() * 70
+ [ntt]: 30 + Math.random() * 70
}));
-function ytt(e, t = ttt) {
+function vtt(e, t = ett) {
let [n, r] = (0, b.useState)(0);
return (0, b.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
r((e) => e + 1);
- }, ntt);
+ }, ttt);
return () => clearInterval(t);
- }, [e]), (0, b.useMemo)(() => vtt(t), [t, n]);
+ }, [e]), (0, b.useMemo)(() => _tt(t), [t, n]);
}
-var btt = () => /* @__PURE__ */ (0, x.jsx)(O3, {
- dataKey: rtt,
+var ytt = () => /* @__PURE__ */ (0, x.jsx)(k3, {
+ dataKey: ntt,
stroke: "currentColor",
strokeOpacity: .3,
strokeWidth: 2,
@@ -90991,41 +91006,41 @@ var btt = () => /* @__PURE__ */ (0, x.jsx)(O3, {
fillOpacity: .1,
dot: !1,
isAnimationActive: !0,
- animationDuration: ntt,
+ animationDuration: ttt,
animationEasing: "ease-in-out"
});
-X8.Radar = att, X8.Dot = ott, X8.ActiveDot = stt, X8.PolarGrid = ctt, X8.PolarAngleAxis = ltt, X8.PolarRadiusAxis = utt, X8.Tooltip = dtt, X8.Legend = ftt;
+Z8.Radar = itt, Z8.Dot = att, Z8.ActiveDot = ott, Z8.PolarGrid = stt, Z8.PolarAngleAxis = ctt, Z8.PolarRadiusAxis = ltt, Z8.Tooltip = utt, Z8.Legend = dtt;
//#endregion
//#region src/react/taste/charts.tsx
-function xtt(e) {
+function btt(e) {
let { x: t = 0, cx: n, textAnchor: r, payload: i, ...a } = e, o = String(i?.value ?? ""), s = typeof n == "number" ? n * 2 : 0, c = s ? r === "start" ? s - t : r === "end" ? t : 2 * Math.min(t, s - t) : 56;
- return /* @__PURE__ */ (0, x.jsxs)("g", { children: [/* @__PURE__ */ (0, x.jsx)("title", { children: o }), /* @__PURE__ */ (0, x.jsx)(x4, {
+ return /* @__PURE__ */ (0, x.jsxs)("g", { children: [/* @__PURE__ */ (0, x.jsx)("title", { children: o }), /* @__PURE__ */ (0, x.jsx)(S4, {
...a,
x: t,
textAnchor: r,
fill: "currentColor",
fontSize: 12,
- children: W7e(o, c - 4)
+ children: U7e(o, c - 4)
})] });
}
-var Stt = [
+var xtt = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], Ctt = [
+], Stt = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
"fill-chart-4",
"fill-chart-5",
"fill-chart-6"
-], wtt = { value: {
+], Ctt = { value: {
label: "标签命中",
- colors: C8(S8[3])
-} }, Ttt = [
+ colors: w8(C8[3])
+} }, wtt = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -91035,51 +91050,51 @@ var Stt = [
"min-h-52",
"min-h-60",
"min-h-64"
-], Ett = 26, Dtt = { radius: wtt.value }, Ott = (e, t) => Math.sqrt(e / t);
-function ktt({ rows: e, label: t }) {
- let n = Vet(e);
+], Ttt = 26, Ett = { radius: Ctt.value }, Dtt = (e, t) => Math.sqrt(e / t);
+function Ott({ rows: e, label: t }) {
+ let n = Bet(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: Ott(e.value, r)
+ radius: Dtt(e.value, r)
}));
return /* @__PURE__ */ (0, x.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
- children: /* @__PURE__ */ (0, x.jsxs)(X8, {
+ children: /* @__PURE__ */ (0, x.jsxs)(Z8, {
data: i,
- config: Dtt,
+ config: Ett,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
- /* @__PURE__ */ (0, x.jsx)(X8.PolarGrid, {}),
- /* @__PURE__ */ (0, x.jsx)(X8.PolarAngleAxis, {
+ /* @__PURE__ */ (0, x.jsx)(Z8.PolarGrid, {}),
+ /* @__PURE__ */ (0, x.jsx)(Z8.PolarAngleAxis, {
dataKey: "name",
- tick: /* @__PURE__ */ (0, x.jsx)(xtt, {})
+ tick: /* @__PURE__ */ (0, x.jsx)(btt, {})
}),
- /* @__PURE__ */ (0, x.jsx)(X8.PolarRadiusAxis, {
+ /* @__PURE__ */ (0, x.jsx)(Z8.PolarRadiusAxis, {
domain: [0, 1],
allowDecimals: !0,
tick: !1
}),
- /* @__PURE__ */ (0, x.jsx)(X8.Radar, { dataKey: "radius" }),
- /* @__PURE__ */ (0, x.jsx)(T8, { valueKey: "value" })
+ /* @__PURE__ */ (0, x.jsx)(Z8.Radar, { dataKey: "radius" }),
+ /* @__PURE__ */ (0, x.jsx)(E8, { valueKey: "value" })
]
})
});
}
-function Att({ rows: e, label: t }) {
- let n = Bet(e, 8);
+function ktt({ rows: e, label: t }) {
+ let n = zet(e, 8);
return n.length ? /* @__PURE__ */ (0, x.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${Ttt[n.length]}`,
- children: /* @__PURE__ */ (0, x.jsxs)(h8, {
+ className: `flex grow flex-col ${wtt[n.length]}`,
+ children: /* @__PURE__ */ (0, x.jsxs)(g8, {
data: n,
- config: wtt,
+ config: Ctt,
layout: "horizontal",
barRadius: 4,
chartProps: {
- maxBarSize: Ett,
+ maxBarSize: Ttt,
margin: {
top: 5,
right: 56,
@@ -91089,37 +91104,37 @@ function Att({ rows: e, label: t }) {
},
className: "aspect-auto text-text-secondary",
children: [
- /* @__PURE__ */ (0, x.jsx)(h8.YAxis, {
+ /* @__PURE__ */ (0, x.jsx)(g8.YAxis, {
dataKey: "name",
interval: 0,
- tick: /* @__PURE__ */ (0, x.jsx)(b8, { along: "y" }),
- width: G7e(n.map((e) => e.name))
+ tick: /* @__PURE__ */ (0, x.jsx)(x8, { along: "y" }),
+ width: W7e(n.map((e) => e.name))
}),
- /* @__PURE__ */ (0, x.jsx)(h8.XAxis, {
+ /* @__PURE__ */ (0, x.jsx)(g8.XAxis, {
hide: !0,
- domain: E8
+ domain: D8
}),
- /* @__PURE__ */ (0, x.jsx)(h8.Bar, {
+ /* @__PURE__ */ (0, x.jsx)(g8.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: Q7e("right")
+ label: Z7e("right")
}
}),
- /* @__PURE__ */ (0, x.jsx)(T8, {})
+ /* @__PURE__ */ (0, x.jsx)(E8, {})
]
})
}) : null;
}
-function jtt({ flows: e }) {
- let [t, n] = (0, b.useState)(null), r = qet(e);
+function Att({ flows: e }) {
+ let [t, n] = (0, b.useState)(null), r = Ket(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, x.jsxs)("section", {
- className: g8,
+ className: _8,
children: [
- /* @__PURE__ */ (0, x.jsx)(x8, {
+ /* @__PURE__ */ (0, x.jsx)(S8, {
title: "创作者线索来源",
figure: (t ? t.value : r.total).toLocaleString(),
note: t ? t.label : "条线索"
@@ -91141,7 +91156,7 @@ function jtt({ flows: e }) {
/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 max-sm:hidden",
children: /* @__PURE__ */ (0, x.jsxs)("svg", {
- viewBox: `0 0 ${Het.width} ${r.height}`,
+ viewBox: `0 0 ${Vet.width} ${r.height}`,
fill: "none",
role: "img",
"aria-label": "来源网站与创作者线索",
@@ -91155,7 +91170,7 @@ function jtt({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${Stt[e.color]}`,
+ className: `outline-none transition-opacity ${xtt[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -91189,15 +91204,15 @@ function jtt({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? Ctt[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? Stt[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, x.jsxs)("text", {
- x: Uet[e.side],
+ x: Het[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: [Jet(e.name), /* @__PURE__ */ (0, x.jsx)("tspan", {
- x: Uet[e.side],
+ children: [qet(e.name), /* @__PURE__ */ (0, x.jsx)("tspan", {
+ x: Het[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
})]
@@ -91214,11 +91229,11 @@ function jtt({ flows: e }) {
}
//#endregion
//#region src/react/taste/browser-sources.tsx
-function Mtt({ browsers: e, range: t }) {
+function jtt({ browsers: e, range: t }) {
let [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), c = ft({
- mutationFn: (e) => Eet(e, t),
+ mutationFn: (e) => Tet(e, t),
onSuccess: (e) => {
- H.setQueryData(q8(t), e.dashboard), r(!1), a(""), s("");
+ H.setQueryData(J8(t), e.dashboard), r(!1), a(""), s("");
}
});
return /* @__PURE__ */ (0, x.jsxs)("section", {
@@ -91256,7 +91271,7 @@ function Mtt({ browsers: e, range: t }) {
});
},
children: [
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "浏览器名称",
value: i,
onChange: a,
@@ -91264,7 +91279,7 @@ function Mtt({ browsers: e, range: t }) {
isRequired: !0,
isDisabled: c.isPending
}),
- /* @__PURE__ */ (0, x.jsx)(Mj, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "资料目录或历史文件",
value: o,
onChange: s,
@@ -91341,11 +91356,11 @@ function Mtt({ browsers: e, range: t }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var Ntt = 10, Ptt = nk(bP, xP, "text-body-2-medium"), Q8 = `${ck()} flex flex-col gap-4`, $8 = "rounded-xl bg-background-primary-default p-3", Ftt = "读取运行 Peach 的这台电脑上的浏览记录", Itt = "导入或读取浏览记录后,这里会列出已采集设备。", Ltt = "馆藏里暂时没有对得上浏览信号的标签。", Rtt = "采集浏览记录后,这里会显示聚合后的口味证据。", ztt = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", Btt = "采集浏览记录后,这里会列出浏览过的标签。", Vtt = "采集浏览记录后,这里会列出浏览过的创作者。", Htt = "采集浏览记录后,这里会列出常访问的网站。", Utt = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", Wtt = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", Gtt = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", Ktt = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", qtt = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", Jtt = "需要刷新时再次读取或导入;数据源可在页面底部移除。", Ytt = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", Xtt = "peach-taste-guide-dismissed";
-function e5({ icon: e, term: t, figure: n, detail: r, accent: i }) {
+var Mtt = 10, Ntt = nk(xP, SP, "text-body-2-medium"), $8 = `${ck()} flex flex-col gap-4`, e5 = "rounded-xl bg-background-primary-default p-3", Ptt = "读取运行 Peach 的这台电脑上的浏览记录", Ftt = "导入或读取浏览记录后,这里会列出已采集设备。", Itt = "馆藏里暂时没有对得上浏览信号的标签。", Ltt = "采集浏览记录后,这里会显示聚合后的口味证据。", Rtt = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", ztt = "采集浏览记录后,这里会列出浏览过的标签。", Btt = "采集浏览记录后,这里会列出浏览过的创作者。", Vtt = "采集浏览记录后,这里会列出常访问的网站。", Htt = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", Utt = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", Wtt = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", Gtt = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", Ktt = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", qtt = "需要刷新时再次读取或导入;数据源可在页面底部移除。", Jtt = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", Ytt = "peach-taste-guide-dismissed";
+function t5({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- className: pP(),
- children: /* @__PURE__ */ (0, x.jsx)(_P, {
+ className: mP(),
+ children: /* @__PURE__ */ (0, x.jsx)(vP, {
label: t,
icon: e,
accent: i,
@@ -91354,7 +91369,7 @@ function e5({ icon: e, term: t, figure: n, detail: r, accent: i }) {
})
});
}
-function Ztt({ name: e, domain: t }) {
+function Xtt({ name: e, domain: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-lg bg-background-tertiary-default text-caption-1-medium text-text-secondary",
children: [qt(e).toUpperCase(), /* @__PURE__ */ (0, x.jsx)("img", {
@@ -91368,22 +91383,22 @@ function Ztt({ name: e, domain: t }) {
})]
});
}
-function Qtt({ html: e }) {
+function Ztt({ html: e }) {
return /* @__PURE__ */ (0, x.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 ${qz}`,
+ 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 ${Jz}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function $tt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
+function Qtt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
if (!e.length) return /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
icon: NO,
title: "暂无足够证据",
children: r
});
- let a = zet(e);
- return /* @__PURE__ */ (0, x.jsx)(l9e, {
- previewCount: Ntt,
+ let a = Ret(e);
+ return /* @__PURE__ */ (0, x.jsx)(c9e, {
+ previewCount: Mtt,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
let o = !!t && !!e.peach_items, s = String(e.source_domain || ""), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
@@ -91402,15 +91417,15 @@ function $tt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",
children: r + 1
}),
- n === "domain" ? /* @__PURE__ */ (0, x.jsx)(Ztt, {
+ n === "domain" ? /* @__PURE__ */ (0, x.jsx)(Xtt, {
name: e.name,
domain: e.name
}) : null,
- n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, x.jsx)(Ztt, {
+ n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, x.jsx)(Xtt, {
name: e.name,
domain: s
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, x.jsx)(Qtt, { html: ra(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, x.jsx)(Ztt, { html: ra(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
image_version: e.image_version,
@@ -91424,7 +91439,7 @@ function $tt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
children: e.name
}), /* @__PURE__ */ (0, x.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: Ret(e)
+ children: Let(e)
})]
}),
o ? /* @__PURE__ */ (0, x.jsx)(CO, {
@@ -91447,31 +91462,31 @@ function $tt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
})
});
}
-function ent({ label: e, panels: t, onSignal: n }) {
- return /* @__PURE__ */ (0, x.jsxs)(wj, {
+function $tt({ label: e, panels: t, onSignal: n }) {
+ return /* @__PURE__ */ (0, x.jsxs)(Tj, {
className: `${ck({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, x.jsx)(Kj, {
+ children: /* @__PURE__ */ (0, x.jsx)(qj, {
"aria-label": e,
- className: Jj,
- children: t.map((e) => /* @__PURE__ */ (0, x.jsx)(Ej, {
+ className: Yj,
+ children: t.map((e) => /* @__PURE__ */ (0, x.jsx)(Dj, {
id: e.id,
- className: Yj,
+ className: Xj,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(Dj, {
+ }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(Oj, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, x.jsx)($tt, {
+ children: /* @__PURE__ */ (0, x.jsx)(Qtt, {
...e.props,
onSignal: n
})
}, e.id))]
});
}
-function tnt({ data: e, onSignal: t, navigate: n }) {
+function ent({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -91486,7 +91501,7 @@ function tnt({ data: e, onSignal: t, navigate: n }) {
act: () => n(e.route)
}))];
return /* @__PURE__ */ (0, x.jsxs)("section", {
- className: Q8,
+ className: $8,
"aria-label": "口味总结",
children: [
/* @__PURE__ */ (0, x.jsxs)("header", {
@@ -91515,7 +91530,7 @@ function tnt({ data: e, onSignal: t, navigate: n }) {
r.points?.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "inline-grid w-full gap-3 sm:grid-cols-2",
children: r.points.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
- className: `flex min-w-0 flex-col gap-1 ${$8}`,
+ className: `flex min-w-0 flex-col gap-1 ${e5}`,
children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: e.label
@@ -91530,7 +91545,7 @@ function tnt({ data: e, onSignal: t, navigate: n }) {
children: a.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
onClick: e.act,
- className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${$8} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
+ className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${e5} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
children: [/* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-1",
children: [/* @__PURE__ */ (0, x.jsx)("b", {
@@ -91549,15 +91564,15 @@ function tnt({ data: e, onSignal: t, navigate: n }) {
shell: "plain",
icon: NO,
title: "还没有可探索的入口",
- children: Ltt
+ children: Itt
})
]
});
}
-function nnt({ onboarding: e, done: t }) {
+function tnt({ onboarding: e, done: t }) {
let [n, r] = (0, b.useState)(() => {
try {
- return localStorage.getItem(Xtt) === "1";
+ return localStorage.getItem(Ytt) === "1";
} catch {
return !1;
}
@@ -91573,11 +91588,11 @@ function nnt({ onboarding: e, done: t }) {
children: [
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: Ktt
+ children: Gtt
}),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: qtt
+ children: Ktt
}),
/* @__PURE__ */ (0, x.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -91607,7 +91622,7 @@ function nnt({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: Jtt
+ children: qtt
}),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "self-start",
@@ -91616,7 +91631,7 @@ function nnt({ onboarding: e, done: t }) {
size: "small",
onClick: () => {
try {
- localStorage.setItem(Xtt, "1");
+ localStorage.setItem(Ytt, "1");
} catch {}
r(!0);
},
@@ -91627,7 +91642,7 @@ function nnt({ onboarding: e, done: t }) {
})
});
}
-function rnt({ busy: e, onRefresh: t, onImport: n }) {
+function nnt({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -91637,7 +91652,7 @@ function rnt({ busy: e, onRefresh: t, onImport: n }) {
"data-variant": "primary",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
leadingIcon: TO,
- title: Ftt,
+ title: Ptt,
onClick: t,
...q(e),
children: "读取浏览器历史"
@@ -91659,13 +91674,13 @@ function rnt({ busy: e, onRefresh: t, onImport: n }) {
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: yP,
- children: /* @__PURE__ */ (0, x.jsxs)(vP, {
+ className: bP,
+ children: /* @__PURE__ */ (0, x.jsxs)(yP, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: Ptt,
+ className: Ntt,
onClick: () => o(t),
children: [/* @__PURE__ */ (0, x.jsx)(TO, {
"aria-hidden": !0,
@@ -91673,7 +91688,7 @@ function rnt({ busy: e, onRefresh: t, onImport: n }) {
}), "读取浏览器历史"]
}), /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: Ptt,
+ className: Ntt,
onClick: () => o(n),
children: [/* @__PURE__ */ (0, x.jsx)(Cde, {
"aria-hidden": !0,
@@ -91683,15 +91698,15 @@ function rnt({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function int({ sources: e, window: t, toast: n }) {
+function rnt({ sources: e, window: t, toast: n }) {
let r = ft({
- mutationFn: (e) => jet(e, t),
+ mutationFn: (e) => Aet(e, t),
onSuccess: (e) => {
- H.setQueryData(q8(t), e.dashboard), n("已移除口味数据源");
+ H.setQueryData(J8(t), e.dashboard), n("已移除口味数据源");
}
});
return /* @__PURE__ */ (0, x.jsxs)("section", {
- className: Q8,
+ className: $8,
"aria-label": "数据源",
children: [
/* @__PURE__ */ (0, x.jsx)("h3", {
@@ -91705,7 +91720,7 @@ function int({ sources: e, window: t, toast: n }) {
e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "inline-grid w-full gap-2 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
- className: `flex min-w-0 items-center gap-3 ${$8}`,
+ className: `flex min-w-0 items-center gap-3 ${e5}`,
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
@@ -91738,7 +91753,7 @@ function int({ sources: e, window: t, toast: n }) {
onClick: () => {
r.isPending || cs({
title: "移除口味数据源",
- body: Ytt,
+ body: Jtt,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -91750,28 +91765,28 @@ function int({ sources: e, window: t, toast: n }) {
shell: "plain",
icon: EO,
title: "还没有数据源",
- children: Itt
+ children: Ftt
})
]
});
}
-function ant(e) {
+function int(e) {
let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, b.useState)("all"), [s, c] = (0, b.useState)("browser"), l = (0, b.useRef)(null), u = dt({
- queryKey: q8(a),
- queryFn: ({ signal: e }) => Det(a, e),
+ queryKey: J8(a),
+ queryFn: ({ signal: e }) => Eet(a, e),
placeholderData: de
- }), { job: d, running: f, outcome: p, start: m } = QP({
- queryKey: wet,
- queryFn: ({ signal: e }) => Oet(e),
- start: () => Aet(a),
- idlePollMs: Net,
+ }), { job: d, running: f, outcome: p, start: m } = $P({
+ queryKey: Cet,
+ queryFn: ({ signal: e }) => Det(e),
+ start: () => ket(a),
+ idlePollMs: Met,
onFinish: (e) => {
e.status !== "failed" && (H.invalidateQueries({ queryKey: ["taste"] }), r(e.warnings?.length ? "部分浏览记录未取得" : "已更新口味分析"));
}
}), h = ft({
- mutationFn: (e) => Met(e),
+ mutationFn: (e) => jet(e),
onSuccess: (e) => {
- H.setQueryData(q8("all"), e.dashboard), o("all"), r("已导入口味数据");
+ H.setQueryData(J8("all"), e.dashboard), o("all"), r("已导入口味数据");
}
}), g = (e) => {
let t = e.currentTarget.files?.[0];
@@ -91784,42 +91799,42 @@ function ant(e) {
title: "口味分析读取失败",
children: u.error ? z(u.error) : "读取口味分析失败"
}) });
- let y = v.summary || {}, S = v.coverage || {}, C = v.rankings || {}, w = v.storage || {}, T = Iet(C.browser_categories || []), E = Vet(T).length > 0, D = v.gaps || [], O = S.tagged || 0, k = S.identified || 0, A = m.error ? z(m.error) : h.error ? z(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";
+ let y = v.summary || {}, S = v.coverage || {}, C = v.rankings || {}, w = v.storage || {}, T = Fet(C.browser_categories || []), E = Bet(T).length > 0, D = v.gaps || [], O = S.tagged || 0, k = S.identified || 0, A = m.error ? z(m.error) : h.error ? z(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";
return /* @__PURE__ */ (0, x.jsxs)(dk, { children: [
- /* @__PURE__ */ (0, x.jsxs)(wj, {
+ /* @__PURE__ */ (0, x.jsxs)(Tj, {
selectedKey: s,
onSelectionChange: (e) => c(String(e)),
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, x.jsxs)(Kj, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(qj, {
"aria-label": "口味证据来源",
- className: Jj,
- children: [/* @__PURE__ */ (0, x.jsx)(Ej, {
+ className: Yj,
+ children: [/* @__PURE__ */ (0, x.jsx)(Dj, {
id: "browser",
- className: Yj,
+ className: Xj,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, x.jsx)(Ej, {
+ }), /* @__PURE__ */ (0, x.jsx)(Dj, {
id: "peach",
- className: Yj,
+ className: Xj,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(YP, {
+ /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "分析范围",
selectedKey: a,
onSelectionChange: (e) => {
e !== null && o(String(e));
},
- children: Tet.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(XP, {
+ children: wet.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(rnt, {
+ /* @__PURE__ */ (0, x.jsx)(nnt, {
busy: f || m.isPending || h.isPending,
onRefresh: _,
onImport: () => l.current?.click()
@@ -91835,7 +91850,7 @@ function ant(e) {
]
})]
}),
- /* @__PURE__ */ (0, x.jsx)(nnt, {
+ /* @__PURE__ */ (0, x.jsx)(tnt, {
onboarding: i,
done: !!(y.history_sources || v.updated_at)
}),
@@ -91843,12 +91858,12 @@ function ant(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- f ? /* @__PURE__ */ (0, x.jsx)(GP, {
+ f ? /* @__PURE__ */ (0, x.jsx)(KP, {
label: d?.message || "正在读取浏览记录并更新口味分析",
value: d?.checked,
total: d?.total
}) : null,
- h.isPending ? /* @__PURE__ */ (0, x.jsx)(GP, { label: "正在导入历史文件" }) : null,
+ h.isPending ? /* @__PURE__ */ (0, x.jsx)(KP, { label: "正在导入历史文件" }) : null,
A ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: A
@@ -91859,34 +91874,34 @@ function ant(e) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsxs)(Dj, {
+ /* @__PURE__ */ (0, x.jsxs)(Oj, {
id: "browser",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: mP,
+ className: hP,
children: [
- /* @__PURE__ */ (0, x.jsx)(e5, {
+ /* @__PURE__ */ (0, x.jsx)(t5, {
accent: 0,
icon: AO,
term: "浏览记录",
figure: Number(y.history_visits || 0).toLocaleString(),
- detail: Pet(y)
+ detail: Net(y)
}),
- /* @__PURE__ */ (0, x.jsx)(e5, {
+ /* @__PURE__ */ (0, x.jsx)(t5, {
accent: 1,
icon: jO,
term: "口味维度",
figure: T.length.toLocaleString(),
detail: T[0]?.name || "尚无主维度"
}),
- /* @__PURE__ */ (0, x.jsx)(e5, {
+ /* @__PURE__ */ (0, x.jsx)(t5, {
accent: 2,
icon: NO,
term: "浏览候选",
figure: D.length.toLocaleString()
}),
- /* @__PURE__ */ (0, x.jsx)(e5, {
+ /* @__PURE__ */ (0, x.jsx)(t5, {
accent: 3,
icon: EO,
term: "私有导出",
@@ -91896,7 +91911,7 @@ function ant(e) {
]
}),
/* @__PURE__ */ (0, x.jsxs)("section", {
- className: E ? `${Q8} md:flex-row md:gap-6` : Q8,
+ className: E ? `${$8} md:flex-row md:gap-6` : $8,
"aria-label": "浏览器画像",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: E ? "flex shrink-0 flex-col gap-2 pb-5 md:w-80 md:pr-6 md:pb-0" : "flex flex-wrap items-baseline justify-between gap-x-4 gap-y-1",
@@ -91905,29 +91920,29 @@ function ant(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- E ? /* @__PURE__ */ (0, x.jsx)(ktt, {
+ E ? /* @__PURE__ */ (0, x.jsx)(Ott, {
rows: T,
label: "主要口味维度"
}) : null,
/* @__PURE__ */ (0, x.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: v.updated_at ? `更新于 ${J8(v.updated_at)}` : "尚未采集浏览记录"
+ children: v.updated_at ? `更新于 ${Y8(v.updated_at)}` : "尚未采集浏览记录"
})
]
}), /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: T.length ? /* @__PURE__ */ (0, x.jsx)(Att, {
+ children: T.length ? /* @__PURE__ */ (0, x.jsx)(ktt, {
rows: T,
label: "口味维度排名"
}) : /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
icon: NO,
title: "暂无口味维度",
- children: Rtt
+ children: Ltt
})
})]
}),
- /* @__PURE__ */ (0, x.jsx)(c9e, {
+ /* @__PURE__ */ (0, x.jsx)(s9e, {
activity: v.activity,
title: "浏览活跃时间",
dailyTitle: "每日活跃",
@@ -91939,8 +91954,8 @@ function ant(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, x.jsx)(jtt, { flows: v.creator_flows }),
- /* @__PURE__ */ (0, x.jsx)(ent, {
+ /* @__PURE__ */ (0, x.jsx)(Att, { flows: v.creator_flows }),
+ /* @__PURE__ */ (0, x.jsx)($tt, {
label: "浏览器口味维度",
onSignal: t,
panels: [
@@ -91951,7 +91966,7 @@ function ant(e) {
rows: C.browser_tags || [],
kind: "tag",
visual: "none",
- empty: Btt
+ empty: ztt
}
},
{
@@ -91961,7 +91976,7 @@ function ant(e) {
rows: C.browser_creators || [],
kind: "creator",
visual: "creator",
- empty: Vtt
+ empty: Btt
}
},
{
@@ -91981,7 +91996,7 @@ function ant(e) {
rows: C.domains || [],
kind: "",
visual: "domain",
- empty: Htt
+ empty: Vtt
}
},
{
@@ -91991,40 +92006,40 @@ function ant(e) {
rows: D,
kind: "",
visual: "none",
- empty: ztt
+ empty: Rtt
}
}
]
})
]
}),
- /* @__PURE__ */ (0, x.jsxs)(Dj, {
+ /* @__PURE__ */ (0, x.jsxs)(Oj, {
id: "peach",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: mP,
+ className: hP,
children: [
- /* @__PURE__ */ (0, x.jsx)(e5, {
+ /* @__PURE__ */ (0, x.jsx)(t5, {
accent: 0,
icon: ade,
term: "Peach 看过",
figure: Number(y.peach_items || 0).toLocaleString(),
- detail: Fet(y.peach_seconds || 0)
+ detail: Pet(y.peach_seconds || 0)
}),
- /* @__PURE__ */ (0, x.jsx)(e5, {
+ /* @__PURE__ */ (0, x.jsx)(t5, {
accent: 1,
icon: Sde,
term: "喜欢",
figure: Number(y.liked || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, x.jsx)(e5, {
+ /* @__PURE__ */ (0, x.jsx)(t5, {
accent: 2,
icon: xde,
term: "不合口味",
figure: Number(y.disliked || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, x.jsx)(e5, {
+ /* @__PURE__ */ (0, x.jsx)(t5, {
accent: 3,
icon: jO,
term: "有标签",
@@ -92033,7 +92048,7 @@ function ant(e) {
]
}),
/* @__PURE__ */ (0, x.jsxs)("section", {
- className: `${Q8} md:flex-row md:gap-6`,
+ className: `${$8} md:flex-row md:gap-6`,
"aria-label": "Peach 观看",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-72 md:pr-6 md:pb-0",
@@ -92053,18 +92068,18 @@ function ant(e) {
]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 grow flex-col",
- children: [/* @__PURE__ */ (0, x.jsx)(ont, {
+ children: [/* @__PURE__ */ (0, x.jsx)(ant, {
term: "有标签",
value: O,
rest: S.untagged || 0
- }), /* @__PURE__ */ (0, x.jsx)(ont, {
+ }), /* @__PURE__ */ (0, x.jsx)(ant, {
term: "有身份",
value: k,
rest: S.unidentified || 0
})]
})]
}),
- /* @__PURE__ */ (0, x.jsx)(ent, {
+ /* @__PURE__ */ (0, x.jsx)($tt, {
label: "Peach 口味维度",
onSignal: t,
panels: [
@@ -92075,7 +92090,7 @@ function ant(e) {
rows: C.peach_tags || [],
kind: "tag",
visual: "none",
- empty: Utt
+ empty: Htt
}
},
{
@@ -92085,7 +92100,7 @@ function ant(e) {
rows: C.peach_creators || [],
kind: "creator",
visual: "creator",
- empty: Wtt
+ empty: Utt
}
},
{
@@ -92095,7 +92110,7 @@ function ant(e) {
rows: C.peach_performers || [],
kind: "performer",
visual: "entity",
- empty: Gtt
+ empty: Wtt
}
}
]
@@ -92104,23 +92119,23 @@ function ant(e) {
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(tnt, {
+ /* @__PURE__ */ (0, x.jsx)(ent, {
data: v,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, x.jsx)(int, {
+ /* @__PURE__ */ (0, x.jsx)(rnt, {
sources: v.sources || [],
window: a,
toast: r
}),
- /* @__PURE__ */ (0, x.jsx)(Mtt, {
+ /* @__PURE__ */ (0, x.jsx)(jtt, {
browsers: v.browsers || [],
range: a
})
] });
}
-function ont({ term: e, value: t, rest: n }) {
+function ant({ term: e, value: t, rest: n }) {
let r = Math.max(t + n, 1);
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -92142,13 +92157,13 @@ function ont({ term: e, value: t, rest: n }) {
}
//#endregion
//#region src/index-skeleton.ts
-var t5 = {
+var n5 = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, snt = [[
+}, ont = [[
"big",
"大图 · 竖幅头像",
"maximize"
@@ -92156,7 +92171,7 @@ var t5 = {
"compact",
"紧凑 · 圆形头像",
"layout-grid"
-]], cnt = [[
+]], snt = [[
"big",
"大图 · 完整标识",
"maximize"
@@ -92164,7 +92179,7 @@ var t5 = {
"compact",
"紧凑 · 圆形标识",
"layout-grid"
-]], lnt = [[
+]], cnt = [[
"studios",
"厂牌",
"clapperboard"
@@ -92172,7 +92187,7 @@ var t5 = {
"agencies",
"事务所",
"briefcase"
-]], unt = [[
+]], lnt = [[
"local",
"本地",
"hard-drive"
@@ -92180,7 +92195,7 @@ var t5 = {
"online",
"在线",
"rss"
-]], dnt = [
+]], unt = [
[
"performers",
"艺人",
@@ -92196,7 +92211,7 @@ var t5 = {
"在线",
"rss"
]
-], fnt = [[
+], dnt = [[
"cloud",
"标签云",
"tags"
@@ -92204,8 +92219,8 @@ var t5 = {
"alphabet",
"字母表",
"text-aa"
-]], pnt = (e) => e === "compact" ? "compact" : "big";
-function mnt(e, t) {
+]], fnt = (e) => e === "compact" ? "compact" : "big";
+function pnt(e, t) {
let n = new URLSearchParams(t);
return {
kind: e,
@@ -92215,7 +92230,7 @@ function mnt(e, t) {
category: n.get("category") || "all"
};
}
-var n5 = (e, t, n) => to(e.map(([e, t, n]) => ({
+var r5 = (e, t, n) => to(e.map(([e, t, n]) => ({
value: e,
label: t,
symbol: n
@@ -92223,45 +92238,44 @@ var n5 = (e, t, n) => to(e.map(([e, t, n]) => ({
active: t,
label: n,
className: "indextabs"
-}), hnt = (e) => `<div class="board-filter-frame" data-filter-frame>
+}), mnt = (e) => `<div class="board-filter-frame" data-filter-frame>
<div class="tagbar" data-filter-row="top" data-skeleton-tier="pill" aria-label="标签类型"></div>
<div class="count" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span>
- ${Qo("tag-view", "标签视图", fnt, e)}</div></div>`;
-function gnt({ kind: e, q: t, scope: n, view: r, category: i }, a) {
- let o = t5[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? Qo("people-layout", o + "索引版式", c ? cnt : snt, a) : "";
- return `<div class="ihead peach-react">
+ ${Qo("tag-view", "标签视图", dnt, e)}</div></div>`;
+function hnt({ kind: e, q: t, scope: n, view: r, category: i }, a) {
+ let o = n5[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? Qo("people-layout", o + "索引版式", c ? snt : ont, a) : "";
+ return `<div class="ihead peach-react" data-index-head>
<h2 class="disp indexheading">${o}</h2>
${s ? "<span class=\"mono\" id=\"indexCount\"><span class=\"countskeleton\"></span></span>" : ""}${l}
- ${TP({
+ ${EP({
variant: "secondary",
size: "small",
- glyph: "star",
- label: "收藏与筛选",
- attrs: "aria-disabled=\"true\" tabindex=\"-1\""
+ label: "我的收藏",
+ attrs: "data-shortcuts-trigger aria-disabled=\"true\" tabindex=\"-1\""
})}
- <div data-index-search class="ml-auto min-w-35 max-w-80 flex-1 max-board-narrow:order-1 max-board-narrow:basis-40">${wP("", t, "过滤" + o)}</div>
+ <div data-index-search class="ml-auto min-w-35 max-w-80 flex-1 max-board-narrow:order-1 max-board-narrow:basis-40">${TP("", t, "过滤" + o)}</div>
</div>
- ${e === "tags" ? n5(unt, n, "词表") : e === "performers" || e === "creators" ? n5(dnt, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? n5(lnt, e, "公司类型") : ""}
- ${e === "tags" ? hnt(r) : ""}
- ${e === "performers" && n !== "online" ? Vbe(i) : ""}
+ ${e === "tags" ? r5(lnt, n, "词表") : e === "performers" || e === "creators" ? r5(unt, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? r5(cnt, e, "公司类型") : ""}
+ ${e === "tags" ? mnt(r) : ""}
+ ${e === "performers" && n !== "online" ? Bbe(i) : ""}
${go({
kind: e,
layout: a,
mode: r
})}`;
}
-var _nt = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function vnt(e, t, n) {
- let r = gnt(t, n);
- e.querySelector("[data-skeleton]")?.dataset.skeleton !== _nt(r) && (e.innerHTML = r, Co(e));
+var gnt = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function _nt(e, t, n) {
+ let r = hnt(t, n);
+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== gnt(r) && (e.innerHTML = r, Co(e));
}
//#endregion
//#region src/react/router/pages/index-entity.tsx
-var ynt = () => Tc, bnt = () => uc, r5 = () => document.getElementById("index");
-function i5(e, t, n = {}) {
- let r = (0, b.useSyncExternalStore)(Ic, ynt);
- xL();
- let i = PL(dR.navigation.location.pathname), a = (0, b.useRef)({
+var vnt = () => Tc, ynt = () => uc, i5 = () => document.getElementById("index");
+function a5(e, t, n = {}) {
+ let r = (0, b.useSyncExternalStore)(Ic, vnt);
+ SL();
+ let i = FL(fR.navigation.location.pathname), a = (0, b.useRef)({
mounted: !0,
epoch: -1,
opens: -1,
@@ -92286,7 +92300,7 @@ function i5(e, t, n = {}) {
let t = a.current;
if (!t.mounted) return;
let n = t.epoch !== e || t.opens !== Tc, r = t.opens !== Tc;
- if (t.epoch = e, t.opens = Tc, PL(dR.navigation.location.pathname)) {
+ if (t.epoch = e, t.opens = Tc, FL(fR.navigation.location.pathname)) {
n && o.current.options.onCovered?.();
return;
}
@@ -92307,13 +92321,13 @@ function i5(e, t, n = {}) {
i
]);
}
-async function xnt(e, t, n, r) {
- let i = r5();
+async function bnt(e, t, n, r) {
+ let i = i5();
if (!i) return;
let a = `/${t}`;
e.surfaceChanged("index", a);
- let o = mnt(t, n), s = pnt(wT().value.peopleLayout);
- vnt(i, o, s), await tR(a, {
+ let o = pnt(t, n), s = fnt(wT().value.peopleLayout);
+ _nt(i, o, s), await nR(a, {
...o,
layout: s,
selectMode: uc,
@@ -92323,23 +92337,23 @@ async function xnt(e, t, n, r) {
isCurrent: r
}) && r() && e.surfaceShown?.("index", a);
}
-function Snt(e) {
- let t = r5(), n = t ? ZL(t) : null;
+function xnt(e) {
+ let t = i5(), n = t ? QL(t) : null;
return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;
}
-function Cnt({ epoch: e }) {
- let t = (0, b.useContext)(bR), n = xL(), r = n.pathname.split("/").filter(Boolean)[0];
- return i5(e, (e, i) => {
- t && xnt(t, r, n.search, i);
- }, { shown: () => Snt(`/${r}`) }), null;
+function Snt({ epoch: e }) {
+ let t = (0, b.useContext)(xR), n = SL(), r = n.pathname.split("/").filter(Boolean)[0];
+ return a5(e, (e, i) => {
+ t && bnt(t, r, n.search, i);
+ }, { shown: () => xnt(`/${r}`) }), null;
}
-function wnt() {
- let e = yR(), t = (0, b.useSyncExternalStore)(Ic, bnt), n = (0, b.useRef)(t);
+function Cnt() {
+ let e = bR(), t = (0, b.useSyncExternalStore)(Ic, ynt), n = (0, b.useRef)(t);
return (0, b.useEffect)(() => {
- n.current !== t && (n.current = t, window.location.pathname === "/tags" && nR(r5(), { selectMode: t }));
- }, [t]), /* @__PURE__ */ (0, x.jsx)(Cnt, { epoch: e }, e);
+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && rR(i5(), { selectMode: t }));
+ }, [t]), /* @__PURE__ */ (0, x.jsx)(Snt, { epoch: e }, e);
}
-function Tnt(e) {
+function wnt(e) {
let t;
try {
t = decodeURIComponent(e);
@@ -92353,9 +92367,9 @@ function Tnt(e) {
name: a
} : null;
}
-var Ent = /* @__PURE__ */ new WeakMap();
-function Dnt(e) {
- let t = Ent.get(e);
+var Tnt = /* @__PURE__ */ new WeakMap();
+function Ent(e) {
+ let t = Tnt.get(e);
return t || (t = {
helpers: {
...e.grid.helpers,
@@ -92365,14 +92379,14 @@ function Dnt(e) {
...e.grid.actions,
revealSource: e.revealSource
}
- }, Ent.set(e, t)), t;
+ }, Tnt.set(e, t)), t;
}
-function Ont() {
- let e = r5(), t = e ? ZL(e) : null;
+function Dnt() {
+ let e = i5(), t = e ? QL(e) : null;
return !!t && t.path.endsWith("/*") && t.host.isConnected;
}
-async function knt(e, t, n, r, i, a) {
- let o = r5();
+async function Ont(e, t, n, r, i, a) {
+ let o = i5();
if (!o) return;
let { segment: s, kind: c, name: l } = n;
if (e.surfaceChanged("entity", r), await t.loading(c, l, a), !a()) return;
@@ -92386,7 +92400,7 @@ async function knt(e, t, n, r, i, a) {
}, m = t.props(c, l, i), h = {
...m,
hosts: p,
- card: Dnt(e),
+ card: Ent(e),
actions: {
...m.actions,
javContext: (e) => {
@@ -92394,43 +92408,43 @@ async function knt(e, t, n, r, i, a) {
}
}
};
- await tR(`/${s}/*`, h, {
+ await nR(`/${s}/*`, h, {
container: o,
isCurrent: a,
place: (e) => (e.replaceChildren(...d), f.firstElementChild)
- }) && a() && Ont() && (e.surfaceShown?.("entity", r), window.scrollTo({
+ }) && a() && Dnt() && (e.surfaceShown?.("entity", r), window.scrollTo({
top: 0,
behavior: "smooth"
}));
}
-function Ant({ target: e }) {
- let t = (0, b.useContext)(bR), n = yR(), r = xL();
- return i5(n, (n, i) => {
+function knt({ target: e }) {
+ let t = (0, b.useContext)(xR), n = bR(), r = SL();
+ return a5(n, (n, i) => {
let a = t?.entity;
- t && a && (n || !a.refresh(e.kind, e.name, r.search)) && knt(t, a, e, r.pathname, r.search, i);
- }, { shown: () => Ont() && !r5()?.hidden }), null;
+ t && a && (n || !a.refresh(e.kind, e.name, r.search)) && Ont(t, a, e, r.pathname, r.search, i);
+ }, { shown: () => Dnt() && !i5()?.hidden }), null;
}
-function jnt() {
- let e = Tnt(xL().pathname);
- return e ? /* @__PURE__ */ (0, x.jsx)(Ant, { target: e }, JSON.stringify([e.kind, e.name])) : null;
+function Ant() {
+ let e = wnt(SL().pathname);
+ return e ? /* @__PURE__ */ (0, x.jsx)(knt, { target: e }, JSON.stringify([e.kind, e.name])) : null;
}
//#endregion
//#region src/react/router/pages/catalog.tsx
-var Mnt = () => Tc, Nnt = dR.navigation.seq, Pnt = dR.navigation.openEpoch, a5 = dR.navigation.location.pathname, o5 = {
- seq: Nnt,
+var jnt = () => Tc, Mnt = fR.navigation.seq, Nnt = fR.navigation.openEpoch, o5 = fR.navigation.location.pathname, s5 = {
+ seq: Mnt,
claimed: !0,
- from: a5
+ from: o5
};
-dR.listen((e) => {
- o5 = {
+fR.listen((e) => {
+ s5 = {
seq: e.seq,
- claimed: e.openEpoch === Pnt,
- from: a5
- }, Pnt = e.openEpoch, a5 = e.location.pathname;
+ claimed: e.openEpoch === Nnt,
+ from: o5
+ }, Nnt = e.openEpoch, o5 = e.location.pathname;
});
-var s5 = !1;
-function Fnt(e) {
- let { seq: t, openEpoch: n, location: r } = dR.navigation, i = PL(r.pathname), a = mR() ?? r, o = U ?? {};
+var c5 = !1;
+function Pnt(e) {
+ let { seq: t, openEpoch: n, location: r } = fR.navigation, i = FL(r.pathname), a = hR() ?? r, o = U ?? {};
return {
seq: t,
epoch: n,
@@ -92441,7 +92455,7 @@ function Fnt(e) {
opened: e
};
}
-function Int(e, t, n, r) {
+function Fnt(e, t, n, r) {
let i = { ...U };
if (e === "/trash") return {
...i,
@@ -92472,13 +92486,13 @@ function Int(e, t, n, r) {
jav: a.get("jav") || ""
};
}
-function Lnt(e, t) {
- let n = { ...e }, r = Fnt(n.opened);
+function Int(e, t) {
+ let n = { ...e }, r = Pnt(n.opened);
Object.assign(e, r);
let i = t.catalog;
if (!i || r.opens === 0) return;
if (r.covered) {
- mR() || i.fill();
+ hR() || i.fill();
return;
}
let a = !1;
@@ -92488,41 +92502,41 @@ function Lnt(e, t) {
i.load();
return;
}
- r.epoch !== n.epoch && (a = dR.navigation.action === "POP" && o5.from !== "/");
+ r.epoch !== n.epoch && (a = fR.navigation.action === "POP" && s5.from !== "/");
}
- let { pathname: o, search: s } = dR.navigation.location;
+ let { pathname: o, search: s } = fR.navigation.location;
if (o === "/" && new URLSearchParams(s).get("state") === "ads") {
- let { kind: e, view: t } = dB(s);
- s5 = !0, fR(fB(e, t), { replace: !0 });
+ let { kind: e, view: t } = fB(s);
+ c5 = !0, pR(pB(e, t), { replace: !0 });
return;
}
- let c = s5;
- s5 = !1, a &&= o === "/", e.opened = !0, Pc({ state: Int(o, s, a, i) }), i.open(o, {
+ let c = c5;
+ c5 = !1, a &&= o === "/", e.opened = !0, Pc({ state: Fnt(o, s, a, i) }), i.open(o, {
entering: a,
retitle: c
});
}
-function Rnt(e) {
- return wt(e) || e === "/trash" || PL(e) || e === "/immerse" || !!Tnt(e);
+function Lnt(e) {
+ return wt(e) || e === "/trash" || FL(e) || e === "/immerse" || !!wnt(e);
}
-function znt() {
- let e = (0, b.useContext)(bR), t = yR(), n = (0, b.useSyncExternalStore)(Ic, Mnt), r = xL(), i = (0, b.useRef)(null), a = (0, b.useRef)({
+function Rnt() {
+ let e = (0, b.useContext)(xR), t = bR(), n = (0, b.useSyncExternalStore)(Ic, jnt), r = SL(), i = (0, b.useRef)(null), a = (0, b.useRef)({
mounted: !0,
queued: !1
});
return (0, b.useEffect)(() => {
let t = a.current;
t.mounted = !0;
- let n = Fnt(!PL(dR.navigation.location.pathname));
- return !n.covered && n.opens > 0 && (s5 || o5.seq === Nnt ? n.opens = -1 : o5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {
+ let n = Pnt(!FL(fR.navigation.location.pathname));
+ return !n.covered && n.opens > 0 && (c5 || s5.seq === Mnt ? n.opens = -1 : s5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {
t.mounted = !1, queueMicrotask(() => {
- e?.catalog && !Rnt(dR.navigation.location.pathname) && e.catalog.release();
+ e?.catalog && !Lnt(fR.navigation.location.pathname) && e.catalog.release();
});
};
}, []), (0, b.useEffect)(() => {
let t = a.current;
!t.queued && e && (t.queued = !0, queueMicrotask(() => {
- t.queued = !1, t.mounted && i.current && Lnt(i.current, e);
+ t.queued = !1, t.mounted && i.current && Int(i.current, e);
}));
}, [
t,
@@ -92531,34 +92545,34 @@ function znt() {
e
]), null;
}
-function Bnt() {
- let { pathname: e, search: t } = xL(), n = (0, b.useContext)(bR), r = document.getElementById("javLibraryHeader"), i = wt(e) && new URLSearchParams(t).get("jav") === "1";
+function znt() {
+ let { pathname: e, search: t } = SL(), n = (0, b.useContext)(xR), r = document.getElementById("javLibraryHeader"), i = wt(e) && new URLSearchParams(t).get("jav") === "1";
return (0, b.useLayoutEffect)(() => {
if (r) return r.hidden = !i, () => {
r.hidden = !0;
};
- }, [r, i]), PL(e) && !NL(e) ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(znt, {}, e === "/junk-files" ? "/junk-files" : "/"), i && r && n ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(_De, {
+ }, [r, i]), FL(e) && !PL(e) ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Rnt, {}, e === "/junk-files" ? "/junk-files" : "/"), i && r && n ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(gDe, {
navigate: n.navigate,
receipt: (e) => n.receipt(e)
}), r) : null] });
}
//#endregion
//#region src/react/router/pages/follow.tsx
-var c5 = () => document.getElementById("stats"), Vnt = () => jc;
-function Hnt(e) {
+var l5 = () => document.getElementById("stats"), Bnt = () => jc;
+function Vnt(e) {
let t = document.createElement("div");
return t.className = "peach-react", po(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-async function Unt(e, t) {
- let n = c5(), r = e.follow;
+async function Hnt(e, t) {
+ let n = l5(), r = e.follow;
if (!n || !r || r.refresh()) return;
let i = Ac;
- e.surfaceChanged("follow", "/follow"), pU(n, r.skeleton()), await tR("/follow", r.props(), {
+ e.surfaceChanged("follow", "/follow"), mU(n, r.skeleton()), await nR("/follow", r.props(), {
container: n,
isCurrent: t,
- place: Hnt
+ place: Vnt
}), t() && window.scrollTo(i ? {
top: i,
behavior: "instant"
@@ -92567,32 +92581,32 @@ async function Unt(e, t) {
behavior: "smooth"
});
}
-function Wnt() {
- let e = c5(), t = e ? ZL(e) : null;
+function Unt() {
+ let e = l5(), t = e ? QL(e) : null;
return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;
}
-function Gnt() {
- let e = (0, b.useContext)(bR);
- return i5(yR(), (t, n) => {
- e && Unt(e, n);
+function Wnt() {
+ let e = (0, b.useContext)(xR);
+ return a5(bR(), (t, n) => {
+ e && Hnt(e, n);
}, {
- shown: Wnt,
+ shown: Unt,
onCovered: () => {
- dR.navigation.location.pathname.startsWith("/follow/item/") && e?.follow?.ground();
+ fR.navigation.location.pathname.startsWith("/follow/item/") && e?.follow?.ground();
}
}), null;
}
-function Knt(e) {
- let t = e ? ZL(e) : null;
+function Gnt(e) {
+ let t = e ? QL(e) : null;
return !!t && t.path === "/playlists" && t.host.isConnected;
}
-async function qnt(e, t) {
- let n = c5();
- n && (e.surfaceChanged("playlists", "/playlists"), pU(n, dU("/playlists", {
+async function Knt(e, t) {
+ let n = l5();
+ n && (e.surfaceChanged("playlists", "/playlists"), mU(n, fU("/playlists", {
followLayout: "",
followSort: "",
followDir: ""
- })), await tR("/playlists", { revision: jc }, {
+ })), await nR("/playlists", { revision: jc }, {
container: n,
isCurrent: t
}), t() && window.scrollTo({
@@ -92600,68 +92614,68 @@ async function qnt(e, t) {
behavior: "smooth"
}));
}
-function Jnt() {
- let e = (0, b.useContext)(bR), t = (0, b.useSyncExternalStore)(Ic, Vnt), n = (0, b.useRef)(t);
+function qnt() {
+ let e = (0, b.useContext)(xR), t = (0, b.useSyncExternalStore)(Ic, Bnt), n = (0, b.useRef)(t);
return (0, b.useEffect)(() => {
if (n.current === t) return;
n.current = t;
- let e = c5();
- Knt(e) && nR(e, { revision: t });
- }, [t]), i5(yR(), (t, n) => {
- e && qnt(e, n);
+ let e = l5();
+ Gnt(e) && rR(e, { revision: t });
+ }, [t]), a5(bR(), (t, n) => {
+ e && Knt(e, n);
}, { shown: () => {
- let e = c5();
- return Knt(e) && !e.hidden;
+ let e = l5();
+ return Gnt(e) && !e.hidden;
} }), null;
}
//#endregion
//#region src/react/router/pages/immerse.tsx
-function Ynt() {
- let e = new URLSearchParams(dR.navigation.location.search).get("id");
+function Jnt() {
+ let e = new URLSearchParams(fR.navigation.location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function Xnt() {
- let e = (0, b.useContext)(bR);
- return _R(() => {
- e?.openImmerse(Ynt());
+function Ynt() {
+ let e = (0, b.useContext)(xR);
+ return vR(() => {
+ e?.openImmerse(Jnt());
}, !0), null;
}
-function Znt() {
- return /* @__PURE__ */ (0, x.jsx)(Xnt, {}, yR());
+function Xnt() {
+ return /* @__PURE__ */ (0, x.jsx)(Ynt, {}, bR());
}
//#endregion
//#region src/react/router/pages/managed.tsx
-var Qnt = [
+var Znt = [
"list",
"add",
"feeds"
-], $nt = () => Tc > 0, ert = () => (0, b.useSyncExternalStore)(Ic, $nt), l5 = !1, trt = () => wT().value.followLayout === "table" ? "table" : "default", u5 = () => new URLSearchParams(window.location.search);
-function nrt(e) {
- let t = u5();
- return dU(e, {
- followLayout: trt(),
+], Qnt = () => Tc > 0, $nt = () => (0, b.useSyncExternalStore)(Ic, Qnt), u5 = !1, ert = () => wT().value.followLayout === "table" ? "table" : "default", d5 = () => new URLSearchParams(window.location.search);
+function trt(e) {
+ let t = d5();
+ return fU(e, {
+ followLayout: ert(),
followSort: t.get("sort") || "",
followDir: t.get("dir") || ""
});
}
-function d5(e) {
+function f5(e) {
return vt("/healthz", { signal: e.controller.signal }).catch((e) => {
if (yt(e)) return null;
throw e;
});
}
-function rrt(e, t) {
+function nrt(e, t) {
return {
readOnly: !!e?.ledger_read_only,
readOnlyMessage: e?.ledger_read_only_message || "本机当前只能浏览",
writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""
};
}
-async function irt(e, t) {
+async function rrt(e, t) {
if (e === "/jav") {
- let e = await d5(t);
+ let e = await f5(t);
return t.live ? {
- tab: bB(u5().get("tab")),
+ tab: xB(d5().get("tab")),
readOnly: !!e?.ledger_read_only
} : null;
}
@@ -92672,58 +92686,58 @@ async function irt(e, t) {
}
if (e === "/configuration") {
window.location.hash === "#peachProxy" && Pc({ configurationRequestedSection: "网络与访问" });
- let e = u5().get("section") || Sc;
+ let e = d5().get("section") || Sc;
return e ? { section: e } : {};
}
if (e === "/review") {
- let e = u5().get("category") || "", n = await d5(t);
+ let e = d5().get("category") || "", n = await f5(t);
return t.live ? {
- category: mN(e) ? e : "",
- ...rrt(n, "/review")
+ category: hN(e) ? e : "",
+ ...nrt(n, "/review")
} : null;
}
if (e === "/follow-manage") {
- let e = u5(), n = e.get("tab") || "", r = {
- tab: Qnt.includes(n) ? n : "list",
+ let e = d5(), n = e.get("tab") || "", r = {
+ tab: Znt.includes(n) ? n : "list",
page: Math.max(1, Math.floor(Number(e.get("page"))) || 1),
sort: e.get("sort") || "",
dir: e.get("dir") || ""
- }, i = await d5(t);
+ }, i = await f5(t);
if (!t.live) return null;
let a = wT().value;
return {
...r,
pageSize: Number(a.followPageSize) || 20,
- layout: trt(),
- ...rrt(i, "/follow-manage")
+ layout: ert(),
+ ...nrt(i, "/follow-manage")
};
}
return {};
}
-var f5 = () => {
+var p5 = () => {
window.scrollTo({
top: 0,
behavior: "smooth"
});
-}, p5 = (e) => {
+}, m5 = (e) => {
document.getElementById(e)?.scrollIntoView({ block: "start" });
-}, art = /* @__PURE__ */ new Set(["/stats", "/taste"]), ort = /* @__PURE__ */ new Set([
+}, irt = /* @__PURE__ */ new Set(["/stats", "/taste"]), art = /* @__PURE__ */ new Set([
"/review",
"/quality-goals",
"/activity",
"/follow-manage"
]);
-async function srt(e, t, n) {
- if (e === "/jav" && bB(u5().get("tab")) === "library") {
- dR.replace(VEe(window.location.search));
+async function ort(e, t, n) {
+ if (e === "/jav" && xB(d5().get("tab")) === "library") {
+ fR.replace(BEe(window.location.search));
return;
}
- if (e === "/follow-manage" && u5().get("tab") === "wants") {
- fR("/jav?tab=wants", { replace: !0 });
+ if (e === "/follow-manage" && d5().get("tab") === "wants") {
+ pR("/jav?tab=wants", { replace: !0 });
return;
}
- if (e === "/follow-manage" && u5().get("tab") === "source") {
- fR("/configuration?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85", { replace: !0 });
+ if (e === "/follow-manage" && d5().get("tab") === "source") {
+ pR("/configuration?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85", { replace: !0 });
return;
}
let r = document.getElementById("stats");
@@ -92746,36 +92760,36 @@ async function srt(e, t, n) {
q: "",
jav: ""
} }), t.clearSearch());
- let i = e === "/data-cleanup" && l5;
- i && (l5 = !1), pU(r, nrt(e));
- let a = await irt(e, n);
+ let i = e === "/data-cleanup" && u5;
+ i && (u5 = !1), mU(r, trt(e));
+ let a = await rrt(e, n);
if (!a) return;
- let o = await tR(e, a, {
+ let o = await nR(e, a, {
container: r,
isCurrent: () => n.live
});
- if (o && (n.revision = ZL(r)?.revision ?? 0), e === "/configuration" && o && Pc({ configurationRequestedSection: "" }), art.has(e) && f5(), n.live) {
+ if (o && (n.revision = QL(r)?.revision ?? 0), e === "/configuration" && o && Pc({ configurationRequestedSection: "" }), irt.has(e) && p5(), n.live) {
let { hash: t } = window.location;
- ort.has(e) && f5(), e === "/configuration" && (t === "#libraryProcessing" ? queueMicrotask(() => {
- n.live && fR("/data-cleanup#libraryProcessing", {
+ art.has(e) && p5(), e === "/configuration" && (t === "#libraryProcessing" ? queueMicrotask(() => {
+ n.live && pR("/data-cleanup#libraryProcessing", {
replace: !0,
state: null
});
- }) : t === "#peachProxy" ? p5("peachProxy") : f5()), e === "/data-cleanup" && t === "#libraryProcessing" && p5("libraryProcessing");
+ }) : t === "#peachProxy" ? m5("peachProxy") : p5()), e === "/data-cleanup" && t === "#libraryProcessing" && m5("libraryProcessing");
}
- i && p5("resource-sync");
+ i && m5("resource-sync");
}
-function m5({ path: e }) {
- let t = yR();
- xL();
- let n = PL(dR.navigation.location.pathname), r = (0, b.useRef)(n ? null : t), i = (0, b.useRef)(n);
- return !n && (!i.current || r.current === null) && (r.current = t), i.current = n, /* @__PURE__ */ (0, x.jsx)(crt, {
+function h5({ path: e }) {
+ let t = bR();
+ SL();
+ let n = FL(fR.navigation.location.pathname), r = (0, b.useRef)(n ? null : t), i = (0, b.useRef)(n);
+ return !n && (!i.current || r.current === null) && (r.current = t), i.current = n, /* @__PURE__ */ (0, x.jsx)(srt, {
path: e,
covered: r.current === null
}, `${e} ${r.current ?? "covered"}`);
}
-function crt({ path: e, covered: t }) {
- let n = (0, b.useContext)(bR), r = ert(), i = (0, b.useRef)(null);
+function srt({ path: e, covered: t }) {
+ let n = (0, b.useContext)(xR), r = $nt(), i = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
if (t || !n || !r || i.current) return;
let a = {
@@ -92784,7 +92798,7 @@ function crt({ path: e, covered: t }) {
controller: new AbortController()
};
i.current = a, queueMicrotask(() => {
- a.live && srt(e, n, a);
+ a.live && ort(e, n, a);
});
}, [r]), (0, b.useEffect)(() => () => {
let e = i.current;
@@ -92792,18 +92806,18 @@ function crt({ path: e, covered: t }) {
e.live = !1, e.controller.abort();
let t = document.getElementById("stats");
queueMicrotask(() => {
- t && e.revision && !t.hidden && ZL(t)?.revision === e.revision && rR(t);
+ t && e.revision && !t.hidden && QL(t)?.revision === e.revision && iR(t);
});
}, []), null;
}
-function lrt() {
- let e = ert(), t = (0, b.useRef)(!1);
+function crt() {
+ let e = $nt(), t = (0, b.useRef)(!1);
return (0, b.useEffect)(() => {
- if (!e || t.current || PL(dR.navigation.location.pathname)) return;
+ if (!e || t.current || FL(fR.navigation.location.pathname)) return;
t.current = !0;
let n = !0;
return queueMicrotask(() => {
- n && (l5 = !0, fR("/data-cleanup#resource-sync", { replace: !0 }));
+ n && (u5 = !0, pR("/data-cleanup#resource-sync", { replace: !0 }));
}), () => {
n = !1;
};
@@ -92811,28 +92825,28 @@ function lrt() {
}
//#endregion
//#region src/react/router/managed-routes.tsx
-function urt(e, t, n) {
+function lrt(e, t, n) {
if (e === "duplicates") {
n("/duplicates");
return;
}
let r = t.managePath(e);
- g5(r) ? n(r) : t.openManage(e);
+ _5(r) ? n(r) : t.openManage(e);
}
-var h5 = {
+var g5 = {
"/jav": {
- element: /* @__PURE__ */ (0, x.jsx)(m5, { path: "/jav" }),
- prefetch: (e, t) => gDe(e.tab, t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(yDe, {
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/jav" }),
+ prefetch: (e, t) => hDe(e.tab, t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(vDe, {
...e,
navigate: t.navigate,
receipt: (e) => t.receipt(e)
})
},
"/stats": {
- element: /* @__PURE__ */ (0, x.jsx)(m5, { path: "/stats" }),
- prefetch: (e, t) => ZMe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(J9e, {
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/stats" }),
+ prefetch: (e, t) => XMe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(q9e, {
tagLabel: Zs,
onTag: t.openTag,
configurable: e.configurable,
@@ -92842,9 +92856,9 @@ var h5 = {
})
},
"/taste": {
- element: /* @__PURE__ */ (0, x.jsx)(m5, { path: "/taste" }),
- prefetch: (e, t) => ket("all", t),
- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(ant, {
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/taste" }),
+ prefetch: (e, t) => Oet("all", t),
+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(int, {
onSignal: t.openTasteSignal,
navigate: n,
toast: (e) => t.receipt(e),
@@ -92852,9 +92866,9 @@ var h5 = {
})
},
"/review": {
- element: /* @__PURE__ */ (0, x.jsx)(m5, { path: "/review" }),
- prefetch: (e, t) => xve(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(nOe, {
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/review" }),
+ prefetch: (e, t) => bve(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(tOe, {
...e,
route: t.routeReview,
openItem: t.openItem,
@@ -92864,27 +92878,27 @@ var h5 = {
})
},
"/data-cleanup": {
- element: /* @__PURE__ */ (0, x.jsx)(m5, { path: "/data-cleanup" }),
- prefetch: (e, t) => sye(t),
- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(jbe, {
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/data-cleanup" }),
+ prefetch: (e, t) => oye(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(Abe, {
failure: t.failure,
- open: (e) => urt(e, t, n),
+ open: (e) => lrt(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
})
},
"/duplicates": {
- element: /* @__PURE__ */ (0, x.jsx)(m5, { path: "/duplicates" }),
- prefetch: (e, t) => R_e(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Bwe, {
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/duplicates" }),
+ prefetch: (e, t) => L_e(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(zwe, {
openItem: t.openItem,
failure: t.failure,
toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})
})
},
"/quality-goals": {
- element: /* @__PURE__ */ (0, x.jsx)(m5, { path: "/quality-goals" }),
- prefetch: (e, t) => nve(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(zDe, {
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/quality-goals" }),
+ prefetch: (e, t) => tve(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(RDe, {
openItem: t.openItem,
javTitleHtml: bO,
javDisplayName: yO,
@@ -92893,23 +92907,23 @@ var h5 = {
})
},
"/scraping": {
- element: /* @__PURE__ */ (0, x.jsx)(m5, { path: "/scraping" }),
- prefetch: (e, t) => lOe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(COe, { toast: (e) => t.toast(e) })
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/scraping" }),
+ prefetch: (e, t) => cOe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(SOe, { toast: (e) => t.toast(e) })
},
"/configuration": {
- element: /* @__PURE__ */ (0, x.jsx)(m5, { path: "/configuration" }),
- prefetch: (e, t) => NOe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Jke, {
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/configuration" }),
+ prefetch: (e, t) => MOe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(qke, {
receipt: (e) => t.receipt(e),
reopenTutorial: t.reopenTutorial,
section: e.section ?? ""
})
},
"/diagnostics": {
- element: /* @__PURE__ */ (0, x.jsx)(m5, { path: "/diagnostics" }),
- prefetch: (e, t) => Vwe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(Gwe, {
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/diagnostics" }),
+ prefetch: (e, t) => Bwe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(Wwe, {
navigate: n,
openItem: t.openItem,
receipt: (e) => t.receipt(e),
@@ -92919,14 +92933,14 @@ var h5 = {
})
},
"/activity": {
- element: /* @__PURE__ */ (0, x.jsx)(m5, { path: "/activity" }),
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/activity" }),
prefetch: (e, t) => ope(t),
page: () => /* @__PURE__ */ (0, x.jsx)(Npe, {})
},
"/follow-manage": {
- element: /* @__PURE__ */ (0, x.jsx)(m5, { path: "/follow-manage" }),
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/follow-manage" }),
prefetch: (e, t) => Or(t, e.tab),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(iEe, {
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(rEe, {
...e,
route: t.routeFollowManage,
savePreference: t.saveFollowPreference,
@@ -92935,11 +92949,11 @@ var h5 = {
openServiceConfiguration: () => t.navigate("/configuration?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85")
})
}
-}, g5 = (e) => Object.hasOwn(h5, e), drt = { "/resource-sync": { element: /* @__PURE__ */ (0, x.jsx)(lrt, {}) } }, frt = { "/immerse": { element: /* @__PURE__ */ (0, x.jsx)(Znt, {}) } }, _5 = {
+}, _5 = (e) => Object.hasOwn(g5, e), urt = { "/resource-sync": { element: /* @__PURE__ */ (0, x.jsx)(crt, {}) } }, drt = { "/immerse": { element: /* @__PURE__ */ (0, x.jsx)(Xnt, {}) } }, v5 = {
"/playlists": {
- element: /* @__PURE__ */ (0, x.jsx)(Jnt, {}),
- prefetch: (e, t) => TDe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(LDe, {
+ element: /* @__PURE__ */ (0, x.jsx)(qnt, {}),
+ prefetch: (e, t) => wDe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(IDe, {
revision: e.revision,
openPlaylist: t.openPlaylist,
openEntity: t.openEntity,
@@ -92948,14 +92962,14 @@ var h5 = {
})
},
"/follow": {
- element: /* @__PURE__ */ (0, x.jsx)(Gnt, {}),
+ element: /* @__PURE__ */ (0, x.jsx)(Wnt, {}),
prefetch: (e, t) => Xr(e, t),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(Mxe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(jxe, { ...e })
}
-}, prt = (e) => Object.hasOwn(_5, e), v5 = {
- element: /* @__PURE__ */ (0, x.jsx)(wnt, {}),
- prefetch: (e, t) => Qbe(e, t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(bEe, {
+}, frt = (e) => Object.hasOwn(v5, e), y5 = {
+ element: /* @__PURE__ */ (0, x.jsx)(Cnt, {}),
+ prefetch: (e, t) => Zbe(e, t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(yEe, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -92968,51 +92982,51 @@ var h5 = {
openFollowAuthor: t.openFollowAuthor,
openFollowTag: t.openFollowTag
})
-}, y5 = {
- "/performers": v5,
- "/creators": v5,
- "/studios": v5,
- "/agencies": v5,
- "/tags": v5
}, b5 = {
- element: /* @__PURE__ */ (0, x.jsx)(jnt, {}),
- prefetch: (e) => Bbe(e),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(Awe, { ...e })
+ "/performers": y5,
+ "/creators": y5,
+ "/studios": y5,
+ "/agencies": y5,
+ "/tags": y5
}, x5 = {
- "/performers/*": b5,
- "/studios/*": b5,
- "/creators/*": b5,
- "/series/*": b5,
- "/agencies/*": b5
+ element: /* @__PURE__ */ (0, x.jsx)(Ant, {}),
+ prefetch: (e) => zbe(e),
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(kwe, { ...e })
}, S5 = {
+ "/performers/*": x5,
+ "/studios/*": x5,
+ "/creators/*": x5,
+ "/series/*": x5,
+ "/agencies/*": x5
+}, C5 = {
"/": {
- element: /* @__PURE__ */ (0, x.jsx)(Bnt, {}),
+ element: /* @__PURE__ */ (0, x.jsx)(znt, {}),
prefetch: (e, t) => Jce(e, t),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(RM, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(zM, { ...e })
},
"/junk-files": {
- element: /* @__PURE__ */ (0, x.jsx)(Bnt, {}),
+ element: /* @__PURE__ */ (0, x.jsx)(znt, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, x.jsx)(FEe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(PEe, { ...e })
}
-}, mrt = (e) => Object.hasOwn(S5, e), hrt = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, x.jsx)(CDe, { ...e }) : /* @__PURE__ */ (0, x.jsx)(qP, { ...e }), grt = {
+}, prt = (e) => Object.hasOwn(C5, e), mrt = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, x.jsx)(SDe, { ...e }) : /* @__PURE__ */ (0, x.jsx)(JP, { ...e }), hrt = {
"catalog-filter": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, x.jsx)(r_e, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(n_e, { ...e })
},
"feed-new": {
- prefetch: (e) => Ibe(e),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(Kwe, { ...e })
+ prefetch: (e) => Fbe(e),
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(Gwe, { ...e })
},
"library-processing": {
- prefetch: (e, t) => ZM(t),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(hrt, { ...e })
+ prefetch: (e, t) => QM(t),
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(mrt, { ...e })
},
search: {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, x.jsx)(OOe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(DOe, { ...e })
}
-}, _rt = (e) => Object.hasOwn(grt, e), vrt = {
+}, grt = (e) => Object.hasOwn(hrt, e), _rt = {
"batch-dock": {
prefetch: async () => {},
page: () => /* @__PURE__ */ (0, x.jsx)(Tse, {})
@@ -93031,17 +93045,17 @@ var h5 = {
},
"settings-panel": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(mAe, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(pAe, {})
},
sidebar: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(OAe, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(DAe, {})
},
stage: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(YMe, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(JMe, {})
}
-}, yrt = (e) => Object.hasOwn(vrt, e), brt = [
+}, vrt = (e) => Object.hasOwn(_rt, e), yrt = [
"/",
"/unseen",
"/watch-later",
@@ -93050,44 +93064,44 @@ var h5 = {
"/junk-files"
];
[
- ...Object.keys(h5),
- ...Object.keys(_5),
- ...Object.keys(y5),
- ...Object.keys(x5),
- ...brt
+ ...Object.keys(g5),
+ ...Object.keys(v5),
+ ...Object.keys(b5),
+ ...Object.keys(S5),
+ ...yrt
];
-var xrt = (e) => g5(e) || prt(e) || Object.hasOwn(y5, e) || Object.hasOwn(x5, e) || mrt(e) || _rt(e) || yrt(e);
-function Srt(e) {
- return g5(e) ? h5[e] : prt(e) ? _5[e] : mrt(e) ? S5[e] : _rt(e) ? grt[e] : yrt(e) ? vrt[e] : Object.hasOwn(y5, e) ? y5[e] : x5[e];
+var brt = (e) => _5(e) || frt(e) || Object.hasOwn(b5, e) || Object.hasOwn(S5, e) || prt(e) || grt(e) || vrt(e);
+function xrt(e) {
+ return _5(e) ? g5[e] : frt(e) ? v5[e] : prt(e) ? C5[e] : grt(e) ? hrt[e] : vrt(e) ? _rt[e] : Object.hasOwn(b5, e) ? b5[e] : S5[e];
}
-function Crt(e, t, n) {
- return xrt(e) ? Srt(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
+function Srt(e, t, n) {
+ return brt(e) ? xrt(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
-function wrt(e, t, n, r) {
- return Srt(e).page(t, n, r);
+function Crt(e, t, n, r) {
+ return xrt(e).page(t, n, r);
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function Trt(e) {
+function wrt(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 Ert = (e) => {
+var Trt = (e) => {
switch (e) {
- case "success": return krt;
- case "info": return jrt;
- case "warning": return Art;
- case "error": return Mrt;
+ case "success": return Ort;
+ case "info": return Art;
+ case "warning": return krt;
+ case "error": return jrt;
default: return null;
}
-}, Drt = Array(12).fill(0), Ort = ({ visible: e, className: t }) => /*#__PURE__*/ b.createElement("div", {
+}, Ert = Array(12).fill(0), Drt = ({ visible: e, className: t }) => /*#__PURE__*/ b.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ b.createElement("div", { className: "sonner-spinner" }, Drt.map((e, t) => /*#__PURE__*/ b.createElement("div", {
+}, /*#__PURE__*/ b.createElement("div", { className: "sonner-spinner" }, Ert.map((e, t) => /*#__PURE__*/ b.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), krt = /*#__PURE__*/ b.createElement("svg", {
+})))), Ort = /*#__PURE__*/ b.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -93098,7 +93112,7 @@ var Ert = (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"
-})), Art = /*#__PURE__*/ b.createElement("svg", {
+})), krt = /*#__PURE__*/ b.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -93109,7 +93123,7 @@ var Ert = (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"
-})), jrt = /*#__PURE__*/ b.createElement("svg", {
+})), Art = /*#__PURE__*/ b.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -93120,7 +93134,7 @@ var Ert = (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"
-})), Mrt = /*#__PURE__*/ b.createElement("svg", {
+})), jrt = /*#__PURE__*/ b.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -93131,7 +93145,7 @@ var Ert = (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"
-})), Nrt = /*#__PURE__*/ b.createElement("svg", {
+})), Mrt = /*#__PURE__*/ b.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -93152,7 +93166,7 @@ var Ert = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), Prt = () => {
+})), Nrt = () => {
let [e, t] = b.useState(document.hidden);
return b.useEffect(() => {
let e = () => {
@@ -93160,7 +93174,7 @@ var Ert = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, Frt = 1, Irt = 100, Lrt = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Frt++, C5 = new class {
+}, Prt = 1, Frt = 100, Irt = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Prt++, w5 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -93170,10 +93184,10 @@ var Ert = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - Irt;
+ let e = this.toasts.length - Frt;
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 = Lrt(e), i = this.pendingDismissals.get(r);
+ let { message: t, ...n } = e, r = Irt(e), i = this.pendingDismissals.get(r);
i !== void 0 && (cancelAnimationFrame(i), this.pendingDismissals.delete(r), this.dismissedToasts.delete(r));
let a = this.dismissedToasts.has(r), o = e.dismissible === void 0 || e.dismissible;
return a && (this.dismissedToasts.delete(r), this.toasts = this.toasts.filter((e) => e.id !== r)), !a && this.toasts.find((e) => e.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({
@@ -93248,7 +93262,7 @@ var Ert = (e) => {
type: "default",
message: e
});
- else if (zrt(e) && !e.ok) {
+ else if (Rrt(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" && !b.isValidElement(r) ? r : { message: r };
this.create({
@@ -93292,7 +93306,7 @@ var Ert = (e) => {
}), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));
return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });
}, this.custom = (e, t) => {
- let n = Lrt(t);
+ let n = Irt(t);
return this.create({
...t,
jsx: e(n),
@@ -93301,34 +93315,34 @@ var Ert = (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();
}
-}(), Rrt = (e, t) => C5.message(e, t), zrt = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", Brt = Object.assign(Rrt, {
- success: C5.success,
- info: C5.info,
- warning: C5.warning,
- error: C5.error,
- custom: C5.custom,
- message: C5.message,
- promise: C5.promise,
- dismiss: C5.dismiss,
- loading: C5.loading
+}(), Lrt = (e, t) => w5.message(e, t), Rrt = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", zrt = Object.assign(Lrt, {
+ success: w5.success,
+ info: w5.info,
+ warning: w5.warning,
+ error: w5.error,
+ custom: w5.custom,
+ message: w5.message,
+ promise: w5.promise,
+ dismiss: w5.dismiss,
+ loading: w5.loading
}, {
- getHistory: () => C5.toasts,
- getToasts: () => C5.getActiveToasts()
+ getHistory: () => w5.toasts,
+ getToasts: () => w5.getActiveToasts()
});
-Trt("[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 w5(e) {
+wrt("[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 T5(e) {
return e.label !== void 0;
}
-var Vrt = 3, Hrt = "24px", Urt = "16px", Wrt = 4e3, Grt = 356, Krt = 14, qrt = 45, Jrt = 200;
-function T5(...e) {
+var Brt = 3, Vrt = "24px", Hrt = "16px", Urt = 4e3, Wrt = 356, Grt = 14, Krt = 45, qrt = 200;
+function E5(...e) {
return e.filter(Boolean).join(" ");
}
-function Yrt(e) {
+function Jrt(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var Xrt = (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: x, gap: S, expandByDefault: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = e, [D, O] = b.useState(null), [k, A] = b.useState(null), [j, M] = b.useState(!1), [N, P] = b.useState(!1), [ee, F] = b.useState(!1), [te, ne] = b.useState(!1), [re, ie] = b.useState(!1), [ae, oe] = b.useState(0), [se, ce] = b.useState(0), le = b.useRef(n.duration || y || Wrt), ue = b.useRef(null), de = b.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", ge = n.dismissible !== !1, _e = n.className || "", ve = n.descriptionClassName || "", ye = b.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), be = b.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), xe = b.useMemo(() => n.duration || y || Wrt, [n.duration, y]), Se = b.useRef(0), Ce = b.useRef(0), we = b.useRef(0), Te = b.useRef(null), [Ee, De] = x.split("-"), Oe = b.useMemo(() => s.reduce((e, t, n) => n >= ye ? e : e + t.height, 0), [s, ye]), ke = Prt(), Ae = b.useMemo(() => e.swipeDirections ?? Yrt(x), [e.swipeDirections, x]), je = n.invert || t, Me = me === "loading";
+var Yrt = (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: x, gap: S, expandByDefault: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = e, [D, O] = b.useState(null), [k, A] = b.useState(null), [j, M] = b.useState(!1), [N, P] = b.useState(!1), [ee, F] = b.useState(!1), [te, ne] = b.useState(!1), [re, ie] = b.useState(!1), [ae, oe] = b.useState(0), [se, ce] = b.useState(0), le = b.useRef(n.duration || y || Urt), ue = b.useRef(null), de = b.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", ge = n.dismissible !== !1, _e = n.className || "", ve = n.descriptionClassName || "", ye = b.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), be = b.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), xe = b.useMemo(() => n.duration || y || Urt, [n.duration, y]), Se = b.useRef(0), Ce = b.useRef(0), we = b.useRef(0), Te = b.useRef(null), [Ee, De] = x.split("-"), Oe = b.useMemo(() => s.reduce((e, t, n) => n >= ye ? e : e + t.height, 0), [s, ye]), ke = Nrt(), Ae = b.useMemo(() => e.swipeDirections ?? Jrt(x), [e.swipeDirections, x]), je = n.invert || t, Me = me === "loading";
Ce.current = b.useMemo(() => ye * S + Oe, [ye, Oe]), b.useEffect(() => {
le.current = xe;
}, [xe]), b.useEffect(() => {
@@ -93369,7 +93383,7 @@ var Xrt = (e) => {
let Ne = b.useCallback(() => {
P(!0), oe(Ce.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, Jrt);
+ }, qrt);
}, [
n,
d,
@@ -93400,18 +93414,18 @@ var Xrt = (e) => {
}, [Ne, n.delete]);
function Pe() {
return T?.loading ? /*#__PURE__*/ b.createElement("div", {
- className: T5(w?.loader, n?.classNames?.loader, "sonner-loader"),
+ className: E5(w?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": me === "loading"
- }, T.loading) : /*#__PURE__*/ b.createElement(Ort, {
- className: T5(w?.loader, n?.classNames?.loader),
+ }, T.loading) : /*#__PURE__*/ b.createElement(Drt, {
+ className: E5(w?.loader, n?.classNames?.loader),
visible: me === "loading"
});
}
- let Fe = n.icon || T?.[me] || Ert(me);
+ let Fe = n.icon || T?.[me] || Trt(me);
return /*#__PURE__*/ b.createElement("li", {
tabIndex: 0,
ref: de,
- className: T5(_, _e, w?.toast, n?.classNames?.toast, w?.[he], n?.classNames?.[he]),
+ className: E5(_, _e, w?.toast, n?.classNames?.toast, w?.[he], n?.classNames?.[he]),
"data-sonner-toast": "",
"data-rich-colors": n.richColors ?? f,
"data-styled": !(n.jsx || n.unstyled || r),
@@ -93454,7 +93468,7 @@ var Xrt = (e) => {
if (te || !ge) return;
Te.current = null;
let e = Number(de.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(de.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ue.current?.getTime(), i = D === "x" ? e : t, a = Math.abs(i) / r;
- if ((D === "x" ? Ae.includes(e > 0 ? "right" : "left") : Ae.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= qrt || a > .11)) oe(Ce.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Ne(), ne(!0);
+ if ((D === "x" ? Ae.includes(e > 0 ? "right" : "left") : Ae.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Krt || a > .11)) oe(Ce.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Ne(), ne(!0);
else {
var o, s;
(o = de.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = de.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), ie(!1), F(!1), O(null);
@@ -93493,46 +93507,46 @@ var Xrt = (e) => {
onClick: Me || !ge ? () => {} : () => {
Ne(), n.onDismiss == null || n.onDismiss.call(n, n);
},
- className: T5(w?.closeButton, n?.classNames?.closeButton)
- }, T?.close ?? Nrt) : null, (me || n.icon || n.promise) && n.icon !== null && (T?.[me] !== null || n.icon) ? /*#__PURE__*/ b.createElement("div", {
+ className: E5(w?.closeButton, n?.classNames?.closeButton)
+ }, T?.close ?? Mrt) : null, (me || n.icon || n.promise) && n.icon !== null && (T?.[me] !== null || n.icon) ? /*#__PURE__*/ b.createElement("div", {
"data-icon": "",
- className: T5(w?.icon, n?.classNames?.icon)
+ className: E5(w?.icon, n?.classNames?.icon)
}, me === "loading" ? n.icon || Pe() : n.promise ? Pe() : null, me === "loading" ? null : Fe) : null, /*#__PURE__*/ b.createElement("div", {
"data-content": "",
- className: T5(w?.content, n?.classNames?.content)
+ className: E5(w?.content, n?.classNames?.content)
}, /*#__PURE__*/ b.createElement("div", {
"data-title": "",
- className: T5(w?.title, n?.classNames?.title)
+ className: E5(w?.title, n?.classNames?.title)
}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ b.createElement("div", {
"data-description": "",
- className: T5(v, ve, w?.description, n?.classNames?.description)
- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ b.isValidElement(n.cancel) ? n.cancel : n.cancel && w5(n.cancel) ? /*#__PURE__*/ b.createElement("button", {
+ className: E5(v, ve, w?.description, n?.classNames?.description)
+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ b.isValidElement(n.cancel) ? n.cancel : n.cancel && T5(n.cancel) ? /*#__PURE__*/ b.createElement("button", {
"data-button": !0,
"data-cancel": !0,
style: n.cancelButtonStyle || h,
onClick: (e) => {
- w5(n.cancel) && ge && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Ne());
+ T5(n.cancel) && ge && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Ne());
},
- className: T5(w?.cancelButton, n?.classNames?.cancelButton)
- }, n.cancel.label) : null, /*#__PURE__*/ b.isValidElement(n.action) ? n.action : n.action && w5(n.action) ? /*#__PURE__*/ b.createElement("button", {
+ className: E5(w?.cancelButton, n?.classNames?.cancelButton)
+ }, n.cancel.label) : null, /*#__PURE__*/ b.isValidElement(n.action) ? n.action : n.action && T5(n.action) ? /*#__PURE__*/ b.createElement("button", {
"data-button": !0,
"data-action": !0,
style: n.actionButtonStyle || g,
onClick: (e) => {
- w5(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Ne());
+ T5(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Ne());
},
- className: T5(w?.actionButton, n?.classNames?.actionButton)
+ className: E5(w?.actionButton, n?.classNames?.actionButton)
}, n.action.label) : null);
};
-function Zrt() {
+function Xrt() {
if (typeof window > "u" || typeof document > "u") return "ltr";
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function Qrt(e, t) {
+function Zrt(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Urt : Hrt;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Hrt : Vrt;
function o(e) {
[
"top",
@@ -93553,11 +93567,11 @@ function Qrt(e, t) {
}) : o(a);
}), n;
}
-var $rt = /*#__PURE__*/ b.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 = Vrt, toastOptions: g, dir: _ = Zrt(), gap: v = Krt, icons: y, customAriaLabel: x, containerAriaLabel: S = "Notifications" } = e, [C, w] = b.useState([]), T = b.useMemo(() => n ? C.filter((e) => e.toasterId === n) : C.filter((e) => !e.toasterId), [C, n]), E = b.useMemo(() => Array.from(new Set([i].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, i]), [D, O] = b.useState([]), [k, A] = b.useState(!1), [j, M] = b.useState(!1), [N, P] = b.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = b.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), te = b.useRef(null), ne = b.useRef(!1), re = b.useCallback((e) => {
- w((t) => (t.find((t) => t.id === e.id)?.delete || C5.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
+var Qrt = /*#__PURE__*/ b.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 = Brt, toastOptions: g, dir: _ = Xrt(), gap: v = Grt, icons: y, customAriaLabel: x, containerAriaLabel: S = "Notifications" } = e, [C, w] = b.useState([]), T = b.useMemo(() => n ? C.filter((e) => e.toasterId === n) : C.filter((e) => !e.toasterId), [C, n]), E = b.useMemo(() => Array.from(new Set([i].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, i]), [D, O] = b.useState([]), [k, A] = b.useState(!1), [j, M] = b.useState(!1), [N, P] = b.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = b.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), te = b.useRef(null), ne = b.useRef(!1), re = b.useCallback((e) => {
+ w((t) => (t.find((t) => t.id === e.id)?.delete || w5.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
- return b.useEffect(() => C5.subscribe((e) => {
+ return b.useEffect(() => w5.subscribe((e) => {
e.dismiss ? requestAnimationFrame(() => {
w((t) => t.map((t) => t.id === e.id ? {
...t,
@@ -93626,7 +93640,7 @@ var $rt = /*#__PURE__*/ b.forwardRef(function(e, t) {
let [i, a] = t.split("-");
return T.length ? /*#__PURE__*/ b.createElement("ol", {
key: t,
- dir: _ === "auto" ? Zrt() : _,
+ dir: _ === "auto" ? Xrt() : _,
tabIndex: -1,
ref: ee,
className: c,
@@ -93636,10 +93650,10 @@ var $rt = /*#__PURE__*/ b.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${D[0]?.height || 0}px`,
- "--width": `${Grt}px`,
+ "--width": `${Wrt}px`,
"--gap": `${v}px`,
...m,
- ...Qrt(l, u)
+ ...Zrt(l, u)
},
onBlur: (e) => {
ne.current && !e.currentTarget.contains(e.relatedTarget) && (ne.current = !1, te.current &&= (te.current.focus({ preventScroll: !0 }), null));
@@ -93657,7 +93671,7 @@ var $rt = /*#__PURE__*/ b.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || M(!0);
},
onPointerUp: () => M(!1)
- }, T.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ b.createElement(Xrt, {
+ }, T.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ b.createElement(Yrt, {
key: n.id,
icons: y,
index: i,
@@ -93687,23 +93701,23 @@ var $rt = /*#__PURE__*/ b.forwardRef(function(e, t) {
swipeDirections: e.swipeDirections
}))) : null;
}));
-}), eit = (e, t) => /* @__PURE__ */ (0, x.jsx)("span", {
+}), $rt = (e, t) => /* @__PURE__ */ (0, x.jsx)("span", {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), E5 = null;
-function tit() {
- let e = E5;
- E5 = null, e?.root.unmount();
-}
-var nit = (e, t) => {
- if (E5?.host === e) return;
- tit();
+}), D5 = null;
+function eit() {
+ let e = D5;
+ D5 = null, e?.root.unmount();
+}
+var tit = (e, t) => {
+ if (D5?.host === e) return;
+ eit();
let n = (0, ht.createRoot)(e);
- E5 = {
+ D5 = {
host: e,
root: n
- }, n.render(/* @__PURE__ */ (0, x.jsx)($rt, {
+ }, n.render(/* @__PURE__ */ (0, x.jsx)(Qrt, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -93720,16 +93734,16 @@ var nit = (e, t) => {
toastOptions: { closeButtonAriaLabel: "关闭提示" },
containerAriaLabel: "通知",
icons: {
- success: eit(t.success, !0),
- error: eit(t.error, !1)
+ success: $rt(t.success, !0),
+ error: $rt(t.error, !1)
}
}));
-}, rit = 6e3, iit = (e, t) => {
+}, nit = 6e3, rit = (e, t) => {
if (!String(t.html ?? "").trim()) return;
- let n = t.alert ? Brt.error : Brt.success, r = t.action;
+ let n = t.alert ? zrt.error : zrt.success, r = t.action;
n(/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
- duration: t.timeout > 0 ? t.timeout : rit,
+ duration: t.timeout > 0 ? t.timeout : nit,
action: r ? {
label: r.label,
onClick: (e) => {
@@ -93737,83 +93751,83 @@ var nit = (e, t) => {
}
} : void 0
});
-}, D5 = null, O5 = null, k5 = 0, A5 = /* @__PURE__ */ new Set();
-function ait(e) {
- return D5 = e, O5 && e(O5), () => {
- D5 === e && (D5 = null);
+}, O5 = null, k5 = null, A5 = 0, j5 = /* @__PURE__ */ new Set();
+function iit(e) {
+ return O5 = e, k5 && e(k5), () => {
+ O5 === e && (O5 = null);
};
}
-function oit(e) {
- return D5 && (O5 = e, D5(e), LCe(Promise.resolve(Crt))), Promise.resolve();
+function ait(e) {
+ return O5 && (k5 = e, O5(e), ICe(Promise.resolve(Srt))), Promise.resolve();
}
-async function j5(e, t, n = (e) => e) {
- let r = k5;
- if (t.isConnected || A5.add(t), !await tR(e, {}, {
+async function M5(e, t, n = (e) => e) {
+ let r = A5;
+ if (t.isConnected || j5.add(t), !await nR(e, {}, {
container: t,
resident: !0,
- isCurrent: () => !!D5 && r === k5,
+ isCurrent: () => !!O5 && r === A5,
place: () => n(t)
- }) || r !== k5 || !D5) throw new DOMException("应用已卸载", "AbortError");
-}
-function sit() {
- k5 += 1, D5 = null, O5 = null, M5 = null, N5 = null, I5 = null, L5 = null, z5 = null, B5 = null, V5 = null, H5 = null, W5 = null, G5 = null, K5 = null, q5 = null, J5 = null;
- for (let e of A5) e.remove();
- A5.clear(), tit();
-}
-var M5 = null, N5 = null;
-function P5(e) {
- return M5 ??= (async () => {
- let t = JMe(e), n = document.createElement("div");
- return n.dataset.stageHost = "", await j5("stage", n, (e) => (document.body.append(e), e)), N5 = t, t;
- })(), M5;
-}
-var F5 = () => N5, I5 = null, L5 = null;
-function cit(e) {
- return I5 ??= (async () => {
+ }) || r !== A5 || !O5) throw new DOMException("应用已卸载", "AbortError");
+}
+function oit() {
+ A5 += 1, O5 = null, k5 = null, N5 = null, P5 = null, L5 = null, R5 = null, B5 = null, V5 = null, H5 = null, U5 = null, G5 = null, K5 = null, q5 = null, J5 = null, Y5 = null;
+ for (let e of j5) e.remove();
+ j5.clear(), eit();
+}
+var N5 = null, P5 = null;
+function F5(e) {
+ return N5 ??= (async () => {
+ let t = qMe(e), n = document.createElement("div");
+ return n.dataset.stageHost = "", await M5("stage", n, (e) => (document.body.append(e), e)), P5 = t, t;
+ })(), N5;
+}
+var I5 = () => P5, L5 = null, R5 = null;
+function sit(e) {
+ return L5 ??= (async () => {
let t = Sue(e), n = document.createElement("div");
- return n.dataset.immerseHost = "", await j5("immerse", n, (e) => (document.body.append(e), e)), L5 = t, t;
- })(), I5;
-}
-var R5 = () => L5, z5 = null, B5 = null;
-function lit(e) {
- return z5 ??= (async () => {
- let t = pAe(e), n = document.createElement("div");
- return n.dataset.settingsHost = "", await j5("settings-panel", n, (e) => (document.body.append(e), e)), B5 = t, t;
- })(), z5;
+ return n.dataset.immerseHost = "", await M5("immerse", n, (e) => (document.body.append(e), e)), R5 = t, t;
+ })(), L5;
}
-var uit = () => B5, V5 = null, H5 = null;
+var z5 = () => R5, B5 = null, V5 = null;
+function cit(e) {
+ return B5 ??= (async () => {
+ let t = fAe(e), n = document.createElement("div");
+ return n.dataset.settingsHost = "", await M5("settings-panel", n, (e) => (document.body.append(e), e)), V5 = t, t;
+ })(), B5;
+}
+var lit = () => V5, H5 = null, U5 = null;
+function uit(e) {
+ return H5 ??= (async () => {
+ let t = EAe(e);
+ return await M5("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), U5 = t, t;
+ })(), H5;
+}
+var W5 = () => U5, G5 = null, K5 = null;
function dit(e) {
- return V5 ??= (async () => {
- let t = DAe(e);
- return await j5("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), H5 = t, t;
- })(), V5;
-}
-var U5 = () => H5, W5 = null, G5 = null;
-function fit(e) {
- return W5 ??= (async () => {
+ return G5 ??= (async () => {
let t = Iue(e);
- return await j5("manage-header", e.root, (e) => (e.replaceChildren(), e)), G5 = t, t;
- })(), W5;
+ return await M5("manage-header", e.root, (e) => (e.replaceChildren(), e)), K5 = t, t;
+ })(), G5;
}
-var pit = () => G5, K5 = null, q5 = null;
-function mit(e) {
- return K5 ??= (async () => {
+var fit = () => K5, q5 = null, J5 = null;
+function pit(e) {
+ return q5 ??= (async () => {
let t = wse(e);
- return await j5("batch-dock", e.root), q5 = t, t;
- })(), K5;
+ return await M5("batch-dock", e.root), J5 = t, t;
+ })(), q5;
}
-var hit = () => q5, J5 = null;
-function git(e) {
- return J5 ??= (async () => {
- sce(e), await j5("glow-picker", e.root);
- })(), J5;
+var mit = () => J5, Y5 = null;
+function hit(e) {
+ return Y5 ??= (async () => {
+ sce(e), await M5("glow-picker", e.root);
+ })(), Y5;
}
-function _it(e, t, n, r) {
- nit(e, t), iit(n, r);
+function git(e, t, n, r) {
+ tit(e, t), rit(n, r);
}
//#endregion
//#region src/application/effects.ts
-var vit = class {
+var _it = class {
cleanups = /* @__PURE__ */ new Set();
active = !0;
disposed = !1;
@@ -93894,13 +93908,13 @@ var vit = class {
}
if (e.length) throw AggregateError(e, "应用资源清理未全部完成");
}
-}, Y5 = new vit();
-function yit() {
- return Y5.dispose(), Y5 = new vit(), Y5;
+}, X5 = new _it();
+function vit() {
+ return X5.dispose(), X5 = new _it(), X5;
}
//#endregion
//#region src/application/receipts.js
-var X5 = {
+var Z5 = {
toastBody: void 0,
toastSeq: void 0,
toast: void 0,
@@ -93910,10 +93924,10 @@ var X5 = {
rollSeed: void 0,
seededSample: void 0
};
-function bit() {
- X5.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : R(e && typeof e == "object" ? e.text ?? "" : e ?? ""), X5.toastSeq = 0, X5.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
- let a = `toast-${++X5.toastSeq}`, o = (e, t, n, r) => {
- Aa(i || (t ? "error" : "success")), _it(I("#toasts"), {
+function yit() {
+ Z5.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : R(e && typeof e == "object" ? e.text ?? "" : e ?? ""), Z5.toastSeq = 0, Z5.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
+ let a = `toast-${++Z5.toastSeq}`, o = (e, t, n, r) => {
+ Aa(i || (t ? "error" : "success")), git(I("#toasts"), {
success: L("check"),
error: L("circle-alert")
}, a, {
@@ -93928,13 +93942,13 @@ function bit() {
} : null
});
};
- return o(X5.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(X5.toastBody(e), t, n, null) };
- }, X5.liftToastsOverTutorial = () => {
+ return o(Z5.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(Z5.toastBody(e), t, n, null) };
+ }, Z5.liftToastsOverTutorial = () => {
let e = I("#postSetupTutorial"), t = I("#toasts"), n = e.hidden ? innerHeight : e.getBoundingClientRect().top;
e.hidden || !e.offsetHeight || n < 160 ? t.style.removeProperty("--toast-bottom") : t.style.setProperty("--toast-bottom", `${Math.round(innerHeight - n + 12)}px`);
- }, Y5.resize(X5.liftToastsOverTutorial).observe(I("#postSetupTutorial")), Y5.listen.bind(Y5, window)("resize", X5.liftToastsOverTutorial), X5.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {
+ }, X5.resize(Z5.liftToastsOverTutorial).observe(I("#postSetupTutorial")), X5.listen.bind(X5, window)("resize", Z5.liftToastsOverTutorial), Z5.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {
let r = null;
- return r = X5.toast({ text: e }, {
+ return r = Z5.toast({ text: e }, {
timeout: n,
action: t ? {
label: "撤销",
@@ -93947,7 +93961,7 @@ function bit() {
}
} : null
}), r;
- }, X5.actionFailure = (e, t) => X5.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), X5.rollSeed = () => Zt(), X5.seededSample = (e, t, n, r = (e) => e.k) => {
+ }, Z5.actionFailure = (e, t) => Z5.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), Z5.rollSeed = () => Zt(), Z5.seededSample = (e, t, n, r = (e) => e.k) => {
if (e.length <= t) return e;
let i = new Set([...e].sort((e, t) => Xt(n, r(e)) - Xt(n, r(t))).slice(0, t).map(r));
return e.filter((e) => i.has(r(e)));
@@ -93955,7 +93969,7 @@ function bit() {
}
//#endregion
//#region src/react/catalog-grid/catalog-state.ts
-var xit = [
+var bit = [
"loc",
"creator",
"studio",
@@ -93972,10 +93986,10 @@ var xit = [
"q",
"jav"
];
-function Sit(e, t, n, r = n.defaultSort) {
+function xit(e, t, n, r = n.defaultSort) {
return aT(e, t, n.defaultSort, n.defaultSortDirection, r);
}
-function Cit(e, t, n) {
+function Sit(e, t, n) {
let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = wt(r) || r === "/trash", o = (e) => a ? i.get(e) : null;
return {
loc: i.get("loc") ?? "local,115",
@@ -93990,25 +94004,25 @@ function Cit(e, t, n) {
orient: o("orient") || "",
region: o("region") || "",
state: St[r] || o("state") || "",
- ...Sit(o("sort"), o("dir"), t),
+ ...xit(o("sort"), o("dir"), t),
seed: o("seed") || n(),
q: o("q") || "",
jav: o("jav") || "",
thumb: o("thumb") || "0"
};
}
-function wit(e, t) {
+function Cit(e, t) {
return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;
}
-function Tit(e) {
+function wit(e) {
let t = xt[e.state ?? ""] || "/", n = new URLSearchParams();
- for (let t of xit) {
+ for (let t of bit) {
let r = e[t];
r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== nT(e.sort ?? "")) && n.set(t, r);
}
return !xt[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");
}
-function Eit(e, t, n) {
+function Tit(e, t, n) {
return {
loc: e.loc ?? "",
creator: "",
@@ -94030,7 +94044,7 @@ function Eit(e, t, n) {
thumb: "0"
};
}
-function Dit(e) {
+function Eit(e) {
return {
state: e,
barsContext: {
@@ -94042,7 +94056,7 @@ function Dit(e) {
}
//#endregion
//#region src/react/catalog-grid/catalog-controller.ts
-var Oit = class {
+var Dit = class {
currentRevision = 0;
currentPage = "";
painting = null;
@@ -94087,44 +94101,44 @@ var Oit = class {
let e = [...this.waiters.values()];
this.waiters.clear(), e.forEach((e) => e());
}
-}, Z5 = 3e4, Q5 = 0, kit = (e, t = Q5) => [
+}, Q5 = 3e4, $5 = 0, Oit = (e, t = $5) => [
"facets",
e,
t
-], Ait = (e, t, n = Q5) => [
+], kit = (e, t, n = $5) => [
"tops",
e,
t,
n
-], jit = (e, t = Q5) => [
+], Ait = (e, t = $5) => [
"tops",
e,
t
];
-async function Mit(e) {
+async function jit(e) {
let t = String(e), n = await vt(`/api/tops?${t}`), r = new URLSearchParams(t);
return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await vt(`/api/tops?${r}`));
}
-function Nit(e, t) {
+function Mit(e, t) {
return Promise.all([H.fetchQuery({
- queryKey: kit(e),
+ queryKey: Oit(e),
queryFn: () => vt(`/api/facets${e ? `?${e}` : ""}`),
- staleTime: Z5
+ staleTime: Q5
}), H.fetchQuery({
- queryKey: Ait(t, e),
- queryFn: () => Mit(t),
- staleTime: Z5
+ queryKey: kit(t, e),
+ queryFn: () => jit(t),
+ staleTime: Q5
})]);
}
-function Pit(e) {
+function Nit(e) {
return H.fetchQuery({
- queryKey: jit(e),
- queryFn: () => Mit(e),
- staleTime: Z5
+ queryKey: Ait(e),
+ queryFn: () => jit(e),
+ staleTime: Q5
});
}
-function $5() {
- Q5 += 1;
+function e7() {
+ $5 += 1;
let e = (e) => e.state.fetchStatus === "idle";
H.removeQueries({
queryKey: ["facets"],
@@ -94136,7 +94150,7 @@ function $5() {
}
//#endregion
//#region src/application/navigation-items.ts
-var Fit = [
+var Pit = [
[
"",
"首页",
@@ -94187,7 +94201,7 @@ var Fit = [
"管理",
"wrench"
]
-], e7 = [
+], t7 = [
[
"stats",
"统计",
@@ -94233,18 +94247,18 @@ var Fit = [
"Peach 配置",
"folder-cog"
]
-], Iit = [
+], Fit = [
"stats",
"taste",
"cleanup",
"follow",
"activity",
"configuration"
-], Lit = (e) => e7.filter(([t]) => Iit.includes(t) && (t !== "configuration" || e)), Rit = e7.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
+], Iit = (e) => t7.filter(([t]) => Fit.includes(t) && (t !== "configuration" || e)), Lit = t7.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,
t,
n
-]]), zit = [...Fit, ...Rit], Bit = {
+]]), Rit = [...Pit, ...Lit], zit = {
stats: "stats",
review: "review",
"data-cleanup": "cleanup",
@@ -94255,11 +94269,11 @@ var Fit = [
};
//#endregion
//#region src/react/index/index-controller.ts
-function Vit({ kind: e, q: t, scope: n, view: r, category: i }) {
+function Bit({ kind: e, q: t, scope: n, view: r, category: i }) {
let a = new URLSearchParams();
return t && a.set("q", t), e === "tags" && (a.set("view", r), n === "online" && a.set("scope", n), i !== "all" && a.set("category", i)), e === "performers" && n === "online" && a.set("scope", n), e === "performers" && n !== "online" && i !== "all" && a.set("category", i), `/${e}` + (a.size ? `?${a}` : "");
}
-function Hit(e, t, n) {
+function Vit(e, t, n) {
let r = e.entity_id || e.id, i = t === "studio" || t === "agency";
return {
html: ra(e.k, r ? {
@@ -94272,20 +94286,20 @@ function Hit(e, t, n) {
face: aa(e.avatar_focus)
};
}
-function Uit(e) {
+function Hit(e) {
let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${R(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${ji({ fallbacks: [e.avatar_fallback || ""] })}>` : "";
return `<span class="ini">${R(n)}</span>${r}`;
}
-function Wit(e) {
+function Uit(e) {
let t = (t) => {
e.adoptFollowView(t), e.hideIndex(), e.openPage(yi(t));
};
return {
route(t, { replace: n = !1 } = {}) {
- e.route(Vit(t), n);
+ e.route(Bit(t), n);
},
- personAvatar: Hit,
- authorAvatar: Uit,
+ personAvatar: Vit,
+ authorAvatar: Hit,
openFollowAuthor(n) {
t(bi(e.followView(), n));
},
@@ -94296,27 +94310,27 @@ function Wit(e) {
}
//#endregion
//#region src/react/follow-manage/manage-route.ts
-var Git = [
+var Wit = [
"list",
"add",
"feeds"
];
-function Kit(e) {
+function Git(e) {
let t = new URLSearchParams(e), n = t.get("tab");
return {
- tab: Git.find((e) => e === n) || "list",
+ tab: Wit.find((e) => e === n) || "list",
page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),
sort: t.get("sort") || "",
dir: t.get("dir") || ""
};
}
-function qit(e) {
+function Kit(e) {
let t = new URLSearchParams();
return e.tab !== "list" && t.set("tab", e.tab), e.page > 1 && t.set("page", String(e.page)), e.sort && t.set("sort", e.sort), e.dir && t.set("dir", e.dir), "/follow-manage" + (t.size ? `?${t}` : "");
}
-function Jit(e, t) {
- return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/configuration?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : qit({
- tab: t || Kit(e).tab,
+function qit(e, t) {
+ return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/configuration?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : Kit({
+ tab: t || Git(e).tab,
page: 1,
sort: "",
dir: ""
@@ -94324,7 +94338,7 @@ function Jit(e, t) {
}
//#endregion
//#region src/application/source-action.ts
-function Yit(e) {
+function Jit(e) {
return async (t, n, { button: r = null } = {}) => {
if (r?.getAttribute("aria-busy") === "true") return;
let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";
@@ -94340,36 +94354,36 @@ function Yit(e) {
}
//#endregion
//#region src/react/entity-page/entity-route.ts
-var t7 = () => Object.fromEntries(xF.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
-function Xit(e, t) {
- let n = new URLSearchParams(e), r = t7();
- for (let e of xF) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
+var n7 = () => Object.fromEntries(SF.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
+function Yit(e, t) {
+ let n = new URLSearchParams(e), r = n7();
+ for (let e of SF) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
return {
...r,
...aT(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
};
}
-function Zit(e) {
+function Xit(e) {
let t = new URLSearchParams();
- for (let n of xF) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== nT(e.sort || "")) && t.set(n, e[n]);
+ for (let n of SF) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== nT(e.sort || "")) && t.set(n, e[n]);
return t.toString();
}
-function Qit(e) {
+function Zit(e) {
let t = new URLSearchParams(e), n = t.get("set") || "", r = t.get("media");
return {
media: r === "photos" || r === "online" ? r : "videos",
set: r === "photos" && /^\d+$/.test(n) ? Number(n) : 0
};
}
-function $it(e, t) {
- let n = new URLSearchParams(Zit(e));
+function Qit(e, t) {
+ let n = new URLSearchParams(Xit(e));
return t?.media === "photos" ? (n.set("media", "photos"), t.set && n.set("set", String(t.set))) : t?.media === "online" && n.set("media", "online"), n.toString();
}
-function eat(e, t, n, r) {
- let i = $it(n, r);
+function $it(e, t, n, r) {
+ let i = Qit(n, r);
return Dt(e, t) + (i ? `?${i}` : "");
}
-function tat() {
+function eat() {
let e = "";
return {
fresh(t, n) {
@@ -94378,23 +94392,23 @@ function tat() {
read(t, n, r, i) {
let a = e === Dt(t, n) && !r;
e = "";
- let o = a ? t7() : { ...Xit(r, i) };
+ let o = a ? n7() : { ...Yit(r, i) };
return t === "creator" && (o.creator = ""), {
filters: o,
media: a ? {
media: "videos",
set: 0
- } : Qit(r)
+ } : Zit(r)
};
}
};
}
//#endregion
//#region src/react/entity-page/photo-surface.ts
-function nat(e, t) {
+function tat(e, t) {
return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();
}
-function rat(e) {
+function nat(e) {
let t = () => {
let t = e.preferences();
for (let n of e.walls()) n.dataset.size = t.size, n.dataset.layout = "fixed", n.dataset.imagesOnly = String(t.imagesOnly);
@@ -94417,12 +94431,12 @@ function rat(e) {
}
//#endregion
//#region src/react/entity-page/entity-controller.ts
-function iat(e, t, n) {
+function rat(e, t, n) {
let r = (t, n, r, i = {
media: "videos",
set: 0
}, { push: a = !0 } = {}) => {
- if (a && e.route(eat(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
+ if (a && e.route($it(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
e.releaseBodyPreviews();
let o = e.state();
return e.push({
@@ -94436,7 +94450,7 @@ function iat(e, t, n) {
if (s) return s;
let c = () => {
let n = e.context();
- return n?.kind === t && n.name === a ? n.filters : t7();
+ return n?.kind === t && n.name === a ? n.filters : n7();
}, l = {
...n,
route: (e, n) => {
@@ -94501,7 +94515,7 @@ function iat(e, t, n) {
}
//#endregion
//#region src/react/entity-page/entity-loading.ts
-function aat(e) {
+function iat(e) {
return async (t, n, r) => {
!e.shapesReady() && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {
r() && e.syncParts(t, n);
@@ -94510,7 +94524,7 @@ function aat(e) {
}
//#endregion
//#region src/react/entity-page/entity-portrait.ts
-function oat(e, t) {
+function aat(e, t) {
let n = e === "studio" || e === "agency", r = t.id ? na({
kind: e,
id: t.id,
@@ -94532,11 +94546,11 @@ function oat(e, t) {
}
//#endregion
//#region src/react/entity-page/entity-application.ts
-function sat(e) {
- let t = tat(), n = {
+function oat(e) {
+ let t = eat(), n = {
...e.helpers,
- portraitImg: oat
- }, r = iat(e.controller, n, e.actions);
+ portraitImg: aat
+ }, r = rat(e.controller, n, e.actions);
return {
...r,
helpers: n,
@@ -94545,13 +94559,13 @@ function sat(e) {
let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());
return r.props(n, i, o, s);
},
- loading: aat(e.loading),
- photos: rat(e.photos)
+ loading: iat(e.loading),
+ photos: nat(e.photos)
};
}
//#endregion
//#region src/card-art/feed-identity.ts
-function cat(e) {
+function sat(e) {
let t = e.performer_refs || [], n = [...new Set((e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean))], r = t.length ? t : n.map((e) => ({ name: e })), i = r.slice(0, 3).map((e) => {
let t = ra(e.name, e, null);
return "id" in e && e.id ? `<a class="mav" href="${R(Dt("performer", e.name))}" aria-label="打开女优页:${R(e.name)}">${t}</a>` : `<span class="mav" title="${R(e.name)}">${t}</span>`;
@@ -94560,7 +94574,7 @@ function cat(e) {
}
//#endregion
//#region src/application/feed.js
-var n7 = {
+var r7 = {
FEED_SKELETON_CARDS: void 0,
feedNewSkeletonHtml: void 0,
entityShapes: void 0,
@@ -94574,11 +94588,11 @@ var n7 = {
feedNewActions: void 0,
HERO_WIDE_PX: void 0
};
-function lat(e) {
+function cat(e) {
return e.has_cover ? ca(e, "big") : e.cover_url ? ca({ code: e.code }, "big").replace(/ src="[^"]*"/, ` src="${R(e.cover_url)}" referrerpolicy="no-referrer" data-panel-prior="1"`) : "<span class=\"nopic\">无封面</span>";
}
-function uat(e) {
- let t = [e.performers && `<span class="feednewperformers" title="${R(e.performers)}">${R(e.performers)}</span>`, e.release_date && `<span>${R(e.release_date)}</span>`].filter(Boolean).join(""), n = lat(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? bO({
+function lat(e) {
+ let t = [e.performers && `<span class="feednewperformers" title="${R(e.performers)}">${R(e.performers)}</span>`, e.release_date && `<span>${R(e.release_date)}</span>`].filter(Boolean).join(""), n = cat(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? bO({
is_jav: !0,
code: e.code,
name: e.code,
@@ -94590,17 +94604,17 @@ function uat(e) {
<button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${R(r)}">${L("star")}</button>
<button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${R(r)}">${L("x")}</button>
<button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${R(r)}">${L("check")}</button></div></div>
- <div class="meta">${cat(e)}<div class="mtext"><span class="t">${i}</span>
+ <div class="meta">${sat(e)}<div class="mtext"><span class="t">${i}</span>
<div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;
}
-async function r7() {
- let e = Y5, t = await vt("/api/entity/shapes", { signal: e.signal }).catch(() => null);
- return e.isActive && t && !t.error && (n7.entityShapes = new Map((t.entities || []).flatMap((e) => e.names.map((t) => [`${e.kind}/${It(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (X.homeHasFeed = t.home.feed), i7(location.pathname) && dat(I("#feedNew"))), n7.entityShapes;
+async function i7() {
+ let e = X5, t = await vt("/api/entity/shapes", { signal: e.signal }).catch(() => null);
+ return e.isActive && t && !t.error && (r7.entityShapes = new Map((t.entities || []).flatMap((e) => e.names.map((t) => [`${e.kind}/${It(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (X.homeHasFeed = t.home.feed), a7(location.pathname) && uat(I("#feedNew"))), r7.entityShapes;
}
-function dat(e) {
- !e || QL(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = n7.feedNewSkeletonHtml())));
+function uat(e) {
+ !e || $L(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = r7.feedNewSkeletonHtml())));
}
-function fat(e, t) {
+function dat(e, t) {
return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : Qa(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {
variant: "warning",
className: "feednetwork",
@@ -94608,57 +94622,57 @@ function fat(e, t) {
actionHref: "/scraping"
});
}
-function pat(e) {
+function fat(e) {
let t = e && !e.error && e.items || [];
- return fat(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(uat).join("")}</div>`;
+ return dat(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(lat).join("")}</div>`;
}
-function mat(e) {
- e && (g9(e), Z.appSettings.feedAutoScroll && Vo(e));
+function pat(e) {
+ e && (_9(e), Z.appSettings.feedAutoScroll && Vo(e));
}
-function i7(e) {
+function a7(e) {
return wt(e) && e !== "/junk-files";
}
-function hat(e) {
+function mat(e) {
return wt(e) && e !== "/junk-files";
}
-function gat() {
+function hat() {
let e = I("#feedNew");
- QL(e) ? nR(e, { revision: ++n7.feedRevision }) : (dat(e), tR("feed-new", {
+ $L(e) ? rR(e, { revision: ++r7.feedRevision }) : (uat(e), nR("feed-new", {
host: e,
- revision: n7.feedRevision,
- helpers: n7.feedNewHelpers,
- actions: n7.feedNewActions
+ revision: r7.feedRevision,
+ helpers: r7.feedNewHelpers,
+ actions: r7.feedNewActions
}, {
container: e,
- isCurrent: () => i7(location.pathname)
+ isCurrent: () => a7(location.pathname)
}));
}
-function a7() {
+function o7() {
let e = I("#feedNew");
- e.querySelectorAll(".feednewrow").forEach(Ho), rR(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");
+ e.querySelectorAll(".feednewrow").forEach(Ho), iR(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");
}
-function _at() {
- n7.feedRevision += 1, nR(I("#feedNew"), { revision: n7.feedRevision }), c7({ feedRevision: n7.feedRevision });
+function gat() {
+ r7.feedRevision += 1, rR(I("#feedNew"), { revision: r7.feedRevision }), l7({ feedRevision: r7.feedRevision });
}
-function vat() {
+function _at() {
document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Vo(e) : Ho(e));
}
-function yat([e]) {
- I("#index").toggleAttribute("data-hero-wide", e.contentRect.width >= n7.HERO_WIDE_PX);
+function vat([e]) {
+ I("#index").toggleAttribute("data-hero-wide", e.contentRect.width >= r7.HERO_WIDE_PX);
}
-function bat() {
- n7.FEED_SKELETON_CARDS = 8, n7.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${NT}"></div>
+function yat() {
+ r7.FEED_SKELETON_CARDS = 8, r7.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${NT}"></div>
<div class="meta"><div class="mtext"><span class="t"><span class="skeleton"></span></span>
- <div class="s mono"><span class="skeleton">&#8203;</span></div></div></div></article>`.repeat(n7.FEED_SKELETON_CARDS)}</div>`, n7.entityShapes = null, n7.hasEntityPart = (e, t, n) => !!t && !!n7.entityShapes?.get(`${e}/${It(t)}`)?.includes(n), n7.feedNewSkeletonSection = () => `<section class="feednew">${n7.feedNewSkeletonHtml()}</section>`, n7.COSTAR_SKELETON_PEOPLE = 12, n7.costarSkeletonFoot = () => `<div class="entityfoot"><div class="relatedpeople">${"<span class=\"av avskeleton\"><span class=\"ring\"></span><span class=\"nm\">&#8203;</span></span>".repeat(n7.COSTAR_SKELETON_PEOPLE)}</div></div>`, n7.factsSkeleton = () => `<dl class="entityfacts">${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, n7.feedRevision = 0, n7.feedNewHelpers = {
- feedRowHtml: pat,
- wireFeedRow: (e) => mat(e)
- }, n7.feedNewActions = { settled: (e) => {
+ <div class="s mono"><span class="skeleton">&#8203;</span></div></div></div></article>`.repeat(r7.FEED_SKELETON_CARDS)}</div>`, r7.entityShapes = null, r7.hasEntityPart = (e, t, n) => !!t && !!r7.entityShapes?.get(`${e}/${It(t)}`)?.includes(n), r7.feedNewSkeletonSection = () => `<section class="feednew">${r7.feedNewSkeletonHtml()}</section>`, r7.COSTAR_SKELETON_PEOPLE = 12, r7.costarSkeletonFoot = () => `<div class="entityfoot"><div class="relatedpeople">${"<span class=\"av avskeleton\"><span class=\"ring\"></span><span class=\"nm\">&#8203;</span></span>".repeat(r7.COSTAR_SKELETON_PEOPLE)}</div></div>`, r7.factsSkeleton = () => `<dl class="entityfacts">${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, r7.feedRevision = 0, r7.feedNewHelpers = {
+ feedRowHtml: fat,
+ wireFeedRow: (e) => pat(e)
+ }, r7.feedNewActions = { settled: (e) => {
X.homeHasFeed = e;
- } }, n7.HERO_WIDE_PX = 900, Y5.resize(yat).observe(I("#index"));
+ } }, r7.HERO_WIDE_PX = 900, X5.resize(vat).observe(I("#index"));
}
//#endregion
//#region src/entity-skeleton.ts
-function xat(e, t, n) {
+function bat(e, t, n) {
return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料">
<span class="sr-only">正在读取资料</span><div aria-hidden="true">
<section class="entityhero"><div class="entityprofile"><div class="entityportrait ${e === "studio" || e === "agency" ? "square " : ""}skeleton"></div>
@@ -94672,7 +94686,7 @@ function xat(e, t, n) {
}
//#endregion
//#region src/application/entity.js
-var o7 = {
+var s7 = {
ENTITY_FILTER_KEYS: void 0,
emptyEntityFilters: void 0,
parseEntityFilters: void 0,
@@ -94697,16 +94711,16 @@ var o7 = {
sourceToolButtons: void 0,
application: void 0
};
-function s7() {
- let e = ZL(I("#index"));
+function c7() {
+ let e = QL(I("#index"));
return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;
}
-function c7(e) {
- o7.entityPageCurrent() && nR(I("#index"), e);
+function l7(e) {
+ s7.entityPageCurrent() && rR(I("#index"), e);
}
-function l7() {
+function u7() {
if (oc.type === "item") return oc;
- let e = s7();
+ let e = c7();
if (e) {
let { kind: t, name: n, filters: r } = e.props;
return {
@@ -94718,8 +94732,8 @@ function l7() {
}
return oc;
}
-function Sat(e, t, n = B7()) {
- return jot(n).map(([n, r]) => {
+function xat(e, t, n = V7()) {
+ return Aot(n).map(([n, r]) => {
let i = e === n, a = rT(n, e, t);
return {
key: n,
@@ -94730,50 +94744,50 @@ function Sat(e, t, n = B7()) {
};
});
}
-function u7(e, t, n, r = o7.EMPTY_ENTITY_MEDIA, i = {}) {
- return o7.application.route(e, t, n, r, i);
+function d7(e, t, n, r = s7.EMPTY_ENTITY_MEDIA, i = {}) {
+ return s7.application.route(e, t, n, r, i);
}
-function d7() {
- return nat({
- entityWall: o7.entityPageWall,
- entityCurrent: o7.entityPageCurrent(),
+function f7() {
+ return tat({
+ entityWall: s7.entityPageWall,
+ entityCurrent: s7.entityPageCurrent(),
indexVisible: !I("#index").hidden,
pathname: location.pathname,
followMedia: $.followMediaView,
statsVisible: !I("#stats").hidden
}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));
}
-function f7() {
- o7.photos.sync();
+function p7() {
+ s7.photos.sync();
}
-function Cat() {
- d7() ? ece(zT()) : XT();
+function Sat() {
+ f7() ? ece(zT()) : XT();
}
-function wat(e) {
- o7.photos.setSize(e);
+function Cat(e) {
+ s7.photos.setSize(e);
}
-var Tat = Yit({
+var wat = Jit({
request: (e) => vt("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e })
}),
- success: () => X5.toast({ text: "已在资源管理器中显示" }),
- failureText: (e) => o7.sourceHint(e instanceof Error ? e.message : String(e))
+ success: () => Z5.toast({ text: "已在资源管理器中显示" }),
+ failureText: (e) => s7.sourceHint(e instanceof Error ? e.message : String(e))
});
-async function Eat(e) {
+async function Tat(e) {
let t = { textContent: "" };
- return await Tat(e, t), t.textContent;
+ return await wat(e, t), t.textContent;
}
-async function Dat(e) {
+async function Eat(e) {
let t = { textContent: "" }, n = [];
- return await Oat(e, t, (e) => {
+ return await Dat(e, t, (e) => {
e.items && (n = e.items.map((e) => e.id));
}), {
text: t.textContent,
removed: n
};
}
-async function Oat(e, t, n) {
+async function Dat(e, t, n) {
t.textContent = "正在核对目录…";
try {
let r = await vt("/api/purge-missing", {
@@ -94781,12 +94795,12 @@ async function Oat(e, t, n) {
body: JSON.stringify({ id: e })
});
if (r.ok === !1) {
- t.textContent = o7.sourceHint(r.error);
+ t.textContent = s7.sourceHint(r.error);
return;
}
- if (t.textContent = r.removed ? `${o7.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {
+ if (t.textContent = r.removed ? `${s7.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {
let e = (r.items || []).filter((e) => e.disposal !== "reattached").map((e) => e.id);
- n && n(r), X5.actionReceipt(o7.syncedText(r), { undo: e.length ? async () => {
+ n && n(r), Z5.actionReceipt(s7.syncedText(r), { undo: e.length ? async () => {
await vt("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -94798,22 +94812,22 @@ async function Oat(e, t, n) {
restored: e.length
});
} : null });
- } else X5.actionReceipt("目录核对完成,无需改动");
+ } else Z5.actionReceipt("目录核对完成,无需改动");
} catch (e) {
- t.textContent = o7.sourceHint(e.message), X5.actionFailure("核对目录", e);
+ t.textContent = s7.sourceHint(e.message), Z5.actionFailure("核对目录", e);
}
}
-function kat(e) {
- return `<div class="srctools">${o7.sourceToolButtons(e)}
+function Oat(e) {
+ return `<div class="srctools">${s7.sourceToolButtons(e)}
<span class="srcstate" aria-live="polite"></span></div>`;
}
-function Aat(e, t) {
+function kat(e, t) {
let n = e.querySelector(".srcstate");
if (!n) return;
let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");
- r && Y5.handler(r, "onclick", () => Tat(Number(r.dataset.reveal), n, { button: r })), i && Y5.handler(i, "onclick", () => Oat(Number(i.dataset.sync), n, t));
+ r && X5.handler(r, "onclick", () => wat(Number(r.dataset.reveal), n, { button: r })), i && X5.handler(i, "onclick", () => Dat(Number(i.dataset.sync), n, t));
}
-async function jat(e, t) {
+async function Aat(e, t) {
let n = os({
title: "添加别名",
description: "图库按名字存图,多记一个写法就多一批候选;这里添的名字也能提为统称。",
@@ -94825,9 +94839,9 @@ async function jat(e, t) {
confirmDisabled: !0,
onConfirm: () => t({ alias: r.value.trim() })
}), r = n.dialog.querySelector("[name=alias]");
- Y5.handler(r, "oninput", () => {
+ X5.handler(r, "oninput", () => {
n.confirmButton.disabled = !r.value.trim();
- }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => Y5.handler(e, "onclick", async () => {
+ }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => X5.handler(e, "onclick", async () => {
let r = e.dataset.aliasDrop;
n.close();
try {
@@ -94836,49 +94850,49 @@ async function jat(e, t) {
remove: !0
});
} catch (e) {
- X5.actionFailure("撤销别名", e);
+ Z5.actionFailure("撤销别名", e);
return;
}
- X5.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {
+ Z5.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {
await t({ alias: r });
} });
}));
let { confirmed: i, result: a } = await n.done;
- i && (a?.added ? X5.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {
+ i && (a?.added ? Z5.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {
await t({
alias: a.alias,
remove: !0
});
- } }) : X5.actionReceipt(`${a?.alias} 已经是这条实体的名字`));
+ } }) : Z5.actionReceipt(`${a?.alias} 已经是这条实体的名字`));
}
-function Mat(e, t) {
- let n = xat(e, Xa({
+function jat(e, t) {
+ let n = bat(e, Xa({
readout: "&nbsp;",
loading: !0,
filterRow: "bottom"
}), e === "agency" ? go({
kind: "performers",
- layout: S7.peopleIndexLayout()
- }) : d9());
- I("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? p7(e, t) : (I("#index").innerHTML = n, p7(e, t), Co(I("#index")));
+ layout: C7.peopleIndexLayout()
+ }) : f9());
+ I("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? m7(e, t) : (I("#index").innerHTML = n, m7(e, t), Co(I("#index")));
}
-function p7(e, t) {
+function m7(e, t) {
let n = I("#index").firstElementChild;
if (n?.dataset.skeleton !== `entity/${e}`) return;
let r = (e, t, n) => {
t && !e ? n() : !t && e && e.remove();
};
- r(n.querySelector(".entityfoot"), e !== "agency" && n7.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", n7.costarSkeletonFoot())), r(n.querySelector(".feednew"), n7.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", n7.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && n7.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", n7.factsSkeleton()));
+ r(n.querySelector(".entityfoot"), e !== "agency" && r7.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", r7.costarSkeletonFoot())), r(n.querySelector(".feednew"), r7.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", r7.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && r7.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", r7.factsSkeleton()));
}
-function Nat(e) {
- let t = Tt[e] || e, n = t5[t] || "条目", r = t5[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
+function Mat(e) {
+ let t = Tt[e] || e, n = n5[t] || "条目", r = n5[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
I("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });
}
-function m7(e, t) {
- A9(o7.application.fresh(e, t));
+function h7(e, t) {
+ j9(s7.application.fresh(e, t));
}
-function Pat() {
- o7.ENTITY_FILTER_KEYS = [
+function Nat() {
+ s7.ENTITY_FILTER_KEYS = [
"loc",
"creator",
"tag",
@@ -94888,71 +94902,71 @@ function Pat() {
"orient",
"sort",
"dir"
- ], o7.emptyEntityFilters = t7, o7.parseEntityFilters = (e) => Xit(e, {
+ ], s7.emptyEntityFilters = n7, s7.parseEntityFilters = (e) => Yit(e, {
sort: Z.appSettings.defaultSort,
dir: Z.appSettings.defaultSortDirection
- }), o7.entityFilterSearch = Zit, o7.cloneBarsContext = (e) => e && e.type === "entity" ? {
+ }), s7.entityFilterSearch = Xit, s7.cloneBarsContext = (e) => e && e.type === "entity" ? {
...e,
filters: { ...e.filters }
- } : e, o7.activeFilterState = () => {
- let e = l7();
+ } : e, s7.activeFilterState = () => {
+ let e = u7();
return e.type === "home" ? U : e.filters;
}, I("#q").value = U.q, X.rememberSearchValue();
}
-function Fat() {
- o7.entityPageView = "", o7.entityPageWall = !1, o7.entityPageRevision = 0, o7.entityPageCurrent = () => !!s7(), o7.entityPageLive = (e, t) => {
- let n = s7();
+function Pat() {
+ s7.entityPageView = "", s7.entityPageWall = !1, s7.entityPageRevision = 0, s7.entityPageCurrent = () => !!c7(), s7.entityPageLive = (e, t) => {
+ let n = c7();
return !!n && !I("#index").hidden && n.props.kind === e && n.props.name === t;
- }, o7.EMPTY_ENTITY_MEDIA = {
+ }, s7.EMPTY_ENTITY_MEDIA = {
media: "videos",
set: 0
- }, o7.parseMediaView = Qit, o7.entityViewSearch = $it, o7.entityBodyCanLoadMore = () => !I("#index").hidden && I("#stats").hidden, o7.entityBodySkeleton = () => d9(), o7.entityPageHelpers = {
+ }, s7.parseMediaView = Zit, s7.entityViewSearch = Qit, s7.entityBodyCanLoadMore = () => !I("#index").hidden && I("#stats").hidden, s7.entityBodySkeleton = () => f9(), s7.entityPageHelpers = {
wireDrag: (e) => {
- e && g9(e);
+ e && _9(e);
},
wireScroller: (e) => {
e && Po(e);
},
- wireFeedRow: (e) => mat(e),
- feedRowHtml: pat,
- receipt: (e, t) => X5.actionReceipt(e, t),
- failure: (e, t) => X5.actionFailure(e, t),
- aliasForm: (e, t) => jat(e, t),
- sourceToolsHtml: (e) => kat(e),
- wireSourceTools: (e, t) => Aat(e, t),
- comboItems: (e) => fst(e),
- sortKeys: (e, t, n) => Sat(e, t, n)
- }, o7.entityFollowActions = {
+ wireFeedRow: (e) => pat(e),
+ feedRowHtml: fat,
+ receipt: (e, t) => Z5.actionReceipt(e, t),
+ failure: (e, t) => Z5.actionFailure(e, t),
+ aliasForm: (e, t) => Aat(e, t),
+ sourceToolsHtml: (e) => Oat(e),
+ wireSourceTools: (e, t) => kat(e, t),
+ comboItems: (e) => dst(e),
+ sortKeys: (e, t, n) => xat(e, t, n)
+ }, s7.entityFollowActions = {
...$.followFeedActions,
route: () => {},
shuffle: () => {},
loaded: () => {},
toggleSelection: () => {}
- }, o7.SOURCE_HINTS = {
+ }, s7.SOURCE_HINTS = {
"source offline": "来源不在线,这一次不对账;接上这个来源后重试",
"source not mapped": "本机没有映射这个来源的盘符",
"file missing": "源文件已不在盘上;点右边的同步把账本对齐",
"unsupported platform": "当前服务端系统不支持直接定位文件",
"reveal failed": "打开文件管理器失败,请重试"
- }, o7.sourceHint = (e) => o7.SOURCE_HINTS[e] || e, o7.syncedText = (e) => [
+ }, s7.sourceHint = (e) => s7.SOURCE_HINTS[e] || e, s7.syncedText = (e) => [
e.trashed ? `已把 ${e.trashed} 项移入回收站` : "",
e.vanished ? `${e.vanished} 项带个人记录,已标为已消失` : "",
e.reattached ? `${e.reattached} 项的记录已接到库里的另一个版本` : ""
- ].filter(Boolean).join(","), o7.sourceToolButtons = (e) => `
+ ].filter(Boolean).join(","), s7.sourceToolButtons = (e) => `
<button type="button" data-reveal="${e}" title="在文件管理器里打开源文件所在目录"
aria-label="定位源文件">${L("folder-open")}</button>
<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"
aria-label="同步删除">${L("folder-sync")}</button>`;
}
-function Iat() {
- o7.application = sat({
+function Fat() {
+ s7.application = oat({
controller: {
context: () => {
- let e = l7();
+ let e = u7();
return e.type === "entity" ? e : null;
},
- live: (e, t) => o7.entityPageLive(e, t),
- current: () => o7.entityPageCurrent(),
+ live: (e, t) => s7.entityPageLive(e, t),
+ current: () => s7.entityPageCurrent(),
route: (e, t = !1) => Q.route(e, t),
suffix: () => location.search + location.hash,
restoreHomeContext: () => Pc({ barsContext: {
@@ -94960,14 +94974,14 @@ function Iat() {
filters: U
} }),
releaseBodyPreviews: () => Ks(I("#index [data-entity-body]")),
- push: c7,
+ push: l7,
state: () => ({
seed: String(U.seed || ""),
jav: U.jav === "1"
}),
preferences: () => ({
- revision: o7.entityPageRevision,
- feedRevision: n7.feedRevision,
+ revision: s7.entityPageRevision,
+ feedRevision: r7.feedRevision,
photoSize: zT(),
photoLayout: BT(),
photoLayouts: MT,
@@ -94975,49 +94989,49 @@ function Iat() {
javLayout: FT(),
javLayouts: AT,
states: X.VIEW_PILLS,
- peopleLayout: S7.peopleIndexLayout(),
- layout: u9(),
+ peopleLayout: C7.peopleIndexLayout(),
+ layout: d9(),
selectMode: uc,
selected: new Set(cc),
seekSeconds: Z.appSettings.seekSeconds,
groupCollapse: Z.appSettings.groupCollapse,
- wireDrag: g9,
- skeletonHtml: o7.entityBodySkeleton,
- canLoadMore: o7.entityBodyCanLoadMore,
+ wireDrag: _9,
+ skeletonHtml: s7.entityBodySkeleton,
+ canLoadMore: s7.entityBodyCanLoadMore,
follow: {
helpers: $.followFeedHelpers,
- actions: o7.entityFollowActions
+ actions: s7.entityFollowActions
}
}),
- changeFilter: $7,
- rollSeed: () => X5.rollSeed(),
+ changeFilter: e9,
+ rollSeed: () => Z5.rollSeed(),
writeSeed: (e) => {
U.seed = e, Fc();
},
- setJavLayout: Not,
+ setJavLayout: Mot,
javLayout: FT,
setPhotoLayout: GT,
- syncPhotoWalls: f7,
- openEntity: m7,
- photoViewActive: d7,
+ syncPhotoWalls: p7,
+ openEntity: h7,
+ photoViewActive: f7,
recordPainted: (e, t) => {
- o7.entityPageView = e, o7.entityPageWall = t;
+ s7.entityPageView = e, s7.entityPageWall = t;
},
- syncDensity: Cat,
- scheduleSticky: q7,
- releasePage: () => rR(I("#index")),
- showMissing: Nat,
- dropBars: $5
+ syncDensity: Sat,
+ scheduleSticky: J7,
+ releasePage: () => iR(I("#index")),
+ showMissing: Mat,
+ dropBars: e7
},
loading: {
- shapesReady: () => !!n7.entityShapes,
- waitShapes: hot,
- paintSkeleton: Mat,
+ shapesReady: () => !!r7.entityShapes,
+ waitShapes: mot,
+ paintSkeleton: jat,
resetView: () => {
- Pc({ detailReturnBarsContext: null }), o7.entityPageView = "", o7.entityPageWall = !1;
+ Pc({ detailReturnBarsContext: null }), s7.entityPageView = "", s7.entityPageWall = !1;
},
- loadShapes: r7,
- syncParts: p7
+ loadShapes: i7,
+ syncParts: m7
},
photos: {
preferences: () => ({
@@ -95026,27 +95040,27 @@ function Iat() {
imagesOnly: !!Z.appSettings.followImagesOnly
}),
walls: () => document.querySelectorAll(".followphotowall"),
- pushEntity: c7,
- pushFollow: F9,
- syncDensity: Cat,
+ pushEntity: l7,
+ pushFollow: I9,
+ syncDensity: Sat,
storeSize: Zse
},
- helpers: o7.entityPageHelpers,
+ helpers: s7.entityPageHelpers,
actions: {
- toggleTag: r9,
- openFollowAuthor: dot,
+ toggleTag: i9,
+ openFollowAuthor: uot,
javContext: (e) => Pc({ entityJavLayout: !!e })
},
sortPreference: () => ({
sort: Z.appSettings.defaultSort,
dir: Z.appSettings.defaultSortDirection
})
- }), o7.photos = o7.application.photos, o7.entityPageHelpers = o7.application.helpers;
+ }), s7.photos = s7.application.photos, s7.entityPageHelpers = s7.application.helpers;
}
//#endregion
//#region src/application/playlists.js
-var h7 = { playlistWrite: void 0 };
-function Lat(e, t) {
+var g7 = { playlistWrite: void 0 };
+function Iat(e, t) {
e === "tag" ? (Pc({ state: {
...U,
tag: t,
@@ -95056,17 +95070,17 @@ function Lat(e, t) {
q: "",
state: "",
orient: ""
- } }), X.clearSearchField(), Q.route(Y7()), M7(), n9()) : m7(e, t);
+ } }), X.clearSearchField(), Q.route(X7()), N7(), r9()) : h7(e, t);
}
-function Rat(e = "") {
+function Lat(e = "") {
return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"
maxlength="80" placeholder="输入名称" value="${R(e)}"></label>`;
}
-async function zat({ title: e, count: t, save: n }) {
+async function Rat({ title: e, count: t, save: n }) {
let r = os({
title: "保存为播放列表",
description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,
- body: Rat(e),
+ body: Lat(e),
confirmLabel: "保存为播放列表",
onConfirm: () => {
let e = r.dialog.querySelector("[name=\"name\"]").value.trim();
@@ -95076,28 +95090,28 @@ async function zat({ title: e, count: t, save: n }) {
});
r.dialog.querySelector("[name=\"name\"]").select();
let { confirmed: i, result: a } = await r.done;
- i && (await Vst(a.id, a.current_asset_id, !0), X5.actionReceipt("已保存为播放列表", { undo: async () => {
- await h7.playlistWrite({
+ i && (await Bst(a.id, a.current_asset_id, !0), Z5.actionReceipt("已保存为播放列表", { undo: async () => {
+ await g7.playlistWrite({
action: "delete",
id: a.id
- }), A9("/playlists");
+ }), j9("/playlists");
} }));
}
-async function Bat(e) {
+async function zat(e) {
let t = ((await vt("/api/playlists")).items || []).map((e) => `<label class="pickrow">${ro(`data-pick-playlist="${e.id}"`)}
<span class="pickrowtext"><b>${R(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = os({
title: "加入播放列表",
description: "勾选要加入的列表,或者填个名称新建一份。",
- body: Rat() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Qa("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
+ body: Lat() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Qa("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
confirmLabel: "保存",
confirmDisabled: !0,
onConfirm: async () => {
- let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await h7.playlistWrite({
+ let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await g7.playlistWrite({
action: "create",
name: t,
asset_ids: [e.id]
})).playlist : null;
- for (let t of r) await h7.playlistWrite({
+ for (let t of r) await g7.playlistWrite({
action: "add",
id: t,
asset_ids: [e.id]
@@ -95111,45 +95125,45 @@ async function Bat(e) {
let e = n.dialog.querySelector("[name=\"name\"]").value.trim();
n.confirmButton.disabled = !e && !n.dialog.querySelector("[data-pick-playlist]:checked");
};
- Y5.listen(n.dialog, "input", r), Y5.listen(n.dialog, "change", r);
+ X5.listen(n.dialog, "input", r), X5.listen(n.dialog, "change", r);
let { confirmed: i, result: a } = await n.done;
if (!i) return;
let o = +!!a.created + a.added.length;
- X5.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {
- for (let t of a.added) await h7.playlistWrite({
+ Z5.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {
+ for (let t of a.added) await g7.playlistWrite({
action: "remove",
id: t,
asset_id: e.id
});
- a.created && await h7.playlistWrite({
+ a.created && await g7.playlistWrite({
action: "delete",
id: a.created.id
});
} });
}
-function Vat() {
- Ks(), v9(!1), j7();
- let e = ZL(I("#stats"));
- e?.path !== "/playlists" || !e.host.isConnected ? Pc({ pageOpens: Tc + 1 }) : (A7({ manage: !1 }), Pc({ playlistsRevision: jc + 1 }));
+function Bat() {
+ Ks(), y9(!1), M7();
+ let e = QL(I("#stats"));
+ e?.path !== "/playlists" || !e.host.isConnected ? Pc({ pageOpens: Tc + 1 }) : (j7({ manage: !1 }), Pc({ playlistsRevision: jc + 1 }));
}
-function Hat(e) {
+function Vat(e) {
Q.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));
}
-function Uat(e) {
+function Hat(e) {
Pc({ configurationRequestedSection: e }), Q.navigatePath("/configuration");
}
-function Wat() {
- h7.playlistWrite = (e) => vt("/api/playlist", {
+function Uat() {
+ g7.playlistWrite = (e) => vt("/api/playlist", {
method: "POST",
body: JSON.stringify(e)
});
}
//#endregion
//#region src/react/catalog-grid/selection-controller.ts
-function g7(e) {
+function _7(e) {
return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";
}
-function Gat(e, t, n, r, i = !1) {
+function Wat(e, t, n, r, i = !1) {
return i && (e.selected.clear(), e.followSelected.clear()), {
selectMode: r,
selectSurface: r ? t.selectMode ? t.selectSurface : n : "",
@@ -95157,24 +95171,24 @@ function Gat(e, t, n, r, i = !1) {
followLastSelectedId: i ? null : t.followLastSelectedId
};
}
-function Kat(e, t, n, r, i, a = !1) {
- let o = n === "follow", s = dN(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
+function Gat(e, t, n, r, i, a = !1) {
+ let o = n === "follow", s = fN(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
return {
- ...Gat(e, t, n, !0),
+ ...Wat(e, t, n, !0),
...o ? { followLastSelectedId: s } : { lastSelectedId: s }
};
}
-function qat(e, t, n, r) {
- let i = g7(t);
+function Kat(e, t, n, r) {
+ let i = _7(t);
return {
count: (i === "follow" ? e.followSelected : e.selected).size,
context: i === "catalog" && r === "trash" ? "trash" : i,
- junkDismissed: dB(n).view === "dismissed"
+ junkDismissed: fB(n).view === "dismissed"
};
}
//#endregion
//#region src/application/selection.js
-var _7 = {
+var v7 = {
batchDockProps: void 0,
trashCount: void 0,
currentSelectSurface: void 0,
@@ -95182,43 +95196,43 @@ var _7 = {
BATCH_RUNNERS: void 0,
coverRecheck: void 0
};
-function v7() {
- l9({
+function y7() {
+ u9({
selected: new Set(cc),
selectMode: uc
- }), c7({
+ }), l7({
selected: new Set(cc),
selectMode: uc
- }), F9({
+ }), I9({
selected: new Set(lc),
selectMode: uc
- }), _7.batchDockProps = rot(), hit() && (hit().render(_7.batchDockProps), Z.syncGlassOptics());
+ }), v7.batchDockProps = not(), mit() && (mit().render(v7.batchDockProps), Z.syncGlassOptics());
}
-function y7(e, t = !1) {
- Pc(Gat({
+function b7(e, t = !1) {
+ Pc(Wat({
selected: cc,
followSelected: lc
- }, x7(), g7(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", uc), uc && Ks(), I("#selectMode").setAttribute("aria-pressed", String(uc)), v7();
+ }, S7(), _7(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", uc), uc && Ks(), I("#selectMode").setAttribute("aria-pressed", String(uc)), y7();
}
-function Jat() {
- return [...T7.gridCards()].map((e) => +e.dataset.id);
+function qat() {
+ return [...E7.gridCards()].map((e) => +e.dataset.id);
}
-function b7(e, t = !1) {
- Pc(Kat({
+function x7(e, t = !1) {
+ Pc(Gat({
selected: cc,
followSelected: lc
- }, x7(), g7(location.pathname), Jat(), e, t)), y7(!0);
+ }, S7(), _7(location.pathname), qat(), e, t)), b7(!0);
}
-function Yat() {
+function Jat() {
return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);
}
-function Xat(e, t = !1) {
- Pc(Kat({
+function Yat(e, t = !1) {
+ Pc(Gat({
selected: cc,
followSelected: lc
- }, x7(), "follow", Yat(), e, t)), y7(!0);
+ }, S7(), "follow", Jat(), e, t)), b7(!0);
}
-async function Zat(e, t) {
+async function Xat(e, t) {
let n = {
like: "喜欢",
seen: "标为看过",
@@ -95250,32 +95264,32 @@ async function Zat(e, t) {
})
});
if (t.blocked && t.blocked.length) throw Error(`已永久删除 ${t.purged} 项;${t.blocked.length} 项未能删除,仍在回收站:\n` + t.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));
- y7(!1, !0), await W7();
+ b7(!1, !0), await G7();
let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;
- X5.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
+ Z5.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
await vt("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: i,
operation: r
})
- }), await W7();
+ }), await G7();
} : null });
} catch (e) {
throw Yo(t, !1), e;
} finally {
- Yo(t, !1), v7();
+ Yo(t, !1), y7();
}
}
});
}
-async function Qat() {
+async function Zat() {
let e = [...cc];
if (!e.length) return;
let t = os({
title: "判定产地",
description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,
- body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + _7.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">
+ body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + v7.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">
<span class="chip-label">${t}</span></button>`).join("") + "</div>",
confirmLabel: "判定产地",
confirmDisabled: !0,
@@ -95295,13 +95309,13 @@ async function Qat() {
};
}
});
- t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => Y5.handler(e, "onclick", () => {
+ t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => X5.handler(e, "onclick", () => {
t.dialog.querySelectorAll("[data-region-pick]").forEach((t) => t.setAttribute("aria-pressed", String(t === e))), t.confirmButton.disabled = !1;
}));
let { confirmed: n, result: r } = await t.done;
- n && (y7(!1, !0), await W7(), X5.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
+ n && (b7(!1, !0), await G7(), Z5.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
}
-async function $at(e, t) {
+async function Qat(e, t) {
let n = [...lc];
if (!n.length) return;
let r = {
@@ -95327,16 +95341,16 @@ async function $at(e, t) {
items: n,
to: e
})
- }), y7(!1, !0), location.pathname === "/follow" && Pc({ pageOpens: Tc + 1 }), X5.actionReceipt(`已${r[e]} ${n.length} 项`);
+ }), b7(!1, !0), location.pathname === "/follow" && Pc({ pageOpens: Tc + 1 }), Z5.actionReceipt(`已${r[e]} ${n.length} 项`);
} catch (e) {
throw Yo(t, !1), e;
} finally {
- Yo(t, !1), v7();
+ Yo(t, !1), y7();
}
}
});
}
-async function eot(e, t) {
+async function $at(e, t) {
let n = [...cc];
if (!n.length) return;
let r = {
@@ -95362,68 +95376,68 @@ async function eot(e, t) {
ids: n,
operation: e
})
- }), y7(!1, !0), await a9();
+ }), b7(!1, !0), await o9();
let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;
- X5.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
+ Z5.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
await vt("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
operation: t
})
- }), await a9();
+ }), await o9();
} : null });
} catch (e) {
throw Yo(t, !1), e;
} finally {
- Yo(t, !1), v7();
+ Yo(t, !1), y7();
}
}
});
}
-function tot() {
- mit({
+function eot() {
+ pit({
root: I("[data-batch-dock]"),
run: (e, t, n) => {
- _7.BATCH_RUNNERS[e]?.(t, n);
+ v7.BATCH_RUNNERS[e]?.(t, n);
}
}).then((e) => {
- e.render(_7.batchDockProps), Z.syncGlassOptics();
+ e.render(v7.batchDockProps), Z.syncGlassOptics();
}).catch(() => {});
}
-function not() {
- _7.batchDockProps = {
+function tot() {
+ v7.batchDockProps = {
count: 0,
context: "catalog",
junkDismissed: !1
- }, _7.trashCount = null, _7.currentSelectSurface = () => g7(location.pathname), Y5.handler(I("#selectMode"), "onclick", () => y7(!uc, !!uc)), _7.REGION_CHOICES = [
+ }, v7.trashCount = null, v7.currentSelectSurface = () => _7(location.pathname), X5.handler(I("#selectMode"), "onclick", () => b7(!uc, !!uc)), v7.REGION_CHOICES = [
["jp", "日本"],
["kr", "韩国"],
["cn", "国产"],
["west", "欧美"],
["other", "其他"],
["none", "撤回判定"]
- ], _7.BATCH_RUNNERS = {
- batch: Zat,
- region: Qat,
- follow: $at,
- junk: eot,
- clear: () => y7(!1, !0)
- }, Y5.handler(I("#density"), "onclick", () => {
- d7() ? wat(zT() === "big" ? "small" : "big") : $se();
+ ], v7.BATCH_RUNNERS = {
+ batch: Xat,
+ region: Zat,
+ follow: Qat,
+ junk: $at,
+ clear: () => b7(!1, !0)
+ }, X5.handler(I("#density"), "onclick", () => {
+ f7() ? Cat(zT() === "big" ? "small" : "big") : $se();
}), XT(), Ws({
selecting: () => uc,
- censored: () => h9(),
+ censored: () => g9(),
delaySeconds: () => Z.appSettings.hoverDelaySeconds
- }), Y5.listen(window, "pagehide", () => Ks()), Y5.listen(document, "visibilitychange", () => {
+ }), X5.listen(window, "pagehide", () => Ks()), X5.listen(document, "visibilitychange", () => {
document.hidden && Ks();
- }), Vs(), _7.coverRecheck = 0, Y5.listen(window, "resize", () => {
- Rs(I("#index")), clearTimeout(_7.coverRecheck), _7.coverRecheck = Y5.delay(() => I("#index").querySelectorAll("img.cover").forEach((e) => {
+ }), Vs(), v7.coverRecheck = 0, X5.listen(window, "resize", () => {
+ Rs(I("#index")), clearTimeout(v7.coverRecheck), v7.coverRecheck = X5.delay(() => I("#index").querySelectorAll("img.cover").forEach((e) => {
e.complete && ks(e);
}), 200);
}, { passive: !0 });
}
-function x7() {
+function S7() {
return {
selectMode: uc,
selectSurface: pc,
@@ -95431,79 +95445,79 @@ function x7() {
followLastSelectedId: fc
};
}
-function rot() {
- return qat({
+function not() {
+ return Kat({
selected: cc,
followSelected: lc
}, location.pathname, location.search, U.state);
}
//#endregion
//#region src/application/index.js
-var S7 = {
+var C7 = {
peopleIndexLayout: void 0,
personAvatar: void 0
};
-function iot() {
+function rot() {
return Z.appSettings.followLayout === "table" ? "table" : "default";
}
-function aot() {
- return Kit(location.search);
+function iot() {
+ return Git(location.search);
+}
+function aot(e) {
+ return Kit(e);
}
function oot(e) {
- return qit(e);
+ Q.route(aot(e));
}
-function sot(e) {
- Q.route(oot(e));
+function w7(e = "") {
+ return qit(location.search, e);
}
-function C7(e = "") {
- return Jit(location.search, e);
+function sot(e) {
+ return Hit(e);
}
function cot(e) {
- return Uit(e);
+ return Bit(e);
}
-function lot(e) {
- return Vit(e);
+function T7() {
+ I("#stats").hidden = !0, I("#index").hidden = !1, s9(), X.hideCatalogCombo(), I("#count").textContent = "", I("#loadSentinel").hidden = !0;
}
-function w7() {
- I("#stats").hidden = !0, I("#index").hidden = !1, o9(), X.hideCatalogCombo(), I("#count").textContent = "", I("#loadSentinel").hidden = !0;
-}
-function uot(e, t) {
+function lot(e, t) {
Pc({ state: {
...U,
state: "",
tag: e.join(","),
tag_match: t
- } }), y7(!1, !1), Q.route(Y7()), M7(), E9(), n9();
+ } }), b7(!1, !1), Q.route(X7()), N7(), D9(), r9();
}
-function dot(e) {
- S7.controller.openFollowAuthor(e);
+function uot(e) {
+ C7.controller.openFollowAuthor(e);
}
-function fot(e) {
- S7.controller.openFollowTag(e);
+function dot(e) {
+ C7.controller.openFollowTag(e);
}
-function pot() {
+function fot() {
$.FOLLOW_MANAGE_TABS = [
"list",
"add",
"feeds"
- ], Y5.listen(document, "click", (e) => {
- e.target.closest?.("[data-empty-settings]") ? Uat("媒体库与入库") : !e.target.closest?.("a[href=\"/follow-manage?tab=add\"]") || e.defaultPrevented || e.button || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), Q.navigatePath(C7("add")));
- }), S7.peopleIndexLayout = () => pnt(Z.appSettings.peopleLayout), S7.personAvatar = Hit;
+ ], X5.listen(document, "click", (e) => {
+ e.target.closest?.("[data-empty-settings]") ? Hat("媒体库与入库") : !e.target.closest?.("a[href=\"/follow-manage?tab=add\"]") || e.defaultPrevented || e.button || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), Q.navigatePath(w7("add")));
+ }), C7.peopleIndexLayout = () => fnt(Z.appSettings.peopleLayout), C7.personAvatar = Vit;
}
-function mot() {
- S7.controller = Wit({
+function pot() {
+ C7.controller = Uit({
route: Q.route,
- followView: M9,
- adoptFollowView: N9,
+ followView: N9,
+ adoptFollowView: P9,
hideIndex: () => {
I("#index").hidden = !0;
},
- openPage: A9
+ openPage: j9
});
}
//#endregion
//#region src/application/loading.js
-var T7 = {
+var E7 = {
setGridCards: void 0,
gridCards: void 0,
managementPlaceholder: void 0,
@@ -95512,49 +95526,49 @@ var T7 = {
ENTITY_SHAPES_WAIT: void 0,
syncPageTitle: void 0
};
-function E7(e = "正在读取作品") {
+function D7(e = "正在读取作品") {
let t = I("#count"), n = decodeURIComponent(location.pathname) === "/junk-files";
- if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = jEe(dB(location.search)), Co(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && t9({
+ if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = AEe(fB(location.search)), Co(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && n9({
count: null,
- ...ast()
- })), I("#loadSentinel").hidden = !0, c9()) return;
- let r = I("#grid"), i = d9(e), a = r.querySelector(".catalog-skeleton");
- (a?.dataset.skeleton !== fU(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== _st()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : T7.setGridCards(i), Co(I("#grid")));
+ ...ist()
+ })), I("#loadSentinel").hidden = !0, l9()) return;
+ let r = I("#grid"), i = f9(e), a = r.querySelector(".catalog-skeleton");
+ (a?.dataset.skeleton !== pU(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== gst()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : E7.setGridCards(i), Co(I("#grid")));
}
-function D7() {
- I("#catalogFilter").style.display = "none", e9();
+function O7() {
+ I("#catalogFilter").style.display = "none", t9();
}
-function hot() {
+function mot() {
let e = new Promise((e) => {
- let t = T7.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
+ let t = E7.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
let i = performance.now();
- t -= Math.min(i - n, 50), n = i, t > 0 ? Y5.delay(r, Math.min(t, 50)) : e();
+ t -= Math.min(i - n, 50), n = i, t > 0 ? X5.delay(r, Math.min(t, 50)) : e();
};
- Y5.delay(r, 50);
+ X5.delay(r, 50);
});
- return Promise.race([T7.entityShapesReady ||= r7(), e]);
+ return Promise.race([E7.entityShapesReady ||= i7(), e]);
}
-function got() {
+function hot() {
let e = decodeURIComponent(location.pathname);
- if (document.body.dataset.surface = location.pathname, /^\/(item\/\d+|(?:mix|parts|editions|playlists)\/\d+\/\d+)$/.test(e)) D7();
- else if (e.startsWith("/follow/item/") || e.startsWith("/jav/movie/")) D7();
- else if (e === "/junk-files") E7("正在读取垃圾文件");
- else if (e === "/jav" && bB(new URLSearchParams(location.search).get("tab")) === "library") E7("正在读取馆藏");
+ if (document.body.dataset.surface = location.pathname, /^\/(item\/\d+|(?:mix|parts|editions|playlists)\/\d+\/\d+)$/.test(e)) O7();
+ else if (e.startsWith("/follow/item/") || e.startsWith("/jav/movie/")) O7();
+ else if (e === "/junk-files") D7("正在读取垃圾文件");
+ else if (e === "/jav" && xB(new URLSearchParams(location.search).get("tab")) === "library") D7("正在读取馆藏");
else if (Q.managedPagePath(e)) {
- D7();
+ O7();
let t = I("#stats");
- t.hidden = !1, o9(), t.innerHTML = e.startsWith("/follow") && e !== "/follow-manage" ? $.followSkeletonHtml("正在读取关注内容") : T7.managementPlaceholder(e), Co(t);
- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) D7(), w7(), vnt(I("#index"), mnt(e.slice(1), location.search), S7.peopleIndexLayout());
+ t.hidden = !1, s9(), t.innerHTML = e.startsWith("/follow") && e !== "/follow-manage" ? $.followSkeletonHtml("正在读取关注内容") : E7.managementPlaceholder(e), Co(t);
+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) O7(), T7(), _nt(I("#index"), pnt(e.slice(1), location.search), C7.peopleIndexLayout());
else if (/^\/(?:performers|creators|studios|agencies)\//.test(e)) {
- D7(), I("#index").hidden = !1, o9();
+ O7(), I("#index").hidden = !1, s9();
let t = Et[e.split("/")[1]], n = e.split("/").slice(2).join("/");
- hot().then(() => {
- I("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (Mat(t, n), Co(I("#index")));
+ mot().then(() => {
+ I("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (jat(t, n), Co(I("#index")));
});
- } else Q.routeMeta(e) ? E7() : (o9(), I("#count").textContent = "", I("#loadSentinel").hidden = !0);
+ } else Q.routeMeta(e) ? D7() : (s9(), I("#count").textContent = "", I("#loadSentinel").hidden = !0);
}
-function _ot() {
- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => uU(t, {
+function got() {
+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => dU(t, {
cards: !0,
className: "follow-content-skeleton postercard-skeleton",
gridClass: e === "images" ? "followlist followphotowall" : "",
@@ -95566,39 +95580,39 @@ function _ot() {
<div class="board-filter-frame" data-filter-frame>
<div class="tagbar followfilters" data-filter-row="top" data-skeleton-tier="pill"></div>
<div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>
- ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, I("#loadSentinel").innerHTML = eo("继续载入中…"), T7.setGridCards = (e) => po(I("#grid"), () => {
+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, I("#loadSentinel").innerHTML = eo("继续载入中…"), E7.setGridCards = (e) => po(I("#grid"), () => {
I("#grid").innerHTML = `<div class="grid">${e}</div>`;
- }), T7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) [data-media-grid] > [data-media-card][data-id]"), T7.managementPlaceholder = (e) => dU(e, {
- followLayout: iot(),
+ }), E7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) [data-media-grid] > [data-media-card][data-id]"), E7.managementPlaceholder = (e) => fU(e, {
+ followLayout: rot(),
...(({ sort: e, dir: t, tab: n }) => ({
followSort: e,
followDir: t,
followTab: n
- }))(aot())
- }), T7.wantsDiscoveryBars = () => I("#catalogFilter").style.display !== "none", T7.entityShapesReady = null, T7.ENTITY_SHAPES_WAIT = 400, T7.syncPageTitle = (e) => {
- let t = new URL(e, location.origin), n = UL(decodeURIComponent(t.pathname))?.title;
- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, Jst();
+ }))(iot())
+ }), E7.wantsDiscoveryBars = () => I("#catalogFilter").style.display !== "none", E7.entityShapesReady = null, E7.ENTITY_SHAPES_WAIT = 400, E7.syncPageTitle = (e) => {
+ let t = new URL(e, location.origin), n = WL(decodeURIComponent(t.pathname))?.title;
+ document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, qst();
};
}
//#endregion
//#region src/sidebar-skeleton.ts
-var O7 = (e) => e.replace(/[&<>"']/g, (e) => ({
+var k7 = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
})[e]);
-function vot(e, t, n) {
+function _ot(e, t, n) {
let r = new Map(t.map((e) => [e[0], e]));
return `<div data-sidebar-head=""></div><div data-sidebar-nav="">${e.map((e) => r.get(e)).filter((e) => e !== void 0).map(([e, t, r]) => {
- let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo.png\" alt=\"\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${O7(r)}"/></svg>`;
- return `<button type="button" data-nav="${O7(e)}" aria-pressed="${n(e)}" aria-label="${O7(t)}">${i}<span>${O7(t)}</span></button>`;
+ let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo.png\" alt=\"\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${k7(r)}"/></svg>`;
+ return `<button type="button" data-nav="${k7(e)}" aria-pressed="${n(e)}" aria-label="${k7(t)}">${i}<span>${k7(t)}</span></button>`;
}).join("")}</div>`;
}
//#endregion
//#region src/application/filter-scroll.js
-function yot(e, t, n, r = !1) {
+function vot(e, t, n, r = !1) {
if (t = Math.max(0, t), !e || !n || r || t <= 8) return {
y: t,
origin: t,
@@ -95617,7 +95631,7 @@ function yot(e, t, n, r = !1) {
}
//#endregion
//#region src/application/layout.js
-var k7 = {
+var A7 = {
sidebarProps: void 0,
sidebarSurface: void 0,
sidebarCatalog: void 0,
@@ -95639,20 +95653,20 @@ var k7 = {
mobileFilterHost: void 0,
mobileFilterPath: void 0
};
-function A7({ manage: e = !0, placeholder: t = "" } = {}) {
- I("#stats").hidden = !1, I("#index").hidden = !0, o9(), I("#count").textContent = "", I("#loadSentinel").hidden = !0, e ? I7() : (L7(""), E9()), t && pU(I("#stats"), t);
-}
-function j7() {
- X.hideCatalogCombo(), D7(), document.body.classList.remove("entity-open", "index-open");
+function j7({ manage: e = !0, placeholder: t = "" } = {}) {
+ I("#stats").hidden = !1, I("#index").hidden = !0, s9(), I("#count").textContent = "", I("#loadSentinel").hidden = !0, e ? L7() : (R7(""), D9()), t && mU(I("#stats"), t);
}
function M7() {
- document.body.classList.remove("entity-open", "index-open"), rR(I("#index")), I("#stats").hidden = !0, I("#index").hidden = !0, i7(location.pathname) || (I("#feedNew").hidden = !0), I("#catalogFilter").style.display = "", e9(), I7(), R7();
+ X.hideCatalogCombo(), O7(), document.body.classList.remove("entity-open", "index-open");
+}
+function N7() {
+ document.body.classList.remove("entity-open", "index-open"), iR(I("#index")), I("#stats").hidden = !0, I("#index").hidden = !0, a7(location.pathname) || (I("#feedNew").hidden = !0), I("#catalogFilter").style.display = "", t9(), L7(), z7();
}
-function bot() {
- Q.route("/"), M7();
+function yot() {
+ Q.route("/"), N7();
}
-function xot({ tags: e = [], providers: t = [], duration: n = !1 }) {
- T9({
+function bot({ tags: e = [], providers: t = [], duration: n = !1 }) {
+ E9({
content: e.length || t.length || n ? {
kind: "follow",
tags: e.map(([e, t]) => ({
@@ -95675,54 +95689,54 @@ function xot({ tags: e = [], providers: t = [], duration: n = !1 }) {
filters: $.followSidebarFilters()
});
}
-function Sot(e) {
- ict({
- ...M9(),
+function xot(e) {
+ rct({
+ ...N9(),
...e
- }), T9({ filters: $.followSidebarFilters() });
+ }), E9({ filters: $.followSidebarFilters() });
}
-function N7() {
+function P7() {
return matchMedia("(max-width:760px)").matches;
}
-function P7(e) {
+function F7(e) {
let t = I("#drawer"), n = !e && t.contains(document.activeElement);
- t.inert = !e && N7(), t.classList.toggle("open", e), I("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), I("#filterBtn").setAttribute("aria-expanded", String(!!e)), I("#filterBtn").setAttribute("aria-controls", "drawer"), I("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && I("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
+ t.inert = !e && P7(), t.classList.toggle("open", e), I("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), I("#filterBtn").setAttribute("aria-expanded", String(!!e)), I("#filterBtn").setAttribute("aria-controls", "drawer"), I("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && I("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
}
-function Cot() {
- N7() && P7(!1);
+function Sot() {
+ P7() && F7(!1);
}
-function wot() {
+function Cot() {
Cc === null && (Pc({ runtimeConfigurable: !1 }), vt("/healthz").then((e) => {
- Pc({ runtimeConfigurable: !!e.configurable }), Cc && F7() && I7();
+ Pc({ runtimeConfigurable: !!e.configurable }), Cc && I7() && L7();
}).catch(() => {}));
}
-function Tot(e = "") {
- return lit(k7.settingsHost()).then((t) => (t.open(e), t));
+function wot(e = "") {
+ return cit(A7.settingsHost()).then((t) => (t.open(e), t));
}
-function Eot() {
+function Tot() {
return {
scroll: I("#drawerScroll"),
store: Z.settingsStore,
- navCatalog: k7.NAV_CATALOG,
- navOn: G7,
- navTo: Iot,
- toggleChip: (e, t, n) => $7((r) => {
+ navCatalog: A7.NAV_CATALOG,
+ navOn: K7,
+ navTo: Fot,
+ toggleChip: (e, t, n) => e9((r) => {
if (n) {
let n = String(r[e] || "").split(",").filter(Boolean), i = n.indexOf(t);
i >= 0 ? n.splice(i, 1) : n.push(t), r[e] = n.join(",");
} else r[e] = r[e] === t ? "" : t;
}),
- setDuration: (e, t) => $7((n) => {
+ setDuration: (e, t) => e9((n) => {
n.len = "", n.dur_min = e ? String(e * 60) : "", n.dur_max = t < 180 ? String(t * 60) : "";
}),
openFollowTag: (e) => {
- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), P7(!1), A9(j9());
+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), F7(!1), j9(M9());
},
selectFollowTag: (e) => {
- $.followTags = /* @__PURE__ */ new Set([e]), P7(!1), A9(j9());
+ $.followTags = /* @__PURE__ */ new Set([e]), F7(!1), j9(M9());
},
- selectFollowProvider: (e) => Sot({ provider: $.followProviders.has(e) ? "" : e }),
- setFollowDuration: (e, t) => Sot({
+ selectFollowProvider: (e) => xot({ provider: $.followProviders.has(e) ? "" : e }),
+ setFollowDuration: (e, t) => xot({
durMin: e ? e * 60 : 0,
durMax: t < 180 ? t * 60 : 0
}),
@@ -95731,16 +95745,16 @@ function Eot() {
}
};
}
-function Dot() {
+function Eot() {
let e = I("#drawerScroll");
- e.innerHTML = vot(Z.appSettings.sidebarOrder, k7.NAV_CATALOG, G7), Y5.listen(e, "click", (e) => {
- if (U5()) return;
+ e.innerHTML = _ot(Z.appSettings.sidebarOrder, A7.NAV_CATALOG, K7), X5.listen(e, "click", (e) => {
+ if (W5()) return;
let t = e.target.closest?.("[data-nav]");
- t && Iot(t.dataset.nav);
- }), dit(Eot()).then((e) => e.render(k7.sidebarProps)).catch(() => {});
+ t && Fot(t.dataset.nav);
+ }), uit(Tot()).then((e) => e.render(A7.sidebarProps)).catch(() => {});
}
-async function Oot() {
- let e = Y5, t = null;
+async function Dot() {
+ let e = X5, t = null;
try {
t = await vt("/api/settings", { signal: e.signal });
} catch {
@@ -95748,120 +95762,120 @@ async function Oot() {
}
e.isActive && TT(t, (e) => Z.settingsEffects[e]?.());
}
-function F7() {
+function I7() {
return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");
}
-function I7() {
- let e = F7();
- wot(), e && D7(), I("#count").classList.toggle("no-tagbar", !!e), E9(), e !== "trash" && (_7.trashCount = null), L7(e);
+function L7() {
+ let e = I7();
+ Cot(), e && O7(), I("#count").classList.toggle("no-tagbar", !!e), D9(), e !== "trash" && (v7.trashCount = null), R7(e);
}
-function kot(e) {
+function Oot(e) {
return {
section: e,
path: decodeURIComponent(location.pathname),
- sections: k7.MANAGE_SECTIONS,
- menu: e ? k7.manageMenuSections() : [],
- trash: _7.trashCount
+ sections: A7.MANAGE_SECTIONS,
+ menu: e ? A7.manageMenuSections() : [],
+ trash: v7.trashCount
};
}
-function L7(e = F7()) {
- R7();
- let t = kot(e), n = pit();
+function R7(e = I7()) {
+ z7();
+ let t = Oot(e), n = fit();
if (n) n.render(t);
else {
let e = Aue(t);
- e !== k7.manageHeaderSkeleton && (k7.manageHeaderSkeleton = e, k7.manageHeaderRoot().innerHTML = e);
+ e !== A7.manageHeaderSkeleton && (A7.manageHeaderSkeleton = e, A7.manageHeaderRoot().innerHTML = e);
}
let r = pO(t)?.title || "";
- r !== k7.lastManagePageLabel && (k7.lastManagePageLabel = r, r && fo(k7.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
+ r !== A7.lastManagePageLabel && (A7.lastManagePageLabel = r, r && fo(A7.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
}
-function Aot() {
- let e = k7.manageHeaderRoot();
- Y5.listen(e, "click", (e) => {
- if (pit()) return;
+function kot() {
+ let e = A7.manageHeaderRoot();
+ X5.listen(e, "click", (e) => {
+ if (fit()) return;
let t = e.target.closest?.("[data-manage]");
- if (t) z7(t.dataset.manage);
+ if (t) B7(t.dataset.manage);
else if (e.target.closest?.("[data-manage-crumb] a[href]")) {
if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button) return;
e.preventDefault(), Q.navigatePath("/data-cleanup");
- } else e.target.closest?.("[data-empty-trash]") && dst();
- }), fit({
+ } else e.target.closest?.("[data-empty-trash]") && ust();
+ }), dit({
root: e,
- openManage: z7,
+ openManage: B7,
openDataCleanup: () => Q.navigatePath("/data-cleanup"),
- emptyTrash: dst
- }).then(() => L7()).catch(() => {});
+ emptyTrash: ust
+ }).then(() => R7()).catch(() => {});
}
-function R7() {
+function z7() {
let e = I("#listTitle");
if (!e) return;
- let t = decodeURIComponent(location.pathname), n = !F7() && wt(t) && Ct[U.state] || "";
- e.hidden = !n, n && (e.textContent = n), I("#catalogPageHeading").hidden = !!F7() || !wt(t) || !!n || U.jav === "1";
+ let t = decodeURIComponent(location.pathname), n = !I7() && wt(t) && Ct[U.state] || "";
+ e.hidden = !n, n && (e.textContent = n), I("#catalogPageHeading").hidden = !!I7() || !wt(t) || !!n || U.jav === "1";
}
-function z7(e = "stats") {
+function B7(e = "stats") {
let t = Q.routePathOf("section", e);
- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", Fc(), Q.route(fB()), M7(), E9(), n9());
+ t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", Fc(), Q.route(pB()), N7(), D9(), r9());
}
-function B7() {
+function V7() {
let e = decodeURIComponent(location.pathname);
return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || Dc : !1;
}
-function jot(e = B7()) {
+function Aot(e = V7()) {
let t = Xw.filter(([e]) => e !== "seed");
return e ? [Zw, ...t] : t;
}
-function V7() {
+function H7() {
return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";
}
-function H7() {
- return IT(V7());
+function U7() {
+ return IT(H7());
}
-function Mot(e) {
- Yse(e), U7(), I("#grid").hidden || f9();
+function jot(e) {
+ Yse(e), W7(), I("#grid").hidden || p9();
}
-function Not(e) {
- WT(e), U7(), f9();
+function Mot(e) {
+ WT(e), W7(), p9();
}
-function U7() {
+function W7() {
document.querySelectorAll("[data-video-layout]").forEach((e) => {
- e.checked = e.value === H7();
- }), X.catalogFilterProps && t9({ layout: ist() });
+ e.checked = e.value === U7();
+ }), X.catalogFilterProps && n9({ layout: rst() });
}
-function Pot(e) {
- Xse(e), U7(), f9();
+function Not(e) {
+ Xse(e), W7(), p9();
}
-async function W7() {
- $5(), X.mixRelatedCache.clear(), await Promise.all([Fot(), n9()]);
+async function G7() {
+ e7(), X.mixRelatedCache.clear(), await Promise.all([Pot(), r9()]);
}
-async function Fot() {
- if (o7.entityPageCurrent() && !I("#index").hidden) {
- c7({ revision: ++o7.entityPageRevision });
+async function Pot() {
+ if (s7.entityPageCurrent() && !I("#index").hidden) {
+ l7({ revision: ++s7.entityPageRevision });
return;
}
let e = decodeURIComponent(location.pathname);
- if (UL(e)?.reload === "reopen" || e === "/follow") {
+ if (WL(e)?.reload === "reopen" || e === "/follow") {
Pc({ pageOpens: Tc + 1 });
return;
}
let t = Q.routeMeta(e);
- t?.route.reload ? await t.route.reload() : await a9();
+ t?.route.reload ? await t.route.reload() : await o9();
}
-function G7(e) {
- let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = k7.DIRECT_MANAGE_NAV[e];
- if (r) return F7() === r;
+function K7(e) {
+ let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = A7.DIRECT_MANAGE_NAV[e];
+ if (r) return I7() === r;
if (e === "manage") {
- let e = F7();
- return !!e && !Z.appSettings.sidebarOrder.some((t) => k7.DIRECT_MANAGE_NAV[t] === e);
+ let e = I7();
+ return !!e && !Z.appSettings.sidebarOrder.some((t) => A7.DIRECT_MANAGE_NAV[t] === e);
}
- return e === "jav" ? t === "/jav" || B7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !F7() && !U.state && !B7() && U.orient !== "竖屏" : xt[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";
+ return e === "jav" ? t === "/jav" || V7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !I7() && !U.state && !V7() && U.orient !== "竖屏" : xt[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";
}
-function Iot(e) {
- if (Cot(), k7.DIRECT_MANAGE_NAV[e]) {
- z7(k7.DIRECT_MANAGE_NAV[e]);
+function Fot(e) {
+ if (Sot(), A7.DIRECT_MANAGE_NAV[e]) {
+ B7(A7.DIRECT_MANAGE_NAV[e]);
return;
}
if (e === "manage") {
- z7();
+ B7();
return;
}
if (e === "jav") {
@@ -95869,25 +95883,25 @@ function Iot(e) {
return;
}
if (e === "") {
- X7();
+ Z7();
return;
}
let t = xt[e] ? null : Q.routePathOf("nav", e);
- t ? Q.openRoutePath(t) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), Fc(), Q.route(Y7()), M7(), E9(), n9());
+ t ? Q.openRoutePath(t) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), Fc(), Q.route(X7()), N7(), D9(), r9());
}
-function K7() {
+function q7() {
let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);
- uc && pc !== _7.currentSelectSurface() && y7(!1, !0);
+ uc && pc !== v7.currentSelectSurface() && b7(!1, !0);
let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Et, t[0]), r = wt(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";
- I("#selectMode").hidden = !i, I("#density").hidden = !a, f7(), !i && uc && y7(!1, !0);
+ I("#selectMode").hidden = !i, I("#density").hidden = !a, p7(), !i && uc && b7(!1, !0);
}
-function Lot() {
+function Iot() {
let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);
- (t !== k7.mobileFilterHost || location.pathname !== k7.mobileFilterPath) && (k7.mobileFilterScroll = null), k7.mobileFilterHost = t, k7.mobileFilterPath = location.pathname;
+ (t !== A7.mobileFilterHost || location.pathname !== A7.mobileFilterPath) && (A7.mobileFilterScroll = null), A7.mobileFilterHost = t, A7.mobileFilterPath = location.pathname;
let n = Math.max(0, Math.min(scrollY, document.documentElement.scrollHeight - innerHeight)), r = !!t?.querySelector(":focus-visible,input:focus,select:focus,textarea:focus,[aria-expanded=\"true\"]");
- k7.mobileFilterScroll = yot(k7.mobileFilterScroll, n, innerWidth <= 760, r);
+ A7.mobileFilterScroll = vot(A7.mobileFilterScroll, n, innerWidth <= 760, r);
for (let n of e) {
- let e = n === t && k7.mobileFilterScroll.free;
+ let e = n === t && A7.mobileFilterScroll.free;
if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;
let r = n.getBoundingClientRect().top;
n.getAnimations().forEach((e) => e.id === "filter-slide" && e.cancel()), n.toggleAttribute("data-filter-free", e);
@@ -95899,63 +95913,63 @@ function Lot() {
});
}
}
-function Rot() {
- Lot(), [".board-filter-frame", "#count"].forEach((e) => {
+function Lot() {
+ Iot(), [".board-filter-frame", "#count"].forEach((e) => {
let t = I(e), n = t && getComputedStyle(t), r = n ? parseFloat(n.top) : NaN, i = !!t && n.position === "sticky" && t.offsetParent !== null && window.scrollY > 0 && Number.isFinite(r) && t.getBoundingClientRect().top - (parseFloat(n.translate.split(" ")[1]) || 0) <= r + 1;
t && t.classList.toggle("is-stuck", i), t?.matches(".board-filter-frame") && t.classList.toggle("board-is-stuck", i);
});
}
-function q7() {
- k7.stickyFrame ||= Y5.frame(() => {
- k7.stickyFrame = 0, Rot();
+function J7() {
+ A7.stickyFrame ||= X5.frame(() => {
+ A7.stickyFrame = 0, Lot();
});
}
-function zot() {
+function Rot() {
$.followSidebarFilters = () => ({
provider: [...$.followProviders][0] || "",
dur_min: $.followDurMin || "",
dur_max: $.followDurMax || ""
- }), Y5.handler(I("#filterBtn"), "onclick", () => P7(!I("#drawer").classList.contains("open"))), k7.SIDEBAR_ITEMS = Fit, k7.MANAGE_SECTIONS = e7, k7.MANAGE_MENU_SECTIONS = Iit, k7.manageMenuSections = () => Lit(Cc === !0), k7.OPTIONAL_SIDEBAR_ITEMS = Rit, k7.NAV_CATALOG = zit, k7.DIRECT_MANAGE_NAV = Bit, k7.settingsHost = () => ({
+ }), X5.handler(I("#filterBtn"), "onclick", () => F7(!I("#drawer").classList.contains("open"))), A7.SIDEBAR_ITEMS = Pit, A7.MANAGE_SECTIONS = t7, A7.MANAGE_MENU_SECTIONS = Fit, A7.manageMenuSections = () => Iit(Cc === !0), A7.OPTIONAL_SIDEBAR_ITEMS = Lit, A7.NAV_CATALOG = Rit, A7.DIRECT_MANAGE_NAV = zit, A7.settingsHost = () => ({
store: Z.settingsStore,
changed: (e) => Z.settingsEffects[e]?.(),
sound: (e) => Aa(e),
- navCatalog: k7.NAV_CATALOG,
+ navCatalog: A7.NAV_CATALOG,
themeOptions: Wse,
videoLayouts: AT,
- followInitialRanges: nH,
- videoLayout: () => H7(),
- setVideoLayout: Pot,
- censored: h9,
- setCensored: kst,
+ followInitialRanges: rH,
+ videoLayout: () => U7(),
+ setVideoLayout: Not,
+ censored: g9,
+ setCensored: Ost,
highContrast: () => document.documentElement.classList.contains("board-high-contrast"),
- setHighContrast: Ast,
- receipt: (e) => X5.actionReceipt(e),
- failure: X5.actionFailure,
+ setHighContrast: kst,
+ receipt: (e) => Z5.actionReceipt(e),
+ failure: Z5.actionFailure,
syncRemote: (e) => TT(e, (e) => Z.settingsEffects[e]?.()),
openConfiguration: () => Q.navigatePath("/configuration"),
attached: () => Z.syncGlassOptics(),
configurable: () => vt("/healthz").then((e) => (Pc({ runtimeConfigurable: !!e.configurable }), Cc)).catch(() => null)
- }), Y5.handler(I("#settingsBtn"), "onclick", () => void Tot()), k7.lastManagePageLabel = "", k7.manageHeaderSkeleton = "", k7.manageHeaderRoot = () => I("[data-manage-header]"), window.__scrolling = !1, k7.scrollT = null, k7.stickyFrame = 0, k7.mobileFilterScroll = null, k7.mobileFilterHost = null, k7.mobileFilterPath = "", Y5.listen(document, "focusin", q7), Y5.listen(document, "focusout", q7), Y5.listen(window, "scroll", () => {
- q7(), location.pathname === "/follow" && P9() && Pc({ followScrollY: scrollY }), window.__scrolling = !0, Ks(), clearTimeout(k7.scrollT), k7.scrollT = Y5.delay(() => {
+ }), X5.handler(I("#settingsBtn"), "onclick", () => void wot()), A7.lastManagePageLabel = "", A7.manageHeaderSkeleton = "", A7.manageHeaderRoot = () => I("[data-manage-header]"), window.__scrolling = !1, A7.scrollT = null, A7.stickyFrame = 0, A7.mobileFilterScroll = null, A7.mobileFilterHost = null, A7.mobileFilterPath = "", X5.listen(document, "focusin", J7), X5.listen(document, "focusout", J7), X5.listen(window, "scroll", () => {
+ J7(), location.pathname === "/follow" && F9() && Pc({ followScrollY: scrollY }), window.__scrolling = !0, Ks(), clearTimeout(A7.scrollT), A7.scrollT = X5.delay(() => {
window.__scrolling = !1;
}, 180);
- }, { passive: !0 }), Y5.listen(window, "resize", q7, { passive: !0 }), Y5.handler(I("#scrim"), "onclick", () => P7(!1));
+ }, { passive: !0 }), X5.listen(window, "resize", J7, { passive: !0 }), X5.handler(I("#scrim"), "onclick", () => F7(!1));
}
//#endregion
//#region src/catalog-filter-skeleton.ts
-var Bot = 64, J7 = (e) => e.replace(/[&<>"]/g, (e) => ({
+var zot = 64, Y7 = (e) => e.replace(/[&<>"]/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;"
-})[e]), Vot = (e) => e.repeat(Bot);
-function Hot(e, t) {
- let n = e.map((e) => `<a href="${J7(e.href)}" data-catalog-view="${J7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${J7(e.label)}</a>`).join("");
- return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + Vot("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div><div data-catalog-tier=\"studios\">" + Vot("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${n}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(Bot) + "</span></div></div></div><div data-filter-row=\"bottom\" aria-busy=\"true\" class=\"flex min-w-0 items-center gap-3 px-3 py-2 min-h-12\"><span data-catalog-readout=\"\"><span data-skeleton=\"count\" aria-hidden=\"true\" class=\"relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen\"></span></span></div></div></div></div>";
+})[e]), Bot = (e) => e.repeat(zot);
+function Vot(e, t) {
+ let n = e.map((e) => `<a href="${Y7(e.href)}" data-catalog-view="${Y7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${Y7(e.label)}</a>`).join("");
+ return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + Bot("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div><div data-catalog-tier=\"studios\">" + Bot("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${n}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(zot) + "</span></div></div></div><div data-filter-row=\"bottom\" aria-busy=\"true\" class=\"flex min-w-0 items-center gap-3 px-3 py-2 min-h-12\"><span data-catalog-readout=\"\"><span data-skeleton=\"count\" aria-hidden=\"true\" class=\"relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen\"></span></span></div></div></div></div>";
}
//#endregion
//#region src/catalog-onboarding.ts
-var Uot = [
+var Hot = [
"loc",
"creator",
"performer",
@@ -95973,9 +95987,9 @@ var Uot = [
"jav",
"thumb"
];
-async function Wot(e, t) {
+async function Uot(e, t) {
let n = new URLSearchParams();
- for (let t of Uot) e[t] && n.set(t, e[t]);
+ for (let t of Hot) e[t] && n.set(t, e[t]);
let [r, i] = await Promise.all([t("/api/facets?" + n), t("/api/items?" + n + "&limit=5")]), a = [...new Set([
...r.creators || [],
...r.tagperformers || [],
@@ -95986,7 +96000,7 @@ async function Wot(e, t) {
return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";
}))).filter(Boolean);
}
-function Got({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
+function Wot({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
let a = r ? "<button class=\"geist-button primary\" data-empty-settings>添加内容</button>" : "", o = "<a class=\"geist-button" + (!r || i ? " primary" : "") + "\" href=\"/follow-manage?tab=add\">添加关注</a>";
if (t || n) return no("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a>" });
if (e !== "catalog") {
@@ -96042,43 +96056,43 @@ var X = {
junkQueueHelpers: void 0,
junkQueueActions: void 0
};
-function Kot() {
- X.initialParams.has("loc") || (U.loc = qot(U.loc), Fc());
+function Got() {
+ X.initialParams.has("loc") || (U.loc = Kot(U.loc), Fc());
}
-function qot(e) {
- return wit(e, Z.sourceOnline);
+function Kot(e) {
+ return Cit(e, Z.sourceOnline);
}
-function Y7(e = U) {
- return Tit(e);
+function X7(e = U) {
+ return wit(e);
}
-function Jot() {
- Pc(Dit(Eit(U, Z.appSettings, X5.rollSeed))), $5();
+function qot() {
+ Pc(Eit(Tit(U, Z.appSettings, Z5.rollSeed))), e7();
}
-function X7(e = null, t = !1) {
- Jot(), e && (Object.assign(U, e), Fc()), Q.route(e ? Y7() : "/"), X.clearSearchField(), v9(!1), M7(), E9(), n9(), t && window.scrollTo({
+function Z7(e = null, t = !1) {
+ qot(), e && (Object.assign(U, e), Fc()), Q.route(e ? X7() : "/"), X.clearSearchField(), y9(!1), N7(), D9(), r9(), t && window.scrollTo({
top: 0,
behavior: "smooth"
});
}
-function Yot(e, t = null) {
+function Jot(e, t = null) {
let n = e.id;
- !e.medium || e.medium === "video" ? b9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : b7(n);
+ !e.medium || e.medium === "video" ? x9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : x7(n);
}
-function Xot(e) {
+function Yot(e) {
return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, vt("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {
throw X.mixRelatedCache.delete(e), t;
})), X.mixRelatedCache.get(e);
}
-function Zot(e, t) {
- F5()?.miniplayerTakesCard(e) ? F5().miniplayerPlay(e.id) : e.edition_group ? zst(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? Bst(e.part_group.seed_id, e.id, !0, t) : b9(e.id, !0, null, t);
+function Xot(e, t) {
+ I5()?.miniplayerTakesCard(e) ? I5().miniplayerPlay(e.id) : e.edition_group ? Rst(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? zst(e.part_group.seed_id, e.id, !0, t) : x9(e.id, !0, null, t);
}
-async function Qot(e, t) {
+async function Zot(e, t) {
try {
let n = await vt("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
});
- e.watch_later = n.watch_later, t(!!n.watch_later), X5.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
+ e.watch_later = n.watch_later, t(!!n.watch_later), Z5.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
let n = await vt("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
@@ -96086,10 +96100,10 @@ async function Qot(e, t) {
e.watch_later = n.watch_later, t(!!n.watch_later);
} });
} catch (e) {
- X5.actionFailure("更新稍后看", e);
+ Z5.actionFailure("更新稍后看", e);
}
}
-async function $ot(e, t) {
+async function Qot(e, t) {
try {
await vt("/api/batch", {
method: "POST",
@@ -96097,25 +96111,25 @@ async function $ot(e, t) {
ids: [e.id],
operation: t
})
- }), await a9();
+ }), await o9();
let n = t === "restore" ? "dispose" : "restore";
- X5.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
+ Z5.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
await vt("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: [e.id],
operation: n
})
- }), await a9();
+ }), await o9();
} });
} catch (e) {
- throw X5.actionFailure("操作", e), e;
+ throw Z5.actionFailure("操作", e), e;
}
}
-async function est(e) {
+async function $ot(e) {
let t = new URLSearchParams();
- if (B7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && U.state && t.set("state", U.state), e.type !== "item") {
- let e = o7.activeFilterState();
+ if (V7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && U.state && t.set("state", U.state), e.type !== "item") {
+ let e = s7.activeFilterState();
[
"loc",
"creator",
@@ -96133,46 +96147,46 @@ async function est(e) {
e[n] && t.set(n, e[n]);
});
}
- return Nit(t.toString(), X.topsQueryParams(e).toString());
+ return Mit(t.toString(), X.topsQueryParams(e).toString());
}
-function tst() {
+function est() {
if (scrollY <= 0) return;
let e = document.documentElement;
e.classList.add("refiltering");
let t = () => {
e.classList.remove("refiltering"), removeEventListener("scrollend", t);
};
- Y5.listen.bind(Y5, window)("scrollend", t), Y5.delay(t, 1200), scrollTo({
+ X5.listen.bind(X5, window)("scrollend", t), X5.delay(t, 1200), scrollTo({
top: 0,
behavior: matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth"
});
}
-function Z7(e) {
- l7().type !== "entity" && t9({ tags: ost(e) }), T9({ filters: { ...e } }), i9();
+function Q7(e) {
+ u7().type !== "entity" && n9({ tags: ast(e) }), E9({ filters: { ...e } }), a9();
}
-async function Q7(e) {
- let t = ++X.facetCountsSeq, [n] = await est(e);
- t === X.facetCountsSeq && (e.type === "home" && (_9.facets = n), T9({ latest: Est(n, e) }));
+async function $7(e) {
+ let t = ++X.facetCountsSeq, [n] = await $ot(e);
+ t === X.facetCountsSeq && (e.type === "home" && (v9.facets = n), E9({ latest: Tst(n, e) }));
}
-function $7(e) {
- tst();
- let t = l7();
+function e9(e) {
+ est();
+ let t = u7();
if (t.type === "entity") {
let n = { ...t.filters };
- e(n), u7(t.kind, t.name, n), Z7(n), Q7(l7());
+ e(n), d7(t.kind, t.name, n), Q7(n), $7(u7());
} else if (t.type === "item") {
- let t = o7.cloneBarsContext(sc);
- if (v9(!1), Pc({ detailReturnBarsContext: null }), t && t.type === "entity") {
- e(t.filters), u7(t.kind, t.name, t.filters) ? n9() : Pc({ pageOpens: Tc + 1 });
+ let t = s7.cloneBarsContext(sc);
+ if (y9(!1), Pc({ detailReturnBarsContext: null }), t && t.type === "entity") {
+ e(t.filters), d7(t.kind, t.name, t.filters) ? r9() : Pc({ pageOpens: Tc + 1 });
return;
}
e(U), Pc({ barsContext: {
type: "home",
filters: U
- } }), Q.route(Y7()), M7(), n9();
- } else e(U), Fc(), Q.route(Y7()), Z7(U), Q7(oc);
+ } }), Q.route(X7()), N7(), r9();
+ } else e(U), Fc(), Q.route(X7()), Q7(U), $7(oc);
}
-function nst() {
+function tst() {
return {
tiers: null,
empty: !1,
@@ -96189,94 +96203,94 @@ function nst() {
combo: [],
comboHidden: !0,
comboHost: I("#combo"),
- actions: rst(),
+ actions: nst(),
helpers: {
- wireDrag: g9,
+ wireDrag: _9,
wireScroller: (e) => {
e && Po(e);
}
}
};
}
-function e9() {
- X.catalogFilterProps && t9({});
+function t9() {
+ X.catalogFilterProps && n9({});
}
-function t9(e) {
+function n9(e) {
let t = I("#catalogFilter"), n = t.style.display === "none" || document.body.matches(".entity-open,.index-open");
e = {
...e,
offscreen: n
}, X.catalogFilterProps = {
- ...X.catalogFilterProps || nst(),
+ ...X.catalogFilterProps || tst(),
...e
- }, !X.catalogFilterMounting && (QL(t) ? nR(t, e) : (!t.firstChild && !n && (t.innerHTML = Hot(X.catalogViews(), X.catalogFilterProps.state), Co(t)), X.catalogFilterMounting = tR("catalog-filter", X.catalogFilterProps, {
+ }, !X.catalogFilterMounting && ($L(t) ? rR(t, e) : (!t.firstChild && !n && (t.innerHTML = Vot(X.catalogViews(), X.catalogFilterProps.state), Co(t)), X.catalogFilterMounting = nR("catalog-filter", X.catalogFilterProps, {
container: t,
isCurrent: () => !0
- }).then(() => nR(t, X.catalogFilterProps)).finally(() => {
+ }).then(() => rR(t, X.catalogFilterProps)).finally(() => {
X.catalogFilterMounting = null;
})));
}
-function rst() {
+function nst() {
return {
currentHref: () => {
- let e = new URL(Y7(), location.origin);
+ let e = new URL(X7(), location.origin);
return e.searchParams.set("loc", U.loc || ""), e.searchParams.set("thumb", U.thumb || "0"), e.searchParams.set("sort", U.sort || ""), e.searchParams.set("dir", U.dir || ""), e.pathname + e.search;
},
- openEntity: (e, t) => m7(e, t),
+ openEntity: (e, t) => h7(e, t),
setView: (e) => {
- U.state = e, Fc(), t9({ state: e }), Q.route(Y7()), n9();
+ U.state = e, Fc(), n9({ state: e }), Q.route(X7()), r9();
},
- toggleTag: (e) => r9(e),
- clearFilter: (e) => $7((t) => {
+ toggleTag: (e) => i9(e),
+ clearFilter: (e) => e9((t) => {
t[e] = "";
}),
- clearAll: () => $7((e) => {
+ clearAll: () => e9((e) => {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
let t = rT(e, U.sort, U.dir);
- t && (U.sort = t.sort, U.dir = t.dir, Fc(), m9());
+ t && (U.sort = t.sort, U.dir = t.dir, Fc(), h9());
},
- reshuffle: () => Dst(),
+ reshuffle: () => Est(),
setLayout: (e) => {
- B7() ? Not(e) : Mot(e);
+ V7() ? Mot(e) : jot(e);
},
moreTops: async (e) => {
let t = X.catalogTopsPages;
if (!t) return [];
- let n = (await Pit(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
- return e === "performers" ? n.map(sst) : n.map(cst);
+ let n = (await Nit(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
+ return e === "performers" ? n.map(ost) : n.map(sst);
}
};
}
-function ist() {
- return B7() ? {
+function rst() {
+ return V7() ? {
name: "jav-layout",
label: "JAV 卡片版式",
value: FT(),
options: AT
- } : V7() ? {
+ } : H7() ? {
name: "home-layout",
label: "首页卡片版式",
- value: H7(),
+ value: U7(),
options: AT
} : null;
}
-function ast() {
+function ist() {
return {
- sorts: Sat(U.sort, U.dir),
- layout: ist(),
+ sorts: xat(U.sort, U.dir),
+ layout: rst(),
state: U.state || "",
trash: U.state === "trash"
};
}
-function ost(e) {
+function ast(e) {
return X.catalogTagRows.map((t) => ({
...t,
selected: X.tagPressed(e.tag, t.k)
}));
}
-function sst(e) {
+function ost(e) {
return {
name: e.k,
ringHtml: `<span data-tier-initial>${R(qt(e.k))}</span>${na({
@@ -96290,85 +96304,85 @@ function sst(e) {
})}`
};
}
-function cst(e) {
+function sst(e) {
return {
name: e.k,
fallback: Kt(e.k, 2),
logo: e.has_logo ? $i(e.k, "icon", e.logo_version) : ""
};
}
-function lst(e) {
- X.catalogFilterProps?.tiers || (X.barsRendered = "", t9({
+function cst(e) {
+ X.catalogFilterProps?.tiers || (X.barsRendered = "", n9({
tiers: null,
state: e.state || ""
}));
}
-async function n9() {
+async function r9() {
let e = ++X.barsRequestSeq;
- if (T9(), !rc(location.pathname) || oc.type === "item") return;
- let t = l7(), n = o7.activeFilterState(), r = JSON.stringify([
+ if (E9(), !rc(location.pathname) || oc.type === "item") return;
+ let t = u7(), n = s7.activeFilterState(), r = JSON.stringify([
t,
n,
U.state || "",
U.seed || "",
- B7()
+ V7()
]);
- lst(n);
- let [i, a] = await est(t);
+ cst(n);
+ let [i, a] = await $ot(t);
if (e !== X.barsRequestSeq) return;
let o = r + "\n" + JSON.stringify([i, a]);
if (o === X.barsRendered) {
- k7.sidebarCatalog && T9({
- content: k7.sidebarCatalog,
+ A7.sidebarCatalog && E9({
+ content: A7.sidebarCatalog,
filters: { ...n }
});
return;
}
- X.barsRendered = o, t.type === "home" && (_9.facets = i);
+ X.barsRendered = o, t.type === "home" && (v9.facets = i);
let s = i.tags || [];
Bi(a.performers), Bi(a.studios);
- let c = t.type === "home" && !B7() && !U.state && !U.q && !i.locations.some((e) => e.n > 0);
+ let c = t.type === "home" && !V7() && !U.state && !U.q && !i.locations.some((e) => e.n > 0);
X.catalogTopsPages = {
context: t,
performers: 0,
studios: 0
};
- let l = X.tagList(n.tag), u = new Map(s.map((e) => [e.k, e])), d = l.map((e) => u.get(e) || { k: e }), f = s.filter((e) => !l.includes(e.k)), p = X5.seededSample(f, X.TAGS_FIRST, `tags:${U.seed || ""}`), m = new Set(p.map((e) => e.k));
+ let l = X.tagList(n.tag), u = new Map(s.map((e) => [e.k, e])), d = l.map((e) => u.get(e) || { k: e }), f = s.filter((e) => !l.includes(e.k)), p = Z5.seededSample(f, X.TAGS_FIRST, `tags:${U.seed || ""}`), m = new Set(p.map((e) => e.k));
X.catalogTagRows = d.concat(p, f.filter((e) => !m.has(e.k))).map((e) => ({
k: e.k,
label: Zs(e.k),
n: e.n ?? null
- })), t9({
+ })), n9({
tiers: {
key: String(X.barsRequestSeq),
- performers: a.performers.map(sst),
- studios: a.studios.map(cst)
+ performers: a.performers.map(ost),
+ studios: a.studios.map(sst)
},
empty: c,
- tags: ost(n),
+ tags: ast(n),
tagFirst: d.length + p.length,
views: X.catalogViews(),
state: n.state || ""
- }), i9(), k7.sidebarCatalog = {
+ }), a9(), A7.sidebarCatalog = {
kind: "catalog",
- key: String(++k7.sidebarContentSeq),
- facets: Est(i, t)
- }, T9({
- content: k7.sidebarCatalog,
+ key: String(++A7.sidebarContentSeq),
+ facets: Tst(i, t)
+ }, E9({
+ content: A7.sidebarCatalog,
filters: { ...n },
latest: null
});
}
-function ust(e, t) {
- _9.total = e, U.state === "trash" && (_7.trashCount = {
- total: _9.total,
+function lst(e, t) {
+ v9.total = e, U.state === "trash" && (v7.trashCount = {
+ total: v9.total,
shown: t
- }), I7(), t9({ count: {
- total: _9.total,
+ }), L7(), n9({ count: {
+ total: v9.total,
shown: t
} });
}
-function dst() {
+function ust() {
return cs({
title: "清空回收站",
body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",
@@ -96378,19 +96392,19 @@ function dst() {
try {
let e = await vt("/api/trash/empty", { method: "POST" });
if (e.blocked && e.blocked.length) throw Error(`已永久删除 ${e.purged} 项;${e.blocked.length} 项未能删除,仍在回收站:\n` + e.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));
- X5.actionReceipt(`已永久删除 ${e.purged} 项`);
+ Z5.actionReceipt(`已永久删除 ${e.purged} 项`);
} finally {
- await a9();
+ await o9();
}
}
});
}
-function r9(e) {
- $7((t) => {
+function i9(e) {
+ e9((t) => {
t.tag = e ? X.withTagToggled(t.tag, e) : "";
});
}
-function fst(e) {
+function dst(e) {
let t = [];
return e.creator && t.push({
kind: "clear",
@@ -96410,16 +96424,16 @@ function fst(e) {
label: Zs(e)
})), t;
}
-function i9() {
- t9({
- combo: fst(U),
+function a9() {
+ n9({
+ combo: dst(U),
comboHidden: !X.catalogOnScreen()
});
}
-async function a9() {
+async function o9() {
let e = Q.claimSurface(Q.surfacePath());
- if (hat(location.pathname) && !QL(I("#libraryProcessingNotice")) && tR("library-processing", {
- toast: X5.toast,
+ if (mat(location.pathname) && !$L(I("#libraryProcessingNotice")) && nR("library-processing", {
+ toast: Z5.toast,
mode: "notice"
}, {
container: I("#libraryProcessingNotice"),
@@ -96430,113 +96444,113 @@ async function a9() {
filters: U
},
detailReturnBarsContext: null
- }), v9(!1), U.state === "ads") return yst(e);
- if (X.controller.page === "/junk-files" && o9(), E7(), M7(), i7(location.pathname)) {
- if (await T7.entityShapesReady, !Q.surfaceCurrent(e)) return;
- gat();
- } else a7();
- return i9(), I("#count").classList.remove("manage-static", "junkcount"), mst(e);
+ }), y9(!1), U.state === "ads") return vst(e);
+ if (X.controller.page === "/junk-files" && s9(), D7(), N7(), a7(location.pathname)) {
+ if (await E7.entityShapesReady, !Q.surfaceCurrent(e)) return;
+ hat();
+ } else o7();
+ return a9(), I("#count").classList.remove("manage-static", "junkcount"), pst(e);
}
-function pst(e) {
+function fst(e) {
X.controller.settle(e);
}
-function o9() {
+function s9() {
let e = I("#grid");
- Ks(e), rR(e), X.controller.clear(), e.innerHTML = "";
-}
-function mst(e) {
- return gst("/", vst, e, { place: oct });
+ Ks(e), iR(e), X.controller.clear(), e.innerHTML = "";
}
-function hst(e) {
- return gst("/junk-files", xst, e);
+function pst(e) {
+ return hst("/", _st, e, { place: act });
}
-function s9() {
- return !!ZL(I("#grid"));
+function mst(e) {
+ return hst("/junk-files", bst, e);
}
function c9() {
- return X.controller.taken(s9());
+ return !!QL(I("#grid"));
}
-function l9(e) {
- nR(I("#grid"), e);
+function l9() {
+ return X.controller.taken(c9());
}
-function gst(e, t, n, r = {}) {
+function u9(e) {
+ rR(I("#grid"), e);
+}
+function hst(e, t, n, r = {}) {
let i = I("#grid");
- X.controller.page && X.controller.page !== e && o9();
- let a = X.controller.begin(e, s9()), o = t();
- if (!a.mount) return l9(o), a.settled;
+ X.controller.page && X.controller.page !== e && s9();
+ let a = X.controller.begin(e, c9()), o = t();
+ if (!a.mount) return u9(o), a.settled;
Ks(i);
- let s = () => rR(i);
- return a.signal.addEventListener("abort", s, { once: !0 }), tR(e, o, {
+ let s = () => iR(i);
+ return a.signal.addEventListener("abort", s, { once: !0 }), nR(e, o, {
...r,
container: i,
isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()
}).catch((e) => console.error(e)).finally(() => {
- a.signal.removeEventListener("abort", s), a.finish(s9());
+ a.signal.removeEventListener("abort", s), a.finish(c9());
}), a.settled;
}
-function u9() {
- let e = V7();
+function d9() {
+ let e = H7();
return HT({
- active: B7() || e,
+ active: V7() || e,
home: e,
portrait: U.orient === "竖屏"
});
}
-function d9(e = "正在读取作品") {
- return uU(e, {
+function f9(e = "正在读取作品") {
+ return dU(e, {
cards: !0,
className: "catalog-skeleton postercard-skeleton",
- cardRatio: _st()
+ cardRatio: gst()
});
}
-function _st() {
- return U ? UT(u9()) : 16 / 9;
+function gst() {
+ return U ? UT(d9()) : 16 / 9;
}
-function f9() {
- c9() && (Ks(I("#grid")), l9({
- layout: u9(),
+function p9() {
+ l9() && (Ks(I("#grid")), u9({
+ layout: d9(),
seekSeconds: Z.appSettings.seekSeconds
- })), o7.entityPageCurrent() && (Ks(I("#index [data-entity-hero]")), c7({
- layout: u9(),
+ })), s7.entityPageCurrent() && (Ks(I("#index [data-entity-hero]")), l7({
+ layout: d9(),
seekSeconds: Z.appSettings.seekSeconds
}));
}
-function vst() {
+function _st() {
let e = wt(decodeURIComponent(location.pathname)), t = U.state === "trash";
return {
mode: "catalog",
helpers: X.gridHelpers,
actions: X.gridActions,
- layout: u9(),
+ layout: d9(),
selectMode: uc,
selected: new Set(cc),
seekSeconds: Z.appSettings.seekSeconds,
revision: X.controller.revision,
- wireDrag: g9,
- settled: pst,
- skeletonHtml: () => d9(),
+ wireDrag: _9,
+ settled: fst,
+ skeletonHtml: () => f9(),
filters: { ...U },
batchSize: Z.appSettings.batchSize,
groupCollapse: Z.appSettings.groupCollapse,
excludeVertical: e && !U.q && !U.orient || U.jav === "1",
mix: e && !t,
- shorts: e && !B7() && U.orient !== "竖屏" && !t,
+ shorts: e && !V7() && U.orient !== "竖屏" && !t,
countRow: I("#count"),
- onCount: ust,
- onCountFailed: () => t9({ count: !1 }),
- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : Got({
- jav: B7() && !t,
+ onCount: lst,
+ onCountFailed: () => n9({ count: !1 }),
+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : Wot({
+ jav: V7() && !t,
configurable: Cc,
filtered: !t
}),
canLoadMore: () => I("#stats").hidden && I("#index").hidden
};
}
-function yst(e) {
+function vst(e) {
let t = I("#count");
- return X.controller.page === "/junk-files" && s9() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (o9(), E7("正在读取垃圾文件")), M7(), i9(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), hst(e);
+ return X.controller.page === "/junk-files" && c9() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (s9(), D7("正在读取垃圾文件")), N7(), a9(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), mst(e);
}
-async function bst(e, t) {
+async function yst(e, t) {
let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";
try {
await vt("/api/batch", {
@@ -96545,24 +96559,24 @@ async function bst(e, t) {
ids: n,
operation: t
})
- }), await a9();
+ }), await o9();
let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";
- X5.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
+ Z5.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
await vt("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
operation: e
})
- }), await a9();
+ }), await o9();
} });
} catch (e) {
- throw X5.actionFailure("操作", e), e;
+ throw Z5.actionFailure("操作", e), e;
}
}
-function xst() {
+function bst() {
return {
- ...dB(location.search),
+ ...fB(location.search),
helpers: X.junkQueueHelpers,
actions: X.junkQueueActions,
batchSize: Z.appSettings.batchSize,
@@ -96570,16 +96584,16 @@ function xst() {
selectMode: uc,
selected: new Set(cc),
countRow: I("#count"),
- settled: pst,
- skeletonHtml: () => uU("正在读取垃圾文件", {
+ settled: fst,
+ skeletonHtml: () => dU("正在读取垃圾文件", {
cards: !0,
className: "catalog-skeleton postercard-skeleton"
}),
canLoadMore: () => I("#stats").hidden && I("#index").hidden
};
}
-function Sst() {
- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => Sit(e, t, Z.appSettings, n), Pc(Dit(Cit(location, Z.appSettings, X5.rollSeed))), X.searchValueSnapshot = {
+function xst() {
+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => xit(e, t, Z.appSettings, n), Pc(Eit(Sit(location, Z.appSettings, Z5.rollSeed))), X.searchValueSnapshot = {
text: "",
scrollLeft: 0
}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = I("#q")) => {
@@ -96600,7 +96614,7 @@ function Sst() {
};
};
}
-function Cst() {
+function Sst() {
X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = U.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {
let n = X.tagList(e), r = n.indexOf(t);
return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");
@@ -96610,32 +96624,32 @@ function Cst() {
displayName: (e, t) => yO(e, t),
tagLabel: (e) => Zs(e)
}, X.gridActions = {
- open: (e, t) => Zot(e, t),
- openResource: (e, t) => F5()?.miniplayerTakesCard(e) ? F5().miniplayerPlay(e.id) : Yot(e, t),
- openShort: (e) => F5()?.miniplayerTakesCard(e) ? F5().miniplayerPlay(e.id) : S9(e.id),
- openShorts: () => S9(),
- openMix: (e, t) => Rst(e, e, !0, t),
- openEntity: (e, t) => m7(e, t),
- openUnowned: () => X7({ owner: "none" }, !0),
+ open: (e, t) => Xot(e, t),
+ openResource: (e, t) => I5()?.miniplayerTakesCard(e) ? I5().miniplayerPlay(e.id) : Jot(e, t),
+ openShort: (e) => I5()?.miniplayerTakesCard(e) ? I5().miniplayerPlay(e.id) : C9(e.id),
+ openShorts: () => C9(),
+ openMix: (e, t) => Lst(e, e, !0, t),
+ openEntity: (e, t) => h7(e, t),
+ openUnowned: () => Z7({ owner: "none" }, !0),
toggleTag: (e) => {
- $7((t) => {
+ e9((t) => {
t.tag = X.tagPressed(t.tag, e) ? "" : e;
}), window.scrollTo({
top: 0,
behavior: "smooth"
});
},
- toggleSelection: (e, t) => b7(e, t),
- watchLater: (e, t) => Qot(e, t),
- resourceOperation: (e, t) => $ot(e, t),
- mixRelated: (e) => Xot(e),
- canFlip: () => !uc && !h9() && !window.__scrolling && !X.reduceMotion()
+ toggleSelection: (e, t) => x7(e, t),
+ watchLater: (e, t) => Zot(e, t),
+ resourceOperation: (e, t) => Qot(e, t),
+ mixRelated: (e) => Yot(e),
+ canFlip: () => !uc && !g9() && !window.__scrolling && !X.reduceMotion()
}, X.topsQueryParams = (e, t = 0) => {
let n = new URLSearchParams({
n: "60",
seed: U.seed || ""
});
- return t && n.set("page", String(t)), B7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), n;
+ return t && n.set("page", String(t)), V7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), n;
}, X.facetCountsSeq = 0, X.VIEW_PILLS = [
{
k: "",
@@ -96656,38 +96670,38 @@ function Cst() {
], X.catalogViews = () => X.VIEW_PILLS.map((e) => ({
...e,
href: e.k ? xt[e.k] : "/"
- })), X.TAGS_FIRST = 26, Y5.listen(I("#catalogFilter"), "click", (e) => {
+ })), X.TAGS_FIRST = 26, X5.listen(I("#catalogFilter"), "click", (e) => {
let t = e.target.closest?.("[data-catalog-view]");
- t && !e.defaultPrevented && (e.preventDefault(), rst().setView(t.dataset.catalogView));
+ t && !e.defaultPrevented && (e.preventDefault(), nst().setView(t.dataset.catalogView));
}), X.catalogOnScreen = () => I("#index").hidden && I("#stats").hidden, X.COMBO_LABELS = {
creator: "创作者",
studio: "厂牌",
owner: "归属"
}, X.hideCatalogCombo = () => {
- X.catalogFilterProps && t9({ comboHidden: !0 });
+ X.catalogFilterProps && n9({ comboHidden: !0 });
};
}
-function wst() {
+function Cst() {
X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {
navigate: (e) => {
- uc && y7(!1, !0), Q.route(e);
+ uc && b7(!1, !0), Q.route(e);
},
- toggleSelection: (e, t) => b7(e, t),
- open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : b9(e.id, !0, null, t),
+ toggleSelection: (e, t) => x7(e, t),
+ open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : x9(e.id, !0, null, t),
reveal: async (e) => {
try {
return await vt("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e.id })
- }), X5.toast({ text: "已在资源管理器中显示" }), "";
+ }), Z5.toast({ text: "已在资源管理器中显示" }), "";
} catch (e) {
- return o7.sourceHint(e.message);
+ return s7.sourceHint(e.message);
}
},
- operate: (e, t) => bst(e, t)
+ operate: (e, t) => yst(e, t)
};
}
-X.controller = new Oit();
+X.controller = new Dit();
//#endregion
//#region src/application/preferences.js
var Z = {
@@ -96711,8 +96725,8 @@ var Z = {
emptyState: void 0,
CENSOR_KEY: void 0
};
-async function p9() {
- let e = Y5;
+async function m9() {
+ let e = X5;
try {
let t = await mn(e.signal);
if (!e.isActive) return Z.sourceOnline;
@@ -96721,18 +96735,18 @@ async function p9() {
if (!e.isActive) return Z.sourceOnline;
Z.sourceOnline = {}, Z.sourceProblems = {};
}
- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), Kot(), Z.sourceOnline;
+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), Got(), Z.sourceOnline;
}
-function m9() {
+function h9() {
let e = Q.surfacePath();
- if (!wt(e) || e === "/junk-files") return a9();
+ if (!wt(e) || e === "/junk-files") return o9();
let t = Z.nextCatalogLoad();
- return fR(Y7(), {
+ return pR(X7(), {
replace: !0,
- state: dR.navigation.location.state
+ state: fR.navigation.location.state
}), t;
}
-function Tst(e) {
+function wst(e) {
return e === "local" ? {
kind: "glyph",
name: "hard-drive"
@@ -96747,7 +96761,7 @@ function Tst(e) {
cost: "free"
};
}
-function Est(e, t) {
+function Tst(e, t) {
let n = (e, t = (e) => e.label || Zs(e.k)) => (e || []).map((e) => ({
value: String(e.k),
label: t(e),
@@ -96758,7 +96772,7 @@ function Est(e, t) {
value: e.k,
label: Yt[e.k] || e.k,
n: e.n ?? null,
- dot: Tst(e.k),
+ dot: wst(e.k),
...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}
})),
regions: n(e.regions),
@@ -96770,24 +96784,24 @@ function Est(e, t) {
duration: !!e.stats?.duration
};
}
-async function Dst(e = !1) {
- if (e && (document.hidden || !wt(decodeURIComponent(location.pathname)) || _9.stageOpen() || _9.immerseOpen() || uc || cc.size || document.activeElement === I("#q"))) return !1;
+async function Est(e = !1) {
+ if (e && (document.hidden || !wt(decodeURIComponent(location.pathname)) || v9.stageOpen() || v9.immerseOpen() || uc || cc.size || document.activeElement === I("#q"))) return !1;
if (!I("#stats").hidden) {
let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;
if (t === "skip") return;
if (e === "/playlists") {
- Vat();
+ Bat();
return;
}
let n = t === "reopen" ? e : "/stats";
- n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, dR.navigation.location.state) : Q.navigatePath(n);
+ n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, fR.navigation.location.state) : Q.navigatePath(n);
} else if (I("#index").hidden) {
- U.sort = "seed", U.dir = "", U.seed = X5.rollSeed(), Fc(), $5(), t9({ refreshing: !0 });
+ U.sort = "seed", U.dir = "", U.seed = Z5.rollSeed(), Fc(), e7(), n9({ refreshing: !0 });
try {
- let e = m9();
- await null, await Promise.all([e, n9()]);
+ let e = h9();
+ await null, await Promise.all([e, r9()]);
} finally {
- t9({ refreshing: !1 });
+ n9({ refreshing: !1 });
}
return e || window.scrollTo({
top: 0,
@@ -96795,29 +96809,29 @@ async function Dst(e = !1) {
}), !0;
}
}
-function h9() {
+function g9() {
return document.body.classList.contains("censor");
}
-function Ost(e) {
+function Dst(e) {
document.body.classList.toggle("censor", e), Z.settingsStore.notify();
}
-function kst(e) {
- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Ost(e), e && Ks();
+function Ost(e) {
+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Dst(e), e && Ks();
}
-function Ast(e) {
+function kst(e) {
localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();
}
-function g9(e) {
+function _9(e) {
return Po(e, { drag: !0 });
}
-function jst() {
- ["#nrow", "#count"].forEach((e) => g9(I(e))), document.querySelectorAll(".tier,.srow").forEach(g9);
+function Ast() {
+ ["#nrow", "#count"].forEach((e) => _9(I(e))), document.querySelectorAll(".tier,.srow").forEach(_9);
}
-function Mst() {
+function jst() {
let e = new URLSearchParams(location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function Nst() {
+function Mst() {
Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "脱盘模式:这个来源当前没有挂载", Z.OFFLINE_REASON = {
local: "本地硬盘没有挂载,接上后点重新检测即可播放。",
115: "115 网盘没有挂载,检查 CloudDrive 是否在运行。",
@@ -96832,30 +96846,30 @@ function Nst() {
$T(), eE();
},
batchSize: () => {
- location.pathname === "/" && a9();
+ location.pathname === "/" && o9();
},
defaultSort: () => {
- U.sort = Z.appSettings.defaultSort, U.dir = iT(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Fc(), location.pathname === "/" && m9();
+ U.sort = Z.appSettings.defaultSort, U.dir = iT(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Fc(), location.pathname === "/" && h9();
},
sortDirection: () => {
- U.dir = iT(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Fc(), location.pathname === "/" && m9();
+ U.dir = iT(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Fc(), location.pathname === "/" && h9();
},
hoverDelay: () => {
Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {
Js(e, "previewing", !1), Js(e, "longhover", !1);
}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);
},
- seekSeconds: () => f9(),
- groupCollapse: () => Fot(),
- feedAutoScroll: () => vat(),
- feedCompilations: () => _at(),
+ seekSeconds: () => p9(),
+ groupCollapse: () => Pot(),
+ feedAutoScroll: () => _at(),
+ feedCompilations: () => gat(),
miniplayer: () => {
- Z.appSettings.miniplayer || F5()?.closeMiniplayer();
+ Z.appSettings.miniplayer || I5()?.closeMiniplayer();
},
javImage: () => {
- Ji(document, Z.appSettings.javImage), f9(), document.querySelectorAll("img[data-jav-image].cover").forEach(Es), Lst();
+ Ji(document, Z.appSettings.javImage), p9(), document.querySelectorAll("img[data-jav-image].cover").forEach(Es), Ist();
},
- searchHistoryLimit: () => nR(I("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
+ searchHistoryLimit: () => rR(I("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {
local: L("hard-drive"),
115: `<img class="source-icon" src="${Ja[115]}" alt="">`,
@@ -96866,12 +96880,12 @@ function Nst() {
return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${R(r)}" aria-label="${R(r)}">` + (Z.SRCICON[e] || "") + "</span>";
}, Z.emptyState = no;
}
-function Pst() {
- Z.CENSOR_KEY = "peach-censor", Ost(localStorage.getItem(Z.CENSOR_KEY) === "1");
+function Nst() {
+ Z.CENSOR_KEY = "peach-censor", Dst(localStorage.getItem(Z.CENSOR_KEY) === "1");
}
//#endregion
//#region src/application/media.js
-var _9 = {
+var v9 = {
total: void 0,
facets: void 0,
stageHost: void 0,
@@ -96883,18 +96897,18 @@ var _9 = {
immerseOpen: void 0,
requestedImmerseId: void 0
};
-function Fst() {
+function Pst() {
let e = Number(new URLSearchParams(location.search).get("t"));
return Number.isFinite(e) && e > 0 ? {
time: e,
autoplay: !1
} : null;
}
-function Ist() {
- return F5()?.exit() || Promise.resolve();
+function Fst() {
+ return I5()?.exit() || Promise.resolve();
}
-function v9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
- Q.queueOpenRequest !== r && D9(), F5()?.dispose({ miniplayer: n }), Pc({
+function y9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
+ Q.queueOpenRequest !== r && O9(), I5()?.dispose({ miniplayer: n }), Pc({
activeQueue: null,
pendingQueueRoute: null,
presentedItem: null
@@ -96902,15 +96916,15 @@ function v9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null
detailOriginAnchor: null,
detailOriginAbove: !1,
detailReturnNeedsRestore: !1
- }), q7(), e && Q.route(mc || "/");
+ }), J7(), e && Q.route(mc || "/");
}
-function Lst() {
- F5()?.repaintPoster();
+function Ist() {
+ I5()?.repaintPoster();
}
-function y9(e, t, n, r, i = null, a = {}) {
+function b9(e, t, n, r, i = null, a = {}) {
t = +t;
let o = vc?.kind === e && (e === "playlist" ? vc.playlistId : vc.seedId) === t;
- r && !o && Pc({ detailReturnPath: location.pathname + location.search }), r && RL();
+ r && !o && Pc({ detailReturnPath: location.pathname + location.search }), r && zL();
let s = e === "playlist" ? {
kind: e,
playlistId: t,
@@ -96921,38 +96935,38 @@ function y9(e, t, n, r, i = null, a = {}) {
fresh: !o
};
if (a.autoplay && (s.autoplay = !0), r) {
- D9();
+ O9();
let e = Q.queueOpenRequest = {
- seq: dR.navigation.seq,
+ seq: fR.navigation.seq,
cancelled: !1
};
- Q.requestedQueue = () => b9(n == null ? null : +n, !1, s, i, !0, e), Pc({ queueOpens: Ec + 1 });
- } else return b9(n == null ? null : +n, !1, s, i, r);
+ Q.requestedQueue = () => x9(n == null ? null : +n, !1, s, i, !0, e), Pc({ queueOpens: Ec + 1 });
+ } else return x9(n == null ? null : +n, !1, s, i, r);
+}
+function Lst(e, t = e, n = !0, r = null) {
+ return b9("mix", e, t, n, r);
}
function Rst(e, t = e, n = !0, r = null) {
- return y9("mix", e, t, n, r);
+ return b9("editions", e, t, n, r);
}
function zst(e, t = e, n = !0, r = null) {
- return y9("editions", e, t, n, r);
+ return b9("parts", e, t, n, r);
}
-function Bst(e, t = e, n = !0, r = null) {
- return y9("parts", e, t, n, r);
+function Bst(e, t = null, n = !0) {
+ return b9("playlist", e, t, n);
}
-function Vst(e, t = null, n = !0) {
- return y9("playlist", e, t, n);
-}
-function Hst() {
+function Vst() {
return !!I("#grid").querySelector("[data-id],[data-mix-seed]") || !I("#index").hidden || !I("#stats").hidden;
}
-async function b9(e, t = !0, n = null, r = null, i = !1, a = null) {
+async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
if (a?.cancelled) return;
- if (a || D9(), t && !n) {
- Pc({ detailReturnPath: location.pathname + location.search }), O9("/item/" + +e, "item", () => b9(e, !1, null, r));
+ if (a || O9(), t && !n) {
+ Pc({ detailReturnPath: location.pathname + location.search }), k9("/item/" + +e, "item", () => x9(e, !1, null, r));
return;
}
Ks(), e = e == null ? null : +e;
- let o = r?.isConnected ? r : hc?.isConnected ? hc : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : gc, c = Hst(), l = _c || !t && !c, u = oc.type === "item" ? sc : o7.cloneBarsContext(l7());
- t ? Pc({ detailReturnPath: location.pathname + location.search }) : i || Pc({ detailReturnPath: BL() || mc }), t && RL(), F5()?.showing() !== "item" && v9(!1, !0, {
+ let o = r?.isConnected ? r : hc?.isConnected ? hc : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : gc, c = Vst(), l = _c || !t && !c, u = oc.type === "item" ? sc : s7.cloneBarsContext(u7());
+ t ? Pc({ detailReturnPath: location.pathname + location.search }) : i || Pc({ detailReturnPath: VL() || mc }), t && zL(), I5()?.showing() !== "item" && y9(!1, !0, {
miniplayer: !1,
preserveQueueRequest: a
}), Pc({
@@ -96963,182 +96977,182 @@ async function b9(e, t = !0, n = null, r = null, i = !1, a = null) {
kind: n.kind,
seedId: n.seedId,
playlistId: n.playlistId
- } }), Pc({ pendingQueueRoute: n && i ? `${_9.QUEUE_ROUTES[n.kind]}/${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/item/" + e, !1, VL("item"));
- let d = await P5(_9.stageHost);
+ } }), Pc({ pendingQueueRoute: n && i ? `${v9.QUEUE_ROUTES[n.kind]}/${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/item/" + e, !1, HL("item"));
+ let d = await F5(v9.stageHost);
if (a?.cancelled) return;
let f = a ? {
- ..._9.itemDetailActions,
+ ...v9.itemDetailActions,
present: (e, t) => {
- a.cancelled || _9.itemDetailActions.present(e, t);
+ a.cancelled || v9.itemDetailActions.present(e, t);
},
redirect: (e) => {
- a.cancelled || _9.itemDetailActions.redirect(e);
+ a.cancelled || v9.itemDetailActions.redirect(e);
}
- } : _9.itemDetailActions;
+ } : v9.itemDetailActions;
await d.open({
kind: "item",
id: e,
queue: n,
relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,
- helpers: _9.itemDetailHelpers,
+ helpers: v9.itemDetailHelpers,
actions: f,
grid: {
helpers: X.gridHelpers,
actions: X.gridActions
},
- layout: u9(),
+ layout: d9(),
selectMode: uc,
selected: new Set(cc),
seekSeconds: Z.appSettings.seekSeconds,
- resume: t || e == null ? null : Fst()
- }), q7();
+ resume: t || e == null ? null : Pst()
+ }), J7();
}
-async function Ust() {
- let e = o7.cloneBarsContext(sc), t = mc || "/", n = _c;
- await Ist(), v9(!1, !1, { miniplayer: !1 }), Pc({ detailReturnBarsContext: null }), zL(), Pc({ barsContext: e || {
+async function Hst() {
+ let e = s7.cloneBarsContext(sc), t = mc || "/", n = _c;
+ await Fst(), y9(!1, !1, { miniplayer: !1 }), Pc({ detailReturnBarsContext: null }), BL(), Pc({ barsContext: e || {
type: "home",
filters: U
- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Pc({ pageOpens: Tc + 1 }) : (n9(), location.pathname === "/playlists" && Pc({ pageOpens: Tc + 1 })));
+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Pc({ pageOpens: Tc + 1 }) : (r9(), location.pathname === "/playlists" && Pc({ pageOpens: Tc + 1 })));
}
-async function x9(e, t = !0) {
+async function S9(e, t = !0) {
if (t) {
- Pc({ detailReturnPath: location.pathname + location.search }), O9("/jav/movie/" + encodeURIComponent(e), "jav", () => x9(e, !1));
+ Pc({ detailReturnPath: location.pathname + location.search }), k9("/jav/movie/" + encodeURIComponent(e), "jav", () => S9(e, !1));
return;
}
- let n = dR.navigation.seq, r = o7.cloneBarsContext(l7()), i = !Hst(), a = BL() || (i ? "/jav?tab=discover" : mc) || "/jav?tab=discover";
- F5()?.showing() !== "jav" && v9(!1, !0, { miniplayer: !1 }), Pc({
+ let n = fR.navigation.seq, r = s7.cloneBarsContext(u7()), i = !Vst(), a = VL() || (i ? "/jav?tab=discover" : mc) || "/jav?tab=discover";
+ I5()?.showing() !== "jav" && y9(!1, !0, { miniplayer: !1 }), Pc({
detailReturnPath: a,
detailReturnBarsContext: r,
detailReturnNeedsRestore: i
}), Ks();
- let [o, s] = await Promise.all([P5(_9.stageHost), B("/healthz")]);
- dR.navigation.seq === n && (await o.open({
+ let [o, s] = await Promise.all([F5(v9.stageHost), B("/healthz")]);
+ fR.navigation.seq === n && (await o.open({
kind: "jav",
code: e,
readOnly: !!s.ledger_read_only,
actions: {
- close: () => void Ust(),
+ close: () => void Hst(),
navigate: (e) => Q.navigatePath(e),
openTag: (e) => {
- $7((t) => {
+ e9((t) => {
t.tag = e;
}), window.scrollTo({
top: 0,
behavior: "smooth"
});
},
- receipt: (e) => X5.toast({ text: e })
+ receipt: (e) => Z5.toast({ text: e })
}
- }), q7());
+ }), J7());
}
-async function S9(e = null, t = !0) {
- t ? (_9.requestedImmerseId = e, Q.route("/immerse")) : (F5()?.closeMiniplayer(), await (await cit(_9.immerseHost)).open(e));
+async function C9(e = null, t = !0) {
+ t ? (v9.requestedImmerseId = e, Q.route("/immerse")) : (I5()?.closeMiniplayer(), await (await sit(v9.immerseHost)).open(e));
}
-function Wst() {
- _9.total = 0, _9.facets = null, _9.stageHost = {
+function Ust() {
+ v9.total = 0, v9.facets = null, v9.stageHost = {
player: {
settings: () => Z.appSettings,
saveSettings: () => Z.saveSettings(),
- toast: (e, t) => X5.toast({ text: e }, t),
- loadSourceStatus: () => p9(),
+ toast: (e, t) => Z5.toast({ text: e }, t),
+ loadSourceStatus: () => m9(),
offlineReason: (e) => Z.offlineReason(e)
},
sourceOffline: (e) => Z.sourceOffline(e),
expand: (e, t, n) => {
- e === "follow" ? L9(t, !0, n) : b9(t, !0);
+ e === "follow" ? R9(t, !0, n) : x9(t, !0);
},
- openItem: (e) => void b9(e)
- }, _9.stageOpen = () => !!F5()?.isOpen();
+ openItem: (e) => void x9(e)
+ }, v9.stageOpen = () => !!I5()?.isOpen();
}
-function Gst() {
- _9.QUEUE_ROUTES = {
+function Wst() {
+ v9.QUEUE_ROUTES = {
mix: "/mix",
parts: "/parts",
editions: "/editions",
playlist: "/playlists"
- }, _9.itemDetailHelpers = {
+ }, v9.itemDetailHelpers = {
badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),
titleHtml: (e) => bO(e),
displayName: (e) => yO(e),
javImage: () => Z.appSettings.javImage,
tagLabel: (e) => Zs(e),
isDurationTag: (e) => Qt.has(e),
- tagCandidates: () => _9.facets && _9.facets.tags || [],
+ tagCandidates: () => v9.facets && v9.facets.tags || [],
sourceOffline: (e) => Z.sourceOffline(e),
offlineReason: (e) => Z.offlineReason(e),
- relatedSkeletonHtml: () => uU("正在读取推荐", {
+ relatedSkeletonHtml: () => dU("正在读取推荐", {
cards: !0,
className: "related-skeleton"
}),
- mixRelated: (e) => Xot(e),
- wireDrag: (e) => g9(e),
+ mixRelated: (e) => Yot(e),
+ wireDrag: (e) => _9(e),
wireDragReorder: (e, t) => is(e, t)
- }, _9.itemDetailActions = {
- close: () => Ust(),
+ }, v9.itemDetailActions = {
+ close: () => Hst(),
present: (e) => {
Pc({ presentedItem: e });
let t = sc;
Pc({ barsContext: {
type: "item",
id: e.id,
- filters: t?.type === "entity" ? { ...t.filters } : o7.emptyEntityFilters()
- } }), yc && (Q.queueOpenRequest = null, Q.route(`${yc}/${e.id}`, !1, VL("item")), Pc({ pendingQueueRoute: null })), n9();
+ filters: t?.type === "entity" ? { ...t.filters } : s7.emptyEntityFilters()
+ } }), yc && (Q.queueOpenRequest = null, Q.route(`${yc}/${e.id}`, !1, HL("item")), Pc({ pendingQueueRoute: null })), r9();
},
redirect: (e) => {
let t = !!yc;
- e.kind === "follow" && !t && HCe("follow"), e.kind === "follow" ? (Pc({ followDetailReturnPath: mc || "/" }), L9(e.id, !1, null, !0)) : e.kind === "item" ? b9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? A9("/playlists") : Vat() : v9(!1);
+ e.kind === "follow" && !t && VCe("follow"), e.kind === "follow" ? (Pc({ followDetailReturnPath: mc || "/" }), R9(e.id, !1, null, !0)) : e.kind === "item" ? x9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? j9("/playlists") : Bat() : y9(!1);
},
- openQueueItem: (e, t, n = !0) => void y9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
+ openQueueItem: (e, t, n = !0) => void b9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
reopen: () => {
let e = bc;
if (!e) return;
let t = vc;
- t ? y9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : b9(e.id, !1);
+ t ? b9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : x9(e.id, !1);
},
- checkSource: async (e) => (await p9())[e] !== !1,
+ checkSource: async (e) => (await m9())[e] !== !1,
openSavedFollow: () => {
- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", A9(j9());
+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", j9(M9());
},
- openEntity: (e, t) => m7(e, t),
- openUnowned: () => X7({ owner: "none" }, !0),
- openRegion: (e) => X7({ region: e || "none" }, !0),
+ openEntity: (e, t) => h7(e, t),
+ openUnowned: () => Z7({ owner: "none" }, !0),
+ openRegion: (e) => Z7({ region: e || "none" }, !0),
openTag: (e) => {
- $7((t) => {
+ e9((t) => {
t.tag = e;
}), window.scrollTo({
top: 0,
behavior: "smooth"
});
},
- addToPlaylist: (e) => Bat(e),
- saveMix: (e) => zat(e),
- editPlaylist: () => A9("/playlists"),
- openPlaylists: () => A9("/playlists"),
- reveal: (e) => Eat(e),
- sync: (e) => Dat(e),
+ addToPlaylist: (e) => zat(e),
+ saveMix: (e) => Rat(e),
+ editPlaylist: () => j9("/playlists"),
+ openPlaylists: () => j9("/playlists"),
+ reveal: (e) => Tat(e),
+ sync: (e) => Eat(e),
trashChanged: async (e, t) => {
- U.state === "ads" && (t || e === "trash") && (t || (zL(), v9(!0, !1, { miniplayer: !1 })), await a9());
+ U.state === "ads" && (t || e === "trash") && (t || (BL(), y9(!0, !1, { miniplayer: !1 })), await o9());
},
- toast: (e, { undo: t } = {}) => X5.actionReceipt(e, { undo: t }),
- failure: (e, t) => X5.actionFailure(e, t)
- }, _9.immerseHost = {
+ toast: (e, { undo: t } = {}) => Z5.actionReceipt(e, { undo: t }),
+ failure: (e, t) => Z5.actionFailure(e, t)
+ }, v9.immerseHost = {
filters: () => U,
seekSeconds: () => Z.appSettings.seekSeconds,
sourceOffline: (e) => Z.sourceOffline(e),
displayName: (e) => yO(e),
route: (e) => Q.route("/immerse?id=" + e, !0),
- closed: () => X7(),
- openItem: (e) => void b9(e),
- openEntity: (e, t) => m7(e, t),
- openUnowned: () => X7({ owner: "none" }, !0),
- toast: (e, { undo: t } = {}) => X5.actionReceipt(e, { undo: t }),
- warn: (e) => X5.toast({ text: e }, { sound: "warning" }),
- failure: (e, t) => X5.actionFailure(e, t)
- }, _9.immerseOpen = () => !!R5()?.isOpen(), Y5.handler(I("#immerseBtn"), "onclick", () => S9());
+ closed: () => Z7(),
+ openItem: (e) => void x9(e),
+ openEntity: (e, t) => h7(e, t),
+ openUnowned: () => Z7({ owner: "none" }, !0),
+ toast: (e, { undo: t } = {}) => Z5.actionReceipt(e, { undo: t }),
+ warn: (e) => Z5.toast({ text: e }, { sound: "warning" }),
+ failure: (e, t) => Z5.actionFailure(e, t)
+ }, v9.immerseOpen = () => !!z5()?.isOpen(), X5.handler(I("#immerseBtn"), "onclick", () => C9());
}
//#endregion
//#region src/application/tutorial.js
-var C9 = {
+var w9 = {
postSetupTutorialDone: void 0,
postSetupTutorialNeedsReopen: void 0,
postSetupTutorialTasks: void 0,
@@ -97147,29 +97161,29 @@ var C9 = {
readPostSetupTutorialDone: void 0,
openTutorialTarget: void 0
};
-async function Kst() {
- Cs(), await C9.writePostSetupTutorialDone(!1), await w9();
+async function Gst() {
+ Cs(), await w9.writePostSetupTutorialDone(!1), await T9();
}
-async function w9() {
+async function T9() {
let e = I("#postSetupTutorial");
if (!e) return;
let t = () => {
e.hidden = !0, e.innerHTML = "", delete e.dataset.tutorialSignature, e.removeAttribute("aria-busy");
};
- if (C9.postSetupTutorialNeedsReopen && (C9.postSetupTutorialNeedsReopen = !1, await C9.writePostSetupTutorialDone(!1).catch(() => {})), ms() !== "pending" || await C9.readPostSetupTutorialDone()) {
+ if (w9.postSetupTutorialNeedsReopen && (w9.postSetupTutorialNeedsReopen = !1, await w9.writePostSetupTutorialDone(!1).catch(() => {})), ms() !== "pending" || await w9.readPostSetupTutorialDone()) {
t();
return;
}
let n = xs();
e.hidden = !1, e.setAttribute("aria-busy", "true"), e.firstElementChild || (e.innerHTML = `<article class="post-setup-notification post-setup-loading">${L("compass")}<p>正在检查安装进度…</p></article>`);
try {
- let r = await C9.postSetupTutorialTasks();
+ let r = await w9.postSetupTutorialTasks();
if (!Ss(n)) return;
let i = new Set(r.map((e) => e.key)), a = new Set([...vs()].filter((e) => i.has(e)));
ys(a);
let o = r.filter((e) => !a.has(e.key)), s = o.filter((e) => !e.done);
if (!s.length) {
- hs("complete"), t(), await C9.writePostSetupTutorialDone(!0).catch(() => {});
+ hs("complete"), t(), await w9.writePostSetupTutorialDone(!0).catch(() => {});
return;
}
let c = iee(o);
@@ -97177,50 +97191,50 @@ async function w9() {
e.removeAttribute("aria-busy");
return;
}
- e.innerHTML = C9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");
+ e.innerHTML = w9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");
let l = s[0], u = e.querySelector("[data-tutorial-collapse]");
- Y5.handler(u, "onclick", () => {
+ X5.handler(u, "onclick", () => {
let t = e.querySelector(".post-setup-notification"), n = t.dataset.collapsed !== "true";
t.dataset.collapsed = String(n), _s(n), u.setAttribute("aria-expanded", String(!n)), u.setAttribute("aria-label", n ? "展开安装教程" : "折叠安装教程"), u.innerHTML = L(n ? "chevron-up" : "chevron-down");
- }), e.querySelectorAll("[data-tutorial-skip]").forEach((e) => Y5.handler(e, "onclick", () => {
+ }), e.querySelectorAll("[data-tutorial-skip]").forEach((e) => X5.handler(e, "onclick", () => {
let t = vs(), n = e.dataset.tutorialSkip;
- t.add(n), ys(t), X5.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {
+ t.add(n), ys(t), Z5.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {
let e = vs();
- e.delete(n), ys(e), hs("pending"), await w9();
- } }), w9();
+ e.delete(n), ys(e), hs("pending"), await T9();
+ } }), T9();
}));
let d = new Map(o.map((e) => [e.key, e]));
- e.querySelectorAll("[data-tutorial-task]").forEach((e) => Y5.handler(e, "onclick", (t) => {
+ e.querySelectorAll("[data-tutorial-task]").forEach((e) => X5.handler(e, "onclick", (t) => {
let n = d.get(e.dataset.tutorialTask);
- !n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), C9.openTutorialTarget(n));
- })), Y5.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => C9.openTutorialTarget(l));
+ !n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), w9.openTutorialTarget(n));
+ })), X5.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => w9.openTutorialTarget(l));
} catch {
if (!Ss(n)) return;
e.innerHTML = `<article class="post-setup-notification post-setup-error">${L("alert")}
<div><h2>暂时无法检查安装进度</h2><p>切换页面或重新打开后会再检查一次。</p>
<div class="post-setup-error-actions"><button class="geist-button" type="button" data-tutorial-retry>重试</button>
- <button class="geist-button" type="button" data-tutorial-dismiss>关闭</button></div></div></article>`, e.removeAttribute("aria-busy"), Y5.handler(e.querySelector("[data-tutorial-retry]"), "onclick", () => {
- delete e.dataset.tutorialSignature, e.innerHTML = "", w9();
- }), Y5.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);
+ <button class="geist-button" type="button" data-tutorial-dismiss>关闭</button></div></div></article>`, e.removeAttribute("aria-busy"), X5.handler(e.querySelector("[data-tutorial-retry]"), "onclick", () => {
+ delete e.dataset.tutorialSignature, e.innerHTML = "", T9();
+ }), X5.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);
}
}
-function qst() {
- if (Pc({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), C9.postSetupTutorialDone = null, C9.postSetupTutorialNeedsReopen = !1, wc) {
- hs("pending"), C9.postSetupTutorialDone = !1, C9.postSetupTutorialNeedsReopen = !0;
+function Kst() {
+ if (Pc({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), w9.postSetupTutorialDone = null, w9.postSetupTutorialNeedsReopen = !1, wc) {
+ hs("pending"), w9.postSetupTutorialDone = !1, w9.postSetupTutorialNeedsReopen = !0;
let e = new URL(location.href);
- e.searchParams.delete("onboarding"), fR(e, {
+ e.searchParams.delete("onboarding"), pR(e, {
replace: !0,
- state: dR.navigation.location.state
+ state: fR.navigation.location.state
});
}
{
let e = new URL(location.href), t = e.searchParams.get("agentation");
- t === "on" && localStorage.setItem("peach.agentation", "on"), t === "off" && localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), fR(e, {
+ t === "on" && localStorage.setItem("peach.agentation", "on"), t === "off" && localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), pR(e, {
replace: !0,
- state: dR.navigation.location.state
+ state: fR.navigation.location.state
})), localStorage.getItem("peach.agentation") === "on" && import("/dev/agentation.js").catch(() => {});
}
- C9.postSetupTutorialTasks = async () => {
+ w9.postSetupTutorialTasks = async () => {
let { library: e, scraping: t, taste: n, follow: r, credentials: i, review: a } = await vt("/api/post-setup-tutorial"), o = (t.sources || []).filter((e) => e.accepts_cookie).filter((e) => e.cookie_saved), s = (r.sources || []).filter((e) => e.enabled !== !1), c = new Map((i.providers || []).map((e) => [e.provider, e])), l = [...new Set(s.map((e) => e.provider))].map((e) => c.get(e)).filter((e) => e?.requirement === "required"), u = Number(e.total || 0) > 0, d = s.length > 0, f = d && l.every((e) => e.present && !e.missing?.length), p = Object.values(a.counts || {}).reduce((e, t) => e + (Number(t) || 0), 0);
return [
{
@@ -97273,7 +97287,7 @@ function qst() {
icon: "square-check-big"
}
];
- }, C9.postSetupTutorialHtml = (e, t, n) => {
+ }, w9.postSetupTutorialHtml = (e, t, n) => {
let r = [...e].sort((e, t) => Number(e.done) - Number(t.done)), i = e.find((e) => !e.done), a = e.filter((e) => e.done).length + t, o = gs(), s = r.map((e) => `<li class="post-setup-task" data-state="${e.done ? "checked" : "unchecked"}">
<a href="${e.href}" data-tutorial-task="${e.key}">
<span class="post-setup-check" aria-hidden="true">${e.done ? L("check") : L(e.icon)}</span>
@@ -97292,19 +97306,19 @@ function qst() {
<ol class="post-setup-task-list" id="postSetupTaskList">${s}</ol>
<footer><button class="geist-button" type="button" data-tutorial-action="next">继续:${i.label}</button></footer>
</article>`;
- }, C9.writePostSetupTutorialDone = async (e) => {
- C9.postSetupTutorialDone = e, await vt("/api/settings", {
+ }, w9.writePostSetupTutorialDone = async (e) => {
+ w9.postSetupTutorialDone = e, await vt("/api/settings", {
method: "POST",
body: JSON.stringify({ postSetupTutorialDone: e })
});
- }, C9.readPostSetupTutorialDone = async () => {
- if (C9.postSetupTutorialDone === null) try {
- C9.postSetupTutorialDone = (await vt("/api/settings")).postSetupTutorialDone === !0;
+ }, w9.readPostSetupTutorialDone = async () => {
+ if (w9.postSetupTutorialDone === null) try {
+ w9.postSetupTutorialDone = (await vt("/api/settings")).postSetupTutorialDone === !0;
} catch {
- C9.postSetupTutorialDone = !1;
+ w9.postSetupTutorialDone = !1;
}
- return C9.postSetupTutorialDone;
- }, C9.openTutorialTarget = (e) => {
+ return w9.postSetupTutorialDone;
+ }, w9.openTutorialTarget = (e) => {
e.setupEntry && Pc({ cameFromSetup: !0 }), Q.navigatePath(e.href);
};
}
@@ -97329,48 +97343,48 @@ var Q = {
queueOpenRequest: void 0,
initialOverlayOpened: void 0
};
-function Jst() {
- let e = U5();
- e ? e.navChanged() : I("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(G7(e.dataset.nav))));
+function qst() {
+ let e = W5();
+ e ? e.navChanged() : I("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(K7(e.dataset.nav))));
}
-function T9(e = {}) {
+function E9(e = {}) {
let t = Q.surfacePath();
- t !== k7.sidebarSurface && (k7.sidebarSurface = t, k7.sidebarProps = {
- ...k7.sidebarProps,
+ t !== A7.sidebarSurface && (A7.sidebarSurface = t, A7.sidebarProps = {
+ ...A7.sidebarProps,
content: null,
latest: null
- }), k7.sidebarProps = {
- ...k7.sidebarProps,
+ }), A7.sidebarProps = {
+ ...A7.sidebarProps,
...e
- }, U5()?.render(k7.sidebarProps);
-}
-function E9() {
- T9(), Jst(), K7();
+ }, W5()?.render(A7.sidebarProps);
}
function D9() {
+ E9(), qst(), q7();
+}
+function O9() {
Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, Pc({ pendingQueueRoute: null });
}
-function O9(e, t, n) {
- D9(), RL(), Q.requestedOverlay = {
+function k9(e, t, n) {
+ O9(), zL(), Q.requestedOverlay = {
path: e,
open: n
- }, Q.route(e, !1, VL(t));
+ }, Q.route(e, !1, HL(t));
}
-function k9() {
- Q.surfaceEpoch++, X.barsRequestSeq++, T7.syncPageTitle(location.href), T9(), zL(), w9();
+function A9() {
+ Q.surfaceEpoch++, X.barsRequestSeq++, E7.syncPageTitle(location.href), E9(), BL(), T9();
}
-function A9(e) {
+function j9(e) {
Q.route(e), Pc({ pageOpens: Tc + 1 });
}
-function Yst() {
+function Jst() {
Q.routeMeta = (e) => {
- let t = UL(e);
+ let t = WL(e);
return t ? { route: t } : null;
- }, Q.routePathOf = (e, t) => Object.keys(HL).find((n) => HL[n][e] === t), Q.catalogPage = (e) => wt(e) || e === "/trash", Q.managedPagePath = (e) => {
- let t = UL(e);
- return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !PL(e) && e !== "/immerse";
+ }, Q.routePathOf = (e, t) => Object.keys(UL).find((n) => UL[n][e] === t), Q.catalogPage = (e) => wt(e) || e === "/trash", Q.managedPagePath = (e) => {
+ let t = WL(e);
+ return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !FL(e) && e !== "/immerse";
}, Q.openRoutePath = (e) => {
- e === "/immerse" ? S9(Mst()) : e === "/follow" ? I9() : e === "/playlists" || Q.catalogPage(e) ? A9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/follow-manage" ? C7() : e) : (y7(!1, !0), A9(lot({
+ e === "/immerse" ? C9(jst()) : e === "/follow" ? L9() : e === "/playlists" || Q.catalogPage(e) ? j9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/follow-manage" ? w7() : e) : (b7(!1, !0), j9(cot({
kind: e.slice(1),
q: "",
scope: "local",
@@ -97379,35 +97393,35 @@ function Yst() {
})));
};
}
-function Xst() {
+function Yst() {
Q.surfaceEpoch = 0, Q.surfacePath = () => decodeURIComponent(location.pathname), Q.surfaceRequests = null, Q.surfaceToken = (e) => ({
epoch: Q.surfaceEpoch,
path: e,
signal: Q.surfaceRequests?.signal
- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (hat(e) || rR(I("#libraryProcessingNotice")), i7(e) || a7(), rR(I("#stats"), I("#index")), !wt(e) && e !== "/trash" && o9(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
- Q.surfaceEpoch++, X.barsRequestSeq++, fR(e, {
+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (mat(e) || iR(I("#libraryProcessingNotice")), a7(e) || o7(), iR(I("#stats"), I("#index")), !wt(e) && e !== "/trash" && s9(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
+ Q.surfaceEpoch++, X.barsRequestSeq++, pR(e, {
replace: t,
state: n
- }), T7.syncPageTitle(e), queueMicrotask(() => {
- K7(), R7(), T9(), w9();
+ }), E7.syncPageTitle(e), queueMicrotask(() => {
+ q7(), z7(), E9(), T9();
});
}, Q.navigatePath = (e, t = !1, n) => {
- t ? dR.replace(e, n) : dR.push(e, n), queueMicrotask(() => {
- K7(), R7();
+ t ? fR.replace(e, n) : fR.push(e, n), queueMicrotask(() => {
+ q7(), z7();
});
}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;
}
//#endregion
//#region src/jobs.ts
-function Zst(e, t, n) {
+function Xst(e, t, n) {
if (!Number.isFinite(n) || n <= 0) return "";
let r = Math.max(0, Math.min(n, Number.isFinite(t) ? t : 0)), i = r / n * 100;
return `<div class="ui-board-job-progress" role="progressbar" aria-label="${R(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${R(e)}<small>${Math.round(i)}%</small></span></div>`;
}
-function Qst(e, t = 0, n = 0) {
- return n > 0 ? Zst(e, t, n) : eo(e);
+function Zst(e, t = 0, n = 0) {
+ return n > 0 ? Xst(e, t, n) : eo(e);
}
-async function $st(e) {
+async function Qst(e) {
let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;
for (; e.active();) {
let r;
@@ -97422,14 +97436,14 @@ async function $st(e) {
await t(2e3);
}
}
-function ect(e) {
+function $st(e) {
let t = e.note || ((e) => Qa(e, {
label: "任务状态",
variant: "error"
- })), n = e.loading || eo, r = e.progress || ((e, t, n) => Qst(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");
+ })), n = e.loading || eo, r = e.progress || ((e, t, n) => Zst(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");
e.host.hidden = !0, a.dataset.followJob = "", a.setAttribute("aria-live", "polite"), e.host.prepend(a);
let o = e.storageKey || "peach-follow-job", s = sessionStorage.getItem(o) || void 0, c = !1;
- $st({
+ Qst({
read: e.read,
active: () => !c && e.active() && a.isConnected,
keepWatching: e.watchIdle !== !1,
@@ -97479,25 +97493,25 @@ var $ = {
FOLLOW_MANAGE_TABS: void 0,
followSidebarFilters: void 0
};
-function tct(e) {
+function ect(e) {
let t = (e.results || []).filter((e) => !e.ok).length;
- X5.toast({ text: Mr(e) }, {
+ Z5.toast({ text: Mr(e) }, {
warn: !!t,
timeout: t ? 8e3 : 6e3,
sound: t ? "warning" : "success",
action: {
label: "查看",
- run: () => I9(!0)
+ run: () => L9(!0)
}
});
}
-function j9() {
- return yi(M9());
+function M9() {
+ return yi(N9());
}
-function nct() {
+function tct() {
return $.controller.read();
}
-function M9() {
+function N9() {
return {
status: $.followFilter,
media: $.followMediaView,
@@ -97512,33 +97526,33 @@ function M9() {
seed: $.followSeed
};
}
-function N9(e) {
+function P9(e) {
$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;
}
-function rct() {
- let e = ZL(I("#stats"));
+function nct() {
+ let e = QL(I("#stats"));
return e && e.path === "/follow" && e.host.isConnected ? e : null;
}
-function P9() {
- return !!rct();
+function F9() {
+ return !!nct();
}
-function F9(e) {
- P9() && nR(I("#stats"), e);
+function I9(e) {
+ F9() && rR(I("#stats"), e);
}
-function ict(e, t = {}) {
+function rct(e, t = {}) {
return $.controller.route(e, t);
}
-function I9(e = !1) {
+function L9(e = !1) {
$.controller.enter(e);
}
-async function L9(e, t = !0, n = null, r = !1) {
+async function R9(e, t = !0, n = null, r = !1) {
if (t) {
- !location.pathname.startsWith("/follow/item/") && !r && Pc({ followDetailReturnPath: location.pathname + location.search }), O9(`/follow/item/${+e}`, "follow", () => L9(e, !1, n, r));
+ !location.pathname.startsWith("/follow/item/") && !r && Pc({ followDetailReturnPath: location.pathname + location.search }), k9(`/follow/item/${+e}`, "follow", () => R9(e, !1, n, r));
return;
}
Ks(), e = +e;
let i = !location.pathname.startsWith("/follow/item/");
- t && i && !r && Pc({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Pc({ followDetailReturnPath: BL() || "/follow" }), t && RL(), F5()?.showing() !== "follow" && v9(!1, !1, { miniplayer: !1 }), t && Q.route(`/follow/item/${e}`, !1, VL("follow")), await (await P5(_9.stageHost)).open({
+ t && i && !r && Pc({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Pc({ followDetailReturnPath: VL() || "/follow" }), t && zL(), I5()?.showing() !== "follow" && y9(!1, !1, { miniplayer: !1 }), t && Q.route(`/follow/item/${e}`, !1, HL("follow")), await (await F5(v9.stageHost)).open({
kind: "follow",
id: e,
mediaIndex: n,
@@ -97546,67 +97560,67 @@ async function L9(e, t = !0, n = null, r = !1) {
relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,
helpers: $.followFeedHelpers,
actions: $.followDetailActions,
- resume: t ? null : Fst()
- }), q7();
+ resume: t ? null : Pst()
+ }), J7();
}
-async function act() {
- await Ist(), v9(!1, !1, { miniplayer: !1 }), zL(), Q.route(xc || "/follow"), !(o7.entityPageView && o7.entityPageCurrent() && !I("#index").hidden) && (location.pathname === "/follow" && P9() ? (nct(), F9({ view: M9() })) : Pc({ pageOpens: Tc + 1 }));
+async function ict() {
+ await Fst(), y9(!1, !1, { miniplayer: !1 }), BL(), Q.route(xc || "/follow"), !(s7.entityPageView && s7.entityPageCurrent() && !I("#index").hidden) && (location.pathname === "/follow" && F9() ? (tct(), I9({ view: N9() })) : Pc({ pageOpens: Tc + 1 }));
}
-function oct(e) {
+function act(e) {
let t = document.createElement("div");
return t.className = "peach-react", po(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-function sct() {
+function oct() {
$.followFeedHelpers = $s({
wireDrag: (e) => {
- e && g9(e);
+ e && _9(e);
},
wireScroller: (e) => {
e && Po(e);
},
listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),
- jobProgress: ect
+ jobProgress: $st
}), $.followFeedActions = {
- loaded: (e) => xot(e),
- openDetail: (e) => L9(e),
+ loaded: (e) => bot(e),
+ openDetail: (e) => R9(e),
openAuthor: (e) => Q.navigatePath(`/creators/${encodeURIComponent(e)}`),
- openManage: () => Q.navigatePath(C7()),
- toggleSelection: (e, t) => Xat(e, t),
+ openManage: () => Q.navigatePath(w7()),
+ toggleSelection: (e, t) => Yat(e, t),
setImagesOnly: (e) => {
- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), f7();
+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), p7();
},
setPhotoLayout: (e) => {
- GT(e), f7();
+ GT(e), p7();
},
- canFlip: () => !uc && !h9() && !window.__scrolling && !X.reduceMotion(),
- toast: (e, { undo: t } = {}) => X5.actionReceipt(e, { undo: t }),
- failure: (e, t) => X5.actionFailure(e, t),
- checkReport: (e) => tct(e)
+ canFlip: () => !uc && !g9() && !window.__scrolling && !X.reduceMotion(),
+ toast: (e, { undo: t } = {}) => Z5.actionReceipt(e, { undo: t }),
+ failure: (e, t) => Z5.actionFailure(e, t),
+ checkReport: (e) => ect(e)
}, $.followFeedShell = {
skeleton: () => $.followSkeletonHtml("正在读取关注内容"),
ground: () => {
- F5()?.showing() !== "follow" && (Ks(), v9(!1), j7(), !P9() && (Q.claimSurface(Q.surfacePath()), A7({ manage: !1 }), I("#stats").querySelector(".peach-react") && rR(I("#stats")), I("#stats").replaceChildren()));
+ I5()?.showing() !== "follow" && (Ks(), y9(!1), M7(), !F9() && (Q.claimSurface(Q.surfacePath()), j7({ manage: !1 }), I("#stats").querySelector(".peach-react") && iR(I("#stats")), I("#stats").replaceChildren()));
}
}, $.followDetailActions = ac({
- view: M9,
- adoptView: N9,
+ view: N9,
+ adoptView: P9,
rememberReturn: (e) => Pc({ followDetailReturnPath: e }),
- close: () => void act(),
- open: (e, t, n) => void L9(e, !0, t, n),
- drawer: xot,
+ close: () => void ict(),
+ open: (e, t, n) => void R9(e, !0, t, n),
+ drawer: bot,
openAuthor: (e) => Q.navigatePath(`/creators/${encodeURIComponent(e)}`)
}, {
- toast: (e, { undo: t } = {}) => X5.actionReceipt(e, { undo: t }),
- failure: X5.actionFailure
+ toast: (e, { undo: t } = {}) => Z5.actionReceipt(e, { undo: t }),
+ failure: Z5.actionFailure
});
}
-function cct() {
+function sct() {
$.controller = Si({
location: () => location,
- view: M9,
- adoptView: N9,
+ view: N9,
+ adoptView: P9,
session: () => ({
discoverySeed: Oc,
revision: kc,
@@ -97624,16 +97638,16 @@ function cct() {
photoLayout: BT(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
- live: P9,
- push: F9,
+ live: F9,
+ push: I9,
route: Q.route,
- openPage: A9,
- rollSeed: () => Number(X5.rollSeed()),
+ openPage: j9,
+ rollSeed: () => Number(Z5.rollSeed()),
enterSeed: () => Math.floor(Math.random() * 4294967295),
revealFeed: () => {
- Ks(), j7(), A7({ manage: !1 });
+ Ks(), M7(), j7({ manage: !1 });
},
- syncPhotoWalls: f7,
+ syncPhotoWalls: p7,
scrollTop: () => window.scrollTo({
top: 0,
behavior: "smooth"
@@ -97642,20 +97656,20 @@ function cct() {
}
//#endregion
//#region src/application/lifecycle.js
-var R9 = { overlayScan: void 0 };
-function lct() {
- sxe(), Zo(document), va(document.documentElement, { variant: "page" }), va(I("#drawerScroll")), R9.overlayScan = 0, Y5.mutation(() => {
- R9.overlayScan ||= Y5.delay(() => {
- R9.overlayScan = 0, Jo();
+var z9 = { overlayScan: void 0 };
+function cct() {
+ oxe(), Zo(document), va(document.documentElement, { variant: "page" }), va(I("#drawerScroll")), z9.overlayScan = 0, X5.mutation(() => {
+ z9.overlayScan ||= X5.delay(() => {
+ z9.overlayScan = 0, Jo();
});
}).observe(document.body, {
childList: !0,
subtree: !0
- }), Jo(), Pi(document.body), X.homeHasFeed = null, X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, k7.sidebarProps = {
+ }), Jo(), Pi(document.body), X.homeHasFeed = null, X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, A7.sidebarProps = {
content: null,
filters: {},
latest: null
- }, k7.sidebarSurface = "", k7.sidebarCatalog = null, k7.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [
+ }, A7.sidebarSurface = "", A7.sidebarCatalog = null, A7.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [
["new", "更新时间"],
["hot", "热度"],
["dur", "时长"]
@@ -97663,7 +97677,7 @@ function lct() {
}
//#endregion
//#region src/application/search-morph.js
-function uct(e, t, n, r, i, a, o) {
+function lct(e, t, n, r, i, a, o) {
let s = a.startsWith("linear(") ? a.slice(7, -1).split(",").map(Number) : [0, 1];
return s.map((a, c) => {
let l = c / (s.length - 1), u = (e, t) => e + (t - e) * a, d = Math.max(8, Math.min(o - 44, u(e.left, t.left))), f = Math.max(36, Math.min(o - 8 - d, u(e.width, t.width))), p = u(e.height, t.height) + Math.sin(Math.PI * l) * t.height * .12, m = u(e.top + e.height / 2, t.top + t.height / 2);
@@ -97679,60 +97693,60 @@ function uct(e, t, n, r, i, a, o) {
}
//#endregion
//#region src/application/search.js
-var z9 = {
+var B9 = {
searchControl: void 0,
searchActions: void 0,
searchHelpers: void 0,
searchMorph: void 0,
searchMorphViewport: void 0
};
-function B9() {
- z9.searchControl?.close();
+function V9() {
+ B9.searchControl?.close();
}
-function dct(e) {
+function uct(e) {
let t = e ? Gi({
...e,
is_jav: !!e.code
}, Z.appSettings.javImage) : "";
return t === "cover" ? ca(e, "big") : t ? `<img class="poster still" src="/poster?id=${e.id}&c=4" width="640" height="360" alt="" loading="lazy" data-drop="self">` : "<span class=\"nopic\">无预览</span>";
}
-function V9() {
- z9.searchMorph?.cancel(), z9.searchMorph = null, I(".search").classList.remove("search-morphing");
+function H9() {
+ B9.searchMorph?.cancel(), B9.searchMorph = null, I(".search").classList.remove("search-morphing");
}
-function H9(e) {
+function U9(e) {
let t = I(".search"), n = I("#searchBtn");
if (t.classList.contains("open") === e) return;
- let r = !!z9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);
- V9(), t.classList.remove("open");
+ let r = !!B9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);
+ H9(), t.classList.remove("open");
let o = n.getBoundingClientRect();
if (t.classList.toggle("open", e), I("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;
let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = Wo();
t.classList.add("search-morphing");
- let h = t.animate(uct(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
+ let h = t.animate(lct(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
duration: m.duration,
easing: "linear",
fill: "both"
});
- z9.searchMorph = h, Y5.handler(h, "onfinish", () => {
- z9.searchMorph === h && V9();
+ B9.searchMorph = h, X5.handler(h, "onfinish", () => {
+ B9.searchMorph === h && H9();
});
}
-function fct() {
- return _9.immerseOpen() ? R5().activeVideo() : F5()?.activeVideo() || null;
+function dct() {
+ return v9.immerseOpen() ? z5().activeVideo() : I5()?.activeVideo() || null;
}
-function pct(e) {
+function fct(e) {
return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);
}
-function mct() {
- z9.searchControl = null, z9.searchActions = {
+function pct() {
+ B9.searchControl = null, B9.searchActions = {
search: (e) => {
- X.rememberSearchValue(), v9(!1), U.q = e, Fc(), Q.route(U.jav === "1" ? Y7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);
+ X.rememberSearchValue(), y9(!1), U.q = e, Fc(), Q.route(U.jav === "1" ? X7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);
},
- openItem: (e) => b9(e),
- openEntity: (e, t) => m7(e, t)
- }, z9.searchHelpers = {
- pool: () => Wot(U, vt),
- coverHtml: (e) => `<span class="pic">${dct(e)}</span>`,
+ openItem: (e) => x9(e),
+ openEntity: (e, t) => h7(e, t)
+ }, B9.searchHelpers = {
+ pool: () => Uot(U, vt),
+ coverHtml: (e) => `<span class="pic">${uct(e)}</span>`,
present: (e) => Ba(e),
dismiss: (e) => Va(e),
wireScroller: (e) => Po(e),
@@ -97747,68 +97761,68 @@ function mct() {
text: e.value,
scrollLeft: e.scrollLeft || X.searchValueSnapshot.scrollLeft
})
- }, tR("search", {
+ }, nR("search", {
input: I("#q"),
historyLimit: Z.appSettings.searchHistoryLimit,
- actions: z9.searchActions,
- helpers: z9.searchHelpers,
+ actions: B9.searchActions,
+ helpers: B9.searchHelpers,
expose: (e) => {
- z9.searchControl = e;
+ B9.searchControl = e;
}
}, {
container: I("#searchMenu"),
isCurrent: () => !0
- }), Y5.listen(I("#q"), "beforeinput", (e) => {
+ }), X5.listen(I("#q"), "beforeinput", (e) => {
e.isComposing || X.rememberSearchValue(e.currentTarget);
- }), Y5.listen(I("#q"), "scroll", (e) => {
+ }), X5.listen(I("#q"), "scroll", (e) => {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
- }), Y5.listen(I("#q"), "pointerdown", (e) => {
+ }), X5.listen(I("#q"), "pointerdown", (e) => {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
});
}
-function hct() {
- z9.searchMorph = null, z9.searchMorphViewport = innerWidth, Y5.listen.bind(Y5, window)("resize", () => {
- innerWidth !== z9.searchMorphViewport && (z9.searchMorphViewport = innerWidth, V9());
- }, { passive: !0 }), Y5.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", V9), Y5.handler(I("#searchBtn"), "onclick", () => {
- H9(!0), I("#q").focus({ preventScroll: !0 });
- }), Y5.handler(I("#searchBack"), "onclick", () => {
- H9(!1), B9(), I("#q").blur(), I("#searchBtn").focus({ preventScroll: !0 });
- }), Y5.listen(I("#q"), "blur", () => Y5.delay(() => {
- document.activeElement !== I("#q") && (!I("#q").value && !I("#searchMenu").matches(":hover") && H9(!1), B9());
- }, 140)), Y5.listen(document, "pointerdown", (e) => {
- e.target.closest(".search") || B9();
- }, !0), Y5.handler(I("#brandHome"), "onclick", (e) => {
- e.preventDefault(), X7(null, !0);
- }), Y5.listen(document, "keydown", (e) => {
+function mct() {
+ B9.searchMorph = null, B9.searchMorphViewport = innerWidth, X5.listen.bind(X5, window)("resize", () => {
+ innerWidth !== B9.searchMorphViewport && (B9.searchMorphViewport = innerWidth, H9());
+ }, { passive: !0 }), X5.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", H9), X5.handler(I("#searchBtn"), "onclick", () => {
+ U9(!0), I("#q").focus({ preventScroll: !0 });
+ }), X5.handler(I("#searchBack"), "onclick", () => {
+ U9(!1), V9(), I("#q").blur(), I("#searchBtn").focus({ preventScroll: !0 });
+ }), X5.listen(I("#q"), "blur", () => X5.delay(() => {
+ document.activeElement !== I("#q") && (!I("#q").value && !I("#searchMenu").matches(":hover") && U9(!1), V9());
+ }, 140)), X5.listen(document, "pointerdown", (e) => {
+ e.target.closest(".search") || V9();
+ }, !0), X5.handler(I("#brandHome"), "onclick", (e) => {
+ e.preventDefault(), Z7(null, !0);
+ }), X5.listen(document, "keydown", (e) => {
if (e.key === "Escape") {
- let t = uit();
+ let t = lit();
if (t?.isOpen()) {
t.close();
return;
}
if (!I("#searchMenu").hidden) {
- B9();
+ V9();
return;
}
- if (_9.immerseOpen()) {
- R5().close();
+ if (v9.immerseOpen()) {
+ z5().close();
return;
}
- if (_9.stageOpen()) {
- e.defaultPrevented || (e.preventDefault(), F5().requestClose());
+ if (v9.stageOpen()) {
+ e.defaultPrevented || (e.preventDefault(), I5().requestClose());
return;
}
if (I("#drawer").classList.contains("open")) {
- P7(!1);
+ F7(!1);
return;
}
if (uc || cc.size || lc.size) {
- y7(!1, !0);
+ b7(!1, !0);
return;
}
return;
}
- if (pct(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
+ if (fct(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
let t = document.querySelector(`#stage[open] [data-media-carousel]:not([data-carousel-video-active]) [data-follow-image-step="${e.key === "ArrowRight" ? 1 : -1}"]`);
if (t) {
@@ -97816,10 +97830,10 @@ function hct() {
return;
}
}
- let t = fct();
+ let t = dct();
if (t) {
if (e.key === "t" || e.key === "T") {
- e.preventDefault(), F5()?.toggleTheater();
+ e.preventDefault(), I5()?.toggleTheater();
return;
}
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
@@ -97839,7 +97853,7 @@ function hct() {
return;
}
if (e.key === "i" || e.key === "I") {
- e.preventDefault(), F5()?.toggleMiniplayer();
+ e.preventDefault(), I5()?.toggleMiniplayer();
return;
}
}
@@ -97847,62 +97861,62 @@ function hct() {
}
//#endregion
//#region src/application/composition.js
-var U9 = {
+var W9 = {
shellActions: void 0,
routing: void 0
};
-function gct() {
- let e = Y5;
- T7.entityShapesReady = r7(), got(), Dot(), U9.shellActions = {
- openItem: (e) => void b9(e),
- openEntity: (e, t) => void m7(e, t),
+function hct() {
+ let e = X5;
+ E7.entityShapesReady = i7(), hot(), Eot(), W9.shellActions = {
+ openItem: (e) => void x9(e),
+ openEntity: (e, t) => void h7(e, t),
openTag: (e) => {
- bot(), r9(e);
+ yot(), i9(e);
},
- openTasteSignal: Lat,
+ openTasteSignal: Iat,
navigate: (e) => {
let t = /^\/jav\/movie\/([A-Za-z0-9_-]{2,64})$/.exec(e), n = /^\/item\/(\d+)$/.exec(e);
- t ? x9(t[1]) : n ? b9(+n[1]) : Q.navigatePath(e);
+ t ? S9(t[1]) : n ? x9(+n[1]) : Q.navigatePath(e);
},
- openManage: z7,
+ openManage: B7,
managePath: (e) => Q.routePathOf("section", e) || "",
- openFollow: () => I9(),
- receipt: (e, t) => X5.actionReceipt(e, t),
- toast: (e, t) => X5.toast(e, t),
- failure: X5.actionFailure,
- revealSource: Eat,
- reopenTutorial: Kst,
+ openFollow: () => L9(),
+ receipt: (e, t) => Z5.actionReceipt(e, t),
+ toast: (e, t) => Z5.toast(e, t),
+ failure: Z5.actionFailure,
+ revealSource: Tat,
+ reopenTutorial: Gst,
requestConfigurationSection: (e) => {
Pc({ configurationRequestedSection: e });
},
- routeReview: Hat,
- routeFollowManage: sot,
+ routeReview: Vat,
+ routeFollowManage: oot,
saveFollowPreference: (e) => {
e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();
},
srcBadge: (e, t) => Z.srcBadge(e, t),
- routeIndex: (e, { replace: t = !1 } = {}) => Q.route(lot(e), t),
+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(cot(e), t),
savePeopleLayout: ({ layout: e }) => {
Z.appSettings.peopleLayout = e, Z.saveSettings();
},
- exitSelectMode: () => y7(!1, !1),
- personAvatar: (e, t, n) => S7.personAvatar(e, t, n),
- authorAvatar: (e) => cot(e),
- showIndexTags: uot,
- openFollowAuthor: dot,
- openFollowTag: fot,
- openPlaylist: (e, t) => void Vst(e, t, !0),
- canFlip: () => !uc && !h9() && !window.__scrolling && !X.reduceMotion(),
+ exitSelectMode: () => b7(!1, !1),
+ personAvatar: (e, t, n) => C7.personAvatar(e, t, n),
+ authorAvatar: (e) => sot(e),
+ showIndexTags: lot,
+ openFollowAuthor: uot,
+ openFollowTag: dot,
+ openPlaylist: (e, t) => void Bst(e, t, !0),
+ canFlip: () => !uc && !g9() && !window.__scrolling && !X.reduceMotion(),
surfaceChanged: (e, t) => {
e === "entity" ? (Ks(), Pc({ barsContext: {
type: "home",
filters: U
- } }), M7(), document.body.classList.add("entity-open"), e9(), w7()) : e === "index" ? (Ks(), document.body.classList.remove("entity-open"), Q.claimSurface(t), M7(), document.body.classList.add("index-open"), e9(), w7()) : (Ks(), Q.claimSurface(t), e === "catalog" ? M7() : (j7(), A7({ manage: e === "management" })));
+ } }), N7(), document.body.classList.add("entity-open"), t9(), T7()) : e === "index" ? (Ks(), document.body.classList.remove("entity-open"), Q.claimSurface(t), N7(), document.body.classList.add("index-open"), t9(), T7()) : (Ks(), Q.claimSurface(t), e === "catalog" ? N7() : (M7(), j7({ manage: e === "management" })));
},
clearSearch: () => X.clearSearchField(),
openImmerse: (e) => {
- let t = _9.requestedImmerseId === void 0 ? e : _9.requestedImmerseId;
- _9.requestedImmerseId = void 0, S9(t, !1);
+ let t = v9.requestedImmerseId === void 0 ? e : v9.requestedImmerseId;
+ v9.requestedImmerseId = void 0, C9(t, !1);
},
openQueueRequest: () => {
let e = Q.requestedQueue;
@@ -97910,10 +97924,10 @@ function gct() {
},
openOverlay: (e) => {
let t = Q.requestedOverlay;
- Q.requestedOverlay = null, dR.navigation.claimed && (!pR() || Q.initialOverlayOpened) ? t?.path === location.pathname && t.open() : (pR() && (Q.initialOverlayOpened = !0), e.kind === "item" ? b9(e.id, !1) : e.kind === "jav" ? x9(e.code, !1) : e.kind === "follow" ? L9(e.id, !1) : y9(e.queue, e.key, e.item, !1));
+ Q.requestedOverlay = null, fR.navigation.claimed && (!mR() || Q.initialOverlayOpened) ? t?.path === location.pathname && t.open() : (mR() && (Q.initialOverlayOpened = !0), e.kind === "item" ? x9(e.id, !1) : e.kind === "jav" ? S9(e.code, !1) : e.kind === "follow" ? R9(e.id, !1) : b9(e.queue, e.key, e.item, !1));
},
closeStage: () => {
- _9.stageOpen() && v9(!1);
+ v9.stageOpen() && y9(!1);
},
grid: {
helpers: X.gridHelpers,
@@ -97921,59 +97935,59 @@ function gct() {
},
configurable: () => !!Cc,
surfaceShown: (e) => {
- e === "index" ? (E9(), q7()) : n9();
+ e === "index" ? (D9(), J7()) : r9();
},
entity: {
- loading: (e, t, n) => o7.application.loading(e, t, n),
- props: (e, t, n) => o7.application.addressProps(e, t, n),
+ loading: (e, t, n) => s7.application.loading(e, t, n),
+ props: (e, t, n) => s7.application.addressProps(e, t, n),
refresh: (e, t, n) => {
- let r = o7.parseEntityFilters(n);
+ let r = s7.parseEntityFilters(n);
e === "creator" && (r.creator = "");
- let i = l7();
- return i.type !== "entity" || i.kind !== e || i.name !== t || !u7(e, t, r, o7.parseMediaView(n), { push: !1 }) ? !1 : (Z7(r), Q7(l7()), !0);
+ let i = u7();
+ return i.type !== "entity" || i.kind !== e || i.name !== t || !d7(e, t, r, s7.parseMediaView(n), { push: !1 }) ? !1 : (Q7(r), $7(u7()), !0);
}
},
follow: $.followFeedShell,
catalog: {
- defaultLoc: () => qot("local,115"),
+ defaultLoc: () => Kot("local,115"),
open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {
- n && (k9(), K7(), R7()), t && $5(), e === "/trash" ? (X.clearSearchField(), M7()) : (I("#q").value = U.q, X.rememberSearchValue()), E9(), n9(), Z.handOff(a9());
+ n && (A9(), q7(), z7()), t && e7(), e === "/trash" ? (X.clearSearchField(), N7()) : (I("#q").value = U.q, X.rememberSearchValue()), D9(), r9(), Z.handOff(o9());
},
load: () => {
- Z.handOff(a9());
+ Z.handOff(o9());
},
fill: () => {
- if (c9() || !pR() && !I("#grid").querySelector(".catalog-skeleton")) return;
+ if (l9() || !mR() && !I("#grid").querySelector(".catalog-skeleton")) return;
let e = I("#count");
- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), mst(Q.surfaceToken(Q.surfacePath()));
+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), pst(Q.surfaceToken(Q.surfacePath()));
},
release: () => {
- o9(), a7(), rR(I("#libraryProcessingNotice"));
+ s9(), o7(), iR(I("#libraryProcessingNotice"));
}
}
- }, U9.routing = !1, Y5.own(dR.listen((e) => {
- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !PL(e.location.pathname) && v9(!1), U9.routing && !e.claimed && k9();
- })), oit(U9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), Aot(), tot(), I7(), Promise.all([
- p9(),
- Oot(),
- T7.entityShapesReady
- ]).then(() => e.isActive && T7.wantsDiscoveryBars() ? n9() : null).then(() => {
- e.isActive && (E9(), jst(), U9.routing = !0, Pc({ pageOpens: 1 }), k9(), q7());
+ }, W9.routing = !1, X5.own(fR.listen((e) => {
+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !FL(e.location.pathname) && y9(!1), W9.routing && !e.claimed && A9();
+ })), ait(W9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), kot(), eot(), L7(), Promise.all([
+ m9(),
+ Dot(),
+ E7.entityShapesReady
+ ]).then(() => e.isActive && E7.wantsDiscoveryBars() ? r9() : null).then(() => {
+ e.isActive && (D9(), Ast(), W9.routing = !0, Pc({ pageOpens: 1 }), A9(), J7());
}).catch((t) => {
e.isActive && console.error("应用启动失败", t);
});
}
//#endregion
//#region src/theme-transition.ts
-var W9 = !1;
-async function _ct(e, t) {
- if (W9) return;
+var G9 = !1;
+async function gct(e, t) {
+ if (G9) return;
if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {
t();
return;
}
let n = e.getBoundingClientRect(), r = n.left + n.width / 2, i = n.top + n.height / 2, a = Math.hypot(Math.max(r, innerWidth - r), Math.max(i, innerHeight - i)) * 2.5, o = document.createElement("style");
- o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, W9 = !0, document.head.append(o);
+ o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, G9 = !0, document.head.append(o);
let s = document.documentElement;
s.dataset.themeSnapshot = "true";
let c = !1, l = () => {
@@ -97984,14 +97998,14 @@ async function _ct(e, t) {
} catch {
l();
} finally {
- delete s.dataset.themeSnapshot, o.remove(), W9 = !1;
+ delete s.dataset.themeSnapshot, o.remove(), G9 = !1;
}
}
//#endregion
//#region src/application/chrome.js
-function vct() {
+function _ct() {
(() => {
- let e = Y5, t = [
+ let e = X5, t = [
"#brandHome",
"#filterBtn",
"#settingsBtn"
@@ -98064,7 +98078,7 @@ function vct() {
o.className = "mark", o.setAttribute("aria-hidden", "true"), o.innerHTML = a(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(o), l.innerHTML = `<p>媒体库</p><div class="board-library-rows">${n.map(([e, t, n]) => `<button type="button" data-library="${R(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${a(n)}</span><span>${R(t)}</span></button>`).join("")}</div><footer><button type="button" class="geist-button primary" data-library-manage>管理媒体库</button></footer>`, l.querySelectorAll("[data-library]").forEach((t) => e.handler(t, "onclick", () => {
sessionStorage.setItem("peach.library", t.dataset.library), location.assign("/");
})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {
- d.setOpen(!1), P7(!1), Uat("媒体库与入库");
+ d.setOpen(!1), F7(!1), Hat("媒体库与入库");
});
let s = l.querySelector(".board-library-rows");
e.listen(s, "pointerover", (e) => {
@@ -98081,18 +98095,18 @@ function vct() {
h.before(g), e.own(() => g.remove());
let _ = document.createElement("div");
_.className = "board-sidebar-foot", e.own(() => _.remove()), _.innerHTML = `<div class="board-theme-toggle" role="group" aria-label="明暗主题"><span class="board-theme-thumb" aria-hidden="true"></span><button type="button" data-board-theme="light" aria-label="浅色主题">${L("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${L("moon")}</button></div>`, _.insertAdjacentHTML("beforeend", "<div class=\"board-foot-actions\"><button type=\"button\" class=\"board-glow-toggle\" id=\"boardGlowBtn\" aria-label=\"光晕配色\" aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"boardGlowMenu\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#ri-palette-line\"/></svg><span class=\"board-glow-mark\" aria-hidden=\"true\"><span class=\"board-glow-mark-glow\"></span><span class=\"board-glow-mark-accent\"></span></span></button></div>"), _.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(_), _.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {
- t.getAttribute("aria-pressed") !== "true" && _ct(t, () => {
+ t.getAttribute("aria-pressed") !== "true" && gct(t, () => {
Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), OT();
});
})), OT();
let v = document.createElement("div");
v.className = "popmenu board-glow-menu", v.id = "boardGlowMenu", v.hidden = !0, v.setAttribute("popover", "manual"), v.setAttribute("role", "dialog"), v.setAttribute("aria-label", "配色"), document.body.append(v), e.own(() => v.remove());
let y = _.querySelector("#boardGlowBtn"), b = Wa(_, y, v);
- e.own(b.dispose), e.own(oce(y)), git({
+ e.own(b.dispose), e.own(oce(y)), hit({
root: v,
store: Z.settingsStore,
openDetails: () => {
- e.isActive && (b.setOpen(!1), P7(!1), Tot("外观与导航").then((t) => {
+ e.isActive && (b.setOpen(!1), F7(!1), wot("外观与导航").then((t) => {
e.isActive && t.reveal("#homeGlowControls");
}));
}
@@ -98104,17 +98118,17 @@ function vct() {
let t = document.querySelector("#drawerScroll > [data-sidebar-head]"), n = document.querySelector("#drawer");
if (!t) return;
c.setAttribute("aria-label", "选择媒体库"), c.parentElement !== t && t.prepend(c);
- let r = n.classList.contains("open"), i = !N7();
+ let r = n.classList.contains("open"), i = !P7();
i || r ? h.parentElement !== t && t.append(h) : h.parentElement !== g.parentElement && g.after(h), n.inert = !i && !r;
}
- Z.placeSidebarHead = x, x(), e.listen(document, "board:sidebar", x), e.listen.bind(Y5, window)("resize", x);
+ Z.placeSidebarHead = x, x(), e.listen(document, "board:sidebar", x), e.listen.bind(X5, window)("resize", x);
let S = !1;
function C() {
S = !1, document.body.classList.toggle("board-scrolled", scrollY > 8);
}
- if (e.listen.bind(Y5, window)("scroll", () => {
+ if (e.listen.bind(X5, window)("scroll", () => {
S || (S = !0, e.frame(C));
- }, { passive: !0 }), e.listen.bind(Y5, window)("resize", C), C(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {
+ }, { passive: !0 }), e.listen.bind(X5, window)("resize", C), C(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {
let t = "http://www.w3.org/2000/svg", n = document.createElementNS(t, "svg");
n.setAttribute("width", "0"), n.setAttribute("height", "0"), n.setAttribute("aria-hidden", "true"), n.style.position = "fixed", n.style.pointerEvents = "none";
let r = document.createElementNS(t, "defs");
@@ -98189,35 +98203,35 @@ function vct() {
subtree: !0
}), f();
}
- })(), P7(!N7() && sessionStorage.getItem("board.sidebar") !== "closed");
+ })(), F7(!P7() && sessionStorage.getItem("board.sidebar") !== "closed");
}
//#endregion
//#region src/application/initialize.js
-function yct() {
- lct(), Yst(), _ot(), Xst(), Nst(), bit(), Sst(), qst(), Pat(), Wst(), not(), Cst(), bat(), Wat(), sct(), pot(), Fat(), cct(), mot(), Iat(), zot(), wst(), mct(), Gst(), hct(), Pst(), gct(), vct(), Y5.own(o9), Y5.own(D9);
+function vct() {
+ cct(), Jst(), got(), Yst(), Mst(), yit(), xst(), Kst(), Nat(), Ust(), tot(), Sst(), yat(), Uat(), oct(), fot(), Pat(), sct(), pot(), Fat(), Rot(), Cst(), pct(), Wst(), mct(), Nst(), hct(), _ct(), X5.own(s9), X5.own(O9);
}
//#endregion
//#region src/ui-kit/middle-truncate.ts
-var bct = "…", xct = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, G9 = /* @__PURE__ */ new WeakMap(), K9 = /* @__PURE__ */ new WeakSet(), q9 = null, J9 = null, Y9 = /* @__PURE__ */ new Set(), Sct = (e) => xct ? [...xct.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));
-function Cct(e, t) {
- let n = Sct(e);
+var yct = "…", bct = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, K9 = /* @__PURE__ */ new WeakMap(), q9 = /* @__PURE__ */ new WeakSet(), J9 = null, Y9 = null, X9 = /* @__PURE__ */ new Set(), xct = (e) => bct ? [...bct.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));
+function Sct(e, t) {
+ let n = xct(e);
if (!n.length || t(e)) return String(e ?? "");
- let r = 0, i = Math.max(0, n.length - 1), a = bct;
+ let r = 0, i = Math.max(0, n.length - 1), a = yct;
for (; r <= i;) {
- let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + bct + (s ? n.slice(-s).join("") : "");
+ let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + yct + (s ? n.slice(-s).join("") : "");
t(c) ? (a = c, r = e + 1) : i = e - 1;
}
return a;
}
-var wct = Object.assign((e, t) => {
- let n = getComputedStyle(e), r = (wct.canvas ||= document.createElement("canvas")).getContext("2d");
+var Cct = Object.assign((e, t) => {
+ let n = getComputedStyle(e), r = (Cct.canvas ||= document.createElement("canvas")).getContext("2d");
if (!r) return Infinity;
r.font = n.font || `${n.fontStyle} ${n.fontWeight} ${n.fontSize} ${n.fontFamily}`;
let i = r.measureText(t).width, a = parseFloat(n.letterSpacing);
- Number.isFinite(a) && (i += Math.max(0, Sct(t).length - 1) * a);
+ Number.isFinite(a) && (i += Math.max(0, xct(t).length - 1) * a);
let o = parseFloat(n.wordSpacing);
return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;
-}, { canvas: null }), Tct = (e) => {
+}, { canvas: null }), wct = (e) => {
if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;
let t = e.parentElement;
if (!t) return e.clientWidth;
@@ -98227,56 +98241,56 @@ var wct = Object.assign((e, t) => {
n === e ? a++ : t > 0 && (i += t, a++);
}
return t.getBoundingClientRect().width - (parseFloat(n.paddingLeft) || 0) - (parseFloat(n.paddingRight) || 0) - i - r * Math.max(0, a - 1);
-}, Ect = (e) => {
- let t = G9.get(e);
+}, Tct = (e) => {
+ let t = K9.get(e);
if (!t || !e.isConnected) return;
- let n = Tct(e), r = n > 0 ? Cct(t.full, (t) => wct(e, t) <= n) : t.full;
+ let n = wct(e), r = n > 0 ? Sct(t.full, (t) => Cct(e, t) <= n) : t.full;
t.rendered = r, e.textContent !== r && (e.textContent = r);
let i = r !== t.full;
e.classList.toggle("middle-truncated", i), e.setAttribute("aria-label", t.full), (!e.hasAttribute("title") || e.dataset.middleTitle === "true") && (e.title = t.full, e.dataset.middleTitle = "true");
-}, X9 = (e) => {
- let t = G9.get(e);
+}, Z9 = (e) => {
+ let t = K9.get(e);
t && !t.raf && (t.raf = requestAnimationFrame(() => {
- t.raf = 0, Ect(e);
+ t.raf = 0, Tct(e);
}));
-}, Dct = (e) => {
- e instanceof HTMLElement && (G9.has(e) || G9.set(e, {
+}, Ect = (e) => {
+ e instanceof HTMLElement && (K9.has(e) || K9.set(e, {
full: e.textContent || "",
rendered: e.textContent || "",
raf: 0
- }), K9.has(e) || (K9.add(e), Y9.add(e), e.dataset.middleTruncateWithin !== void 0 && e.parentElement ? q9?.observe(e.parentElement) : q9?.observe(e)), X9(e));
-}, Oct = (e) => {
+ }), q9.has(e) || (q9.add(e), X9.add(e), e.dataset.middleTruncateWithin !== void 0 && e.parentElement ? J9?.observe(e.parentElement) : J9?.observe(e)), Z9(e));
+}, Dct = (e) => {
if (e.nodeType !== Node.ELEMENT_NODE) return;
let t = e;
- t.matches("[data-middle-truncate]") && Dct(t), t.querySelectorAll("[data-middle-truncate]").forEach(Dct);
+ t.matches("[data-middle-truncate]") && Ect(t), t.querySelectorAll("[data-middle-truncate]").forEach(Ect);
};
-function kct(e = document) {
- J9?.(), K9 = /* @__PURE__ */ new WeakSet(), Y9 = /* @__PURE__ */ new Set();
- let t = Y9, n = !0;
- q9 = new ResizeObserver((e) => e.forEach((e) => {
- n && (X9(e.target), e.target.querySelectorAll?.(":scope>[data-middle-truncate-within]").forEach(X9));
+function Oct(e = document) {
+ Y9?.(), q9 = /* @__PURE__ */ new WeakSet(), X9 = /* @__PURE__ */ new Set();
+ let t = X9, n = !0;
+ J9 = new ResizeObserver((e) => e.forEach((e) => {
+ n && (Z9(e.target), e.target.querySelectorAll?.(":scope>[data-middle-truncate-within]").forEach(Z9));
}));
- let r = q9;
- Oct(e.documentElement || e);
+ let r = J9;
+ Dct(e.documentElement || e);
let i = new MutationObserver((e) => e.forEach((e) => {
if (!n) return;
- e.addedNodes.forEach(Oct);
+ e.addedNodes.forEach(Dct);
let t = (e.target.nodeType === Node.TEXT_NODE ? e.target.parentElement : e.target)?.closest?.("[data-middle-truncate]");
if (!t) return;
- let r = G9.get(t);
- r && t.textContent !== r.rendered && (r.full = t.textContent || "", t.dataset.middleTitle === "true" && t.removeAttribute("title"), X9(t));
+ let r = K9.get(t);
+ r && t.textContent !== r.rendered && (r.full = t.textContent || "", t.dataset.middleTitle === "true" && t.removeAttribute("title"), Z9(t));
}));
i.observe(e.body || e, {
childList: !0,
characterData: !0,
subtree: !0
}), document.fonts?.ready?.then(() => {
- n && e.querySelectorAll("[data-middle-truncate]").forEach(X9);
+ n && e.querySelectorAll("[data-middle-truncate]").forEach(Z9);
});
let a = (e) => {
let t = document.getSelection();
if (!t || t.isCollapsed) return;
- let n = (t.anchorNode?.nodeType === Node.ELEMENT_NODE ? t.anchorNode : t.anchorNode?.parentElement)?.closest?.("[data-middle-truncate]"), r = n && G9.get(n);
+ let n = (t.anchorNode?.nodeType === Node.ELEMENT_NODE ? t.anchorNode : t.anchorNode?.parentElement)?.closest?.("[data-middle-truncate]"), r = n && K9.get(n);
r && n.contains(t.focusNode) && e.clipboardData && (e.clipboardData?.setData("text/plain", r.full), e.preventDefault());
};
e.addEventListener("copy", a);
@@ -98284,61 +98298,61 @@ function kct(e = document) {
if (n) {
n = !1, r.disconnect(), i.disconnect(), e.removeEventListener("copy", a);
for (let e of t) {
- let t = G9.get(e);
+ let t = K9.get(e);
t?.raf && (cancelAnimationFrame(t.raf), t.raf = 0);
}
- t.clear(), J9 === o && (J9 = null, q9 = null);
+ t.clear(), Y9 === o && (Y9 = null, J9 = null);
}
};
- return J9 = o, o;
+ return Y9 = o, o;
}
//#endregion
//#region src/react/application.tsx
-var Z9 = null;
-function Act(e) {
- Z9 !== e || e.owners || (Z9 = null, e.effects.dispose());
-}
-function jct() {
- if (!Z9) {
- let e = yit();
- Z9 = {
+var Q9 = null;
+function kct(e) {
+ Q9 !== e || e.owners || (Q9 = null, e.effects.dispose());
+}
+function Act() {
+ if (!Q9) {
+ let e = vit();
+ Q9 = {
effects: e,
owners: 0
- }, e.own(kct(document)), e.own(() => {
+ }, e.own(Oct(document)), e.own(() => {
Ks(), H.cancelQueries();
- }), e.own(sit), e.own(BCe), e.own(Ra);
+ }), e.own(oit), e.own(zCe), e.own(Ra);
}
- return Z9.owners += 1, Z9.effects.resume(), Z9;
+ return Q9.owners += 1, Q9.effects.resume(), Q9;
}
-function Mct() {
+function jct() {
let [e, t] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
- let e = Z9 === null, n = jct(), r = ait(t);
+ let e = Q9 === null, n = Act(), r = iit(t);
if (e) try {
- yct();
+ vct();
} catch (e) {
- throw r(), n.effects.dispose(), Z9 = null, e;
+ throw r(), n.effects.dispose(), Q9 = null, e;
}
return () => {
- r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Act(n)));
+ r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => kct(n)));
};
- }, []), /* @__PURE__ */ (0, x.jsx)(iwe, { actions: e });
+ }, []), /* @__PURE__ */ (0, x.jsx)(rwe, { actions: e });
}
-var Q9 = /* @__PURE__ */ new WeakMap();
-function Nct(e) {
- let t = Q9.get(e);
+var $9 = /* @__PURE__ */ new WeakMap();
+function Mct(e) {
+ let t = $9.get(e);
if (t) return t;
- let n = (0, ht.createRoot)(e, awe);
- Q9.set(e, n);
+ let n = (0, ht.createRoot)(e, iwe);
+ $9.set(e, n);
let r = n.unmount.bind(n);
return n.unmount = () => {
- Q9.get(e) === n && (Q9.delete(e), r(), Z9 && Act(Z9));
- }, (0, mt.flushSync)(() => n.render(/* @__PURE__ */ (0, x.jsx)(Mct, {}))), n;
+ $9.get(e) === n && ($9.delete(e), r(), Q9 && kct(Q9));
+ }, (0, mt.flushSync)(() => n.render(/* @__PURE__ */ (0, x.jsx)(jct, {}))), n;
}
//#endregion
//#region src/react/bootstrap.tsx
-var $9 = document.getElementById("appRoot");
-if (!$9) throw Error("主界面宿主缺失");
-Nct($9);
+var Nct = document.getElementById("appRoot");
+if (!Nct) throw Error("主界面宿主缺失");
+Mct(Nct);
//#endregion
-export { OT as applyTheme, dR as peachHistory, so as popCount, _it as showToast };
+export { OT as applyTheme, fR as peachHistory, so as popCount, git as showToast };