Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(entity): 精简浏览分类并修复整库创作者归属

longmeidao852982a8491e
diff --git a/README.en.md b/README.en.md
index 82a52fca4..3db1ca537 100644
--- a/README.en.md
+++ b/README.en.md
@@ -61,7 +61,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.
-- **Identity classification**: browse performers, publishing accounts and studios separately. Occupations, release markets and seller roles can coexist, with sources shown on profile pages. Unverified identities are marked for review; performer and creator lists support identity filters.
+- **身份分类**:艺人可同属女优、素人、西方;发布账号分为网黄博主、卖家、动画作者。筛选条只显示有内容的分类。资料页在视频数量左侧显示分类与图标,保留来源与核验状态。
- **Performer pages**: aliases, birthday and measurements, social accounts and JavDB and MISSAV links on one page, above every video of hers in your library and her photos. You can pick an avatar by drawing a box on any cover.
- **Filling in details**: by video code, Peach fills in titles, performers, studios and high-resolution covers from studio sites, DMM, JavBus, JavDB and others. It only fills empty fields and never overwrites your edits.
- **Playback**: play in the browser and pick up where you left off. Like, rate, save for later, add to a playlist, or "log a climax".
diff --git a/README.md b/README.md
index 568a44a9b..4c41fa2e1 100644
--- a/README.md
+++ b/README.md
@@ -61,7 +61,7 @@ https://github.com/user-attachments/assets/a5610874-e611-41bb-be22-7d99f0d64b62
## 能做什么
- **搜索**:输入几个字,女优、番号和影片一起出来。
-- **身份分类**:艺人、发布账号与厂牌分别浏览;职业、发行市场和卖家身份可同时记录,并附分类来源。没有可靠来源的身份显示「待核验」,艺人和创作者名单可按身份筛选。
+- **身份分类**:艺人可同属女优、素人、西方;发布账号分为网黄博主、卖家、动画作者。筛选条只显示有内容的分类。资料页在视频数量左侧显示分类与图标,保留来源与核验状态。
- **女优页**:别名、生日身材、社媒和 JavDB、MISSAV 链接汇在一页,下面是她在你馆藏里的全部作品和照片;头像可以直接在作品封面上框一块。
- **补资料**:按番号从片商官网、DMM、JavBus、JavDB 等站点补标题、女优、厂牌和高清封面;只填空着的,不覆盖你改过的。
- **播放**:在浏览器里直接播放,记下看到哪;可以点喜欢、打分、稍后看、加进播放列表,也能「记一次高潮」。
diff --git a/docs/REUSE.md b/docs/REUSE.md
index 84fdae8b1..ad50b5298 100644
--- a/docs/REUSE.md
+++ b/docs/REUSE.md
@@ -226,7 +226,7 @@ JAV 默认封面(官方封面/预览图)与视频默认大小(大图/
- 操作回执复用 Toast(Sonner 的栈,`frontend/src/react/toaster.tsx`;壳里只调 `toast()`/`actionReceipt()`);按钮以 Spinner 和 `aria-busy` 标明忙态。后台任务显示可恢复进度,断线自动重连。
- 实体的统称由用户在资料页自选:菜单只列这条实体名下已有的写法,选中的提为规范名、换下的留成别名,扁平投影跟着改;先过确认弹层并点名两个写法,成功后发可撤销回执;不收自由文本,撞上另一条实体的规范名只报冲突。
- 名字里的括号都走 `split_composite_aliases.py`:自动那拨只认罗马字复合人名,`--from-review` 那拨按人工判定清掉不承载名字的尾巴,旧写法留作别名;读音、厂牌消歧和角色出处不拆。`peach-data/review/composite-names-20260904.csv` 中的 28 条 creator 注音、575 条 tag 角色出处和 10 条 series 厂牌或载体消歧均保留,不属于待执行批次。
-- 全库创作者归属复核走 `scripts/audit_creator_attributions.py` 与 `metadata_creator_attributions`:复用 `code_creators` 的文件番号核对、DMM `matching_cids`、`western_release_identity`、厂牌规范名和别名、`studio_sites.is_platform`、字段归属、SQLite 备份及 `review_csv`。发行站作品号同时核对目录名与媒体文件名;来源目录见 [Legs Japan](https://www.legsjapan.com/en/)、[Fellatio Japan](https://www.fellatiojapan.com/en/),平台身份见 [myfans 官方说明](https://creators.myfans.jp/)。身份判据属于 Peach 的来源绑定,不新增依赖。预览覆盖全部来源关系与无作品的实体;执行必须带原计划摘要、备份和回滚记录,在事务内重算计划。只撤下有文件或发行来源证据的 `legacy:asset` 关系,保留用户判断、外部身份、规范实体和个人记录;同作品的已登记厂牌可补空,`upsert_asset_entity(update_entity_metadata=False)` 保留厂牌资料。外键检查逐项比较既有悬空,修复不得增加或改变它们;回滚核对本批字段版本和关系,后续改动会拒绝整批恢复。
+- 全库创作者归属复核走 `scripts/audit_creator_attributions.py` 与 `metadata_creator_attributions`:复用 `code_creators` 的文件番号核对、DMM `matching_cids`、`western_release_identity`、厂牌规范名和别名、`studio_sites.is_platform`、字段归属、SQLite 备份及 `review_csv`。发行站作品号同时核对目录名与媒体文件名;来源目录见 [Legs Japan](https://www.legsjapan.com/en/)、[Fellatio Japan](https://www.fellatiojapan.com/en/),平台身份见 [myfans 官方说明](https://creators.myfans.jp/)。预览覆盖全部来源关系与无作品实体;执行带冻结计划、备份和回滚记录,在事务内重算。只撤下有文件或发行来源证据的 `legacy:asset` 关系,保留用户判断、外部身份、规范实体和个人记录。月份、画质等集合后缀只回归已存在的完整账号;`creator_collection_base` 同时用于审计与摄取。公开厂牌断言可补空厂牌投影及关系,缺少规范厂牌时记录新实体完整快照;`upsert_asset_entity(update_entity_metadata=False)` 保留既有资料。结构目录、已知转载站及可信厂牌不进入自动 creator 摄取。外键检查逐项比较既有悬空;回滚核对字段版本、关系和新实体引用,后续改动拒绝整批恢复。
- 实体链接可安装:`entity_link` 表、`q_entity` 的 `links` 契约、资料页 favicon 与管理页链接管理成套;死链区分「搬走了」和「没了」,`rediscover_entity_links.py` 从站点索引页上溯找新锚,确证没了的由 `link_status.settle_gone` 处置(已隐退女优留成不可点的失效标记,其余删除)。
- 厂牌社媒核查:`find_studio_socials.py` 用 Beautiful Soup 4.15.0 解析锚点,传输与字符集用 `peach.http`,账号键用 `social_links.handle`,不加浏览器运行时;Peach 负责同站年龄门、已有账号差集与证据表。整页正则会混进帖子与脚本里的地址,不用于账号提取。
- 事务所是实体:57 家各有 `/agencies/<名字>` 页,成员、官网、标签与作品都按 `entity_membership` 算,女优页点得进去,搜名字出这家人的片;原文留在 `metadata.agency`。
diff --git a/docs/adr/0095-entity-classification.md b/docs/adr/0095-entity-classification.md
index 9b6ddde42..46c0a0607 100644
--- a/docs/adr/0095-entity-classification.md
+++ b/docs/adr/0095-entity-classification.md
@@ -4,10 +4,12 @@
`performer` 表示出演者,`creator` 表示发布账号,`studio` 表示发行机构。作品关系不直接断言职业、国籍或性别。日本 AV 与西方成人发行是可并存的发行市场,不是互斥的人物身份。
-身份分类使用独立的多值来源断言:身份类型、职业、发行市场、账号角色。每条记录保留来源 URL、证据、置信度、核验时间与状态。目录推断和搜索命中保持 candidate;公开来源的确定事实使用 observed;用户复核才能 approved。没有可靠来源时显示「待核验」。
+身份事实使用独立的多值来源断言:身份类型、职业、发行市场、账号角色。每条记录保留来源 URL、证据、置信度、核验时间与状态。目录推断和搜索命中保持 candidate;公开来源的确定事实使用 observed;用户复核才能 approved。
+
+浏览分类是查询时生成的显示投影:艺人页为女优、素人、西方,允许同一个人同时命中多类。女优复用 `entry_links.JAV_DIRECTORIES` 的已绑定 performer id 或可信日本 AV 市场断言;素人按有效 FC2 出演作品或作品的素人标签分类;西方采用可信市场断言或作品发行地区。素人表示作品类型,不断言职业经历。MinnanoAV 的 production id、Stash 本机 id、Babepedia 的普通收录与候选不单独证明 JAV 身份。发布账号分为网黄博主、卖家、动画作者,后两类分别需要可信 seller、animator 断言。待核验是来源状态,不作为浏览分类。分类计数按搜索和有效作品计算,每类独立计数,筛选条隐藏空分类。
跨角色身份使用可撤回的 same_person 或 operates_account 关系。姓名相同不能自动建立关联,也不能自动合并实体;既有 id、别名、作品关系和行为历史保留。用户执行实体合并时来源断言随实体迁移,同来源冲突拒绝合并。
-FC2 卖家名称仍遵守 ADR-0054 的候选 label 规则;有可核验账号证据才记录 seller。平台与合辑目录不能摄取为个人创作者。索引筛选在分页前执行,资料页显示身份分类及来源,保留未核验结果供复核。
+FC2 卖家名称仍遵守 ADR-0054 的候选 label 规则;有可核验账号证据才记录 seller。平台与合辑目录不能摄取为个人创作者。索引筛选在分页前执行,与资料页采用相同判据。资料页的分类带人物图标,排列在视频数量、事务所与别名左侧;完整来源断言由 API 保留,来源提示附在分类上。
复用 [Schema.org Person](https://schema.org/Person) 的职业与同一身份语义,以及 [Role](https://schema.org/Role) 的作品角色语义;使用 SQLite 来源表实现,不引入新的解析依赖。真实修复使用冻结计划、SQLite 备份与逐关系撤回回执。
diff --git a/frontend/e2e/design.test.ts b/frontend/e2e/design.test.ts
index fe09269bd..95b0ea819 100644
--- a/frontend/e2e/design.test.ts
+++ b/frontend/e2e/design.test.ts
@@ -4005,6 +4005,31 @@ describe('设计决定', () => {
/* 尺寸按身份列有哪几行定:外链与看片那一行都在是 160px,缺一行是 120px。取行高百分比的话
圆框宽、列宽、别名折行、行高绕成一个圈,折行多出的那截压进卡底内边距。
有资料的女优默认只有外链那一行,两行都在的那位要补上看片标识与订阅开关;七沢みあ只有看片那一行。 */
+ for (const viewport of VIEWPORTS) {
+ it(`分类图标与视频数量同排,分类位于身份行最左侧(${viewport.name})`, { timeout: 60_000 }, async () => {
+ const opened = await openProfiledPerformer(browser, viewport, 'light', { identity_labels: ['女优','西方'] });
+ try {
+ const geometry = await opened.page.locator('[data-entity-alias="meta"]').evaluate((element) => {
+ const classification = element.querySelector('[data-identity-classification]')!;
+ const count = classification.nextElementSibling!;
+ const label = classification.getBoundingClientRect(), video = count.getBoundingClientRect();
+ const glyph = classification.querySelector('svg')!.getBoundingClientRect();
+ return { first: element.firstElementChild === classification, top: [label.top, video.top],
+ edges: [label.right, video.left], glyph: [glyph.width, glyph.height] };
+ });
+ assert.equal(geometry.first, true);
+ assert.ok(Math.abs(geometry.top[0]! - geometry.top[1]!) < 1, '分类与视频数量另起了行');
+ assert.ok(geometry.edges[0]! <= geometry.edges[1]!, '分类没有排在视频数量左侧');
+ assert.deepEqual(geometry.glyph, [16, 16]);
+ const measured = await layout(opened.page);
+ assert.ok(measured.scrollWidth <= measured.viewportWidth + 1);
+ assert.deepEqual(measured.offenders, []);
+ assert.deepEqual(opened.problems, []);
+ } finally {
+ await opened.close();
+ }
+ });
+ }
const openBothRows = (browser: Browser, viewport: typeof DESKTOP) => openProfiledPerformer(browser, viewport, 'light', {
entry_links: [
{ site: 'minnano-av', label: 'みんなのAV', ordinal: '', slot: 'pill', mark: 'brand-minnano',
diff --git a/frontend/src/react/entity-hero/entity-hero-page.tsx b/frontend/src/react/entity-hero/entity-hero-page.tsx
index edef97f28..4a4ef8e96 100644
--- a/frontend/src/react/entity-hero/entity-hero-page.tsx
+++ b/frontend/src/react/entity-hero/entity-hero-page.tsx
@@ -66,19 +66,9 @@ export function EntityHeroPage({ kind, name, entity, feedNew, feedHost, actions,
onChoose={actions.chooseName} onAddAlias={actions.addAlias} />
</div>
<AliasLine kind={kind} entity={entity} actions={actions} />
- {entity.identity_labels?.length ? (
- <div data-identity-classification="" className="flex min-w-0 flex-wrap gap-2 text-caption-1-regular text-text-secondary">
- <span>{entity.identity_labels.join(' · ')}</span>
- {!!entity.classifications?.length && <details className="min-w-0">
- <summary className="cursor-pointer">分类来源</summary>
- <ul className="break-words">
- {entity.classifications.map((claim, at) => <li key={at}>
- {claim.label} · {claim.status === 'candidate' ? '待核验' : claim.status === 'rejected' ? '已排除' : '有来源'} · {claim.evidence}
- {claim.source_url.startsWith('https://') ? <> <a href={claim.source_url} target="_blank" rel="noopener noreferrer">来源</a></> : null}
- </li>)}
- </ul>
- </details>}
- {entity.related_identities?.map((identity) => (
+ {entity.related_identities?.length ? (
+ <div className="flex min-w-0 flex-wrap gap-2 text-caption-1-regular text-text-secondary">
+ {entity.related_identities.map((identity) => (
<button type="button" key={identity.id} className="text-text-primary underline" onClick={() => actions.openEntity(identity.kind, identity.canonical_name)}>
{identity.relation === 'same_person' ? '同一人' : '关联账号'}:{identity.canonical_name}
</button>
@@ -140,7 +130,7 @@ function Portrait({ kind, name, helpers, people, company }: {
);
}
-/** 名字下面那一行。女优页分三项,各带一枚图标:视频数、事务所、别名(读音在最前);其余种类
+/** 名字下面那一行。女优页各项带图标:分类、视频数、事务所、别名(读音在最前);其余种类
* 仍是一行字:别名 · 视频数 · 归属。事务所是身份信息,不是链接的标签;账本里有这家的实体时
* 给去处,只有采到的原文时只写名字。 */
function AliasLine({ kind, entity, actions }: { kind: string; entity: EntityHeroData; actions: EntityHeroActions }) {
@@ -157,6 +147,7 @@ function AliasLine({ kind, entity, actions }: { kind: string; entity: EntityHero
const line = nameLine(entity.name_groups);
return (
<div data-entity-alias="meta">
+ <IdentityMeta entity={entity} />
<span data-meta-item="" title="视频"><Glyph name="film" /><span>{count}</span></span>
{agencyNode ? <span data-meta-item="" title="事务所"><Glyph name="briefcase" /><span>{agencyNode}</span></span> : null}
{line ? (
@@ -185,15 +176,32 @@ function AliasLine({ kind, entity, actions }: { kind: string; entity: EntityHero
: (entity.labels || []).length ? <> · <b>{entity.labels!.length.toLocaleString()}</b> 个厂牌</> : null;
const maker = entity.maker;
return (
- <div data-entity-alias="">
- {aliases.length ? `${aliases.join(' / ')} · ` : ''}{count}{members}
+ <div data-entity-alias={kind === 'creator' ? 'meta' : ''}>
+ {kind === 'creator' ? <IdentityMeta entity={entity} /> : null}
+ <span>{aliases.length ? `${aliases.join(' / ')} · ` : ''}{count}{members}
{agencyNode ? <> · {agencyNode}</> : null}
{maker ? <> · <a href={entityPath('studio', maker.name)} data-studio-link={maker.name}
- onClick={go('studio', maker.name)}>{maker.name}</a></> : null}
+ onClick={go('studio', maker.name)}>{maker.name}</a></> : null}</span>
</div>
);
}
+/** 分类是身份行的第一项;来源证据随资料下发并作为补充提示。 */
+function IdentityMeta({ entity }: { entity: EntityHeroData }) {
+ if (!entity.identity_labels?.length) return null;
+ const sources = [
+ ...(entity.external_refs || []).map((ref) => ref.provider),
+ ...(entity.classifications || []).filter((claim) => claim.status === 'observed' || claim.status === 'approved')
+ .map((claim) => claim.evidence),
+ ];
+ return (
+ <span data-meta-item="classification" data-identity-classification=""
+ title={sources.length ? [...new Set(sources)].join(' · ') : '分类'}>
+ <Glyph name="user-round" /><span>{entity.identity_labels.join(' · ')}</span>
+ </span>
+ );
+}
+
function NameGroup({ label, names }: { label?: string; names: { name: string; reading?: string }[] }) {
return (
<>
diff --git a/frontend/src/react/entity-hero/entity-hero.css b/frontend/src/react/entity-hero/entity-hero.css
index a28d5eb66..0d4d9bb56 100644
--- a/frontend/src/react/entity-hero/entity-hero.css
+++ b/frontend/src/react/entity-hero/entity-hero.css
@@ -161,7 +161,7 @@
stroke-linejoin: round;
}
-/* 名字下面那一行。女优页三项并排,各带一枚图标;装不下就整项换行,不在项中间断。 */
+/* 名字下面那一行。分类在最左侧,各项带图标;装不下就整项换行。 */
.peach-react [data-entity-alias] {
margin-bottom: 0;
color: var(--muted);
@@ -177,6 +177,7 @@
gap: 4px 18px;
}
.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-meta-item] > svg,
.peach-react [data-entity-facts] dt svg {
diff --git a/frontend/src/react/entity-hero/entity-hero.ts b/frontend/src/react/entity-hero/entity-hero.ts
index 0eb21572a..f8cf4e37c 100644
--- a/frontend/src/react/entity-hero/entity-hero.ts
+++ b/frontend/src/react/entity-hero/entity-hero.ts
@@ -65,6 +65,7 @@ export interface HeroNameGroups {
/** `/api/entity` 里资料卡读到的那些字段。 */
export interface EntityHeroData {
identity_labels?: string[];
+ external_refs?: { provider: string; external_kind: string; external_id: string }[];
classifications?: { facet: string; value: string; label: string; status: string; source_url: string; evidence: string }[];
related_identities?: { id: number; kind: string; canonical_name: string; relation: string }[];
id: number;
diff --git a/frontend/src/react/index/index-data.ts b/frontend/src/react/index/index-data.ts
index abd615eb5..bce288ddf 100644
--- a/frontend/src/react/index/index-data.ts
+++ b/frontend/src/react/index/index-data.ts
@@ -44,12 +44,10 @@ export const ONLINE_TAG_CATEGORIES: readonly (readonly [string, string])[] = [
['all', '全部'], ['general', '通用'], ['artist', '创作者'], ['character', '角色'],
['copyright', '作品'], ['metadata', '元数据'],
];
-export const IDENTITY_CATEGORIES: readonly (readonly [string, string])[] = [
- ['all', '全部'], ['person', '个人'], ['account', '发布账号'], ['seller', '卖家'],
- ['organization', '机构'], ['platform', '平台'], ['adult_performer', '成人出演者'],
- ['model', '模特'], ['artist', '艺术创作者'], ['japanese_av', '日本 AV'],
- ['western_adult', '西方成人发行'], ['unknown', '待核验'],
-];
+export const IDENTITY_CATEGORIES: Record<'performers' | 'creators', readonly (readonly [string, string])[]> = {
+ performers: [['all', '全部'], ['japanese_av', '女优'], ['amateur', '素人'], ['western', '西方']],
+ creators: [['all', '全部'], ['blogger', '网黄博主'], ['seller', '卖家'], ['animation', '动画作者']],
+};
/** 每页条数:一屏头像 120 格,标签 180 枚。 */
export const PAGE_SIZE = { people: 120, tags: 180 } as const;
@@ -83,7 +81,7 @@ export interface IndexTag {
export interface IndexPage<T> {
items: T[];
has_more: boolean;
- /** 标签页才有:每一类有几枚,浮层上排只摆数得到的那几类。 */
+ /** 分类的命中数量;筛选条只显示有内容的分类。 */
categories?: Record<string, number>;
}
@@ -137,7 +135,8 @@ export interface IndexProps extends IndexRoute {
* 只有艺人和标签两页分本地与在线。 */
export function indexRoute(route: IndexRoute): IndexRoute {
const scope = route.kind === 'tags' || route.kind === 'performers' ? route.scope : 'local';
- const categories = route.kind === 'tags' ? (scope === 'online' ? ONLINE_TAG_CATEGORIES : TAG_CATEGORIES) : IDENTITY_CATEGORIES;
+ const categories = route.kind === 'tags' ? (scope === 'online' ? ONLINE_TAG_CATEGORIES : TAG_CATEGORIES)
+ : route.kind === 'performers' || route.kind === 'creators' ? IDENTITY_CATEGORIES[route.kind] : [];
const classified = scope === 'local' && (route.kind === 'creators' || route.kind === 'performers');
const known = categories.some(([key]) => key === route.category);
return { ...route, scope, category: (route.kind === 'tags' || classified) && known ? route.category : 'all' };
diff --git a/frontend/src/react/index/index-page.tsx b/frontend/src/react/index/index-page.tsx
index 72e347418..6b3325f95 100644
--- a/frontend/src/react/index/index-page.tsx
+++ b/frontend/src/react/index/index-page.tsx
@@ -222,7 +222,8 @@ export function IndexPage(props: IndexProps) {
{tabs}
{(kind === 'creators' || kind === 'performers') && scope === 'local' ? (
<div aria-label="身份分类" className="mb-4 flex flex-wrap gap-2">
- {IDENTITY_CATEGORIES.map(([key, label]) => (
+ {IDENTITY_CATEGORIES[kind].filter(([key]) => key === 'all' || key === category
+ || Number(result.data?.pages[0]?.categories?.[key] || 0) > 0).map(([key, label]) => (
<Button key={key} variant={category === key ? 'primary' : 'secondary'} size="small"
aria-pressed={category === key} onClick={() => go({ category: key })}>{label}</Button>
))}
diff --git a/frontend/test/react/entity-hero.test.tsx b/frontend/test/react/entity-hero.test.tsx
index e9025ba88..17ad13bbf 100644
--- a/frontend/test/react/entity-hero.test.tsx
+++ b/frontend/test/react/entity-hero.test.tsx
@@ -53,17 +53,20 @@ async function open(initial: EntityHeroProps) {
}
describe('排版用的纯函数', () => {
- it('资料卡展示多重职业、来源与跨角色身份入口', async () => {
+ it('分类带图标位于身份行最左侧,资料保留来源与跨角色身份入口', async () => {
const given = props({ entity: performer({
- identity_labels: ['成人出演者', '日本 AV', '西方成人发行'],
+ identity_labels: ['女优','西方'],
classifications: [{ facet: 'occupation', value: 'adult_performer', label: '成人出演者', status: 'observed', source_url: 'https://publisher.test/person', evidence: '发行方演员名单' }],
related_identities: [{ id: 2, kind: 'creator', canonical_name: '本人账号', relation: 'operates_account' }],
}) });
const host = await open(given);
const classification = host.querySelector('[data-identity-classification]')!;
- expect(classification.textContent).toContain('日本 AV · 西方成人发行');
- expect(classification.querySelector('a')?.getAttribute('href')).toBe('https://publisher.test/person');
- await click(classification.querySelector('button'));
+ expect(classification.textContent).toBe('女优 · 西方');
+ expect(classification.querySelector('use')?.getAttribute('href')).toBe('#i-user-round');
+ expect(classification.getAttribute('title')).toContain('发行方演员名单');
+ expect(host.querySelector('[data-entity-alias]')?.firstElementChild).toBe(classification);
+ expect(host.textContent).not.toContain('成人出演者');
+ await click(host.querySelector('[data-entity-identity] button.underline'));
expect(given.actions.openEntity).toHaveBeenCalledWith('creator', '本人账号');
});
it('名字下面那一行:读音在最前,余下的收进「+N」;什么都没有就不出这一项', () => {
diff --git a/frontend/test/react/index-page.test.tsx b/frontend/test/react/index-page.test.tsx
index a0816887b..5747aa2b1 100644
--- a/frontend/test/react/index-page.test.tsx
+++ b/frontend/test/react/index-page.test.tsx
@@ -84,19 +84,26 @@ describe('地址栏上的类型', () => {
});
describe('名册', () => {
- it('身份分类写回地址并隔离分页缓存;候选只显示待核验', async () => {
- seed(indexKey('creators', ''), [person('待核验账号', { identity_labels: ['待核验'] })]);
- const fetcher = serve(() => ({ items: [person('艺术账号', { identity_labels: ['发布账号', '艺术创作者'] })], has_more: false }));
+ it('浏览分类写回地址并隔离分页缓存,筛选只显示有内容的分类', async () => {
+ seed(indexKey('creators', ''), [person('真人账号', { identity_labels: ['网黄博主'] })], false, { blogger:1, seller:1 });
+ const fetcher = serve(() => ({ items: [person('卖家账号', { identity_labels: ['卖家'] })], categories:{ blogger:1, seller:1 }, has_more: false }));
const given = props({ kind: 'creators' });
const host = await open(given);
- expect(cells(host)[0]?.textContent).toContain('待核验');
- await click(buttonNamed('艺术创作者', host));
+ expect(cells(host)[0]?.textContent).toContain('网黄博主');
+ expect(host.querySelector('[aria-label="身份分类"]')?.textContent).toBe('全部网黄博主卖家');
+ await click(buttonNamed('卖家', host));
await settle();
- expect(given.route).toHaveBeenLastCalledWith(expect.objectContaining({ category: 'artist' }), { replace: false });
- expect(urls(fetcher)[0]).toContain('category=artist');
- expect(cells(host)[0]?.textContent).toContain('发布账号 / 艺术创作者');
+ expect(given.route).toHaveBeenLastCalledWith(expect.objectContaining({ category: 'seller' }), { replace: false });
+ expect(urls(fetcher)[0]).toContain('category=seller');
+ expect(cells(host)[0]?.textContent).toContain('卖家');
expect(indexRoute({ kind: 'performers', q: '', scope: 'online', view: 'alphabet', category: 'artist' }).category).toBe('all');
});
+ it('艺人分类不显示空分类或账号分类,创作者地址不接受女优筛选', async () => {
+ seed(indexKey('performers', ''), [person('女优', { identity_labels:['女优','西方'] })], false, { japanese_av:1, western:1 });
+ const host = await open(props());
+ expect(host.querySelector('[aria-label="身份分类"]')?.textContent).toBe('全部女优西方');
+ expect(indexRoute({ kind:'creators', q:'', scope:'local', view:'alphabet', category:'japanese_av' }).category).toBe('all');
+ });
it('首屏读缓存,读数带加号,大图版式按大格取头像', async () => {
seed(indexKey('performers', ''), [person('甲'), person('乙')], true);
const given = props();
diff --git a/scripts/audit_creator_attributions.py b/scripts/audit_creator_attributions.py
index d2be87ad4..40ac55d4c 100644
--- a/scripts/audit_creator_attributions.py
+++ b/scripts/audit_creator_attributions.py
@@ -152,7 +152,7 @@ def main() -> int:
summary = entity_summary(args.db, items)
if args.summary:
_write(args.summary, SUMMARY_FIELDS, summary)
- plan = [row for row in items if row['action'] == 'remove']
+ plan = [row for row in items if row['action'] in {'remove','replace'}]
if args.repair_plan:
args.repair_plan.parent.mkdir(parents=True, exist_ok=True)
atomic_write_text(args.repair_plan, json.dumps({'rows': plan, 'sha256': fingerprint(plan)},
diff --git a/scripts/creator_tags.py b/scripts/creator_tags.py
index d977e4faa..451299876 100644
--- a/scripts/creator_tags.py
+++ b/scripts/creator_tags.py
@@ -64,7 +64,6 @@ BOARDS: dict[str, list[str]] = {
"emailprotected": ["丝袜", "美腿", "素人", "口交", "制服"],
"OBOKOZU": ["口交", "主观视角", "眼镜", "美臀", "无码", "素人"],
"铃木美咲": ["制服", "学生", "丝袜", "美腿", "自慰"],
- "kj": ["口交", "车震", "主观视角", "素人"],
"秀妍baby": ["网红主播", "露脸", "素人", "丝袜", "自慰"],
"임상병리학": ["素人", "自慰", "露脸", "网红主播", "无码"],
"Bewyx 2509": ["角色扮演", "主观视角", "骑乘", "口交"],
diff --git a/src/peach/classification.py b/src/peach/classification.py
index 62123d70d..3af628994 100644
--- a/src/peach/classification.py
+++ b/src/peach/classification.py
@@ -7,7 +7,11 @@ import re
# identities. Keep this boundary centralized so board generation and review
# application cannot disagree again.
STRUCTURAL_CREATORS = frozenset({"门槛", "视频", "宣傳文件", "宣传文件", "asce",
- "合集-洛丽塔 多创作者", "合集-足交 多创作者"})
+ "合集-洛丽塔 多创作者", "合集-足交 多创作者", "kj", "AI增强",
+ "背身足交", "白丝", "黑丝后入", "巨乳白虎", "풋잡모음", "&网红套图(漏点)",
+ "万人求档", "某某门事件", "白袜党福音", "蜜桃臀", "前女友",
+ "검스A맨발B_풋잡", "검스_후_맨발_풋잡", "직접구매_최고급_풋잡_2",
+ "245mm_큐빅페티녀_발빨맨발_풋잡_사정"})
_EPISODE = re.compile(r"(?<![A-Za-z0-9])S\d{1,2}E\d{1,3}(?!\d)", re.IGNORECASE)
_MAINSTREAM_RELEASE = re.compile(
@@ -20,7 +24,69 @@ def is_structural_creator(name: str | None) -> bool:
if not name:
return False
folded = name.strip().casefold()
- return any(folded == candidate.casefold() for candidate in STRUCTURAL_CREATORS)
+ return (folded in {candidate.casefold() for candidate in STRUCTURAL_CREATORS}
+ or bool(re.fullmatch(r"(?:\d{4}[年._-])?(?:0?[1-9]|1[0-2])月", folded))
+ or bool(re.fullmatch(r"(?:4k|6k|8k|1080p|720p|2160p|高清|超清|去重版|整合用)", folded)))
+
+
+def is_repost_creator(name: str | None) -> bool:
+ """已登记转载渠道的域名水印,不按任意域名否定账号。"""
+ from .catalog_rules import REPOST_SITE_LABELS
+ match = re.match(r'^\[?(?:www\.)?([a-z0-9]+)\.(?:com|me|la|tv|xyz|cc)(?:$|[^a-z])',
+ str(name or '').strip(), re.I)
+ return bool(match and match[1].casefold() in REPOST_SITE_LABELS)
+
+
+def creator_collection_base(name: str) -> str:
+ """剥离集合的月份与画质后缀;调用方须核对已有账号身份。"""
+ suffix = (r'(?:\s*(?:4k|6k|8k|去重版|整合用)|'
+ r'\s*(?:20\d{2}[.年_-](?:0?[1-9]|1[0-2])(?:月)?|'
+ r'(?:0?[1-9]|1[0-2])月|20\d{2}年[一二三四五六七八九十]+月|'
+ r'\d{4}\s*[一二三四五六七八九十]+月))$')
+ return re.sub(suffix, '', name, flags=re.I).strip()
+
+
+SITE_RELEASES = {'legsjapan': 'https://www.legsjapan.com/en/',
+ 'fellatiojapan': 'https://www.fellatiojapan.com/en/'}
+
+
+def _site_release(value: str) -> str:
+ text = re.sub(r'^\[[^\]]+\]', '', str(value)).strip().lower()
+ text = re.sub(r'^\d+[-_ ]+(?=(?:legs|fellatio)japan)', '', text)
+ text = re.sub(r'\.(?:mp4|mkv|avi|wmv|mov|jpg|png|webp)$', '', text)
+ match = re.search(r'(?<![a-z])(legsjapan|fellatiojapan)[-_](\d{3,6})(?=$|[-_. @])', text)
+ return f'{match[1]}-{int(match[2])}' if match else ''
+
+
+def creator_release_identifier(creator: str, *, path: str, filename: str, code: str | None) -> tuple[str, str]:
+ """审计与摄取共用文件级发行证据;账号形似番号并不足以拒绝身份。"""
+ from .catalog_rules import release_code_from_text, is_jav_code, normalise_code_key
+ from .code_creators import SETTLED_VERDICTS, classify as classify_code
+ from .sources.dmm import matching_cids
+ verdict, _, reason = classify_code(creator,[dict(path=path,name=filename,code=code)])
+ if verdict in SETTLED_VERDICTS:
+ return 'release_identifier', f'{reason};只移除创作者投影,番号不改写'
+ site = _site_release(creator)
+ site_path = any(_site_release(part) == site for part in re.split(r'[\\/]',path)) if site else False
+ numbered_file = re.match(r'^(\d{3,6})[-_]',filename)
+ if site and (site == _site_release(filename) or
+ (site_path and numbered_file and int(numbered_file[1]) == int(site.split('-')[1]))):
+ return 'release_identifier', f'目录与媒体文件同为站点作品号 {site};官网目录 {SITE_RELEASES[site.split("-")[0]]}'
+ versionless = re.sub(r'[-_](?:[468]k|hd)(?:[-_](?:c|ch))?$', '', creator, flags=re.I)
+ identity = release_code_from_text(versionless)
+ if identity and is_jav_code(identity) and re.search(
+ r'(?<![a-z0-9])' + re.escape(versionless) + r'(?:[-_](?:[468]k|hd)\d?(?:[-_]c)?)?\.[a-z0-9]+$',filename,re.I):
+ return 'release_identifier', f'目录与媒体文件的发行标识 {identity} 一致;画质与版本后缀不作为账号'
+ product = re.fullmatch(r'([a-z]{2,8})(\d{5})(?:hhb|mhb|dmb|dm|hq|sd|hd|pl)',creator,re.I)
+ if product and re.fullmatch(re.escape(product[1]+product[2])+r'(?:\.part\d+)?\.[a-z0-9]+',filename,re.I):
+ identity = normalise_code_key(product[1]+'-'+product[2])
+ if is_jav_code(identity):
+ return 'release_identifier', f'目录商品标识与媒体文件 {product[1]+product[2]} 一致;番号不改写'
+ identifier = release_code_from_text(re.sub(r'_\d{3}$', '', creator))
+ cid = re.sub(r'_\d{3}$', '', re.sub(r'\.[^.]+$', '', filename))
+ if identifier and re.fullmatch(r'[a-z]+\d{5}(?:hhb|mhb|dmb|dm|hq|sd|hd|pl)',cid,re.I) and matching_cids(identifier,[cid]):
+ return 'release_identifier', f'目录番号 {identifier} 与文件 DMM 商品标识一致;番号不改写'
+ return ('identifier_candidate',reason) if verdict == '存疑' else ('','')
def is_probable_mainstream_release(name: str | None, path: str | None = None) -> bool:
diff --git a/src/peach/entities.py b/src/peach/entities.py
index bfa7b5988..cd918e4f9 100644
--- a/src/peach/entities.py
+++ b/src/peach/entities.py
@@ -198,9 +198,9 @@ def strip_zero_width(name: str) -> str:
def canonicalize_entity_name(kind: str, name: str | None) -> str:
canonical = strip_zero_width(name).strip()
if kind == 'creator':
- from .classification import is_structural_creator
+ from .classification import is_structural_creator, is_repost_creator
from .studio_sites import is_platform
- if is_platform(canonical) or is_structural_creator(canonical):
+ if is_platform(canonical) or is_structural_creator(canonical) or is_repost_creator(canonical):
return ''
if kind in PERSON_ENTITY_KINDS:
canonical = collapse_repeated_entity_name(canonical)
@@ -421,6 +421,27 @@ def _ref_is_free(connection: Connection, entity_id: int, provider: str,
return held is None or str(held[0]) == external_id
+def _creator_ingest_identity(connection, name, asset_id):
+ """已有账号承接集合目录;已确认厂牌不进入发布账号关系。"""
+ from .classification import creator_collection_base, creator_release_identifier
+ asset = connection.execute('SELECT path,name,code FROM asset WHERE id=?',(asset_id,)).fetchone()
+ if asset and creator_release_identifier(name,path=asset[0] or '',filename=asset[1] or '',code=asset[2])[0] == 'release_identifier':
+ return ''
+ base = creator_collection_base(name)
+ if base != name:
+ held = connection.execute("SELECT canonical_name FROM entity WHERE kind='creator' AND normalized_name=?",
+ (normalize_entity_name(base),)).fetchone()
+ if held:
+ name = str(held[0])
+ if connection.execute("SELECT 1 FROM sqlite_schema WHERE name='entity_classification'").fetchone():
+ if connection.execute("SELECT 1 FROM entity e JOIN entity_classification ec ON ec.entity_id=e.id "
+ "WHERE e.kind='creator' AND e.normalized_name=? AND ec.facet='account_role' "
+ "AND ec.value='studio' AND ec.status IN ('observed','approved')",
+ (normalize_entity_name(name),)).fetchone():
+ return ''
+ return name
+
+
def upsert_asset_entity(
connection: Connection, *, kind: str, name: str | None, asset_id: int,
role: str, source: str, confidence: float = 1.0,
@@ -430,6 +451,12 @@ def upsert_asset_entity(
) -> int | None:
"""写入规范实体关系;调用方负责事务和兼容投影。"""
canonical = canonicalize_entity_name(kind, name)
+ if kind == 'creator' and not source.startswith(('user:','review:')):
+ selected = _creator_ingest_identity(connection,canonical,asset_id)
+ if selected != canonical:
+ metadata = {**(metadata or {}),'directory_name':canonical}
+ update_entity_metadata = False
+ canonical = selected
if not canonical:
return None
stamp = now or datetime.now(timezone.utc).isoformat()
diff --git a/src/peach/entity_classification.py b/src/peach/entity_classification.py
index 98e1e354f..082bf314e 100644
--- a/src/peach/entity_classification.py
+++ b/src/peach/entity_classification.py
@@ -4,18 +4,18 @@ from __future__ import annotations
from datetime import datetime, timezone
from urllib.parse import urlsplit
+from .entry_links import EXTERNAL_KIND, JAV_DIRECTORIES
+
VALUES = {
'identity': {'person':'个人', 'account':'发布账号', 'organization':'机构',
'platform':'平台', 'collection':'合集目录', 'release':'作品标识', 'unknown':'身份待核验'},
'occupation': {'adult_performer':'成人出演者', 'model':'模特', 'actor':'演员',
- 'artist':'艺术创作者', 'content_creator':'内容创作者'},
+ 'artist':'艺术创作者', 'animator':'动画作者', 'content_creator':'内容创作者'},
'market': {'japanese_av':'日本 AV', 'western_adult':'西方成人发行'},
- 'account_role': {'seller':'卖家', 'publisher':'发布者'},
+ 'account_role': {'seller':'卖家', 'publisher':'发布者', 'studio':'发行厂牌'},
}
-CATEGORIES = {'person':'个人', 'account':'发布账号', 'seller':'卖家',
- 'organization':'机构', 'platform':'平台', 'adult_performer':'成人出演者',
- 'model':'模特', 'artist':'艺术创作者', 'japanese_av':'日本 AV',
- 'western_adult':'西方成人发行', 'unknown':'待核验'}
+CATEGORIES = {'japanese_av': '女优', 'amateur': '素人', 'western': '西方',
+ 'blogger': '网黄博主', 'seller': '卖家', 'animation': '动画作者'}
TRUSTED = "status IN ('observed','approved')"
@@ -65,8 +65,72 @@ def classifications(connection, entity_ids):
return result
-def labels(claims):
- return list(dict.fromkeys(row['label'] for row in claims if row['status'] in {'observed','approved'})) or ['待核验']
+def category_predicates(column='e.id', kind_column='e.kind', connection=None):
+ """浏览分类分别命中;发行范围与作品类型允许交叉。"""
+ providers = ','.join(f"'{provider}'" for provider in sorted(JAV_DIRECTORIES))
+ has_claims = connection is None or connection.execute(
+ "SELECT 1 FROM sqlite_schema WHERE name='entity_classification'").fetchone()
+ def claim(facet, value):
+ if not has_claims:
+ return '0'
+ return (f"EXISTS (SELECT 1 FROM entity_classification ec WHERE ec.entity_id={column} "
+ f"AND ec.facet='{facet}' AND ec.value='{value}' AND {TRUSTED})")
+ def work(condition):
+ return (f"EXISTS (SELECT 1 FROM asset_entity ca JOIN asset av ON av.id=ca.asset_id "
+ f"WHERE ca.entity_id={column} AND ca.role='performer' AND av.medium='video' "
+ f"AND COALESCE(av.disposal,'')<>'vanished' AND ({condition}))")
+ jav = (f"EXISTS (SELECT 1 FROM entity_external_ref er WHERE er.entity_id={column} "
+ f"AND er.external_kind='{EXTERNAL_KIND}' AND er.external_id<>'' AND er.provider IN ({providers})) "
+ f"OR {claim('market', 'japanese_av')}")
+ amateur = work("UPPER(COALESCE(av.code,'')) LIKE 'FC2%' OR EXISTS ("
+ "SELECT 1 FROM asset_entity ta JOIN entity t ON t.id=ta.entity_id "
+ "WHERE ta.asset_id=av.id AND t.kind='tag' AND t.canonical_name='素人')")
+ west_work = work("av.region='west'")
+ western = f"{claim('market', 'western_adult')} OR {west_work}"
+ seller = claim('account_role', 'seller')
+ animation = claim('occupation', 'animator')
+ creator_video = (f"EXISTS (SELECT 1 FROM asset_entity ca JOIN asset av ON av.id=ca.asset_id "
+ f"WHERE ca.entity_id={column} AND ca.role='creator' AND av.medium='video' "
+ "AND COALESCE(av.disposal,'')<>'vanished')")
+ return {
+ 'japanese_av': f"{kind_column}='performer' AND ({jav})",
+ 'amateur': f"{kind_column}='performer' AND ({amateur})",
+ 'western': f"{kind_column}='performer' AND ({western})",
+ 'blogger': f"{kind_column}='creator' AND ({creator_video}) AND NOT ({seller}) AND NOT ({animation}) AND NOT ({claim('account_role','studio')})",
+ 'seller': f"{kind_column}='creator' AND ({seller})",
+ 'animation': f"{kind_column}='creator' AND ({animation})",
+ }
+
+
+def summaries(connection, entity_ids):
+ """资料页与分页卡片共用一份浏览分类,不写入账本断言。"""
+ ids = list(dict.fromkeys(entity_ids))
+ if not ids:
+ return {}
+ predicates = category_predicates(connection=connection)
+ rows = connection.execute('SELECT e.id,' + ','.join(f'({sql})' for sql in predicates.values()) + ' FROM entity e WHERE e.id IN ('
+ + ','.join('?' for _ in ids) + ')', ids)
+ result = {}
+ for row in rows:
+ categories = [key for key, matched in zip(predicates, row[1:]) if matched]
+ result[row[0]] = {'identity_categories': categories,
+ 'identity_labels': [CATEGORIES[key] for key in categories]}
+ return result
+
+
+def counts(connection, kind, query, visible_clause):
+ """对搜索范围中的有效实体独立计数,不受所选分类及分页限制。"""
+ predicates = category_predicates(connection=connection)
+ sql = ('SELECT ' + ','.join(f'COALESCE(SUM(({value})),0)' for value in predicates.values()) + ' '
+ 'FROM entity e WHERE e.kind=? AND EXISTS ('
+ 'SELECT 1 FROM asset_entity ae CROSS JOIN asset a ON a.id=ae.asset_id '
+ 'WHERE ae.entity_id=e.id AND ' + visible_clause + ') ')
+ params = [kind]
+ if query:
+ sql += 'AND e.canonical_name LIKE ? '
+ params.append(f'%{query}%')
+ totals = connection.execute(sql,params).fetchone()
+ return {key: count for key, count in zip(predicates,totals) if count}
def related_identities(connection, entity_id):
@@ -80,15 +144,13 @@ def related_identities(connection, entity_id):
return [dict(zip(columns,raw)) for raw in cursor]
-def filter_sql(category, column='e.id'):
- """筛选在分页前执行;没有可信身份断言属于待核验。"""
+def filter_sql(category, column='e.id', connection=None):
+ """浏览分类在分页前执行,与资料页采用相同来源判据。"""
if category in {'','all'}:
return '', []
if category not in CATEGORIES:
return ' AND 0 ', []
- if category == 'unknown':
- return f' AND NOT EXISTS (SELECT 1 FROM entity_classification ec WHERE ec.entity_id={column} AND {TRUSTED}) ', []
- return f' AND EXISTS (SELECT 1 FROM entity_classification ec WHERE ec.entity_id={column} AND ec.value=? AND {TRUSTED}) ', [category]
+ return f' AND ({category_predicates(column, connection=connection)[category]}) ', []
def transfer(connection, source_id, target_id):
diff --git a/src/peach/metadata_creator_attributions.py b/src/peach/metadata_creator_attributions.py
index dce474294..b6aa3145d 100644
--- a/src/peach/metadata_creator_attributions.py
+++ b/src/peach/metadata_creator_attributions.py
@@ -7,35 +7,33 @@ import re
import sqlite3
from collections import defaultdict
-from .catalog_rules import compact_label, western_release_identity, release_code_from_text
-from .classification import is_structural_creator
-from .code_creators import SETTLED_VERDICTS, classify as classify_code
+from .catalog_rules import compact_label, western_release_identity
+from .classification import is_structural_creator, is_repost_creator, creator_collection_base, creator_release_identifier
from .entities import normalize_entity_name, upsert_asset_entity
from .field_owners import is_protected, owner_of, write_owned_fields
from .studio_sites import is_platform, normalise
-from .sources.dmm import matching_cids
OWNER = 'script:creator-attributions'
-# 官网目录把模特与作品编号分列;这些编号属于作品,不是账号。
-SITE_RELEASES = {
- 'legsjapan': 'https://www.legsjapan.com/en/',
- 'fellatiojapan': 'https://www.fellatiojapan.com/en/',
-}
FIELDS = ('asset_id', 'entity_id', 'current_creator', 'relation_source', 'confidence',
'medium', 'path', 'name', 'studio', 'code', 'flat_creator', 'field_owner', 'studio_owner', 'revision',
- 'verdict', 'action', 'proposed_studio', 'reason')
+ 'verdict', 'action', 'proposed_studio', 'proposed_creator', 'studio_source_url', 'reason')
-def _site_release(value: str) -> str:
- text = re.sub(r'^\[[^\]]+\]', '', str(value)).strip().lower()
- text = re.sub(r'\.(?:mp4|mkv|avi|wmv|mov|jpg|png|webp)$', '', text)
- match = re.fullmatch(r'(legsjapan|fellatiojapan)[-_](\d{3,6})[-_]*', text)
- return f'{match[1]}-{int(match[2])}' if match else ''
+def _collection_identity(name: str, creators: dict[str, str]) -> str:
+ """集合后缀只回归已存在的完整账号名,不造身份或改规范名。"""
+ base = creator_collection_base(name)
+ return creators.get(normalize_entity_name(base), '') if base != name else ''
def _publisher_release(row: dict, studios: dict[str, set[str]]) -> bool:
creator = str(row['current_creator'])
- if row['studio'] or normalise(creator) not in studios:
+ if row['studio']:
+ # Tokyo Hot 的发行文件与已登记厂牌交叉核对,短目录名 Tokyo 属于这份作品投影。
+ return (normalise(creator) == 'tokyo' and
+ 'tokyohot' in studios.get(normalise(str(row['studio'])), set()) and
+ compact_label(str(row['name'])).startswith('tokyohot') and
+ bool(row['code']) and compact_label(str(row['code'])) in compact_label(str(row['name'])))
+ if normalise(creator) not in studios:
return False
parts = re.split(r'[\\/]', str(row['path']))
publisher = re.compile(r'^' + re.escape(creator) + r'[ ._-]+\d{2,4}[-.]\d{2}[-.]\d{2}(?!\d)', re.I)
@@ -43,24 +41,6 @@ def _publisher_release(row: dict, studios: dict[str, set[str]]) -> bool:
return any(publisher.match(part) or domain in part.casefold() for part in parts)
-def _file_identifier(row: dict) -> tuple[str, str]:
- creator = str(row['current_creator'])
- verdict, _, reason = classify_code(creator, [dict(
- path=row['path'], name=row['name'], code=row['code'])])
- if verdict in SETTLED_VERDICTS:
- return 'release_identifier', f'{reason};只移除创作者投影,番号不改写'
- site = _site_release(creator)
- if site and site == _site_release(str(row['name'])):
- return 'release_identifier', f'目录与媒体文件同为站点作品号 {site};官网目录 {SITE_RELEASES[site.split("-")[0]]}'
- identifier = release_code_from_text(re.sub(r'_\d{3}$', '', creator))
- cid = re.sub(r'_\d{3}$', '', re.sub(r'\.[^.]+$', '', str(row['name'] or '')))
- if identifier and re.fullmatch(r'[a-z]+\d{5}(?:hhb|mhb|dmb|dm|hq|sd|hd)', cid, re.I) and matching_cids(identifier, [cid]):
- return 'release_identifier', f'目录番号 {identifier} 与文件 DMM 商品标识一致;番号不改写'
- if verdict == '存疑':
- return 'identifier_candidate', reason
- return '', ''
-
-
def _release_title(row: dict, people: set[str]) -> bool:
"""带发行日期的场景标题;短人名与已有出演者身份交回复核。"""
name = str(row['current_creator'])
@@ -92,15 +72,20 @@ def classify(row: dict, *, studios: dict[str, set[str]], people: set[str]) -> tu
return 'online_account', 'keep', '在线账号身份,不参与本地目录判定'
if row.get('has_identity_evidence'):
return 'identity_conflict', 'review', '实体有外部身份引用或用户判断,需逐项复核'
+ if row.get('studio_source_url'):
+ return 'verified_studio', 'remove', '公开发行来源确认其为厂牌;作品不归属真人发布账号'
if is_platform(creator):
return 'platform', 'remove', '名称是发行平台;实际卖主或账号才是创作者'
+ if is_repost_creator(creator):
+ return 'repost_site', 'remove', '名称是转载站水印或站点日期目录'
studio = str(row['studio'] or '')
studio_names = studios.get(normalise(studio), {normalise(studio)}) if studio else set()
if normalise(creator) and normalise(creator) in studio_names:
return 'studio', 'remove', f'同作品发行厂牌为 {studio},与创作者名称或其别名一致'
if _publisher_release(row, studios):
return 'studio_release', 'remove', '已登记厂牌名称与同作品发行文件的厂牌 token 一致'
- identifier_verdict, identifier_reason = _file_identifier(row)
+ identifier_verdict, identifier_reason = creator_release_identifier(
+ creator,path=str(row['path']),filename=str(row['name'] or ''),code=row['code'])
if identifier_verdict == 'release_identifier':
return identifier_verdict, 'remove', identifier_reason
if is_structural_creator(creator):
@@ -138,6 +123,13 @@ def collect(connection: sqlite3.Connection) -> list[dict]:
"SELECT entity_id FROM entity_external_ref UNION "
"SELECT entity_id FROM entity_alias WHERE source LIKE 'user:%' OR source LIKE 'review:%' UNION "
"SELECT entity_id FROM asset_entity WHERE role='creator' AND source<>'legacy:asset'")}
+ issuers = {}
+ if connection.execute("SELECT 1 FROM sqlite_schema WHERE name='entity_classification'").fetchone():
+ issuers = dict(connection.execute("SELECT entity_id,min(source_url) FROM entity_classification "
+ "WHERE facet='account_role' AND value='studio' AND status IN ('observed','approved') "
+ "AND source_url LIKE 'https://%' GROUP BY entity_id"))
+ creators = {row[1]: row[2] for row in connection.execute(
+ "SELECT id,normalized_name,canonical_name FROM entity WHERE kind='creator'") if row[0] not in issuers}
query = """SELECT a.id AS asset_id,e.id AS entity_id,e.canonical_name AS current_creator,
ae.source AS relation_source,ae.confidence,a.medium,a.path,a.name,a.studio,a.code,a.creator AS flat_creator,
a.catalog_title,a.field_owners,a.mutation_revision AS revision
@@ -149,8 +141,15 @@ def collect(connection: sqlite3.Connection) -> list[dict]:
row['field_owner'] = owner_of(row['field_owners'], 'creator')
row['studio_owner'] = owner_of(row.pop('field_owners'), 'studio')
row['has_identity_evidence'] = int(row['entity_id']) in evidence
+ row['studio_source_url'] = issuers.get(int(row['entity_id']), '')
row['verdict'], row['action'], row['reason'] = classify(row, studios=studios, people=people)
- row['proposed_studio'] = row['current_creator'] if row['verdict'] == 'studio_release' and not is_protected(row['studio_owner']) else ''
+ row['proposed_studio'] = row['current_creator'] if row['verdict'] in {'studio_release','verified_studio'} and not row['studio'] and not is_protected(row['studio_owner']) else ''
+ row['proposed_creator'] = ''
+ if row['verdict'] in {'legacy_projection','identifier_candidate'}:
+ row['proposed_creator'] = _collection_identity(str(row['current_creator']), creators)
+ if row['proposed_creator']:
+ row.update(verdict='collection_identity', action='replace',
+ reason='目录的月份或画质后缀与已存在的完整账号名对应')
result.append({field: row[field] for field in FIELDS})
return result
@@ -171,37 +170,66 @@ def _creator_relations(connection, asset_ids: list[int]) -> list[dict]:
"SELECT * FROM asset_entity WHERE asset_id=? AND role='creator' ORDER BY entity_id,source", (asset_id,))]
-def _land_studio(connection, cursor, row: dict) -> dict | None:
+def _land_studio(connection, cursor, row: dict) -> tuple[dict | None, dict | None]:
if not row['proposed_studio']:
- return None
+ return None, None
asset_id = int(row['asset_id'])
- # 此分支只认已登记的厂牌,不创建新身份。
+ created = None
entity = cursor.execute("SELECT id,canonical_name FROM entity WHERE kind='studio' AND normalized_name=?",
(normalize_entity_name(row['proposed_studio']),)).fetchone()
if not entity:
- raise ValueError('计划中的厂牌身份不存在')
- if connection.execute("SELECT 1 FROM asset_entity WHERE asset_id=? AND entity_id=? AND role='studio'",
- (asset_id, entity['id'])).fetchone():
+ if row['verdict'] != 'verified_studio' or not row['studio_source_url']:
+ raise ValueError('计划中的厂牌身份不存在')
+ entity_id = upsert_asset_entity(connection,kind='studio',name=row['proposed_studio'],asset_id=asset_id,
+ role='studio',source=OWNER,metadata={'source_url':row['studio_source_url'],'evidence':row['reason']},
+ update_entity_metadata=False)
+ created = dict(cursor.execute('SELECT * FROM entity WHERE id=?',(entity_id,)).fetchone())
+ entity = created
+ owned = cursor.execute("SELECT * FROM asset_entity WHERE asset_id=? AND entity_id=? AND role='studio' AND source=?",
+ (asset_id,entity['id'],OWNER)).fetchone()
+ if created:
+ added = dict(owned)
+ elif connection.execute("SELECT 1 FROM asset_entity WHERE asset_id=? AND entity_id=? AND role='studio'",
+ (asset_id, entity['id'])).fetchone():
added = None
else:
upsert_asset_entity(connection, kind='studio', name=entity['canonical_name'], asset_id=asset_id,
- role='studio', source=OWNER, metadata={'evidence': row['reason']},
+ role='studio', source=OWNER, metadata={'evidence': row['reason'], 'source_url':row['studio_source_url']},
update_entity_metadata=False)
added = dict(cursor.execute("SELECT * FROM asset_entity WHERE asset_id=? AND entity_id=? AND role='studio' AND source=?",
(asset_id, entity['id'], OWNER)).fetchone())
fields = _asset_fields(cursor, asset_id)
write_owned_fields(connection, [asset_id], {'studio': entity['canonical_name']}, OWNER,
require_empty=True, expected_revision=fields['mutation_revision'])
- return added
+ return added, created
+
+
+def _land_creator(connection, cursor, row):
+ """集合目录的作品归回已有账号;独立关系保留并避免重复署名。"""
+ if not row['proposed_creator']:
+ return None
+ target = cursor.execute("SELECT id FROM entity WHERE kind='creator' AND canonical_name=?",
+ (row['proposed_creator'],)).fetchone()
+ if not target:
+ raise ValueError('计划中的账号身份不存在')
+ if connection.execute("SELECT 1 FROM asset_entity WHERE asset_id=? AND entity_id=? AND role='creator'",
+ (row['asset_id'],target['id'])).fetchone():
+ return None
+ upsert_asset_entity(connection,kind='creator',name=row['proposed_creator'],asset_id=row['asset_id'],
+ role='creator',source=OWNER,metadata={'evidence':row['reason'],
+ 'directory_name':row['current_creator']},update_entity_metadata=False)
+ return dict(cursor.execute("SELECT * FROM asset_entity WHERE asset_id=? AND entity_id=? AND role='creator' AND source=?",
+ (row['asset_id'],target['id'],OWNER)).fetchone())
def apply_plan(connection: sqlite3.Connection, plan: list[dict]) -> dict:
"""调用方持有事务;校验整批当前判定,保留实体与其它来源断言。"""
- current = [row for row in collect(connection) if row['action'] == 'remove']
+ current = [row for row in collect(connection) if row['action'] in {'remove','replace'}]
if fingerprint(current) != fingerprint(plan):
raise ValueError('审计计划与当前账本不一致,请重新预览')
removed = []
added = []
+ created = []
asset_ids = sorted({int(row['asset_id']) for row in plan})
cursor = connection.cursor()
cursor.row_factory = sqlite3.Row
@@ -213,9 +241,14 @@ def apply_plan(connection: sqlite3.Connection, plan: list[dict]) -> dict:
removed.append(dict(raw))
connection.execute("DELETE FROM asset_entity WHERE asset_id=? AND entity_id=? "
"AND role='creator' AND source=?", key)
- studio_relation = _land_studio(connection, cursor, row)
+ studio_relation, studio_entity = _land_studio(connection, cursor, row)
if studio_relation:
added.append(studio_relation)
+ if studio_entity:
+ created.append(studio_entity)
+ creator_relation = _land_creator(connection,cursor,row)
+ if creator_relation:
+ added.append(creator_relation)
for asset_id, before in before_assets.items():
names = {str(row[0]) for row in connection.execute(
"SELECT DISTINCT e.canonical_name FROM asset_entity ae JOIN entity e ON e.id=ae.entity_id "
@@ -234,10 +267,24 @@ def apply_plan(connection: sqlite3.Connection, plan: list[dict]) -> dict:
raise ValueError(f'资产 {asset_id} 的创作者字段拒绝写入')
changed = [{'before': before, 'after': _asset_fields(cursor, asset_id)}
for asset_id, before in before_assets.items() if _asset_fields(cursor, asset_id) != before]
- return {'relations': removed, 'added_relations': added, 'fields': changed, 'plan': plan,
+ return {'relations': removed, 'added_relations': added, 'created_entities':created, 'fields': changed, 'plan': plan,
'remaining_creator_relations': _creator_relations(connection, asset_ids)}
+def _remove_created_studios(connection, cursor, entities):
+ """本批新建的空厂牌可撤回;任何额外资料都会阻止整批恢复。"""
+ for entity in entities:
+ if dict(cursor.execute('SELECT * FROM entity WHERE id=?',(entity['id'],)).fetchone() or {}) != entity:
+ raise ValueError('新厂牌资料已发生后续改动')
+ for table, in connection.execute("SELECT name FROM sqlite_schema WHERE type='table' AND name NOT LIKE 'sqlite_%'"):
+ if not re.fullmatch('[a-zA-Z0-9_]+',table):
+ continue
+ for foreign in connection.execute(f'PRAGMA foreign_key_list({table})'):
+ if foreign[2]=='entity' and connection.execute(f'SELECT 1 FROM {table} WHERE {foreign[3]}=?',(entity['id'],)).fetchone():
+ raise ValueError('新厂牌出现额外资料,拒绝回滚整批')
+ connection.execute('DELETE FROM entity WHERE id=?',(entity['id'],))
+
+
def restore(connection: sqlite3.Connection, manifest: dict) -> None:
"""仅在本批字段和关系未被后续操作改动时恢复整批。"""
cursor = connection.cursor()
@@ -268,6 +315,7 @@ def restore(connection: sqlite3.Connection, manifest: dict) -> None:
for row in manifest['added_relations']:
connection.execute('DELETE FROM asset_entity WHERE asset_id=? AND entity_id=? AND role=? AND source=?',
tuple(row[key] for key in ('asset_id', 'entity_id', 'role', 'source')))
+ _remove_created_studios(connection,cursor,manifest.get('created_entities',[]))
for item in manifest['fields']:
before, after = item['before'], item['after']
owner = owner_of(before['field_owners'], 'creator') or OWNER
diff --git a/src/peach/web_entity.py b/src/peach/web_entity.py
index ff4641e8f..92d126898 100644
--- a/src/peach/web_entity.py
+++ b/src/peach/web_entity.py
@@ -164,7 +164,7 @@ def q_entity(contract: WebContract, args):
metadata = {}
d["metadata"] = metadata
d['classifications'] = entity_classification.classifications(c, [d['id']])[d['id']]
- d['identity_labels'] = entity_classification.labels(d['classifications'])
+ d.update(entity_classification.summaries(c, [d['id']])[d['id']])
d['related_identities'] = entity_classification.related_identities(c, d['id'])
alias_rows = _entity_alias_rows(c, d["id"])
d["aliases"] = [row["alias"] for row in alias_rows]
@@ -567,7 +567,7 @@ def q_index(contract: WebContract, kind, q="", limit=600, offset=0, category="")
"WHERE " + COUNTED_VIDEO + " AND e.kind=? ")
par = [entity_kind]
if q: sql += "AND e.canonical_name LIKE ? "; par.append(f"%{q}%")
- clause, values = entity_classification.filter_sql(category)
+ clause, values = entity_classification.filter_sql(category,connection=c)
sql += clause
par.extend(values)
sql += "GROUP BY e.id,e.canonical_name ORDER BY n DESC LIMIT ? OFFSET ?"
@@ -575,9 +575,10 @@ def q_index(contract: WebContract, kind, q="", limit=600, offset=0, category="")
rows = [dict(r) for r in c.execute(sql, par)]
has_more = len(rows) > limit
rows = rows[:limit]
- claims = entity_classification.classifications(c, [row['entity_id'] for row in rows])
+ summaries = entity_classification.summaries(c, [row['entity_id'] for row in rows])
for row in rows:
- row['identity_labels'] = entity_classification.labels(claims[row['entity_id']])
+ row.update(summaries[row['entity_id']])
+ category_counts = entity_classification.counts(c,entity_kind,q,COUNTED_VIDEO)
else:
sql = ("SELECT e.canonical_name k, count(DISTINCT ae.asset_id) n "
"FROM asset_entity ae JOIN entity e ON e.id=ae.entity_id "
@@ -617,7 +618,7 @@ def q_index(contract: WebContract, kind, q="", limit=600, offset=0, category="")
row["has_logo"] = contract.has_logo(row["k"])
row["logo_version"] = contract.logo_version(row["k"])
result = {"kind": kind, "items": rows, "has_more": has_more}
- if kind == "tags":
+ if kind in {"tags", "performers", "creators"}:
result["categories"] = category_counts
return result
diff --git a/tests/test_entity_classification.py b/tests/test_entity_classification.py
index 99c9d934f..91838130f 100644
--- a/tests/test_entity_classification.py
+++ b/tests/test_entity_classification.py
@@ -1,4 +1,4 @@
-"""多职业分类、来源保护、身份衔接与分页的行为回归。"""
+"""浏览分类、来源保护、身份衔接与分页的行为回归。"""
import sqlite3
import tempfile
import unittest
@@ -38,26 +38,106 @@ class EntityClassificationTests(unittest.TestCase):
{'facet':'occupation','value':'adult_performer','source_url':'https://publisher.test/profile','evidence':'发行出演名单','status':'observed','confidence':1}]}
def test_multiple_markets_and_occupations_are_independent_of_entity_role(self):
- _,entity_id=self.entity('Known Person')
+ _,entity_id=self.entity('Known Person',kind='performer')
for facet,value in [('identity','person'),('occupation','adult_performer'),('occupation','model'),('market','japanese_av'),('market','western_adult')]:
self.claim(entity_id,facet,value)
self.connection.commit()
- data=q_entity(WebContract(self.db),{'kind':'creator','name':'Known Person'})
- self.assertEqual(set(data['identity_labels']),{'个人','成人出演者','模特','日本 AV','西方成人发行'})
+ data=q_entity(WebContract(self.db),{'kind':'performer','name':'Known Person'})
+ self.assertEqual(data['identity_labels'],['女优','西方'])
self.assertEqual(len(data['classifications']),5)
def test_candidates_and_search_hits_do_not_qualify_for_trusted_filters(self):
_,known=self.entity('Known Person'); _,unknown=self.entity('Unknown Person')
- self.claim(known,'identity','person')
- classification.write_claim(self.connection,entity_id=unknown,facet='identity',value='person',source='script:lookup',evidence='同名搜索命中')
+ self.claim(known,'account_role','seller')
+ classification.write_claim(self.connection,entity_id=unknown,facet='account_role',value='seller',source='script:lookup',evidence='同名搜索命中')
self.connection.commit()
- data=q_index(WebContract(self.db),'creators',limit=1,category='unknown')
+ data=q_index(WebContract(self.db),'creators',limit=1,category='blogger')
self.assertEqual([row['entity_id'] for row in data['items']],[unknown])
self.assertFalse(data['has_more'])
- self.assertEqual(data['items'][0]['identity_labels'],['待核验'])
- self.assertEqual(q_index(WebContract(self.db),'creators',category='person')['items'][0]['entity_id'],known)
+ self.assertEqual(data['items'][0]['identity_labels'],['网黄博主'])
+ self.assertEqual(data['categories'],{'blogger':1,'seller':1})
+ self.assertEqual(q_index(WebContract(self.db),'creators',category='seller')['items'][0]['entity_id'],known)
self.assertEqual(q_index(WebContract(self.db),'creators',category="person' OR 1=1")['items'],[])
+ def test_existing_jav_directory_identity_is_shared_by_profiles_and_paginated_filters(self):
+ expected = []
+ for provider in sorted(classification.JAV_DIRECTORIES):
+ _, entity_id = self.entity(provider, kind='performer')
+ self.connection.execute('INSERT INTO entity_external_ref(entity_id,provider,external_kind,external_id) '
+ 'VALUES(?,?,?,?)', (entity_id,provider,'performer',str(entity_id)))
+ expected.append(entity_id)
+ self.connection.commit()
+ before = self.connection.total_changes
+ for provider in sorted(classification.JAV_DIRECTORIES):
+ profile = q_entity(WebContract(self.db),{'kind':'performer','name':provider})
+ self.assertEqual(profile['identity_labels'],['女优'])
+ self.assertEqual(profile['classifications'],[])
+ found = []
+ for offset in range(len(expected)):
+ page = q_index(WebContract(self.db),'performers',category='japanese_av',limit=1,offset=offset)
+ found.extend(row['entity_id'] for row in page['items'])
+ self.assertEqual(page['categories'],{'japanese_av':len(expected)})
+ self.assertCountEqual(found,expected)
+ self.assertEqual(self.connection.total_changes,before)
+
+ def test_collection_refs_general_directories_and_candidates_do_not_assert_jav_identity(self):
+ for provider, external_kind in [('minnano-av','production'),('babepedia','performer'),
+ ('stash','performer'),('r18','performer_name'),('kmib','performer')]:
+ _, entity_id = self.entity(provider, kind='performer')
+ self.connection.execute('INSERT INTO entity_external_ref(entity_id,provider,external_kind,external_id) '
+ 'VALUES(?,?,?,?)', (entity_id,provider,external_kind,str(entity_id)))
+ classification.write_claim(self.connection,entity_id=entity_id,facet='market',value='japanese_av',
+ source='script:search',evidence='未核验同名搜索')
+ self.connection.commit()
+ data = q_index(WebContract(self.db),'performers')
+ self.assertEqual(len(data['items']),5)
+ self.assertTrue(all(row['identity_labels']==[] for row in data['items']))
+ self.assertEqual(q_index(WebContract(self.db),'performers',category='japanese_av')['items'],[])
+
+ def test_category_counts_respect_search_and_visible_works_without_being_limited_to_one_page(self):
+ _, seller = self.entity('Seller Match')
+ self.claim(seller,'account_role','seller')
+ self.entity('Creator Match'); self.entity('Outside')
+ asset_id, hidden = self.entity('Vanished Match')
+ self.connection.execute("UPDATE asset SET disposal='vanished' WHERE id=?",(asset_id,))
+ self.connection.commit()
+ data = q_index(WebContract(self.db),'creators',q='Match',limit=1,category='seller')
+ self.assertEqual(data['categories'],{'blogger':1,'seller':1})
+ self.assertEqual([row['entity_id'] for row in data['items']],[seller])
+
+ def test_fc2_cast_and_western_release_filters_allow_multiple_memberships(self):
+ asset_id, entity_id = self.entity('Known Person',kind='performer')
+ self.claim(entity_id,'market','japanese_av')
+ self.connection.execute("UPDATE asset SET code='FC2-PPV-1234567',region='west' WHERE id=?",(asset_id,))
+ self.connection.commit()
+ for category in ('japanese_av','amateur','western'):
+ page = q_index(WebContract(self.db),'performers',category=category,limit=1)
+ self.assertEqual(page['categories'],{'japanese_av':1,'amateur':1,'western':1})
+ self.assertEqual(page['items'][0]['identity_labels'],['女优','素人','西方'])
+ self.assertEqual(page['items'][0]['identity_categories'],['japanese_av','amateur','western'])
+ self.connection.execute("UPDATE asset SET disposal='vanished' WHERE id=?",(asset_id,))
+ self.connection.commit()
+ self.assertEqual(classification.summaries(self.connection,[entity_id])[entity_id]['identity_labels'],['女优'])
+
+ def test_animation_author_is_separate_from_real_accounts_and_artists(self):
+ _, animator = self.entity('Animator')
+ self.claim(animator,'occupation','animator')
+ _, artist = self.entity('Artist')
+ self.claim(artist,'occupation','artist')
+ self.connection.commit()
+ page = q_index(WebContract(self.db),'creators',category='animation')
+ self.assertEqual([row['entity_id'] for row in page['items']],[animator])
+ self.assertEqual(page['categories'],{'blogger':1,'animation':1})
+
+ def test_western_cast_occupation_does_not_assert_a_japanese_av_career(self):
+ _, entity_id = self.entity('Western Performer',kind='performer')
+ self.claim(entity_id,'occupation','adult_performer')
+ self.claim(entity_id,'market','western_adult')
+ self.connection.commit()
+ profile = q_entity(WebContract(self.db),{'kind':'performer','name':'Western Performer'})
+ self.assertEqual(profile['identity_labels'],['西方'])
+ self.assertEqual(q_index(WebContract(self.db),'performers',category='japanese_av')['items'],[])
+
def test_script_cannot_approve_or_supply_unvalidated_values(self):
_,entity_id=self.entity('Known Person')
for patch in [{'status':'approved'}, {'status':'observed','source_url':'http://example.test'}]:
@@ -107,5 +187,5 @@ class EntityClassificationTests(unittest.TestCase):
self.claim(source,'occupation','model');self.connection.commit()
with self.connection:
merge_entity(self.connection,target_id=target,source_id=source,source_name='Old Name',alias_source='user:review')
- self.assertEqual(classification.labels(classification.classifications(self.connection,[target])[target]),['模特'])
+ self.assertEqual(classification.classifications(self.connection,[target])[target][0]['label'],'模特')
self.assertEqual(self.connection.execute('PRAGMA foreign_key_check').fetchall(),[])
diff --git a/tests/test_metadata_creator_attributions.py b/tests/test_metadata_creator_attributions.py
index 9e431f759..621b05280 100644
--- a/tests/test_metadata_creator_attributions.py
+++ b/tests/test_metadata_creator_attributions.py
@@ -8,6 +8,7 @@ from types import SimpleNamespace
from peach.entities import upsert_asset_entity
from peach.field_owners import write_owned_fields
+from peach.entity_classification import write_claim
from peach.metadata_creator_attributions import apply_plan, collect, restore
from tests.support.ledger import fresh_ledger
from scripts import audit_creator_attributions as audit
@@ -39,7 +40,104 @@ class CreatorAttributionTests(unittest.TestCase):
return asset_id, entity_id
def plan(self):
- return [row for row in collect(self.connection) if row['action'] == 'remove']
+ return [row for row in collect(self.connection) if row['action'] in {'remove','replace'}]
+
+ def test_content_month_quality_and_repost_directories_are_not_accounts(self):
+ names = ['kj','11月','AI增强','白丝','背身足交','7sht.me','98T.la202202092146']
+ for name in names:
+ asset_id, _ = self.asset(name)
+ self.assertIsNone(upsert_asset_entity(self.connection,kind='creator',name=name,
+ asset_id=asset_id,role='creator',source='legacy:asset'))
+ self.asset('Santa'); self.asset('banbi_555'); self.asset('alice.example.com')
+ self.assertCountEqual([row['current_creator'] for row in self.plan()],names)
+ self.asset('kj',path=r'B:\手动归属\kj\clip.mp4',source='user:manual')
+ self.assertCountEqual([row['current_creator'] for row in self.plan()],names[1:])
+ self.assertEqual({row['relation_source']:row['action'] for row in collect(self.connection)
+ if row['current_creator']=='kj'}, {'legacy:asset':'review', 'user:manual':'keep'})
+
+ def test_month_and_quality_collections_reuse_accounts_and_restore_all_relations(self):
+ _, target = self.asset('muchi_tina',source='user:manual')
+ ids = [self.asset(name)[0] for name in ['muchi_tina2025.4','muchi_tina10月','muchi_tina2025年一月']]
+ self.connection.commit()
+ frozen = self.plan()
+ self.assertEqual([row['proposed_creator'] for row in frozen],['muchi_tina']*3)
+ with self.connection:
+ receipt = apply_plan(self.connection,frozen)
+ for asset_id in ids:
+ self.assertEqual(self.connection.execute('SELECT creator FROM asset WHERE id=?',(asset_id,)).fetchone()[0],'muchi_tina')
+ self.assertEqual(self.connection.execute("SELECT entity_id FROM asset_entity WHERE asset_id=? AND role='creator'",(asset_id,)).fetchone()[0],target)
+ with self.connection:
+ restore(self.connection,receipt)
+ self.assertEqual(len(self.plan()),3)
+ self.assertEqual(self.connection.execute('PRAGMA foreign_key_check').fetchall(),[])
+
+ def test_versioned_release_and_publisher_numbers_require_matching_files(self):
+ samples = {
+ 'WAAA-415_6K-C':r'B:\云下载\WAAA-415_6K-C\@[email protected]_WAAA-415_6K-C.mp4',
+ 'wavr00178pl':r'B:\云下载\wavr00178pl\wavr00178.part1.mp4',
+ 'fellatiojapan-090-':r'B:\创作者\fellatiojapan-090-\fellatiojapan-090-AyumuNakahori-1080p\090-AyumuNakahori-1080p.mp4',
+ 'fellatiojapan-324':r'B:\云下载\fellatiojapan-324\2048社区 - [email protected]',
+ }
+ for name,path in samples.items():
+ asset_id,_ = self.asset(name,path=path)
+ self.assertIsNone(upsert_asset_entity(self.connection,kind='creator',name=name,
+ asset_id=asset_id,role='creator',source='scan:directory'))
+ self.asset('banbi_555',path=r'B:\创作者\banbi_555\scene title.mp4')
+ self.asset('ABW-987',path=r'B:\创作者\ABW-987\another title.mp4')
+ self.assertCountEqual([row['current_creator'] for row in self.plan()],samples)
+
+ def test_tokyo_publisher_requires_registered_studio_and_matching_release_file(self):
+ asset_id,_ = self.asset('Tokyo',studio='东京热',code='n1042',path=r'B:\云下载\TokyoHot-n1042.mp4')
+ studio_id = upsert_asset_entity(self.connection,kind='studio',name='东京热',
+ asset_id=asset_id,role='studio',source='release:studio')
+ self.connection.execute("INSERT INTO entity_alias(entity_id,alias,normalized_alias,source) VALUES(?,'Tokyo Hot','tokyo hot','release')",(studio_id,))
+ self.asset('Tokyo',studio='东京热',code='n1042',path=r'B:\创作者\Tokyo\unrelated.mp4')
+ self.assertEqual([row['asset_id'] for row in self.plan()],[asset_id])
+
+ def test_source_confirmed_publisher_lands_as_studio_and_is_reversible(self):
+ asset_id, entity_id = self.asset('Published Brand')
+ write_claim(self.connection,entity_id=entity_id,facet='account_role',value='studio',
+ source='source:official',source_url='https://publisher.test/',evidence='发行目录将出演者与厂牌分列',
+ status='observed',confidence=1)
+ self.connection.commit()
+ self.assertIsNone(upsert_asset_entity(self.connection,kind='creator',name='Published Brand',
+ asset_id=asset_id,role='creator',source='scan:directory'))
+ self.assertIsNone(upsert_asset_entity(self.connection,kind='creator',name='Published Brand2025.05',
+ asset_id=asset_id,role='creator',source='scan:directory'))
+ with self.connection:
+ receipt = apply_plan(self.connection,self.plan())
+ self.assertEqual(self.connection.execute('SELECT creator,studio FROM asset WHERE id=?',(asset_id,)).fetchone(),(None,'Published Brand'))
+ self.assertEqual(len(receipt['created_entities']),1)
+ with self.connection:
+ restore(self.connection,receipt)
+ self.assertEqual(self.connection.execute('SELECT creator,studio FROM asset WHERE id=?',(asset_id,)).fetchone(),('Published Brand',None))
+ self.assertEqual(self.connection.execute('PRAGMA foreign_key_check').fetchall(),[])
+
+ def test_created_studio_with_subsequent_alias_refuses_atomic_restore(self):
+ asset_id, entity_id = self.asset('Published Brand')
+ write_claim(self.connection,entity_id=entity_id,facet='account_role',value='studio',
+ source='source:official',source_url='https://publisher.test/',evidence='发行厂牌官网',
+ status='observed',confidence=1)
+ self.connection.commit()
+ with self.connection:
+ receipt = apply_plan(self.connection,self.plan())
+ studio_id = receipt['created_entities'][0]['id']
+ self.connection.execute("INSERT INTO entity_alias(entity_id,alias,normalized_alias,source) VALUES(?,'Brand','brand','user:manual')",(studio_id,))
+ self.connection.commit()
+ with self.assertRaises(ValueError):
+ with self.connection:
+ restore(self.connection,receipt)
+ self.assertEqual(self.connection.execute('SELECT creator,studio FROM asset WHERE id=?',(asset_id,)).fetchone(),(None,'Published Brand'))
+ self.assertEqual(self.connection.execute('SELECT count(*) FROM entity_alias WHERE entity_id=?',(studio_id,)).fetchone()[0],1)
+
+ def test_collection_ingest_reuses_existing_account_and_preserves_profile(self):
+ _, target = self.asset('muchi_tina',source='user:manual')
+ self.connection.execute("UPDATE entity SET metadata_json='{\"profile\":\"kept\"}' WHERE id=?",(target,))
+ asset_id,_ = self.asset('other')
+ returned = upsert_asset_entity(self.connection,kind='creator',name='muchi_tina2025.05',
+ asset_id=asset_id,role='creator',source='scan:directory')
+ self.assertEqual(returned,target)
+ self.assertEqual(self.connection.execute('SELECT metadata_json FROM entity WHERE id=?',(target,)).fetchone()[0],'{"profile":"kept"}')
def test_platform_is_not_ingested_as_creator(self):
asset_id, _ = self.asset('RealSeller')
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index 790eb803f..a6bc71f1a 100644
--- a/web/dist/peach-react.css
+++ b/web/dist/peach-react.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-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-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-72{max-width:calc(var(--spacing) * 72)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-44{min-width:calc(var(--spacing) * 44)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-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\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\: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\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:min-w-0{min-width:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.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\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--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]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]: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-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>: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-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 :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 10px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-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]){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~=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-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] 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}.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);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>button{color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none}.peach-react :is([data-follow-authors],[data-follow-works])>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>button: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])>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>button[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [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(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] [data-media-check]{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 [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{aspect-ratio:auto 1;height:auto;position:static}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-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);margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{flex:none;width:30px;min-width:0;height:30px;margin:0}.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-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{border:1px solid var(--line-soft);background:var(--overlay-5);width:38px;height:38px;color:inherit;cursor:default;border-radius:50%;flex:none;place-items:center;margin-top:2px;padding:0;display:grid;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{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-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:middle;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [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 [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-detail] [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-detail] [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-detail] [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{border:1px dashed var(--overlay-10);border-radius:var(--floating-radius);height:46px;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;background:0 0;align-self:center;padding:0 12px}.peach-react [data-item-detail] [data-cast-more]:hover{background:var(--hover)}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{padding:3px 8px}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}[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{width:56px;height:56px;box-shadow:none;background:#0000004d;border:0;border-radius:50%;margin:0;line-height:56px;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-big-play-button:hover,[data-stage-media] .video-js .vjs-big-play-button:focus{background:#ffffff1a}[data-stage-media] .video-js .vjs-big-play-button .vjs-icon-placeholder:before{content:"";border-top:.72em solid #0000;border-bottom:.72em solid #0000;border-left:1.05em solid #fff;width:0;height:0;top:50%;left:50%;transform:translate(-38%,-50%)}[data-stage-media] .video-js:has(.vjs-peach-bezel) .vjs-big-play-button{display:none}[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}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""queue queue";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-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);grid-area:queue;max-height:360px}[data-stage-grid][data-with-queue] [data-mix-queue-actions] [data-queue-close]{display:none}[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-stage-grid][data-with-queue]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-list]{overscroll-behavior-inline:contain;scroll-snap-type:x proximity;grid-auto-columns:minmax(190px,220px);grid-auto-flow:column;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]:hover,[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-pic]{border:1px solid #0000;width:100%}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-stage-grid][data-with-queue]>[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""queue"}[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-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:max-content max-content minmax(0,1fr);gap:5px 8px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-stage-grid][data-with-queue]>[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);word-break:break-all;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-stage-grid][data-with-queue]>[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""queue"}[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-stage-grid][data-with-queue]>[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:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] button{background:var(--surface);border:0;border-radius:8px;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] button svg{width:18px;height:18px;margin:0;display:block}[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}@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);margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=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~=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~=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~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=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~=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~=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~=board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=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~=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~=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}[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~=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}@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{color:#f1f1f1;pointer-events:auto;font-weight:600;text-decoration:none}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{color:#aaa;font-size:var(--fs-sm)}[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]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}@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-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.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]>: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)}}[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:20px;margin-bottom:28px;display:block}[data-manage-menu]{border-bottom:1px solid var(--line);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{min-height:44px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;align-items:center;gap:7px;margin:0;padding:12px 10px;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]{color:var(--tungsten);font-weight:500}[data-manage-indicator]{z-index:1;width:var(--tab-width,0px);background:var(--tungsten);height:2px;transform:translateX(var(--tab-x,0px));pointer-events:none;position:absolute;bottom:0;left:0}[data-manage-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease),width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){[data-manage-indicator][data-ready]{transition:none}}[data-manage-crumb]{margin-top:0;margin-bottom:6px;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:16px;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}}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-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-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-72{max-width:calc(var(--spacing) * 72)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-44{min-width:calc(var(--spacing) * 44)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-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\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\: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\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:min-w-0{min-width:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.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\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--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]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]: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-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=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,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>: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-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 :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 10px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-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]){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~=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-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] 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}.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);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>button{color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none}.peach-react :is([data-follow-authors],[data-follow-works])>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>button: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])>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>button[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [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(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] [data-media-check]{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 [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{aspect-ratio:auto 1;height:auto;position:static}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-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);margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{flex:none;width:30px;min-width:0;height:30px;margin:0}.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-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{border:1px solid var(--line-soft);background:var(--overlay-5);width:38px;height:38px;color:inherit;cursor:default;border-radius:50%;flex:none;place-items:center;margin-top:2px;padding:0;display:grid;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{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-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:middle;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [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 [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-detail] [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-detail] [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-detail] [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{border:1px dashed var(--overlay-10);border-radius:var(--floating-radius);height:46px;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;background:0 0;align-self:center;padding:0 12px}.peach-react [data-item-detail] [data-cast-more]:hover{background:var(--hover)}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{padding:3px 8px}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}[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{width:56px;height:56px;box-shadow:none;background:#0000004d;border:0;border-radius:50%;margin:0;line-height:56px;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-big-play-button:hover,[data-stage-media] .video-js .vjs-big-play-button:focus{background:#ffffff1a}[data-stage-media] .video-js .vjs-big-play-button .vjs-icon-placeholder:before{content:"";border-top:.72em solid #0000;border-bottom:.72em solid #0000;border-left:1.05em solid #fff;width:0;height:0;top:50%;left:50%;transform:translate(-38%,-50%)}[data-stage-media] .video-js:has(.vjs-peach-bezel) .vjs-big-play-button{display:none}[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}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""queue queue";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-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);grid-area:queue;max-height:360px}[data-stage-grid][data-with-queue] [data-mix-queue-actions] [data-queue-close]{display:none}[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-stage-grid][data-with-queue]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-list]{overscroll-behavior-inline:contain;scroll-snap-type:x proximity;grid-auto-columns:minmax(190px,220px);grid-auto-flow:column;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]:hover,[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-pic]{border:1px solid #0000;width:100%}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-stage-grid][data-with-queue]>[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""queue"}[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-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:max-content max-content minmax(0,1fr);gap:5px 8px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-stage-grid][data-with-queue]>[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);word-break:break-all;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-stage-grid][data-with-queue]>[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""queue"}[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-stage-grid][data-with-queue]>[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:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] button{background:var(--surface);border:0;border-radius:8px;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] button svg{width:18px;height:18px;margin:0;display:block}[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}@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);margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=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~=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~=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~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=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~=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~=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~=board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=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~=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~=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}[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~=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}@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{color:#f1f1f1;pointer-events:auto;font-weight:600;text-decoration:none}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{color:#aaa;font-size:var(--fs-sm)}[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]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}@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-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.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]>: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)}}[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:20px;margin-bottom:28px;display:block}[data-manage-menu]{border-bottom:1px solid var(--line);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{min-height:44px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;align-items:center;gap:7px;margin:0;padding:12px 10px;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]{color:var(--tungsten);font-weight:500}[data-manage-indicator]{z-index:1;width:var(--tab-width,0px);background:var(--tungsten);height:2px;transform:translateX(var(--tab-x,0px));pointer-events:none;position:absolute;bottom:0;left:0}[data-manage-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease),width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){[data-manage-indicator][data-ready]{transition:none}}[data-manage-crumb]{margin-top:0;margin-bottom:6px;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:16px;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}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index bc2038d93..ab8f76068 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -17315,10 +17315,10 @@ var k_ = {
isInvalid: !1,
validationDetails: k_,
validationErrors: []
-}, M_ = (0, R.createContext)({}), N_ = "__reactAriaFormValidationState";
-function P_(e) {
+}, Yee = (0, R.createContext)({}), M_ = "__reactAriaFormValidationState";
+function N_(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[N_];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[M_];
return {
realtimeValidation: t,
displayValidation: n,
@@ -17327,64 +17327,64 @@ function P_(e) {
commitValidation: a
};
}
- return Yee(e);
+ return Xee(e);
}
-function Yee(e) {
+function Xee(e) {
let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;
n && (t ||= n === "invalid");
let c = t === void 0 ? null : {
isInvalid: t,
validationErrors: [],
validationDetails: A_
- }, l = (0, R.useMemo)(() => !o || i == null ? null : I_(Xee(o, i)), [o, i]);
+ }, l = (0, R.useMemo)(() => !o || i == null ? null : F_(Zee(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, R.useContext)(M_), d = (0, R.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => F_(u[e])) : F_(u[r]) : [], [u, r]), [f, p] = (0, R.useState)(u), [m, h] = (0, R.useState)(!1);
+ let u = (0, R.useContext)(Yee), d = (0, R.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => P_(u[e])) : P_(u[r]) : [], [u, r]), [f, p] = (0, R.useState)(u), [m, h] = (0, R.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, R.useMemo)(() => I_(m ? [] : d), [m, d]), _ = (0, R.useRef)(j_), [v, y] = (0, R.useState)(j_), b = (0, R.useRef)(j_), x = () => {
+ let g = (0, R.useMemo)(() => F_(m ? [] : d), [m, d]), _ = (0, R.useRef)(j_), [v, y] = (0, R.useState)(j_), b = (0, R.useRef)(j_), x = () => {
if (!S) return;
C(!1);
let e = l || a || _.current;
- L_(e, b.current) || (b.current = e, y(e));
+ I_(e, b.current) || (b.current = e, y(e));
}, [S, C] = (0, R.useState)(!1);
return (0, R.useEffect)(x), {
realtimeValidation: c || g || l || a || j_,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !L_(v, e) ? y(e) : _.current = e;
+ s === "aria" && !I_(v, e) ? y(e) : _.current = e;
},
resetValidation() {
let e = j_;
- L_(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
+ I_(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
},
commitValidation() {
s === "native" && C(!0), h(!0);
}
};
}
-function F_(e) {
+function P_(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function Xee(e, t) {
+function Zee(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return F_(n);
+ if (n && typeof n != "boolean") return P_(n);
}
return [];
}
-function I_(e) {
+function F_(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
validationDetails: A_
} : null;
}
-function L_(e, t) {
+function I_(e, t) {
return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);
}
//#endregion
//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs
-function R_(e, t, n) {
- let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = P_({
+function L_(e, t, n) {
+ let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = N_({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;
@@ -17428,7 +17428,7 @@ function R_(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [N_]: i } = e, { commitValidation: a } = i || b;
+ let { [M_]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
@@ -17471,8 +17471,8 @@ function R_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function z_(e, t, n) {
- let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = R_(e, t, n), { isIndeterminate: m } = e;
+function R_(e, t, n) {
+ let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = L_(e, t, n), { isIndeterminate: m } = e;
return (0, R.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
@@ -17491,10 +17491,10 @@ function z_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/utils.mjs
-var Zee = /* @__PURE__ */ new WeakMap();
+var Qee = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/label/useLabel.mjs
-function B_(e) {
+function z_(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
t = gh(t);
let o = gh(), s = {};
@@ -17514,8 +17514,8 @@ function B_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/label/useField.mjs
-function V_(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = B_(e), s = vh([
+function B_(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = z_(e), s = vh([
!!t,
!!n,
r,
@@ -17539,7 +17539,7 @@ function V_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function H_(e) {
+function V_(e) {
let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, R.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = zg(), c = (0, R.useCallback)((e) => {
Np(e.currentTarget, V(e)) && a.current.isFocusWithin && !Np(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
@@ -17580,14 +17580,14 @@ function H_(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var Qee = typeof document < "u" ? R.useInsertionEffect ?? R.useLayoutEffect : () => {};
-function U_(e, t, n) {
+var $ee = typeof document < "u" ? R.useInsertionEffect ?? R.useLayoutEffect : () => {};
+function H_(e, t, n) {
let [r, i] = (0, R.useState)(e || t), a = (0, R.useRef)(r), o = (0, R.useRef)(e !== void 0), s = e !== void 0;
(0, R.useEffect)(() => {
o.current, o.current = s;
}, [s]);
let c = s ? e : r;
- Qee(() => {
+ $ee(() => {
a.current = c;
});
let [, l] = (0, R.useReducer)(() => ({}), {});
@@ -17598,8 +17598,8 @@ function U_(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function W_(e = {}) {
- let { isReadOnly: t } = e, [n, r] = U_(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, R.useState)(n);
+function U_(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = H_(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, R.useState)(n);
function a(e) {
t || r(e);
}
@@ -17615,17 +17615,17 @@ function W_(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function $ee(e, t, n) {
- let r = W_({
+function ete(e, t, n) {
+ let r = U_({
isReadOnly: e.isReadOnly || t.isReadOnly,
isSelected: t.isSelected(e.value),
defaultSelected: t.defaultValue.includes(e.value),
onChange(n) {
n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);
}
- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Zee.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Qee.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = P_({
+ let { realtimeValidation: l } = N_({
...e,
value: r.isSelected,
name: void 0,
@@ -17634,7 +17634,7 @@ function $ee(e, t, n) {
t.setInvalid(e.value, l.isInvalid ? l : u.current);
};
(0, R.useEffect)(d);
- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = z_({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = R_({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -17642,7 +17642,7 @@ function $ee(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [N_]: {
+ [M_]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -17666,12 +17666,12 @@ function $ee(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/number.mjs
-function G_(e, t = -Infinity, n = Infinity) {
+function W_(e, t = -Infinity, n = Infinity) {
return Math.min(Math.max(e, t), n);
}
//#endregion
//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
-var K_ = {
+var G_ = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -17683,30 +17683,30 @@ var K_ = {
width: "1px",
whiteSpace: "nowrap"
};
-function q_(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, R.useState)(!1), { focusWithinProps: a } = H_({
+function K_(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, R.useState)(!1), { focusWithinProps: a } = V_({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, R.useMemo)(() => r ? t : t ? {
- ...K_,
+ ...G_,
...t
- } : K_, [r]);
+ } : G_, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function J_(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = q_(e);
+function q_(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = K_(e);
return /*#__PURE__*/ R.createElement(n, H(a, o), t);
}
//#endregion
//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function ete(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = U_(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Hh(e, t), d = P_({
+function tte(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = H_(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Hh(e, t), d = N_({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = V_({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = B_({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
@@ -17761,13 +17761,13 @@ function ete(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var tte = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function Y_(e) {
+var nte = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function J_(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var X_ = /* @__PURE__ */ new WeakMap(), Z_ = [];
-function Q_(e, t) {
- let n = wp(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && tte, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
+var Y_ = /* @__PURE__ */ new WeakMap(), X_ = [];
+function Z_(e, t) {
+ let n = wp(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && nte, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));
}, u = /* @__PURE__ */ new Set();
if (Mp()) {
@@ -17789,13 +17789,13 @@ function Q_(e, t) {
for (; e != null;) f(e), e = n.nextNode();
}
}, f = (e) => {
- let t = X_.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), X_.set(e, t + 1));
+ let t = Y_.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), Y_.set(e, t + 1));
};
- Z_.length && Z_[Z_.length - 1].disconnect(), d(i);
+ X_.length && X_[X_.length - 1].disconnect(), d(i);
let p = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => Np(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Y_(e) ? o.add(e) : e instanceof Element && d(e);
+ if (t.target.isConnected && ![...o, ...s].some((e) => Np(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && J_(e) ? o.add(e) : e instanceof Element && d(e);
if (Mp()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
@@ -17812,7 +17812,7 @@ function Q_(e, t) {
if (Mp()) for (let e of u) {
let t = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => Np(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Y_(e) ? o.add(e) : e instanceof Element && d(e);
+ if (t.target.isConnected && ![...o, ...s].some((e) => Np(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && J_(e) ? o.add(e) : e instanceof Element && d(e);
if (Mp()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
@@ -17839,59 +17839,59 @@ function Q_(e, t) {
p.disconnect();
}
};
- return Z_.push(h), () => {
+ return X_.push(h), () => {
if (p.disconnect(), Mp()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = X_.get(e);
- t != null && (t === 1 ? (l(e, !1), X_.delete(e)) : X_.set(e, t - 1));
+ let t = Y_.get(e);
+ t != null && (t === 1 ? (l(e, !1), Y_.delete(e)) : Y_.set(e, t - 1));
}
- h === Z_[Z_.length - 1] ? (Z_.pop(), Z_.length && Z_[Z_.length - 1].observe()) : Z_.splice(Z_.indexOf(h), 1);
+ h === X_[X_.length - 1] ? (X_.pop(), X_.length && X_[X_.length - 1].observe()) : X_.splice(X_.indexOf(h), 1);
};
}
-function nte(e) {
- let t = Z_[Z_.length - 1];
+function rte(e) {
+ let t = X_[X_.length - 1];
if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {
t.visibleNodes.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/utils.mjs
-var $_ = /* @__PURE__ */ new WeakMap();
-function rte(e) {
+var Q_ = /* @__PURE__ */ new WeakMap();
+function ite(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function ite(e, t) {
- let n = $_.get(e);
+function ate(e, t) {
+ let n = Q_.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${rte(t)}`;
+ return `${n.id}-option-${ite(t)}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/utils.mjs
-function ev(e) {
+function $_(e) {
return om() ? e.altKey : e.ctrlKey;
}
-function tv(e, t) {
+function ev(e, t) {
let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;
return r && (n = `[data-collection="${CSS.escape(r)}"]${n}`), e.current?.querySelector(n);
}
-var nv = /* @__PURE__ */ new WeakMap();
-function ate(e) {
+var tv = /* @__PURE__ */ new WeakMap();
+function ote(e) {
let t = gh();
- return nv.set(e, t), t;
+ return tv.set(e, t), t;
}
-function ote(e) {
- return nv.get(e);
+function ste(e) {
+ return tv.get(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var rv = class {
+var nv = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : tv(this.ref, e);
+ let n = e == null ? null : ev(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -17917,12 +17917,12 @@ var rv = class {
height: e?.clientHeight ?? 0
};
}
-}, iv = class {
+}, rv = class {
constructor(...e) {
if (e.length === 1) {
let t = e[0];
- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new rv(t.ref);
- } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new rv(this.ref);
+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new nv(t.ref);
+ } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new nv(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -17962,14 +17962,14 @@ var rv = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = tv(this.ref, e);
+ let t = this.getNextKey(e), n = ev(this.ref, e);
if (t != null) {
- let e = tv(this.ref, t);
+ let e = ev(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = tv(this.ref, r);
+ let e = ev(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -18041,184 +18041,184 @@ var rv = class {
}
return null;
}
-}, av = {};
-av = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, iv = {};
+iv = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var ov = {};
-ov = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var av = {};
+av = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var sv = {};
-sv = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var ov = {};
+ov = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/da-DK.mjs
-var cv = {};
-cv = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var sv = {};
+sv = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/de-DE.mjs
-var lv = {};
-lv = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var cv = {};
+cv = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/el-GR.mjs
-var uv = {};
-uv = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var lv = {};
+lv = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var dv = {};
-dv = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var uv = {};
+uv = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var fv = {};
-fv = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var dv = {};
+dv = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/et-EE.mjs
-var pv = {};
-pv = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var fv = {};
+fv = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs
-var mv = {};
-mv = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var pv = {};
+pv = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs
-var hv = {};
-hv = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var mv = {};
+mv = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/he-IL.mjs
-var gv = {};
-gv = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var hv = {};
+hv = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var _v = {};
-_v = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var gv = {};
+gv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs
-var vv = {};
-vv = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var _v = {};
+_v = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/it-IT.mjs
-var yv = {};
-yv = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var vv = {};
+vv = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs
-var bv = {};
-bv = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var yv = {};
+yv = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var xv = {};
-xv = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var bv = {};
+bv = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var Sv = {};
-Sv = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var xv = {};
+xv = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs
-var Cv = {};
-Cv = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var Sv = {};
+Sv = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs
-var wv = {};
-wv = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var Cv = {};
+Cv = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var Tv = {};
-Tv = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var wv = {};
+wv = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs
-var Ev = {};
-Ev = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var Tv = {};
+Tv = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs
-var Dv = {};
-Dv = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var Ev = {};
+Ev = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs
-var Ov = {};
-Ov = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var Dv = {};
+Dv = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs
-var kv = {};
-kv = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var Ov = {};
+Ov = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs
-var Av = {};
-Av = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var kv = {};
+kv = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var jv = {};
-jv = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var Av = {};
+Av = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs
-var Mv = {};
-Mv = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var jv = {};
+jv = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs
-var Nv = {};
-Nv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var Mv = {};
+Mv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs
-var Pv = {};
-Pv = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var Nv = {};
+Nv = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs
-var Fv = {};
-Fv = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var Pv = {};
+Pv = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs
-var Iv = {};
-Iv = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var Fv = {};
+Fv = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var Lv = {};
-Lv = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var Iv = {};
+Iv = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var Rv = {};
-Rv = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var Lv = {};
+Lv = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
//#endregion
//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var zv = {};
-zv = {
- "ar-AE": av,
- "bg-BG": ov,
- "cs-CZ": sv,
- "da-DK": cv,
- "de-DE": lv,
- "el-GR": uv,
- "en-US": dv,
- "es-ES": fv,
- "et-EE": pv,
- "fi-FI": mv,
- "fr-FR": hv,
- "he-IL": gv,
- "hr-HR": _v,
- "hu-HU": vv,
- "it-IT": yv,
- "ja-JP": bv,
- "ko-KR": xv,
- "lt-LT": Sv,
- "lv-LV": Cv,
- "nb-NO": wv,
- "nl-NL": Tv,
- "pl-PL": Ev,
- "pt-BR": Dv,
- "pt-PT": Ov,
- "ro-RO": kv,
- "ru-RU": Av,
- "sk-SK": jv,
- "sl-SI": Mv,
- "sr-SP": Nv,
- "sv-SE": Pv,
- "tr-TR": Fv,
- "uk-UA": Iv,
- "zh-CN": Lv,
- "zh-TW": Rv
+var Rv = {};
+Rv = {
+ "ar-AE": iv,
+ "bg-BG": av,
+ "cs-CZ": ov,
+ "da-DK": sv,
+ "de-DE": cv,
+ "el-GR": lv,
+ "en-US": uv,
+ "es-ES": dv,
+ "et-EE": fv,
+ "fi-FI": pv,
+ "fr-FR": mv,
+ "he-IL": hv,
+ "hr-HR": gv,
+ "hu-HU": _v,
+ "it-IT": vv,
+ "ja-JP": yv,
+ "ko-KR": bv,
+ "lt-LT": xv,
+ "lv-LV": Sv,
+ "nb-NO": Cv,
+ "nl-NL": wv,
+ "pl-PL": Tv,
+ "pt-BR": Ev,
+ "pt-PT": Dv,
+ "ro-RO": Ov,
+ "ru-RU": kv,
+ "sk-SK": Av,
+ "sl-SI": jv,
+ "sr-SP": Mv,
+ "sv-SE": Nv,
+ "tr-TR": Pv,
+ "uk-UA": Fv,
+ "zh-CN": Iv,
+ "zh-TW": Lv
};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var ste = 500;
-function Bv(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = ste, accessibilityDescription: s } = e, c = (0, R.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = zg(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = Wg({
+var cte = 500;
+function zv(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = cte, accessibilityDescription: s } = e, c = (0, R.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = zg(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = Wg({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -18250,8 +18250,8 @@ function Bv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function cte(e) {
- let { onContextMenu: t } = e, n = (0, R.useRef)(!1), { longPressProps: r } = Bv({
+function lte(e) {
+ let { onContextMenu: t } = e, n = (0, R.useRef)(!1), { longPressProps: r } = zv({
onLongPressStart() {
n.current = !1;
},
@@ -18294,13 +18294,13 @@ function cte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var Vv = /* @__PURE__ */ new WeakMap();
-function lte(e) {
+var Bv = /* @__PURE__ */ new WeakMap();
+function ute(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
(0, R.useEffect)(() => !n || r === null ? void 0 : kp(Fp(t.current), "scroll", (e) => {
let n = V(e);
if (!t.current || n instanceof Node && !Np(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || Vv.get(t.current);
+ let i = r || Bv.get(t.current);
i && i();
}, !0), [
n,
@@ -18310,10 +18310,10 @@ function lte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function ute(e, t, n) {
+function dte(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, R.useEffect)(() => {
- n && n.current && Vv.set(n.current, t.close);
+ n && n.current && Bv.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
@@ -18330,11 +18330,11 @@ function ute(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function dte(e) {
+function fte(e) {
return e && e.__esModule ? e.default : e;
}
-function Hv(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = gh(), { triggerProps: s, overlayProps: c } = ute({ type: r }, t, n), l = (e, n, r = "first") => {
+function Vv(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = gh(), { triggerProps: s, overlayProps: c } = dte({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
}, { keyboardProps: u } = Lh({
@@ -18349,7 +18349,7 @@ function Hv(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = kg(dte(zv), "@react-aria/menu"), { longPressProps: f } = Bv({
+ }), d = kg(fte(Rv), "@react-aria/menu"), { longPressProps: f } = zv({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -18368,7 +18368,7 @@ function Hv(e, t, n) {
}
};
delete s.onPress;
- let { contextMenuProps: m } = cte({ onContextMenu(e) {
+ let { contextMenuProps: m } = lte({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -18413,8 +18413,8 @@ function Hv(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var Uv = 1e3;
-function Wv(e) {
+var Hv = 1e3;
+function Uv(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, R.useRef)({
search: "",
timeout: void 0
@@ -18433,11 +18433,11 @@ function Wv(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, Uv);
+ }, Hv);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = fte(e.key);
+ let a = pte(e.key);
if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !Np(e.currentTarget, V(e)) || i.current.search.length === 0 && a === " ")) {
if (i.current.search += a, t.getKeyForSearch != null) {
let a = t.getKeyForSearch(i.current.search, n.focusedKey);
@@ -18449,17 +18449,17 @@ function Wv(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, Uv);
+ }, Hv);
}
} : void 0
} };
}
-function fte(e) {
+function pte(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function Gv(e, t) {
+function Wv(e, t) {
let n = (0, R.useRef)(!0), r = (0, R.useRef)(null);
qp(() => (n.current = !0, () => {
n.current = !1;
@@ -18469,14 +18469,14 @@ function Gv(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function Kv(e) {
+function Gv(e) {
let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = Cg(), _ = mm(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !ev(e)) {
+ if (t.isLink(n) && m === "selection" && l && !$_(e)) {
(0, rp.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = tv(r, n), o = t.getItemProps(n);
+ let a = ev(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -18488,7 +18488,7 @@ function Kv(e) {
t.extendSelection(n);
return;
}
- if (l && !ev(e)) {
+ if (l && !$_(e)) {
t.replaceSelection(n);
return;
}
@@ -18651,7 +18651,7 @@ function Kv(e) {
r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());
} else p.current && (p.current.scrollTop = ee.current.top, p.current.scrollLeft = ee.current.left);
if (t.focusedKey != null && p.current) {
- let e = tv(r, t.focusedKey);
+ let e = ev(r, t.focusedKey);
e instanceof HTMLElement && (!Ip(e) && !d && vp(e), (i === "keyboard" || h && i === "virtual") && C_(e, { containingElement: r.current }));
}
}, P = (e) => {
@@ -18662,14 +18662,14 @@ function Kv(e) {
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (F.current = !0);
} : void 0);
let ne = n.getFirstKey?.() ?? null;
- Gv(() => {
+ Wv(() => {
if (F.current) {
if (ne == null) {
let e = Pp();
dg(r.current), fg(e, null), t.collection.size > 0 && (F.current = !1);
} else t.setFocusedKey(ne), F.current = !1;
}
- }, [ne, t.collection.size]), Gv(() => {
+ }, [ne, t.collection.size]), Wv(() => {
t.collection.size > 0 && (F.current = !1);
}, [t.focusedKey]), gg(r, nee, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
@@ -18692,7 +18692,7 @@ function Kv(e) {
let ae = (0, R.useRef)(t.focusedKey), oe = (0, R.useRef)(null);
(0, R.useEffect)(() => {
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ae.current || ie.current) && p.current && r.current) {
- let e = Zm(), n = tv(r, t.focusedKey);
+ let e = Zm(), n = ev(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {
p.current && (S_(p.current, n), e !== "virtual" && C_(n, { containingElement: r.current }));
@@ -18711,14 +18711,14 @@ function Kv(e) {
onMouseDown(e) {
p.current === V(e) && e.preventDefault();
}
- }, { typeSelectProps: ce } = Wv({
+ }, { typeSelectProps: ce } = Uv({
keyboardDelegate: n,
selectionManager: t
});
u || (se = H(ce, se));
let le;
d || (le = t.focusedKey == null ? 0 : -1);
- let ue = ate(t.collection);
+ let ue = ote(t.collection);
return { collectionProps: H(se, {
tabIndex: le,
"data-collection": ue
@@ -18726,13 +18726,13 @@ function Kv(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function qv(e, t) {
+function Kv(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function Jv(e) {
- return Yv(e, 0);
+function qv(e) {
+ return Jv(e, 0);
}
-function Yv(e, t) {
+function Jv(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -18740,44 +18740,44 @@ function Yv(e, t) {
n++;
}
}
-function Xv(e) {
+function Yv(e) {
let t;
for (let n of e) t = n;
return t;
}
-function Zv(e, t, n) {
+function Xv(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...Qv(e, t), t], i = [...Qv(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...Zv(e, t), t], i = [...Zv(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
return a === -1 ? r.findIndex((e) => e === n) >= 0 ? 1 : (i.findIndex((e) => e === t), -1) : (t = r[a], n = i[a], t.index - n.index);
}
-function Qv(e, t) {
+function Zv(e, t) {
let n = [], r = t;
for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);
return n;
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getItemCount.mjs
-var $v = /* @__PURE__ */ new WeakMap();
-function ey(e) {
- let t = $v.get(e);
+var Qv = /* @__PURE__ */ new WeakMap();
+function $v(e) {
+ let t = Qv.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(qv(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(Kv(i, e)) : i.type === "item" && n++;
};
- return r(e), $v.set(e, n), n;
+ return r(e), Qv.set(e, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var ty = /* @__PURE__ */ new Map();
-function ny(e) {
+var ey = /* @__PURE__ */ new Map();
+function ty(e) {
let { locale: t } = Cg(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (ty.has(n)) return ty.get(n);
+ if (ey.has(n)) return ey.get(n);
let r = new Intl.Collator(t, e);
- return ty.set(n, r), r;
+ return ey.set(n, r), r;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var pte = /*#__PURE__*/ R.forwardRef(({ children: e, ...t }, n) => {
+var mte = /*#__PURE__*/ R.forwardRef(({ children: e, ...t }, n) => {
let r = (0, R.useRef)(!1), i = (0, R.useContext)(Rg), a = H(i || {}, {
...t,
register() {
@@ -18788,44 +18788,44 @@ var pte = /*#__PURE__*/ R.forwardRef(({ children: e, ...t }, n) => {
r.current ||= !0;
}, []), /*#__PURE__*/ R.createElement(Rg.Provider, { value: a }, e);
});
-function mte({ children: e }) {
+function hte({ children: e }) {
let t = (0, R.useMemo)(() => ({ register: () => {} }), []);
return /*#__PURE__*/ R.createElement(Rg.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var ry = /*#__PURE__*/ (0, R.createContext)({});
-function iy(e) {
- let { getContainer: t } = e, { getContainer: n } = ay();
- return /*#__PURE__*/ R.createElement(ry.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var ny = /*#__PURE__*/ (0, R.createContext)({});
+function ry(e) {
+ let { getContainer: t } = e, { getContainer: n } = iy();
+ return /*#__PURE__*/ R.createElement(ny.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function ay() {
- return (0, R.useContext)(ry) ?? {};
+function iy() {
+ return (0, R.useContext)(ny) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var oy = /*#__PURE__*/ R.createContext(null);
-function sy(e) {
+var ay = /*#__PURE__*/ R.createContext(null);
+function oy(e) {
let t = Nm(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, R.useState)(!1), o = (0, R.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = ay();
+ }), [i, a]), { getContainer: s } = iy();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
return e.disableFocusManagement || (c = /*#__PURE__*/ R.createElement(e_, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ R.createElement(oy.Provider, { value: o }, /*#__PURE__*/ R.createElement(mte, null, /*#__PURE__*/ R.createElement(Bh.Provider, { value: null }, c))), /*#__PURE__*/ rp.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ R.createElement(ay.Provider, { value: o }, /*#__PURE__*/ R.createElement(hte, null, /*#__PURE__*/ R.createElement(Bh.Provider, { value: null }, c))), /*#__PURE__*/ rp.createPortal(c, n);
}
-function cy() {
- let e = (0, R.useContext)(oy)?.setContain;
+function sy() {
+ let e = (0, R.useContext)(ay)?.setContain;
qp(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function hte(e, t) {
+function gte(e, t) {
let { role: n = "dialog" } = e, r = vh();
r = e["aria-label"] ? void 0 : r;
let i = vh();
@@ -18841,7 +18841,7 @@ function hte(e, t) {
clearTimeout(e);
};
}
- }, [t]), cy(), (0, R.useRef)(!1), (0, R.useEffect)(() => {});
+ }, [t]), sy(), (0, R.useRef)(!1), (0, R.useEffect)(() => {});
let o = e["aria-describedby"] ?? i;
return {
dialogProps: {
@@ -18860,7 +18860,7 @@ function hte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function ly(e = {}) {
+function cy(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, R.useRef)({
isFocused: !1,
isFocusVisible: t || Xm()
@@ -18876,7 +18876,7 @@ function ly(e = {}) {
let { focusProps: d } = Ch({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = H_({
+ }), { focusWithinProps: f } = V_({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -18888,35 +18888,35 @@ function ly(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function gte(e = {}) {
+function _te(e = {}) {
let { locale: t } = Cg();
return (0, R.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useHover.mjs
-var uy = !1, dy = 0;
-function _te() {
- uy = !0, setTimeout(() => {
- uy = !1;
+var ly = !1, uy = 0;
+function vte() {
+ ly = !0, setTimeout(() => {
+ ly = !1;
}, 500);
}
-function fy(e) {
- e.pointerType === "touch" && _te();
+function dy(e) {
+ e.pointerType === "touch" && vte();
}
-function vte() {
+function yte() {
let e = Cp(null);
- if (e !== void 0) return dy === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", fy), dy++, () => {
- dy--, !(dy > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", fy);
+ if (e !== void 0) return uy === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", dy), uy++, () => {
+ uy--, !(uy > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", dy);
};
}
-function py(e) {
+function fy(e) {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, R.useState)(!1), s = (0, R.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, R.useEffect)(vte, []);
+ (0, R.useEffect)(yte, []);
let { addGlobalListener: c, removeAllGlobalListeners: l } = zg(), { hoverProps: u, triggerHoverEnd: d } = (0, R.useMemo)(() => {
let e = (e, r) => {
if (s.pointerType = r, i || r === "touch" || s.isHovered || !Np(e.currentTarget, V(e))) return;
@@ -18938,7 +18938,7 @@ function py(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- uy && t.pointerType === "mouse" || e(t, t.pointerType);
+ ly && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
!i && Np(e.currentTarget, V(e)) && a(e, e.pointerType);
}), {
@@ -18963,12 +18963,12 @@ function py(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function yte(e) {
+function bte(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, R.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
}), o = hg((e) => {
- n && my(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ n && py(e, t) && (i && i(e), a.current.isPointerDown = !0);
}), s = hg((e) => {
n && n(e);
});
@@ -18978,7 +18978,7 @@ function yte(e) {
let n = t.current, i = Cp(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && my(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && py(n, t) && s(n), e.isPointerDown = !1;
};
return i.addEventListener("pointerdown", o, !0), i.addEventListener("click", n, !0), () => {
i.removeEventListener("pointerdown", o, !0), i.removeEventListener("click", n, !0);
@@ -18986,7 +18986,7 @@ function yte(e) {
}
}, [t, r]);
}
-function my(e, t) {
+function py(e, t) {
if (e.button > 0) return !1;
let n = V(e);
if (n) {
@@ -18997,8 +18997,8 @@ function my(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var hy = {};
-hy = {
+var my = {};
+my = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -19012,8 +19012,8 @@ hy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var gy = {};
-gy = {
+var hy = {};
+hy = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -19027,8 +19027,8 @@ gy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var _y = {};
-_y = {
+var gy = {};
+gy = {
deselectedItem: (e) => `Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,
longPressToSelect: "Dlouhým stisknutím přejdete do režimu výběru.",
select: "Vybrat",
@@ -19042,8 +19042,8 @@ _y = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var vy = {};
-vy = {
+var _y = {};
+_y = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -19057,8 +19057,8 @@ vy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var yy = {};
-yy = {
+var vy = {};
+vy = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -19072,8 +19072,8 @@ yy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var by = {};
-by = {
+var yy = {};
+yy = {
deselectedItem: (e) => `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,
longPressToSelect: "Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",
select: "Επιλογή",
@@ -19087,8 +19087,8 @@ by = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var xy = {};
-xy = {
+var by = {};
+by = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -19102,8 +19102,8 @@ xy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var Sy = {};
-Sy = {
+var xy = {};
+xy = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -19117,8 +19117,8 @@ Sy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var Cy = {};
-Cy = {
+var Sy = {};
+Sy = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -19132,8 +19132,8 @@ Cy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var wy = {};
-wy = {
+var Cy = {};
+Cy = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -19147,8 +19147,8 @@ wy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var Ty = {};
-Ty = {
+var wy = {};
+wy = {
deselectedItem: (e) => `${e.item} non s\xe9lectionn\xe9.`,
longPressToSelect: "Appuyez de manière prolongée pour passer en mode de sélection.",
select: "Sélectionner",
@@ -19162,8 +19162,8 @@ Ty = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var Ey = {};
-Ey = {
+var Ty = {};
+Ty = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -19177,8 +19177,8 @@ Ey = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var Dy = {};
-Dy = {
+var Ey = {};
+Ey = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -19192,8 +19192,8 @@ Dy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var Oy = {};
-Oy = {
+var Dy = {};
+Dy = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -19207,8 +19207,8 @@ Oy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var ky = {};
-ky = {
+var Oy = {};
+Oy = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -19222,8 +19222,8 @@ ky = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var Ay = {};
-Ay = {
+var ky = {};
+ky = {
deselectedItem: (e) => `${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,
longPressToSelect: "長押しして選択モードを開きます。",
select: "選択",
@@ -19237,8 +19237,8 @@ Ay = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var jy = {};
-jy = {
+var Ay = {};
+Ay = {
deselectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,
longPressToSelect: "선택 모드로 들어가려면 길게 누르십시오.",
select: "선택",
@@ -19252,8 +19252,8 @@ jy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var My = {};
-My = {
+var jy = {};
+jy = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -19267,8 +19267,8 @@ My = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var Ny = {};
-Ny = {
+var My = {};
+My = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -19282,8 +19282,8 @@ Ny = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var Py = {};
-Py = {
+var Ny = {};
+Ny = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -19297,8 +19297,8 @@ Py = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var Fy = {};
-Fy = {
+var Py = {};
+Py = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -19312,8 +19312,8 @@ Fy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var Iy = {};
-Iy = {
+var Fy = {};
+Fy = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -19327,8 +19327,8 @@ Iy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var Ly = {};
-Ly = {
+var Iy = {};
+Iy = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -19342,8 +19342,8 @@ Ly = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var Ry = {};
-Ry = {
+var Ly = {};
+Ly = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -19357,8 +19357,8 @@ Ry = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var zy = {};
-zy = {
+var Ry = {};
+Ry = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -19372,8 +19372,8 @@ zy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var By = {};
-By = {
+var zy = {};
+zy = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -19387,8 +19387,8 @@ By = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var Vy = {};
-Vy = {
+var By = {};
+By = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -19402,8 +19402,8 @@ Vy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var Hy = {};
-Hy = {
+var Vy = {};
+Vy = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -19417,8 +19417,8 @@ Hy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var Uy = {};
-Uy = {
+var Hy = {};
+Hy = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -19432,8 +19432,8 @@ Uy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var Wy = {};
-Wy = {
+var Uy = {};
+Uy = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -19447,8 +19447,8 @@ Wy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var Gy = {};
-Gy = {
+var Wy = {};
+Wy = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -19462,8 +19462,8 @@ Gy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var Ky = {};
-Ky = {
+var Gy = {};
+Gy = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -19477,8 +19477,8 @@ Ky = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var qy = {};
-qy = {
+var Ky = {};
+Ky = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -19492,8 +19492,8 @@ qy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var Jy = {};
-Jy = {
+var qy = {};
+qy = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -19507,55 +19507,55 @@ Jy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var Yy = {};
-Yy = {
- "ar-AE": hy,
- "bg-BG": gy,
- "cs-CZ": _y,
- "da-DK": vy,
- "de-DE": yy,
- "el-GR": by,
- "en-US": xy,
- "es-ES": Sy,
- "et-EE": Cy,
- "fi-FI": wy,
- "fr-FR": Ty,
- "he-IL": Ey,
- "hr-HR": Dy,
- "hu-HU": Oy,
- "it-IT": ky,
- "ja-JP": Ay,
- "ko-KR": jy,
- "lt-LT": My,
- "lv-LV": Ny,
- "nb-NO": Py,
- "nl-NL": Fy,
- "pl-PL": Iy,
- "pt-BR": Ly,
- "pt-PT": Ry,
- "ro-RO": zy,
- "ru-RU": By,
- "sk-SK": Vy,
- "sl-SI": Hy,
- "sr-SP": Uy,
- "sv-SE": Wy,
- "tr-TR": Gy,
- "uk-UA": Ky,
- "zh-CN": qy,
- "zh-TW": Jy
+var Jy = {};
+Jy = {
+ "ar-AE": my,
+ "bg-BG": hy,
+ "cs-CZ": gy,
+ "da-DK": _y,
+ "de-DE": vy,
+ "el-GR": yy,
+ "en-US": by,
+ "es-ES": xy,
+ "et-EE": Sy,
+ "fi-FI": Cy,
+ "fr-FR": wy,
+ "he-IL": Ty,
+ "hr-HR": Ey,
+ "hu-HU": Dy,
+ "it-IT": Oy,
+ "ja-JP": ky,
+ "ko-KR": Ay,
+ "lt-LT": jy,
+ "lv-LV": My,
+ "nb-NO": Ny,
+ "nl-NL": Py,
+ "pl-PL": Fy,
+ "pt-BR": Iy,
+ "pt-PT": Ly,
+ "ro-RO": Ry,
+ "ru-RU": zy,
+ "sk-SK": By,
+ "sl-SI": Vy,
+ "sr-SP": Hy,
+ "sv-SE": Uy,
+ "tr-TR": Wy,
+ "uk-UA": Gy,
+ "zh-CN": Ky,
+ "zh-TW": qy
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function bte(e) {
+function xte(e) {
return e && e.__esModule ? e.default : e;
}
-function xte(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = kg(bte(Yy), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, R.useRef)(i), o = (0, R.useCallback)(() => {
+function Ste(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = kg(xte(Jy), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, R.useRef)(i), o = (0, R.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = Xy(i, a.current), o = Xy(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = Yy(i, a.current), o = Yy(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
if (t.selectionManager.selectedKeys.size === 1 && s) {
let e = t.selectionManager.selectedKeys.keys().next().value;
if (e != null && t.collection.getItem(e)) {
@@ -19594,7 +19594,7 @@ function xte(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function Xy(e, t) {
+function Yy(e, t) {
let n = /* @__PURE__ */ new Set();
if (e === "all" || t === "all") return n;
for (let r of e.keys()) t.has(r) || n.add(r);
@@ -19602,7 +19602,7 @@ function Xy(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function Zy(e, t) {
+function Xy(e, t) {
let n = t?.isDisabled, [r, i] = (0, R.useState)(!1);
return qp(() => {
if (e?.current && !n) {
@@ -19627,11 +19627,11 @@ function Zy(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function Ste(e) {
+function Cte(e) {
return e && e.__esModule ? e.default : e;
}
-function Cte(e) {
- let t = kg(Ste(Yy), "@react-aria/grid"), n = $m(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+function wte(e) {
+ let t = kg(Cte(Jy), "@react-aria/grid"), n = $m(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
return T_((0, R.useMemo)(() => {
let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;
return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;
@@ -19645,11 +19645,11 @@ function Cte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function Qy(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = ny({
+function Zy(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = ty({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, R.useMemo)(() => a || new iv({
+ }), l = t.disabledBehavior, u = (0, R.useMemo)(() => a || new rv({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -19666,7 +19666,7 @@ function Qy(e) {
c,
l,
s
- ]), { collectionProps: d } = Kv({
+ ]), { collectionProps: d } = Gv({
...e,
ref: i,
selectionManager: t,
@@ -19676,11 +19676,11 @@ function Qy(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function $y(e) {
+function Qy(e) {
let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = mm();
t = gh(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && ev(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && $_(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -19723,22 +19723,22 @@ function $y(e) {
l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, D.href, D.routerOptions);
}, k = { ref: i };
a ? (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || tb(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || eb(e.key)) && p(e);
}, u ? (k.onPressUp = b ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
}, k.onPress = b ? O : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
}) : k.onPress = (e) => {
if (b || x && e.pointerType !== "mouse") {
- if (e.pointerType === "keyboard" && !eb(e.key)) return;
+ if (e.pointerType === "keyboard" && !$y(e.key)) return;
O(e);
} else e.pointerType !== "keyboard" && v && p(e);
}) : (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || tb(e.key))) && p(e);
+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || eb(e.key))) && p(e);
}, k.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && eb(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && $y(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
});
- let A = ote(n.collection);
+ let A = ste(n.collection);
if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = H(k, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
@@ -19756,7 +19756,7 @@ function $y(e) {
]) D[e] && (k[e] = uh(k[e], D[e]));
let { pressProps: j, isPressed: M } = Wg(k), N = x ? (e) => {
C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));
- } : void 0, { longPressProps: ee } = Bv({
+ } : void 0, { longPressProps: ee } = zv({
isDisabled: !w,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -19805,22 +19805,22 @@ function $y(e) {
hasAction: S
};
}
-function eb(e) {
+function $y(e) {
return e === "Enter";
}
-function tb(e) {
+function eb(e) {
return e === " ";
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function wte(e) {
+function Tte(e) {
return e && e.__esModule ? e.default : e;
}
-function Tte(e, t) {
+function Ete(e, t) {
let { key: n } = e, r = t.selectionManager, i = gh(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": kg(wte(Yy), "@react-aria/grid").format("select"),
+ "aria-label": kg(Tte(Jy), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
@@ -19828,22 +19828,22 @@ function Tte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function Ete(e, t, n) {
+function Dte(e, t, n) {
let r = jg(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
i === "toggle" && o === "action" && (o = "override");
- let { listProps: s } = Qy({
+ let { listProps: s } = Zy({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = H_({
+ }), { focusWithinProps: c } = V_({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
}), l = gh(e.id);
- $_.set(t, {
+ Q_.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -19853,7 +19853,7 @@ function Ete(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = B_({
+ let { labelProps: u, fieldProps: d } = z_({
...e,
id: l,
labelElementType: "span"
@@ -19869,7 +19869,7 @@ function Ete(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function Dte(e) {
+function Ote(e) {
let { heading: t, "aria-label": n } = e, r = gh();
return {
itemProps: { role: "presentation" },
@@ -19889,8 +19889,8 @@ function Dte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function Ote(e, t, n) {
- let { key: r } = e, i = $_.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = vh(), f = vh(), p = {
+function kte(e, t, n) {
+ let { key: r } = e, i = Q_.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = vh(), f = vh(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -19900,9 +19900,9 @@ function Ote(e, t, n) {
}, m = t.collection.getItem(r);
if (u) {
let e = Number(m?.index);
- p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = ey(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = $v(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = ite(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = $y({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = ate(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = Qy({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -19915,7 +19915,7 @@ function Ote(e, t, n) {
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = py({
+ }), { hoverProps: S } = fy({
isDisabled: a || !c,
onHoverStart() {
Xm() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
@@ -19942,13 +19942,13 @@ function Ote(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/utils.mjs
-var nb = /* @__PURE__ */ new WeakMap();
+var tb = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenu.mjs
-function kte(e, t, n) {
+function Ate(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = jg(e, { labelable: !0 }), { listProps: c } = Qy({
+ let s = jg(e, { labelable: !0 }), { listProps: c } = Zy({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -19957,7 +19957,7 @@ function kte(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return nb.set(t, {
+ return tb.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
@@ -19974,8 +19974,8 @@ function kte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function Ate(e, t, n) {
- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = nb.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = mm(), M = () => {
+function jte(e, t, n) {
+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = tb.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = mm(), M = () => {
if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {
let e = O.onAction;
e(i, k?.value);
@@ -19999,7 +19999,7 @@ function Ate(e, t, n) {
};
if (C.selectionMode !== "none" && !w && (F["aria-checked"] = D), s) {
let e = Number(k?.index);
- F["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, F["aria-setsize"] = ey(t.collection);
+ F["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, F["aria-setsize"] = $v(t.collection);
}
let ne = (0, R.useRef)(!1), re = (e) => {
f?.(e), ne.current = e;
@@ -20009,7 +20009,7 @@ function Ate(e, t, n) {
m?.(e), M(), xm(e, j, k.props.href, k?.props.routerOptions);
let t = ie.current?.pointerType === "keyboard" ? ie.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);
t = o ?? a ?? t, A && !w && t && A(), ie.current = null;
- }, { itemProps: se, isFocused: ce } = $y({
+ }, { itemProps: se, isFocused: ce } = Qy({
id: r,
selectionManager: C,
key: i,
@@ -20025,7 +20025,7 @@ function Ate(e, t, n) {
onPressChange: re,
onPressEnd: p,
isDisabled: E
- }), { hoverProps: de } = py({
+ }), { hoverProps: de } = fy({
isDisabled: E,
onHoverStart(e) {
!Xm() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
@@ -20087,7 +20087,7 @@ function Ate(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function jte(e) {
+function Mte(e) {
let { heading: t, "aria-label": n } = e, r = gh();
return {
itemProps: { role: "presentation" },
@@ -20104,15 +20104,15 @@ function jte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function Mte() {
+function Nte() {
return window.ResizeObserver !== void 0;
}
-function rb(e) {
+function nb(e) {
let { ref: t, box: n, onResize: r } = e, i = hg(r);
(0, R.useEffect)(() => {
let e = t?.current;
if (e) {
- if (Mte()) {
+ if (Nte()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -20128,189 +20128,189 @@ function rb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var ib = {};
-ib = { dismiss: "تجاهل" };
+var rb = {};
+rb = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var ab = {};
-ab = { dismiss: "Отхвърляне" };
+var ib = {};
+ib = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var ob = {};
-ob = { dismiss: "Odstranit" };
+var ab = {};
+ab = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var sb = {};
-sb = { dismiss: "Luk" };
+var ob = {};
+ob = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var cb = {};
-cb = { dismiss: "Schließen" };
+var sb = {};
+sb = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var lb = {};
-lb = { dismiss: "Απόρριψη" };
+var cb = {};
+cb = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var ub = {};
-ub = { dismiss: "Dismiss" };
+var lb = {};
+lb = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var db = {};
-db = { dismiss: "Descartar" };
+var ub = {};
+ub = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var fb = {};
-fb = { dismiss: "Lõpeta" };
+var db = {};
+db = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var pb = {};
-pb = { dismiss: "Hylkää" };
+var fb = {};
+fb = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var mb = {};
-mb = { dismiss: "Rejeter" };
+var pb = {};
+pb = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var hb = {};
-hb = { dismiss: "התעלם" };
+var mb = {};
+mb = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var gb = {};
-gb = { dismiss: "Odbaci" };
+var hb = {};
+hb = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var _b = {};
-_b = { dismiss: "Elutasítás" };
+var gb = {};
+gb = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var vb = {};
-vb = { dismiss: "Ignora" };
+var _b = {};
+_b = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var yb = {};
-yb = { dismiss: "閉じる" };
+var vb = {};
+vb = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var bb = {};
-bb = { dismiss: "무시" };
+var yb = {};
+yb = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var xb = {};
-xb = { dismiss: "Atmesti" };
+var bb = {};
+bb = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var Sb = {};
-Sb = { dismiss: "Nerādīt" };
+var xb = {};
+xb = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var Cb = {};
-Cb = { dismiss: "Lukk" };
+var Sb = {};
+Sb = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var wb = {};
-wb = { dismiss: "Negeren" };
+var Cb = {};
+Cb = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var Tb = {};
-Tb = { dismiss: "Zignoruj" };
+var wb = {};
+wb = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var Eb = {};
-Eb = { dismiss: "Descartar" };
+var Tb = {};
+Tb = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var Db = {};
-Db = { dismiss: "Dispensar" };
+var Eb = {};
+Eb = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var Ob = {};
-Ob = { dismiss: "Revocare" };
+var Db = {};
+Db = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var kb = {};
-kb = { dismiss: "Пропустить" };
+var Ob = {};
+Ob = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var Ab = {};
-Ab = { dismiss: "Zrušiť" };
+var kb = {};
+kb = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var jb = {};
-jb = { dismiss: "Opusti" };
+var Ab = {};
+Ab = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var Mb = {};
-Mb = { dismiss: "Odbaci" };
+var jb = {};
+jb = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var Nb = {};
-Nb = { dismiss: "Avvisa" };
+var Mb = {};
+Mb = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var Pb = {};
-Pb = { dismiss: "Kapat" };
+var Nb = {};
+Nb = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var Fb = {};
-Fb = { dismiss: "Скасувати" };
+var Pb = {};
+Pb = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var Ib = {};
-Ib = { dismiss: "取消" };
+var Fb = {};
+Fb = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var Lb = {};
-Lb = { dismiss: "關閉" };
+var Ib = {};
+Ib = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var Rb = {};
-Rb = {
- "ar-AE": ib,
- "bg-BG": ab,
- "cs-CZ": ob,
- "da-DK": sb,
- "de-DE": cb,
- "el-GR": lb,
- "en-US": ub,
- "es-ES": db,
- "et-EE": fb,
- "fi-FI": pb,
- "fr-FR": mb,
- "he-IL": hb,
- "hr-HR": gb,
- "hu-HU": _b,
- "it-IT": vb,
- "ja-JP": yb,
- "ko-KR": bb,
- "lt-LT": xb,
- "lv-LV": Sb,
- "nb-NO": Cb,
- "nl-NL": wb,
- "pl-PL": Tb,
- "pt-BR": Eb,
- "pt-PT": Db,
- "ro-RO": Ob,
- "ru-RU": kb,
- "sk-SK": Ab,
- "sl-SI": jb,
- "sr-SP": Mb,
- "sv-SE": Nb,
- "tr-TR": Pb,
- "uk-UA": Fb,
- "zh-CN": Ib,
- "zh-TW": Lb
+var Lb = {};
+Lb = {
+ "ar-AE": rb,
+ "bg-BG": ib,
+ "cs-CZ": ab,
+ "da-DK": ob,
+ "de-DE": sb,
+ "el-GR": cb,
+ "en-US": lb,
+ "es-ES": ub,
+ "et-EE": db,
+ "fi-FI": fb,
+ "fr-FR": pb,
+ "he-IL": mb,
+ "hr-HR": hb,
+ "hu-HU": gb,
+ "it-IT": _b,
+ "ja-JP": vb,
+ "ko-KR": yb,
+ "lt-LT": bb,
+ "lv-LV": xb,
+ "nb-NO": Sb,
+ "nl-NL": Cb,
+ "pl-PL": wb,
+ "pt-BR": Tb,
+ "pt-PT": Eb,
+ "ro-RO": Db,
+ "ru-RU": Ob,
+ "sk-SK": kb,
+ "sl-SI": Ab,
+ "sr-SP": jb,
+ "sv-SE": Mb,
+ "tr-TR": Nb,
+ "uk-UA": Pb,
+ "zh-CN": Fb,
+ "zh-TW": Ib
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function Nte(e) {
+function Pte(e) {
return e && e.__esModule ? e.default : e;
}
-function zb(e) {
- let { onDismiss: t, ...n } = e, r = _g(n, kg(Nte(Rb), "@react-aria/overlays").format("dismiss")), i = () => {
+function Rb(e) {
+ let { onDismiss: t, ...n } = e, r = _g(n, kg(Pte(Lb), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ R.createElement(J_, null, /*#__PURE__*/ R.createElement("button", {
+ return /*#__PURE__*/ R.createElement(q_, null, /*#__PURE__*/ R.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -20322,22 +20322,22 @@ function zb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var Bb = [];
-function Vb(e, t) {
+var zb = [];
+function Bb(e, t) {
let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, R.useRef)(void 0);
(0, R.useEffect)(() => {
- if (i && !Bb.includes(t)) return Bb.push(t), () => {
- let e = Bb.indexOf(t);
- e >= 0 && Bb.splice(e, 1);
+ if (i && !zb.includes(t)) return zb.push(t), () => {
+ let e = zb.indexOf(t);
+ e >= 0 && zb.splice(e, 1);
};
}, [i, t]);
let l = () => {
- Bb[Bb.length - 1] === t && n && n();
+ zb[zb.length - 1] === t && n && n();
}, u = (e) => {
- let n = Bb[Bb.length - 1];
+ let n = zb[zb.length - 1];
c.current = n, (!s || s(V(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(V(e))) && (Bb[Bb.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ (!s || s(V(e))) && (zb[zb.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
}, { keyboardProps: f } = Lh({ shortcuts: { Escape: () => {
if (!o) {
l();
@@ -20345,12 +20345,12 @@ function Vb(e, t) {
}
return !1;
} } });
- yte({
+ bte({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = H_({
+ let { focusWithinProps: p } = V_({
isDisabled: !r,
onBlurWithin: (e) => {
!e.relatedTarget || Lee(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
@@ -20366,20 +20366,20 @@ function Vb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var Hb = typeof document < "u" && window.visualViewport, Ub = 0, Wb;
-function Gb(e = {}) {
+var Vb = typeof document < "u" && window.visualViewport, Hb = 0, Ub;
+function Wb(e = {}) {
let { isDisabled: t } = e;
qp(() => {
- if (!t) return Ub++, Ub === 1 && (Wb = am() && sm() ? Fte() : Pte()), () => {
- Ub--, Ub === 0 && Wb();
+ if (!t) return Hb++, Hb === 1 && (Ub = am() && sm() ? Ite() : Fte()), () => {
+ Hb--, Hb === 0 && Ub();
};
}, [t]);
}
-function Pte() {
+function Fte() {
let e = window.innerWidth - document.documentElement.clientWidth;
return uh(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Ap(document.documentElement, "scrollbar-gutter", "stable") : Ap(document.documentElement, "padding-right", `${e}px`)), Ap(document.documentElement, "overflow", "hidden"));
}
-function Fte() {
+function Ite() {
let e = Ap(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = V(e);
t = y_(r) ? r : b_(r, !0), n = !1;
@@ -20397,7 +20397,7 @@ function Fte() {
}
}, s = (e) => {
let t = V(e), n = e.relatedTarget;
- n && mg(n) ? (n.focus({ preventScroll: !0 }), Kb(n, mg(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && mg(n) ? (n.focus({ preventScroll: !0 }), Gb(n, mg(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, c = HTMLElement.prototype.focus;
Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -20407,7 +20407,7 @@ function Fte() {
c.call(this, {
...e,
preventScroll: !0
- }), (!e || !e.preventScroll) && Kb(this, n);
+ }), (!e || !e.preventScroll) && Gb(this, n);
}
});
let l = uh(kp(document, "touchstart", r, {
@@ -20425,10 +20425,10 @@ function Fte() {
});
};
}
-function Kb(e, t) {
- t || !Hb ? qb(e) : Hb.addEventListener("resize", () => qb(e), { once: !0 });
+function Gb(e, t) {
+ t || !Vb ? Kb(e) : Vb.addEventListener("resize", () => Kb(e), { once: !0 });
}
-function qb(e) {
+function Kb(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t;) {
let e = b_(n);
@@ -20436,7 +20436,7 @@ function qb(e) {
let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();
if (r.top < t.top || r.bottom > t.top + n.clientHeight) {
let n = t.bottom;
- Hb && (n = Math.min(n, Hb.offsetTop + Hb.height));
+ Vb && (n = Math.min(n, Vb.offsetTop + Vb.height));
let i = r.top - t.top - ((n - t.top) / 2 - r.height / 2);
e.scrollTo({
top: Math.max(0, Math.min(e.scrollHeight - e.clientHeight, e.scrollTop + i)),
@@ -20449,14 +20449,14 @@ function qb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function Ite(e, t, n) {
- let { overlayProps: r, underlayProps: i } = Vb({
+function Lte(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = Bb({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- return Gb({ isDisabled: !t.isOpen }), cy(), (0, R.useEffect)(() => {
- if (t.isOpen && n.current) return Q_([n.current], { shouldUseInert: !0 });
+ return Wb({ isDisabled: !t.isOpen }), sy(), (0, R.useEffect)(() => {
+ if (t.isOpen && n.current) return Z_([n.current], { shouldUseInert: !0 });
}, [t.isOpen, n]), {
modalProps: H(r),
underlayProps: i
@@ -20464,32 +20464,32 @@ function Ite(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var Jb = {
+var qb = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, Yb = {
+}, Jb = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, Lte = {
+}, Rte = {
top: "left",
left: "top"
-}, Xb = {
+}, Yb = {
top: "height",
left: "width"
-}, Zb = {
+}, Xb = {
width: "totalWidth",
height: "totalHeight"
-}, Qb = {}, Rte = () => typeof document < "u" ? window.visualViewport : null;
-function $b(e, t) {
+}, Zb = {}, zte = () => typeof document < "u" ? window.visualViewport : null;
+function Qb(e, t) {
let n = 0, r = 0, i = 0, a = 0, o = 0, s = 0, c = {}, l = (t?.scale ?? 1) > 1;
if (e.tagName === "BODY" || e.tagName === "HTML") {
let l = document.documentElement;
i = l.clientWidth, a = l.clientHeight, n = t?.width ?? i, r = t?.height ?? a, c.top = l.scrollTop || e.scrollTop, c.left = l.scrollLeft || e.scrollLeft, t && (o = Math.max(0, t.pageTop - (c.top ?? 0)), s = Math.max(0, t.pageLeft - (c.left ?? 0)));
- } else ({width: n, height: r, top: o, left: s} = ax(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ } else ({width: n, height: r, top: o, left: s} = ix(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
return sm() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
width: n,
height: r,
@@ -20500,7 +20500,7 @@ function $b(e, t) {
left: s
};
}
-function zte(e) {
+function Bte(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -20508,11 +20508,11 @@ function zte(e) {
height: e.scrollHeight
};
}
-function ex(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[Xb[e]], l = o[e] + r.scroll[Jb[e]] + a, u = o[e] + r.scroll[Jb[e]] + c - a, d = t - s + r.scroll[Jb[e]] + o[e] - r[Jb[e]], f = t - s + n + r.scroll[Jb[e]] + o[e] - r[Jb[e]];
+function $b(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[Yb[e]], l = o[e] + r.scroll[qb[e]] + a, u = o[e] + r.scroll[qb[e]] + c - a, d = t - s + r.scroll[qb[e]] + o[e] - r[qb[e]], f = t - s + n + r.scroll[qb[e]] + o[e] - r[qb[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function Bte(e) {
+function Vte(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -20521,55 +20521,55 @@ function Bte(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function tx(e) {
- if (Qb[e]) return Qb[e];
- let [t, n] = e.split(" "), r = Jb[t] || "right", i = Lte[r];
- Jb[n] || (n = "center");
- let a = Xb[r], o = Xb[i];
- return Qb[e] = {
+function ex(e) {
+ if (Zb[e]) return Zb[e];
+ let [t, n] = e.split(" "), r = qb[t] || "right", i = Rte[r];
+ qb[n] || (n = "center");
+ let a = Yb[r], o = Yb[i];
+ return Zb[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, Qb[e];
+ }, Zb[e];
}
-function nx(e, t, n, r, i, a, o, s, c, l, u) {
+function tx(e, t, n, r, i, a, o, s, c, l, u) {
let { placement: d, crossPlacement: f, axis: p, crossAxis: m, size: h, crossSize: g } = r, _ = {};
_[m] = e[m] ?? 0, f === "center" ? _[m] += ((e[g] ?? 0) - (n[g] ?? 0)) / 2 : f !== m && (_[m] += (e[g] ?? 0) - (n[g] ?? 0)), _[m] += a;
let v = e[m] - n[g] + c + l, y = e[m] + e[g] - c - l;
- if (_[m] = G_(_[m], v, y), d === p) {
- let t = s ? u[h] : u[Zb[h]];
- _[Yb[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = W_(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[Xb[h]];
+ _[Jb[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function Vte(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[Zb.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function Hte(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[Xb.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
top: Math.max(t.top + f, (u?.offsetTop ?? t.top) + f),
bottom: Math.min(t.top + t.height + f, (u?.offsetTop ?? 0) + (u?.height ?? 0))
};
return s === "top" ? Math.max(0, d + o - p.top - ((i.top ?? 0) + (i.bottom ?? 0) + a)) : Math.max(0, p.bottom - d - ((i.top ?? 0) + (i.bottom ?? 0) + a));
}
-function rx(e, t, n, r, i, a, o, s) {
+function nx(e, t, n, r, i, a, o, s) {
let { placement: c, axis: l, size: u } = a;
- return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Yb[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[Yb[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Jb[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[Jb[l]] - i);
}
-function Hte(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = tx(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = nx(t, s, n, v, u, d, l, f, m, h, c), T = u, E = rx(s, l, t, i, a + u, v, c, g);
+function Ute(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = ex(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = tx(t, s, n, v, u, d, l, f, m, h, c), T = u, E = nx(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = tx(`${Yb[S]} ${C}`), r = nx(t, s, n, e, u, d, l, f, m, h, c);
- rx(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = ex(`${Jb[S]} ${C}`), r = tx(t, s, n, e, u, d, l, f, m, h, c);
+ nx(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
}
let D = "bottom";
v.axis === "top" ? v.placement === "top" ? D = "top" : v.placement === "bottom" && (D = "bottom") : v.crossAxis === "top" && (v.crossPlacement === "top" ? D = "bottom" : v.crossPlacement === "bottom" && (D = "top"));
- let O = ex(b, w[b], n[x], s, c, a, l);
+ let O = $b(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = Vte(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = nx(t, s, n, v, T, d, l, f, m, h, c), O = ex(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[Jb[b]], M = j + .5 * t[x], N = m / 2 + h, ee = Jb[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - ee - m / 2 - h;
- A[b] = G_(G_(M, t[b] + m / 2 - (w[b] + i[Jb[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Jb[b]])), N, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ let k = Hte(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = tx(t, s, n, v, T, d, l, f, m, h, c), O = $b(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[qb[b]], M = j + .5 * t[x], N = m / 2 + h, ee = qb[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - ee - m / 2 - h;
+ A[b] = W_(W_(M, t[b] + m / 2 - (w[b] + i[qb[b]]), t[b] + t[x] - m / 2 - (w[b] + i[qb[b]])), N, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
let P = S === "left" || S === "top" ? n[y] : 0, F = {
x: S === "top" || S === "bottom" ? j : P,
y: S === "left" || S === "right" ? j : P
@@ -20583,17 +20583,17 @@ function Hte(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: F
};
}
-function Ute(e) {
- let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = Rte(), h = r instanceof HTMLElement ? Wte(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? ax(n, !1, p) : ox(n, h, !1, p);
+function Wte(e) {
+ let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = zte(), h = r instanceof HTMLElement ? Gte(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? ix(n, !1, p) : ax(n, h, !1, p);
if (!g) {
let { marginTop: e, marginLeft: t } = window.getComputedStyle(n);
y.top += parseInt(e, 10) || 0, y.left += parseInt(t, 10) || 0;
}
- let b = ax(r, !0), x = Bte(r);
+ let b = ix(r, !0), x = Vte(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = zte(i), C = $b(s, m), w = $b(h, m), T;
+ let S = Bte(i), C = Qb(s, m), w = Qb(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = ix(h, !1);
+ let e = rx(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -20605,11 +20605,11 @@ function Ute(e) {
left: 0,
width: 0,
height: 0
- } : ox(s, h, !1);
+ } : ax(s, h, !1);
let E = Np(s, h);
- return Hte(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ return Ute(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function ix(e, t) {
+function rx(e, t) {
let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();
return t && e instanceof e.ownerDocument.defaultView.HTMLElement && (i = e.offsetWidth, a = e.offsetHeight), {
top: n,
@@ -20618,8 +20618,8 @@ function ix(e, t) {
height: a
};
}
-function ax(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || ix(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function ix(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || rx(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -20627,29 +20627,29 @@ function ax(e, t, n) {
height: o
};
}
-function ox(e, t, n, r) {
+function ax(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || ix(e, n);
+ if (i.position === "fixed") a = r || rx(e, n);
else {
- a = ax(e, n, r);
- let i = ax(t, n), o = window.getComputedStyle(t);
+ a = ix(e, n, r);
+ let i = ix(t, n), o = window.getComputedStyle(t);
i.top += (parseInt(o.borderTopWidth, 10) || 0) - t.scrollTop, i.left += (parseInt(o.borderLeftWidth, 10) || 0) - t.scrollLeft, a.top -= i.top, a.left -= i.left;
}
return a.top -= parseInt(i.marginTop, 10) || 0, a.left -= parseInt(i.marginLeft, 10) || 0, a;
}
-function Wte(e) {
+function Gte(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !sx(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !sx(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !ox(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !ox(t);) t = t.parentElement;
return t || document.documentElement;
}
-function sx(e) {
+function ox(e) {
let t = window.getComputedStyle(e);
return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs
-var cx = typeof document < "u" ? window.visualViewport : null;
-function Gte(e) {
+var sx = typeof document < "u" ? window.visualViewport : null;
+function Kte(e) {
let { direction: t } = Cg(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, R.useState)(null), x = [
p,
s,
@@ -20667,12 +20667,12 @@ function Gte(e) {
g,
_,
n
- ], S = (0, R.useRef)(cx?.scale);
+ ], S = (0, R.useRef)(sx?.scale);
(0, R.useEffect)(() => {
- m && (S.current = cx?.scale);
+ m && (S.current = sx?.scale);
}, [m]);
let C = (0, R.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || cx?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || sx?.scale !== S.current) return;
let e = null;
if (o.current && Ip(o.current)) {
let t = Pp()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
@@ -20683,8 +20683,8 @@ function Gte(e) {
}
let h = i.current;
!g && i.current && (h.style.top = "0px", h.style.bottom = "", h.style.maxHeight = (window.visualViewport?.height ?? window.innerHeight) + "px");
- let y = Ute({
- placement: qte(s, t),
+ let y = Wte({
+ placement: Jte(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -20694,7 +20694,7 @@ function Gte(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? ix(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? rx(a.current, !0).width : 0),
arrowBoundaryOffset: _,
targetRect: v?.(r.current)
});
@@ -20707,10 +20707,10 @@ function Gte(e) {
}
b(y);
}, x);
- qp(C, x), Kte(C), rb({
+ qp(C, x), qte(C), nb({
ref: i,
onResize: C
- }), rb({
+ }), nb({
ref: r,
onResize: C
});
@@ -20723,16 +20723,16 @@ function Gte(e) {
}, n = () => {
w.current && t();
};
- cx?.addEventListener("resize", t), cx?.addEventListener("scroll", n);
+ sx?.addEventListener("resize", t), sx?.addEventListener("scroll", n);
let r = kp(Fp(window), "scroll", n);
return () => {
- cx?.removeEventListener("resize", t), cx?.removeEventListener("scroll", n), r();
+ sx?.removeEventListener("resize", t), sx?.removeEventListener("scroll", n), r();
};
}, [C]);
let T = (0, R.useCallback)(() => {
w.current || h?.();
}, [h, w]);
- return lte({
+ return ute({
triggerRef: r,
isOpen: m,
onClose: h && T
@@ -20758,25 +20758,25 @@ function Gte(e) {
updatePosition: C
};
}
-function Kte(e) {
+function qte(e) {
qp(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function qte(e, t) {
+function Jte(e, t) {
return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs
-function Jte(e, t) {
- let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = Vb({
+function Yte(e, t) {
+ let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = Bb({
isOpen: t.isOpen,
onClose: t.close,
shouldCloseOnBlur: !0,
isDismissable: !a || l,
isKeyboardDismissDisabled: o,
shouldCloseOnInteractOutside: s
- }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Gte({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Kte({
...c,
targetRef: n,
overlayRef: r,
@@ -20784,15 +20784,15 @@ function Jte(e, t) {
onClose: a && !l ? t.close : null,
getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)
});
- Gb({ isDisabled: a || !t.isOpen }), (0, R.useEffect)(() => {
- if (t.isOpen && r.current) return a ? nte(i?.current ?? r.current) : Q_([i?.current ?? r.current], { shouldUseInert: !0 });
+ Wb({ isDisabled: a || !t.isOpen }), (0, R.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? rte(i?.current ?? r.current) : Z_([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = H_(e);
+ let { focusWithinProps: g } = V_(e);
return {
popoverProps: H(u, f, g),
arrowProps: p,
@@ -20803,10 +20803,10 @@ function Jte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var lx = /* @__PURE__ */ new WeakMap();
+var cx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function Yte(e, t, n) {
+function Xte(e, t, n) {
let { value: r, children: i, "aria-label": a, "aria-labelledby": o, onPressStart: s, onPressEnd: c, onPressChange: l, onPress: u, onPressUp: d, onClick: f } = e, p = e.isDisabled || t.isDisabled, m = t.selectedValue === r, h = (e) => {
e.stopPropagation(), t.setSelectedValue(r);
}, { pressProps: g, isPressed: _ } = Wg({
@@ -20829,7 +20829,7 @@ function Yte(e, t, n) {
}
}), { focusableProps: b } = Hh(H(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = H(g, b), S = jg(e, { labelable: !0 }), C = -1;
t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);
- let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = lx.get(t);
+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = cx.get(t);
E_(n, t.defaultSelectedValue, t.setSelectedValue), D_({ validationBehavior: O }, t, n);
let k = O_();
return {
@@ -20863,13 +20863,13 @@ function Yte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function Xte(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Cg(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = V_({
+function Zte(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Cg(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = B_({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = jg(e, { labelable: !0 }), { focusWithinProps: v } = H_({
+ }), _ = jg(e, { labelable: !0 }), { focusWithinProps: v } = V_({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -20892,7 +20892,7 @@ function Xte(e, t) {
},
allowRepeats: !0
}), x = gh(n);
- return lx.set(t, {
+ return cx.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -20921,18 +20921,18 @@ function Xte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/useSelect.mjs
-var ux = /* @__PURE__ */ new WeakMap();
-function Zte(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = ny({
+var lx = /* @__PURE__ */ new WeakMap();
+function Qte(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = ty({
usage: "search",
sensitivity: "base"
- }), u = (0, R.useMemo)(() => r || new iv(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, R.useMemo)(() => r || new rv(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = Hv({
+ ]), { menuTriggerProps: d, menuProps: f } = Vv({
isDisabled: i,
type: "listbox"
}, t, n), { keyboardProps: p } = Lh({
@@ -20951,13 +20951,13 @@ function Zte(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = Wv({
+ }), { typeSelectProps: m } = Uv({
keyboardDelegate: u,
selectionManager: t.selectionManager,
onTypeSelect(e) {
t.setSelectedKey(e);
}
- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = V_({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = B_({
...e,
labelElementType: "span",
isInvalid: h,
@@ -20965,7 +20965,7 @@ function Zte(e, t, n) {
});
t.selectionManager.selectionMode === "multiple" && (m = {});
let S = jg(e, { labelable: !0 }), C = H(m, d, y), w = gh();
- return ux.set(t, {
+ return lx.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -21026,8 +21026,8 @@ function Zte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function Qte(e, t, n) {
- let r = ux.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = q_({ style: {
+function $te(e, t, n) {
+ let r = lx.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = K_({ style: {
position: "fixed",
top: 0,
left: 0
@@ -21062,8 +21062,8 @@ function Qte(e, t, n) {
}
};
}
-function $te(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, R.useRef)(null), c = (0, R.useRef)(null), { containerProps: l, selectProps: u } = Qte({
+function ene(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, R.useRef)(null), c = (0, R.useRef)(null), { containerProps: l, selectProps: u } = $te({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -21087,7 +21087,7 @@ function $te(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = ux.get(t) || {};
+ let { validationBehavior: e } = lx.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -21118,7 +21118,7 @@ function $te(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function ene(e) {
+function ux(e) {
let t = jg(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
@@ -21129,7 +21129,7 @@ function ene(e) {
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
function tne(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = R_(e, t, n);
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = L_(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -21146,7 +21146,7 @@ function tne(e, t, n) {
var dx = class {
constructor(e) {
if (this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, !e.layout && !e.ref) throw Error("Either a layout or a ref must be specified.");
- this.layoutDelegate = e.layoutDelegate || (e.layout ? new nne(e.layout) : new rv(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new nne(e.layout) : new nv(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -21182,7 +21182,7 @@ var dx = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of qv(n, this.collection)) {
+ for (let e of Kv(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -21216,13 +21216,13 @@ var dx = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = qv(t, this.collection);
- return (this.direction === "rtl" ? Xv(e)?.key : Jv(e)?.key) ?? null;
+ let e = Kv(t, this.collection);
+ return (this.direction === "rtl" ? Yv(e)?.key : qv(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = qv(n, this.collection), i = (this.direction === "rtl" ? Yv(r, t.index - 1) : Yv(r, t.index + 1)) ?? null;
+ let r = Kv(n, this.collection), i = (this.direction === "rtl" ? Jv(r, t.index - 1) : Jv(r, t.index + 1)) ?? null;
return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) ?? null;
}
return null;
@@ -21231,13 +21231,13 @@ var dx = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = qv(t, this.collection);
- return (this.direction === "rtl" ? Jv(e)?.key : Xv(e)?.key) ?? null;
+ let e = Kv(t, this.collection);
+ return (this.direction === "rtl" ? qv(e)?.key : Yv(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = qv(n, this.collection), i = (this.direction === "rtl" ? Yv(r, t.index + 1) : Yv(r, t.index - 1)) ?? null;
+ let r = Kv(n, this.collection), i = (this.direction === "rtl" ? Jv(r, t.index + 1) : Jv(r, t.index - 1)) ?? null;
return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) ?? null;
}
return null;
@@ -21248,13 +21248,13 @@ var dx = class {
if (r = this.collection.getItem(n), !r) return null;
if (this.isCell(r) && !t && r.parentKey != null) {
let e = this.collection.getItem(r.parentKey);
- return e ? Jv(qv(e, this.collection))?.key ?? null : null;
+ return e ? qv(Kv(e, this.collection))?.key ?? null : null;
}
}
if (n = this.findNextKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {
let e = this.collection.getItem(n);
if (!e) return null;
- n = Jv(qv(e, this.collection))?.key ?? null;
+ n = qv(Kv(e, this.collection))?.key ?? null;
}
return n;
}
@@ -21264,13 +21264,13 @@ var dx = class {
if (r = this.collection.getItem(n), !r) return null;
if (this.isCell(r) && !t && r.parentKey != null) {
let e = this.collection.getItem(r.parentKey);
- return e ? Xv(qv(e, this.collection))?.key ?? null : null;
+ return e ? Yv(Kv(e, this.collection))?.key ?? null : null;
}
}
if (n = this.findPreviousKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {
let e = this.collection.getItem(n);
if (!e) return null;
- n = Xv(qv(e, this.collection))?.key ?? null;
+ n = Yv(Kv(e, this.collection))?.key ?? null;
}
return n;
}
@@ -21306,7 +21306,7 @@ var dx = class {
if (!t) return null;
if (t.textValue) {
let n = t.textValue.slice(0, e.length);
- if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? Jv(qv(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? qv(Kv(t, this.collection))?.key ?? null : t.key;
}
n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);
}
@@ -21331,7 +21331,7 @@ var dx = class {
function rne(e, t, n) {
let { isVirtualized: r, disallowTypeAhead: i, keyboardDelegate: a, focusMode: o, scrollRef: s, getRowText: c, onRowAction: l, onCellAction: u, escapeKeyBehavior: d = "clearSelection", shouldSelectOnPressUp: f, keyboardNavigationBehavior: p = "arrow" } = e, { selectionManager: m } = t;
!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
- let h = ny({
+ let h = ty({
usage: "search",
sensitivity: "base"
}), { direction: g } = Cg(), _ = t.selectionManager.disabledBehavior, v = (0, R.useMemo)(() => a || new dx({
@@ -21351,7 +21351,7 @@ function rne(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = Kv({
+ ]), { collectionProps: y } = Gv({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -21369,7 +21369,7 @@ function rne(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = Cte({
+ let x = wte({
selectionManager: m,
hasItemActions: !!(l || u)
}), S = jg(e, { labelable: !0 }), C = (0, R.useCallback)((e) => {
@@ -21381,12 +21381,12 @@ function rne(e, t, n) {
}, [m]), w = (0, R.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = Zy(n, { isDisabled: t.collection.size !== 0 }), E = H(S, {
+ }), [C, y.onBlur]), T = Xy(n, { isDisabled: t.collection.size !== 0 }), E = H(S, {
role: "grid",
id: b,
"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0
}, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);
- return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), xte({ getRowText: c }, t), { gridProps: E };
+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), Ste({ getRowText: c }, t), { gridProps: E };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
@@ -22000,7 +22000,7 @@ var ane = class extends dx {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = Jv(qv(n, this.collection));
+ let e = qv(Kv(n, this.collection));
if (e) return e.key;
let t = this.getFirstKey();
return t == null || !this.collection.getItem(t) ? null : super.getKeyForItemInRowByIndex(t, n.index);
@@ -22021,13 +22021,13 @@ var ane = class extends dx {
let t = this.findNextKey(e.key, (e) => e.type === "column");
if (t != null) return t;
let n = this.collection.headerRows[e.level];
- for (let e of qv(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of Kv(n, this.collection)) if (e.type === "column") return e.key;
return null;
}
findPreviousColumnKey(e) {
let t = this.findPreviousKey(e.key, (e) => e.type === "column");
if (t != null) return t;
- let n = this.collection.headerRows[e.level], r = [...qv(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...Kv(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -22056,7 +22056,7 @@ var ane = class extends dx {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of qv(o, this.collection)) {
+ for (let r of Kv(o, this.collection)) {
let a = n.columns[r.index];
if (n.rowHeaderColumnKeys.has(a.key) && r.textValue) {
let a = r.textValue.slice(0, e.length);
@@ -22074,7 +22074,7 @@ function one(e) {
return e && e.__esModule ? e.default : e;
}
function sne(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = ny({
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = ty({
usage: "search",
sensitivity: "base"
}), { direction: c } = Cg(), l = t.selectionManager.disabledBehavior, u = (0, R.useMemo)(() => r || new ane({
@@ -22132,7 +22132,7 @@ function Qx(e, t, n) {
}
(m.current != null && r.key !== m.current || !Ip(n.current)) && lh(n.current);
}
- }, { itemProps: g, isPressed: _ } = $y({
+ }, { itemProps: g, isPressed: _ } = Qy({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -22275,7 +22275,7 @@ function dne(e, t, n) {
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs
function fne(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = fx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = $y({
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = fx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Qy({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -22370,7 +22370,7 @@ function gne(e) {
return e && e.__esModule ? e.default : e;
}
function _ne(e, t) {
- let { key: n } = e, { checkboxProps: r } = Tte(e, t);
+ let { key: n } = e, { checkboxProps: r } = Ete(e, t);
return { checkboxProps: {
...r,
"aria-labelledby": `${r.id} ${gx(t, n)}`
@@ -22395,7 +22395,7 @@ function iS(e, t, n) {
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
function yne(e, t, n) {
- let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = $y({
+ let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = Qy({
selectionManager: o,
key: r,
ref: n,
@@ -22469,7 +22469,7 @@ var bne = class {
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
function xne(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Cg(), { collectionProps: l } = Kv({
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Cg(), { collectionProps: l } = Gv({
ref: n,
selectionManager: o,
keyboardDelegate: (0, R.useMemo)(() => new bne(a, c, r, s), [
@@ -22496,7 +22496,7 @@ function xne(e, t, n) {
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
function Sne(e, t, n) {
- let r = Zy(n) ? void 0 : 0, i = iS(t, e.id ?? t?.selectedKey, "tabpanel");
+ let r = Xy(n) ? void 0 : 0, i = iS(t, e.id ?? t?.selectedKey, "tabpanel");
return { tabPanelProps: H(_g({
...e,
id: i,
@@ -22843,7 +22843,7 @@ function jS({ children: e }) {
client: p,
children: /* @__PURE__ */ (0, B.jsx)(sd, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, B.jsx)(iy, {
+ children: /* @__PURE__ */ (0, B.jsx)(ry, {
getContainer: Bne,
children: e
})
@@ -28024,7 +28024,7 @@ var QE = /*#__PURE__*/ (0, R.createContext)({}), xoe = /*#__PURE__*/ Gh(function
[e, t] = BE(e, t, $E);
let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = jee(e, t);
i = woe(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = ly(e), { hoverProps: l, isHovered: u } = py({
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = cy(e), { hoverProps: l, isHovered: u } = fy({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -28100,7 +28100,7 @@ function Doe(e, t) {
value: e.value,
validationBehavior: r
};
- return [i ? $ee(o, i, a) : z_(o, W_(e), a), a];
+ return [i ? ete(o, i, a) : R_(o, U_(e), a), a];
}
var Ooe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
@@ -28117,7 +28117,7 @@ var Ooe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
ref: t
}));
}), koe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, R.useContext)(cD), { isFocused: p, isFocusVisible: m, focusProps: h } = ly(), g = a || o, { hoverProps: _, isHovered: v } = py({
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, R.useContext)(cD), { isFocused: p, isFocusVisible: m, focusProps: h } = cy(), g = a || o, { hoverProps: _, isHovered: v } = fy({
...e,
isDisabled: g
}), y = RE({
@@ -28150,7 +28150,7 @@ var Ooe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": f || void 0
- }, /*#__PURE__*/ R.createElement(J_, { elementType: "span" }, /*#__PURE__*/ R.createElement("input", {
+ }, /*#__PURE__*/ R.createElement(q_, { elementType: "span" }, /*#__PURE__*/ R.createElement("input", {
...H(r, h),
ref: l
})), y.children);
@@ -28158,12 +28158,12 @@ var Ooe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
[e, t] = BE(e, t, lD);
let { isDisabled: n, isInvalid: r, isReadOnly: i, onHoverStart: a, onHoverChange: o, onHoverEnd: s, ...c } = e;
n ??= !!e["aria-disabled"] && e["aria-disabled"] !== "false", r ??= !!e["aria-invalid"] && e["aria-invalid"] !== "false";
- let { hoverProps: l, isHovered: u } = py({
+ let { hoverProps: l, isHovered: u } = fy({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = ly({ within: !0 }), m = RE({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = cy({ within: !0 }), m = RE({
...e,
values: {
isHovered: u,
@@ -28192,10 +28192,10 @@ var Ooe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
return i;
}, Moe = /*#__PURE__*/ Gh(function(e, t) {
[e, t] = BE(e, t, uD);
- let { hoverProps: n, isHovered: r } = py({
+ let { hoverProps: n, isHovered: r } = fy({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = ly({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = cy({
isTextInput: !0,
autoFocus: e.autoFocus
}), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = RE({
@@ -28624,7 +28624,7 @@ var QD = /*#__PURE__*/ (0, R.createContext)({ isSelected: !1 }), $D = /*#__PURE_
[e, t] = BE(e, t, $D);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = WE[c], { separatorProps: u } = ene({
+ let l = WE[c], { separatorProps: u } = ux({
...s,
elementType: n,
orientation: r
@@ -28703,7 +28703,7 @@ function Ioe(e, t) {
return !0;
}
function rO(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, R.useRef)(!1), [, s] = (0, R.useState)(!1), c = (0, R.useRef)(null), l = (0, R.useRef)(null), [, u] = (0, R.useState)(null), [d, f] = U_((0, R.useMemo)(() => iO(e.selectedKeys), [e.selectedKeys]), (0, R.useMemo)(() => iO(e.defaultSelectedKeys, new nO()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, R.useState)(i);
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, R.useRef)(!1), [, s] = (0, R.useState)(!1), c = (0, R.useRef)(null), l = (0, R.useRef)(null), [, u] = (0, R.useState)(null), [d, f] = H_((0, R.useMemo)(() => iO(e.selectedKeys), [e.selectedKeys]), (0, R.useMemo)(() => iO(e.defaultSelectedKeys, new nO()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, R.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, R.useRef)(i);
return (0, R.useEffect)(() => {
@@ -28797,7 +28797,7 @@ var aO = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && Zv(this.collection, n, e) < 0) && (e = n);
+ (!e || n && Xv(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -28805,7 +28805,7 @@ var aO = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && Zv(this.collection, n, e) > 0) && (e = n);
+ (!e || n && Xv(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -28835,7 +28835,7 @@ var aO = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? Zv(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? Xv(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
}
getKeyRangeInternal(e, t) {
if (this.layoutDelegate?.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);
@@ -28885,7 +28885,7 @@ var aO = class e {
for (; r != null;) {
if (this.canSelectItemIn(r, e)) {
let i = e.getItem(r);
- i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(Jv(qv(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(qv(Kv(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -29203,10 +29203,10 @@ function Voe({ props: e, listBoxRef: t, collection: n }) {
}
function mO({ state: e, props: t, listBoxRef: n }) {
[t, n] = BE(t, n, GE);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = zoe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Cg(), { disabledBehavior: p, disabledKeys: m } = l, h = ny({
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = zoe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Cg(), { disabledBehavior: p, disabledKeys: m } = l, h = ty({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, R.useContext)(XE), b = (0, R.useMemo)(() => t.keyboardDelegate || new iv({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, R.useContext)(XE), b = (0, R.useMemo)(() => t.keyboardDelegate || new rv({
collection: c,
collator: h,
ref: n,
@@ -29227,7 +29227,7 @@ function mO({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = Ete({
+ ]), { listBoxProps: x } = Dte({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -29259,7 +29259,7 @@ function mO({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, C, n), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: O, isFocused: k, isFocusVisible: A } = ly(), j = s.collection.size === 0, M = {
+ let { focusProps: O, isFocused: k, isFocusVisible: A } = cy(), j = s.collection.size === 0, M = {
isDropTarget: T,
isEmpty: j,
isFocused: k,
@@ -29311,7 +29311,7 @@ function mO({ state: e, props: t, listBoxRef: n }) {
}))), ee, E));
}
function Hoe(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, R.useContext)(pO), { dragAndDropHooks: a, dropState: o } = (0, R.useContext)(KD), { CollectionBranch: s } = (0, R.useContext)(XE), [c, l] = VE(), { headingProps: u, groupProps: d } = Dte({
+ let i = (0, R.useContext)(pO), { dragAndDropHooks: a, dropState: o } = (0, R.useContext)(KD), { CollectionBranch: s } = (0, R.useContext)(XE), [c, l] = VE(), { headingProps: u, groupProps: d } = Ote({
heading: l,
"aria-label": e["aria-label"] ?? void 0
}), f = RE({
@@ -29334,10 +29334,10 @@ function Hoe(e, t, n, r = "react-aria-ListBoxSection") {
})));
}
var Uoe = /*#__PURE__*/ og(lp, function(e, t, n) {
- let r = Rh(t), i = (0, R.useContext)(pO), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, R.useContext)(KD), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Ote({
+ let r = Rh(t), i = (0, R.useContext)(pO), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, R.useContext)(KD), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = kte({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = py({
+ }, i, r), { hoverProps: p, isHovered: m } = fy({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
@@ -29463,7 +29463,7 @@ var qoe = /*#__PURE__*/ (0, R.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
function hO(e) {
- let [t, n] = U_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, R.useState)(null);
+ let [t, n] = H_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, R.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -29554,7 +29554,7 @@ var yO = /*#__PURE__*/ (0, R.createContext)(null), bO = /*#__PURE__*/ (0, R.crea
});
});
function Joe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useContext)(bO), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = Jte({
+ let a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useContext)(bO), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = Yte({
...i,
offset: i.offset ?? 8,
arrowRef: a,
@@ -29585,7 +29585,7 @@ function Joe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}, [_.children, r]), [S, C] = (0, R.useState)(null), w = (0, R.useCallback)(() => {
i.triggerRef.current && C(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- qp(w, [w]), rb({
+ qp(w, [w]), nb({
ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: w
});
@@ -29610,17 +29610,17 @@ function Joe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": f,
"data-entering": g || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ R.createElement(zb, { onDismiss: e.close }), /*#__PURE__*/ R.createElement(qoe.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ R.createElement(Rb, { onDismiss: e.close }), /*#__PURE__*/ R.createElement(qoe.Provider, { value: {
...d,
placement: f,
ref: a
- } }, x), /*#__PURE__*/ R.createElement(zb, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ R.createElement(sy, {
+ } }, x), /*#__PURE__*/ R.createElement(Rb, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ R.createElement(oy, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, E) : /*#__PURE__*/ R.createElement(sy, {
+ }, E) : /*#__PURE__*/ R.createElement(oy, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -29714,7 +29714,7 @@ var Xoe = class {
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
function Zoe(e) {
- let { onExpandedChange: t } = e, [n, r] = U_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = rO(e), a = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = cO(e, (0, R.useCallback)((e) => new Xoe(e, { expandedKeys: n }), [n]), null);
+ let { onExpandedChange: t } = e, [n, r] = H_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = rO(e), a = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = cO(e, (0, R.useCallback)((e) => new Xoe(e, { expandedKeys: n }), [n]), null);
return (0, R.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -29736,7 +29736,7 @@ function Qoe(e, t) {
//#region node_modules/react-aria-components/dist/private/Menu.mjs
var CO = /*#__PURE__*/ (0, R.createContext)(null), wO = /*#__PURE__*/ (0, R.createContext)(null), TO = /*#__PURE__*/ (0, R.createContext)(null), EO = /*#__PURE__*/ (0, R.createContext)(null);
function $oe(e) {
- let t = SO(e), n = (0, R.useRef)(null), { menuTriggerProps: r, menuProps: i } = Hv({
+ let t = SO(e), n = (0, R.useRef)(null), { menuTriggerProps: r, menuProps: i } = Vv({
...e,
type: "menu"
}, t, n), a = (0, R.useRef)(null);
@@ -29755,7 +29755,7 @@ function $oe(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ R.createElement(pte, {
+ ] }, /*#__PURE__*/ R.createElement(mte, {
...r,
ref: n,
isPressed: t.isOpen
@@ -29788,7 +29788,7 @@ function nse({ props: e, collection: t, menuRef: n }) {
...e,
collection: a,
children: void 0
- }), s = (0, R.useContext)(TO), { isVirtualized: c, CollectionRoot: l } = (0, R.useContext)(XE), { menuProps: u } = kte({
+ }), s = (0, R.useContext)(TO), { isVirtualized: c, CollectionRoot: l } = (0, R.useContext)(XE), { menuProps: u } = Ate({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
@@ -29852,7 +29852,7 @@ var rse = class extends aO {
}
};
function DO(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, R.useContext)(wO), { CollectionBranch: a } = (0, R.useContext)(XE), [o, s] = VE(), { headingProps: c, groupProps: l } = jte({
+ let i = (0, R.useContext)(wO), { CollectionBranch: a } = (0, R.useContext)(XE), [o, s] = VE(), { headingProps: c, groupProps: l } = Mte({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
}), u = RE({
@@ -29881,13 +29881,13 @@ function DO(e, t, n, r = "react-aria-MenuSection") {
}
var OO = /*#__PURE__*/ sg(up, DO), kO = /*#__PURE__*/ (0, R.createContext)(null), AO = /*#__PURE__*/ og(lp, function(e, t, n) {
[e, t] = BE(e, t, kO);
- let r = zE(kO)?.id, i = (0, R.useContext)(wO), a = Rh(t), o = (0, R.useContext)(EO), { isVirtualized: s } = (0, R.useContext)(XE), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Ate({
+ let r = zE(kO)?.id, i = (0, R.useContext)(wO), a = Rh(t), o = (0, R.useContext)(EO), { isVirtualized: s } = (0, R.useContext)(XE), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = jte({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = py({ isDisabled: f.isDisabled }), h = RE({
+ }, i, a), { hoverProps: p, isHovered: m } = fy({ isDisabled: f.isDisabled }), h = RE({
...e,
id: void 0,
children: n.rendered,
@@ -29970,7 +29970,7 @@ og(cp, function(e, t, n) {
var ise = /*#__PURE__*/ (0, R.createContext)(null), jO = /*#__PURE__*/ (0, R.createContext)(null), MO = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
[e, t] = BE(e, t, ise);
- let { dialogProps: r, titleProps: i, contentProps: a } = hte({
+ let { dialogProps: r, titleProps: i, contentProps: a } = gte({
...e,
"aria-labelledby": n
}, t), o = (0, R.useContext)(jO);
@@ -30071,7 +30071,7 @@ function cse(e, t) {
}
var IO = /*#__PURE__*/ (0, R.forwardRef)(cse);
function lse({ UNSTABLE_portalContainer: e, ...t }) {
- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Ite(t, r, n), o = gO(t.overlayRef) || t.isEntering || !1, s = RE({
+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Lte(t, r, n), o = gO(t.overlayRef) || t.isEntering || !1, s = RE({
...t,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -30091,7 +30091,7 @@ function lse({ UNSTABLE_portalContainer: e, ...t }) {
"--page-width": l === void 0 ? void 0 : l + "px",
"--page-height": u === void 0 ? void 0 : u + "px"
};
- return /*#__PURE__*/ R.createElement(sy, {
+ return /*#__PURE__*/ R.createElement(oy, {
isExiting: t.isExiting,
portalContainer: e
}, /*#__PURE__*/ R.createElement(WE.div, {
@@ -30124,13 +30124,13 @@ function LO(e) {
ref: o,
"data-entering": s || void 0,
"data-exiting": r || void 0
- }, i && /*#__PURE__*/ R.createElement(zb, { onDismiss: a.close }), c.children);
+ }, i && /*#__PURE__*/ R.createElement(Rb, { onDismiss: a.close }), c.children);
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
var use = Math.round(Math.random() * 1e10), dse = 0;
function fse(e) {
- let t = (0, R.useMemo)(() => e.name || `radio-group-${use}-${++dse}`, [e.name]), [n, r] = U_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, R.useState)(n), [a, o] = (0, R.useState)(null), s = P_({
+ let t = (0, R.useMemo)(() => e.name || `radio-group-${use}-${++dse}`, [e.name]), [n, r] = H_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, R.useState)(n), [a, o] = (0, R.useState)(null), s = N_({
...e,
value: n
}), c = (t) => {
@@ -30158,7 +30158,7 @@ var pse = /*#__PURE__*/ (0, R.createContext)(null), mse = /*#__PURE__*/ (0, R.cr
let { validationBehavior: n } = zE(aD) || {}, r = e.validationBehavior ?? n ?? "native", i = fse({
...e,
validationBehavior: r
- }), [a, o] = VE(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Xte({
+ }), [a, o] = VE(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Zte({
...e,
label: o,
validationBehavior: r
@@ -30199,7 +30199,7 @@ var pse = /*#__PURE__*/ (0, R.createContext)(null), mse = /*#__PURE__*/ (0, R.cr
}), BO = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
[e, t] = BE(r, t, mse);
- let i = R.useContext(RO), a = Rh((0, R.useMemo)(() => yh(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Yte({
+ let i = R.useContext(RO), a = Rh((0, R.useMemo)(() => yh(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Xte({
...HE(e),
children: typeof e.children == "function" || e.children
}, i, a);
@@ -30212,7 +30212,7 @@ var pse = /*#__PURE__*/ (0, R.createContext)(null), mse = /*#__PURE__*/ (0, R.cr
ref: t
}));
}), VO = /*#__PURE__*/ (0, R.createContext)(null), hse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, R.useContext)(VO), l = R.useContext(RO), { isFocused: u, isFocusVisible: d, focusProps: f } = ly(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = py({
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, R.useContext)(VO), l = R.useContext(RO), { isFocused: u, isFocusVisible: d, focusProps: f } = cy(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = fy({
...e,
isDisabled: p
}), g = RE({
@@ -30242,7 +30242,7 @@ var pse = /*#__PURE__*/ (0, R.createContext)(null), mse = /*#__PURE__*/ (0, R.cr
"data-readonly": l.isReadOnly || void 0,
"data-invalid": l.isInvalid || void 0,
"data-required": l.isRequired || void 0
- }, /*#__PURE__*/ R.createElement(J_, { elementType: "span" }, /*#__PURE__*/ R.createElement("input", {
+ }, /*#__PURE__*/ R.createElement(q_, { elementType: "span" }, /*#__PURE__*/ R.createElement("input", {
...H(r, f),
ref: c
})), g.children);
@@ -30254,7 +30254,7 @@ function gse(e) {
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = U_((0, R.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = H_((0, R.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -30281,7 +30281,7 @@ function gse(e) {
n && r.close(), m.commitValidation();
}
}
- }), f = d.selectionManager.firstSelectedKey, p = (0, R.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = P_({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, R.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = N_({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, R.useState)(!1), [_] = (0, R.useState)(l);
@@ -30348,7 +30348,7 @@ function xse({ props: e, selectRef: t, collection: n }) {
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = ly({ within: !0 }), c = (0, R.useRef)(null), [l, u] = VE(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Zte({
+ }), { isFocusVisible: o, focusProps: s } = cy({ within: !0 }), c = (0, R.useRef)(null), [l, u] = VE(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Qte({
...HE(e),
label: u,
validationBehavior: i
@@ -30417,7 +30417,7 @@ function xse({ props: e, selectRef: t, collection: n }) {
"data-disabled": e.isDisabled || void 0,
"data-invalid": v.isInvalid || void 0,
"data-required": e.isRequired || void 0
- }, b.children, /*#__PURE__*/ R.createElement($te, {
+ }, b.children, /*#__PURE__*/ R.createElement(ene, {
..._,
autoComplete: e.autoComplete
})));
@@ -30436,7 +30436,7 @@ for (var WO = /*#__PURE__*/ (0, R.createContext)(null), Sse = /*#__PURE__*/ Gh(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = gte(), o = (0, R.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, R.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = _te(), o = (0, R.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, R.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
@@ -30472,7 +30472,7 @@ for (var WO = /*#__PURE__*/ (0, R.createContext)(null), Sse = /*#__PURE__*/ Gh(f
}), Cse = /*#__PURE__*/ (0, R.createContext)(null), GO = /*#__PURE__*/ (0, R.createContext)(null), wse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
[e, t] = BE(r, t, Cse);
- let i = Rh((0, R.useMemo)(() => yh(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = W_(e), o = tne({
+ let i = Rh((0, R.useMemo)(() => yh(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = U_(e), o = tne({
...HE(e),
children: typeof e.children == "function" || e.children
}, a, i);
@@ -30485,7 +30485,7 @@ for (var WO = /*#__PURE__*/ (0, R.createContext)(null), Sse = /*#__PURE__*/ Gh(f
ref: t
}));
}), KO = /*#__PURE__*/ (0, R.createContext)(null), Tse = /*#__PURE__*/ (0, R.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, R.useContext)(KO), { isFocused: f, isFocusVisible: p, focusProps: m } = ly(), h = a || o, g = (0, R.useContext)(GO), { hoverProps: _, isHovered: v } = py({
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, R.useContext)(KO), { isFocused: f, isFocusVisible: p, focusProps: m } = cy(), h = a || o, g = (0, R.useContext)(GO), { hoverProps: _, isHovered: v } = fy({
...e,
isDisabled: h
}), y = RE({
@@ -30517,7 +30517,7 @@ for (var WO = /*#__PURE__*/ (0, R.createContext)(null), Sse = /*#__PURE__*/ Gh(f
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ R.createElement(J_, { elementType: "span" }, /*#__PURE__*/ R.createElement("input", {
+ }, /*#__PURE__*/ R.createElement(q_, { elementType: "span" }, /*#__PURE__*/ R.createElement("input", {
...H(r, m),
ref: l
})), y.children);
@@ -30858,10 +30858,10 @@ var Ose = class extends Dse {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return Jv(this.body.childNodes)?.key ?? null;
+ return qv(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return Xv(this.body.childNodes)?.key ?? null;
+ return Yv(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -30899,8 +30899,8 @@ function kse(e) {
if (n === "cell" && e != null) {
let n = t.getItem(e);
if (n?.type === "item") {
- let i = qv(n, t);
- e = r === "last" ? Xv(i)?.key ?? null : Jv(i)?.key ?? null;
+ let i = Kv(n, t);
+ e = r === "last" ? Yv(i)?.key ?? null : qv(i)?.key ?? null;
}
}
a(e, r);
@@ -30925,7 +30925,7 @@ function kse(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...qv(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...Kv(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
r.setFocusedKey(a);
} else r.setFocusedKey(null);
}
@@ -30963,7 +30963,7 @@ function jse(e) {
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = U_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = H_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -31167,7 +31167,7 @@ function Rse({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
[e, t] = BE(e, t, GE);
let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, R.useContext)(Pse);
t = Rh((0, R.useMemo)(() => yh(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = U_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ let [l, u] = H_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, R.useMemo)(() => r.withExpandedKeys(l), [r, l]);
let d = jse({
...s,
@@ -31197,7 +31197,7 @@ function Rse({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new iv({
+ let e = new rv({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -31222,7 +31222,7 @@ function Rse({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
}
}, C, t), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: A, isFocused: j, isFocusVisible: M } = ly(), N = RE({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = cy(), N = RE({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -31288,7 +31288,7 @@ var zse = /*#__PURE__*/ (0, R.createContext)(null), tk = class extends op {
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = nS(), { hoverProps: a, isHovered: o } = py({
+ }), { rowGroupProps: i } = nS(), { hoverProps: a, isHovered: o } = fy({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
@@ -31349,9 +31349,9 @@ var Use = class extends op {
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = ly(), d = (0, R.useContext)($O), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = cy(), d = (0, R.useContext)($O), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = py({ isDisabled: !e.allowsSorting }), h = RE({
+ let { hoverProps: p, isHovered: m } = fy({ isDisabled: !e.allowsSorting }), h = RE({
...e,
id: void 0,
children: n.rendered,
@@ -31472,7 +31472,7 @@ var ok = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), qs
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = ly(), { isFocusVisible: _, focusProps: v } = ly({ within: !0 }), { hoverProps: y, isHovered: b } = py({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = cy(), { isFocusVisible: _, focusProps: v } = cy({ within: !0 }), { hoverProps: y, isHovered: b } = fy({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
@@ -31482,7 +31482,7 @@ var ok = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), qs
key: n.key,
hasDragButton: !0
}, o));
- let C, w = (0, R.useRef)(null), { visuallyHiddenProps: T } = q_();
+ let C, w = (0, R.useRef)(null), { visuallyHiddenProps: T } = K_();
s && a && (C = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -31596,7 +31596,7 @@ var ok = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), qs
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = ly(), { hoverProps: f, isHovered: p } = py({}), { isFocusVisibleWithinRow: m } = (0, R.useContext)(ok), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = RE({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = cy(), { hoverProps: f, isHovered: p } = fy({}), { isFocusVisibleWithinRow: m } = (0, R.useContext)(ok), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = RE({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -31666,7 +31666,7 @@ var Xse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
});
});
function Qse(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, R.useContext)(QO), { visuallyHiddenProps: c } = q_(), l = RE({
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, R.useContext)(QO), { visuallyHiddenProps: c } = K_(), l = RE({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
@@ -31692,7 +31692,7 @@ function Qse(e, t) {
}
var $se = /*#__PURE__*/ (0, R.forwardRef)(Qse);
function ece() {
- let e = (0, R.useContext)(QO), { dragAndDropHooks: t, dropState: n } = (0, R.useContext)(KD), r = (0, R.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = q_();
+ let e = (0, R.useContext)(QO), { dragAndDropHooks: t, dropState: n } = (0, R.useContext)(KD), r = (0, R.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = K_();
return !a && i["aria-hidden"] ? null : /*#__PURE__*/ R.createElement(sk, {
role: "row",
"aria-hidden": i["aria-hidden"],
@@ -31758,7 +31758,7 @@ og(cp, function(e, t, n) {
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
function tce(e) {
- let [t, n] = U_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, R.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = lO({
+ let [t, n] = H_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, R.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = lO({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -31825,7 +31825,7 @@ function rce({ props: e, tabsRef: t, collection: n }) {
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = ly({ within: !0 }), c = (0, R.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = cy({ within: !0 }), c = (0, R.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -31885,7 +31885,7 @@ var gk = /*#__PURE__*/ og(class extends op {
let r = (0, R.useContext)(pk), i = Rh(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = yne({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = ly(), { hoverProps: f, isHovered: p } = py({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = cy(), { hoverProps: f, isHovered: p } = fy({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
@@ -31926,7 +31926,7 @@ var gk = /*#__PURE__*/ og(class extends op {
});
});
function ace(e) {
- let t = (0, R.useContext)(pk), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Sne(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = ly(), d = t.selectedKey === e.id, f = gO(r) && !i, p = RE({
+ let t = (0, R.useContext)(pk), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Sne(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = cy(), d = t.selectedKey === e.id, f = gO(r) && !i, p = RE({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
@@ -31957,7 +31957,7 @@ var oce = /*#__PURE__*/ (0, R.createContext)({}), sce = /*#__PURE__*/ (0, R.crea
[e, t] = BE(e, t, sce);
let { validationBehavior: n } = zE(aD) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, R.useRef)(null);
[e, i] = BE(e, i, KE);
- let [a, o] = VE(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, R.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = ete({
+ let [a, o] = VE(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, R.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = tte({
...HE(e),
inputElementType: s,
label: o,
@@ -33072,7 +33072,7 @@ function aA({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function Gce({ run: e, followups: t }) {
+function oA({ run: e, followups: t }) {
let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Qk(e.elapsed_seconds), o = [Xk[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, B.jsx)(aA, {
run: e,
@@ -33098,7 +33098,7 @@ function Gce({ run: e, followups: t }) {
}) : /* @__PURE__ */ (0, B.jsx)(jE, { label: i })
});
}
-function oA({ run: e, followups: t, runs: n }) {
+function sA({ run: e, followups: t, runs: n }) {
let r = eA(e.result_summary), i = Qk(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
Xk[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
@@ -33119,7 +33119,7 @@ function oA({ run: e, followups: t, runs: n }) {
}) : null
});
}
-function sA({ title: e, children: t }) {
+function cA({ title: e, children: t }) {
let n = (0, R.useId)();
return /* @__PURE__ */ (0, B.jsxs)("section", {
"aria-labelledby": n,
@@ -33131,14 +33131,14 @@ function sA({ title: e, children: t }) {
}), t]
});
}
-function cA({ live: e = !1, children: t }) {
+function lA({ live: e = !1, children: t }) {
return /* @__PURE__ */ (0, B.jsx)("ul", {
"aria-live": e ? "polite" : void 0,
className: "flex min-w-0 flex-col gap-3",
children: t
});
}
-function Kce({ prefill: e }) {
+function Gce({ prefill: e }) {
let t = wS({
queryKey: qk,
queryFn: ({ signal: e }) => Yk(e),
@@ -33180,14 +33180,14 @@ function Kce({ prefill: e }) {
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
- /* @__PURE__ */ (0, B.jsx)(sA, {
+ /* @__PURE__ */ (0, B.jsx)(cA, {
title: "正在进行",
- children: S.length || x.length ? /* @__PURE__ */ (0, B.jsxs)(cA, {
+ children: S.length || x.length ? /* @__PURE__ */ (0, B.jsxs)(lA, {
live: !0,
- children: [S.map((e) => /* @__PURE__ */ (0, B.jsx)(Gce, {
+ children: [S.map((e) => /* @__PURE__ */ (0, B.jsx)(oA, {
run: e,
followups: m.get(e.id)
- }, e.id)), x.map((e) => /* @__PURE__ */ (0, B.jsx)(oA, {
+ }, e.id)), x.map((e) => /* @__PURE__ */ (0, B.jsx)(sA, {
run: e,
followups: m.get(e.id)
}, e.id))]
@@ -33196,17 +33196,17 @@ function Kce({ prefill: e }) {
children: "没有任务在跑。"
})
}),
- C.length ? /* @__PURE__ */ (0, B.jsx)(sA, {
+ C.length ? /* @__PURE__ */ (0, B.jsx)(cA, {
title: "被挡下的",
- children: /* @__PURE__ */ (0, B.jsx)(cA, { children: C.map((e) => /* @__PURE__ */ (0, B.jsx)(oA, {
+ children: /* @__PURE__ */ (0, B.jsx)(lA, { children: C.map((e) => /* @__PURE__ */ (0, B.jsx)(sA, {
run: e,
followups: m.get(e.id)
}, e.id)) })
}) : null,
- w.length || y ? /* @__PURE__ */ (0, B.jsxs)(sA, {
+ w.length || y ? /* @__PURE__ */ (0, B.jsxs)(cA, {
title: "最近完成",
children: [
- w.length ? /* @__PURE__ */ (0, B.jsx)(cA, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, B.jsx)(oA, {
+ w.length ? /* @__PURE__ */ (0, B.jsx)(lA, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, B.jsx)(sA, {
run: e,
runs: t,
followups: m.get(e.id)
@@ -33227,7 +33227,7 @@ function Kce({ prefill: e }) {
]
}) : null
] }),
- /* @__PURE__ */ (0, B.jsx)(sA, {
+ /* @__PURE__ */ (0, B.jsx)(cA, {
title: "云下载",
children: /* @__PURE__ */ (0, B.jsx)(zce, { prefill: e })
})
@@ -33235,7 +33235,7 @@ function Kce({ prefill: e }) {
}
//#endregion
//#region src/react/components/use-stuck.ts
-function lA(e) {
+function uA(e) {
(0, R.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -33253,9 +33253,9 @@ function lA(e) {
}
//#endregion
//#region src/react/components/filter-glass.tsx
-function qce({ title: e, children: t }) {
+function Kce({ title: e, children: t }) {
let n = (0, R.useRef)(null);
- return lA(n), /* @__PURE__ */ (0, B.jsxs)("div", {
+ return uA(n), /* @__PURE__ */ (0, B.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -33268,9 +33268,9 @@ function qce({ title: e, children: t }) {
}), t]
});
}
-function uA({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+function dA({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
let d = (0, R.useRef)(null);
- return lA(d), /* @__PURE__ */ (0, B.jsxs)("div", {
+ return uA(d), /* @__PURE__ */ (0, B.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
@@ -33297,23 +33297,23 @@ function uA({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
]
});
}
-var Jce = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
-function dA({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+var qce = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
+function fA({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: CE(Jce, r),
+ className: CE(qce, r),
onClick: n,
children: e
});
}
-var Yce = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
-function fA({ children: e, onPress: t, busy: n = !1 }) {
+var Jce = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
+function pA({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-glass-pill": "",
- className: Yce,
+ className: Jce,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -33324,7 +33324,7 @@ function fA({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/components/use-view-glide.ts
-function Xce(e, t, n) {
+function Yce(e, t, n) {
if (!t.contains(e)) return null;
let r = 0, i = 0;
for (let n = e; n && n !== t; n = n.offsetParent) r += n.offsetLeft, i += n.offsetTop;
@@ -33348,11 +33348,11 @@ function Xce(e, t, n) {
h: e.offsetHeight
};
}
-function pA(e, t, n, r, { axis: i = "x" } = {}) {
+function mA(e, t, n, r, { axis: i = "x" } = {}) {
let a = (0, R.useRef)(null), o = (0, R.useCallback)((r, o) => {
let s = e.current, c = t.current, l = s?.parentElement;
if (!s) return;
- let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? Xce(u, l, i) : null;
+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? Yce(u, l, i) : null;
if (!d || !d.w) {
s.hidden = !0;
return;
@@ -33394,7 +33394,7 @@ function pA(e, t, n, r, { axis: i = "x" } = {}) {
}
//#endregion
//#region src/react/components/use-moving-surface.ts
-var Zce = {
+var Xce = {
selection: {
type: oi,
duration: .16,
@@ -33406,7 +33406,7 @@ var Zce = {
bounce: 0
}
};
-function mA(e) {
+function hA(e) {
let [t, n] = (0, R.useState)(null);
return (0, R.useLayoutEffect)(() => {
if (!t) return;
@@ -33427,7 +33427,7 @@ function mA(e) {
let E = `translate(${b}px, ${x}px) scale(1, 1)`;
if (u && a && !r.matches && T && s !== h) {
let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;
- l = np(n, { transform: [r, E] }, Zce[e]);
+ l = np(n, { transform: [r, E] }, Xce[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -33464,25 +33464,25 @@ function mA(e) {
}
//#endregion
//#region src/react/components/segmented.tsx
-function hA(e) {
- let t = mA("selection");
+function gA(e) {
+ let t = hA("selection");
return /* @__PURE__ */ (0, B.jsx)(hk, {
...e,
ref: t
});
}
-function gA(e) {
- let t = mA("selection");
+function _A(e) {
+ let t = hA("selection");
return /* @__PURE__ */ (0, B.jsx)(zO, {
...e,
ref: t
});
}
-var _A = "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", vA = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Qce = "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", yA = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", bA = "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)", $ce = { "text-aa": 1.435 }, xA = /* @__PURE__ */ new Map();
-function SA(e) {
- let t = xA.get(e);
+var vA = "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", yA = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Zce = "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", bA = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", xA = "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)", Qce = { "text-aa": 1.435 }, SA = /* @__PURE__ */ new Map();
+function CA(e) {
+ let t = SA.get(e);
if (t) return t;
- let n = $ce[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, B.jsx)("svg", {
+ let n = Qce[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, B.jsx)("svg", {
"aria-hidden": !0,
viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,
className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,
@@ -33496,23 +33496,23 @@ function SA(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, B.jsx)("use", { href: `#i-${e}` })
});
- return r.displayName = `SpriteGlyph(${e})`, xA.set(e, r), r;
+ return r.displayName = `SpriteGlyph(${e})`, SA.set(e, r), r;
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var ele = (e) => e === "videos", CA = () => /* @__PURE__ */ (0, B.jsx)("span", {
+var $ce = (e) => e === "videos", wA = () => /* @__PURE__ */ (0, B.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
-function tle(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = ele(t), u = (0, R.useRef)(null), d = (0, R.useRef)(null), f = (0, R.useRef)(null), p = (0, R.useRef)(null), m = (0, R.useRef)(null), h = (0, R.useRef)(null), g = (0, R.useRef)(null), _ = pA(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = pA(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
+function ele(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = $ce(t), u = (0, R.useRef)(null), d = (0, R.useRef)(null), f = (0, R.useRef)(null), p = (0, R.useRef)(null), m = (0, R.useRef)(null), h = (0, R.useRef)(null), g = (0, R.useRef)(null), _ = mA(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = mA(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
return (0, R.useEffect)(() => {
c.wireDrag(h.current), c.wireScroller(m.current), c.wireDrag(g.current);
- }, [c]), /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(wA, {
+ }, [c]), /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(TA, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, B.jsx)(uA, {
+ }), /* @__PURE__ */ (0, B.jsx)(dA, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -33532,13 +33532,13 @@ function tle(e) {
"data-view-glide": "round",
"aria-hidden": "true"
})] }),
- top: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [n ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(nle, {
+ top: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [n ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(tle, {
keys: n,
view: t,
row: p,
glide: v,
onView: s.setView
- }), l ? /* @__PURE__ */ (0, B.jsx)(CA, {}) : null] }) : null, /* @__PURE__ */ (0, B.jsxs)("div", {
+ }), l ? /* @__PURE__ */ (0, B.jsx)(wA, {}) : null] }) : null, /* @__PURE__ */ (0, B.jsxs)("div", {
ref: m,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
@@ -33558,11 +33558,11 @@ function tle(e) {
r !== e.k && s.setState(e.k);
},
children: e.label
- }, e.k)), /* @__PURE__ */ (0, B.jsx)(CA, {})]
+ }, e.k)), /* @__PURE__ */ (0, B.jsx)(wA, {})]
}), /* @__PURE__ */ (0, B.jsx)("div", {
ref: h,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, B.jsxs)(dA, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, B.jsxs)(fA, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -33574,10 +33574,10 @@ function tle(e) {
}, e.k)) : null
})]
})] }),
- bottom: /* @__PURE__ */ (0, B.jsx)(rle, { ...e })
+ bottom: /* @__PURE__ */ (0, B.jsx)(nle, { ...e })
})] });
}
-function nle({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function tle({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -33619,7 +33619,7 @@ function nle({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function wA({ items: e, hidden: t, actions: n }) {
+function TA({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -33639,7 +33639,7 @@ function wA({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function rle(e) {
+function nle(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, B.jsxs)("button", {
@@ -33651,22 +33651,22 @@ function rle(e) {
dangerouslySetInnerHTML: { __html: L("chevron-left") }
}), /* @__PURE__ */ (0, B.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, B.jsx)(ile, {
+ /* @__PURE__ */ (0, B.jsx)(rle, {
text: n,
busy: r
}),
- t === "videos" && i ? /* @__PURE__ */ (0, B.jsx)(ale, {
+ t === "videos" && i ? /* @__PURE__ */ (0, B.jsx)(ile, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, B.jsx)(ole, {
+ t === "photos" && a ? /* @__PURE__ */ (0, B.jsx)(ale, {
head: a,
actions: o,
helpers: s
}) : null
] });
}
-function ile({ text: e, busy: t }) {
+function rle({ text: e, busy: t }) {
return /* @__PURE__ */ (0, B.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, B.jsx)("span", {
@@ -33676,7 +33676,7 @@ function ile({ text: e, busy: t }) {
}) : e
});
}
-function TA({ name: e, label: t, value: n, options: r, onChange: i }) {
+function EA({ name: e, label: t, value: n, options: r, onChange: i }) {
return /* @__PURE__ */ (0, B.jsx)(zO, {
name: e,
"aria-label": t,
@@ -33684,14 +33684,14 @@ function TA({ name: e, label: t, value: n, options: r, onChange: i }) {
value: n,
onChange: i,
"data-entity-layout": "",
- className: yA,
+ className: bA,
children: r.map(([e, t, n]) => {
- let r = SA(n);
+ let r = CA(n);
return /* @__PURE__ */ (0, B.jsx)(BO, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: bA,
+ className: xA,
children: /* @__PURE__ */ (0, B.jsx)("span", {
title: t,
className: "contents",
@@ -33701,7 +33701,7 @@ function TA({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function EA({ onPress: e, busy: t = !1 }) {
+function DA({ onPress: e, busy: t = !1 }) {
return /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-entity-batch": "",
@@ -33715,27 +33715,27 @@ function EA({ onPress: e, busy: t = !1 }) {
dangerouslySetInnerHTML: { __html: t ? Qe("正在换一批") : L("shuffle") }
});
}
-function ale({ head: e, actions: t }) {
+function ile({ head: e, actions: t }) {
return /* @__PURE__ */ (0, B.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, B.jsx)(EA, { onPress: () => void t.reshuffle() }),
- e.jav ? /* @__PURE__ */ (0, B.jsx)(TA, {
+ /* @__PURE__ */ (0, B.jsx)(DA, { onPress: () => void t.reshuffle() }),
+ e.jav ? /* @__PURE__ */ (0, B.jsx)(EA, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, B.jsx)(DA, {
+ /* @__PURE__ */ (0, B.jsx)(OA, {
sorts: e.sorts,
onSort: t.setSort
})
]
});
}
-function DA({ sorts: e, onSort: t }) {
+function OA({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, B.jsx)(B.Fragment, { children: e.map((e) => {
- let n = SA(e.dir === "asc" ? "arrow-up" : "arrow-down");
+ let n = CA(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -33747,20 +33747,20 @@ function DA({ sorts: e, onSort: t }) {
}, e.key);
}) });
}
-function ole({ head: e, actions: t, helpers: n }) {
+function ale({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, R.useState)(!1), a = (0, R.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, R.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, B.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, B.jsx)(EA, {
+ e.shuffle ? /* @__PURE__ */ (0, B.jsx)(DA, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, B.jsx)(TA, {
+ /* @__PURE__ */ (0, B.jsx)(EA, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -33776,34 +33776,34 @@ function ole({ head: e, actions: t, helpers: n }) {
}
//#endregion
//#region src/react/catalog-filter/catalog-filter-page.tsx
-var OA = "";
-function sle(e) {
- let t = !e.tiers, n = mle(e.comboHost);
+var kA = "";
+function ole(e) {
+ let t = !e.tiers, n = ple(e.comboHost);
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-catalog-root": "",
"data-loading": t || void 0,
"data-refreshing": e.refreshing || void 0,
className: "contents",
children: [
- n ? (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(wA, {
+ n ? (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(TA, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, B.jsx)(ule, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, B.jsx)(cle, { ...e })
+ /* @__PURE__ */ (0, B.jsx)(lle, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, B.jsx)(sle, { ...e })
]
});
}
-function cle(e) {
- let { actions: t, helpers: n } = e, r = (0, R.useRef)(null), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useRef)(null), c = pA(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+function sle(e) {
+ let { actions: t, helpers: n } = e, r = (0, R.useRef)(null), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useRef)(null), c = mA(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, R.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let l = !e.tiers, u = AA(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let l = !e.tiers, u = jA(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, R.useLayoutEffect)(() => {
Ue(o.current, "tagbar");
- }, [u]), /* @__PURE__ */ (0, B.jsx)(uA, {
+ }, [u]), /* @__PURE__ */ (0, B.jsx)(dA, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -33846,17 +33846,17 @@ function cle(e) {
}), /* @__PURE__ */ (0, B.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || l ? /* @__PURE__ */ (0, B.jsx)(kA, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, B.jsx)(lle, {
+ children: [e.empty || l ? /* @__PURE__ */ (0, B.jsx)(AA, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, B.jsx)(cle, {
tag: e,
onPress: t.toggleTag
}, e.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, B.jsx)(fle, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, B.jsx)(dle, { ...e })
});
}
-function lle({ tag: e, onPress: t }) {
- return /* @__PURE__ */ (0, B.jsxs)(dA, {
+function cle({ tag: e, onPress: t }) {
+ return /* @__PURE__ */ (0, B.jsxs)(fA, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -33867,12 +33867,12 @@ function lle({ tag: e, onPress: t }) {
})]
});
}
-function ule(e) {
+function lle(e) {
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
studios: []
- }, i = e.empty || !e.tiers, a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useCallback)((e) => () => t.moreTops(e), [t]), c = AA(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = AA(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, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useCallback)((e) => () => t.moreTops(e), [t]), c = jA(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = jA(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, R.useEffect)(() => {
n.wireDrag(a.current), n.wireDrag(o.current);
}, [
@@ -33885,7 +33885,7 @@ function ule(e) {
children: [u ? /* @__PURE__ */ (0, B.jsx)("div", {
ref: a,
"data-catalog-tier": "performers",
- children: i ? /* @__PURE__ */ (0, B.jsx)(kA, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, B.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, B.jsx)(AA, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -33902,18 +33902,18 @@ function ule(e) {
}) : null, d ? /* @__PURE__ */ (0, B.jsx)("div", {
ref: o,
"data-catalog-tier": "studios",
- children: i ? /* @__PURE__ */ (0, B.jsx)(kA, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, B.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, B.jsx)(AA, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, B.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, B.jsx)(dle, { studio: e }), e.name]
+ children: [/* @__PURE__ */ (0, B.jsx)(ule, { studio: e }), e.name]
}, e.name))
}) : null]
});
}
-function dle({ studio: e }) {
+function ule({ studio: e }) {
let [t, n] = (0, R.useState)(!1);
return /* @__PURE__ */ (0, B.jsx)("span", {
"data-tier-mark": "",
@@ -33927,7 +33927,7 @@ function dle({ studio: e }) {
}) : e.fallback
});
}
-function kA({ kind: e }) {
+function AA({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -33943,32 +33943,32 @@ function kA({ kind: e }) {
children: [/* @__PURE__ */ (0, B.jsx)("span", {}), /* @__PURE__ */ (0, B.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function fle({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+function dle({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
let [a, o] = (0, R.useState)(!1);
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(ple, { count: e }), /* @__PURE__ */ (0, B.jsxs)("span", {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(fle, { count: e }), /* @__PURE__ */ (0, B.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, B.jsx)(EA, {
+ /* @__PURE__ */ (0, B.jsx)(DA, {
onPress: () => {
o(!0), i.reshuffle().finally(() => o(!1));
},
busy: a || t
}),
- n ? /* @__PURE__ */ (0, B.jsx)(TA, {
+ n ? /* @__PURE__ */ (0, B.jsx)(EA, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, B.jsx)(DA, {
+ /* @__PURE__ */ (0, B.jsx)(OA, {
sorts: r,
onSort: i.setSort
})
]
})] });
}
-function ple({ count: e }) {
+function fle({ count: e }) {
let t = (0, R.useRef)(null), n = (0, R.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown}` : "";
return (0, R.useLayoutEffect)(() => {
if (!e) {
@@ -33976,7 +33976,7 @@ function ple({ count: e }) {
return;
}
let i = t.current;
- i && (OA && i.dataset.popCount === void 0 && (i.dataset.popCount = OA), OA = r, We(i, r));
+ i && (kA && i.dataset.popCount === void 0 && (i.dataset.popCount = kA), kA = r, We(i, r));
}, [e, r]), e ? /* @__PURE__ */ (0, B.jsx)("span", {
ref: t,
"data-catalog-readout": "",
@@ -33992,7 +33992,7 @@ function ple({ count: e }) {
})
}, "skeleton");
}
-function mle(e) {
+function ple(e) {
let [t, n] = (0, R.useState)(null);
return (0, R.useLayoutEffect)(() => {
if (!e) return;
@@ -34002,7 +34002,7 @@ function mle(e) {
};
}, [e]), t;
}
-function AA(e, t, n, r, i) {
+function jA(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -34048,7 +34048,7 @@ function AA(e, t, n, r, i) {
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function jA(e, t) {
+function MA(e, t) {
let [n, r] = (0, R.useState)(e ? "skeleton" : "none"), [i] = (0, R.useState)(() => e ? t() : ""), a = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
a.current && Fe(a.current);
@@ -34074,7 +34074,7 @@ function jA(e, t) {
fading: n === "fade"
};
}
-function MA({ message: e, onRetry: t }) {
+function NA({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -34088,7 +34088,7 @@ function MA({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/components/art-slot.tsx
-function NA({ artwork: e, identity: t = e.html, relayout: n }) {
+function PA({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, R.useState)({
identity: t,
artwork: e
@@ -34108,24 +34108,24 @@ function NA({ artwork: e, identity: t = e.html, relayout: n }) {
}
//#endregion
//#region src/react/components/media-card.tsx
-var hle = 9 / 16;
-function PA({ name: e }) {
+var mle = 9 / 16;
+function FA({ name: e }) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, B.jsx)("use", { href: `#i-${e}` })
});
}
-var gle = {
+var hle = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
};
-function FA(e, t, n) {
- return t === "short" ? hle : b(n);
+function IA(e, t, n) {
+ return t === "short" ? mle : b(n);
}
-function _le(e) {
+function gle(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = j(e), s = i[0] || "", c = ie(e);
return {
avatar: r ? /* @__PURE__ */ (0, B.jsx)("div", {
@@ -34172,7 +34172,7 @@ function _le(e) {
})
};
}
-function vle() {
+function _le() {
return /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -34191,7 +34191,7 @@ function vle() {
})]
});
}
-function yle({ item: e, actions: t }) {
+function vle({ item: e, actions: t }) {
let [n, r] = (0, R.useState)(null), [i, a] = (0, R.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-media-later": "",
@@ -34209,21 +34209,21 @@ function yle({ item: e, actions: t }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, B.jsx)(PA, { name: o ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, B.jsx)(FA, { name: o ? "check" : "bookmark-plus" })
})
});
}
-function IA(e, t) {
+function LA(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 ble({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
+function yle({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
let l = (0, R.useRef)(null), u = (0, R.useRef)(e);
u.current = e;
let d = (0, R.useCallback)((e) => {
let t = u.current;
l.current && l.current !== e && le(l.current), l.current = e, e && (!t.medium || t.medium === "video") && fe(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 = A(e, h, !1, n.javImage), _ = h === "small" ? g.html : A(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v), b = f?.total_size ?? e.size, x = f?.total_duration ?? e.duration, S = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = _le(e), T = (e.follow_tags || e.tags || []).slice(0, 3), E = [
+ }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = A(e, h, !1, n.javImage), _ = h === "small" ? g.html : A(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v), b = f?.total_size ?? e.size, x = f?.total_duration ?? e.duration, S = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = gle(e), T = (e.follow_tags || e.tags || []).slice(0, 3), E = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.disposal === "trash" && "dispose",
@@ -34257,9 +34257,9 @@ function ble({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
c(e, r);
}, O = /* @__PURE__ */ (0, B.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(FA(e, t, n)) },
+ style: { "--card-ratio": String(IA(e, t, n)) },
children: [
- g.html ? /* @__PURE__ */ (0, B.jsx)(NA, {
+ g.html ? /* @__PURE__ */ (0, B.jsx)(PA, {
artwork: g,
identity: _,
relayout: (e) => ce(e, h)
@@ -34273,11 +34273,11 @@ function ble({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
}),
/* @__PURE__ */ (0, B.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, B.jsx)(PA, { name: "check" })
+ children: /* @__PURE__ */ (0, B.jsx)(FA, { name: "check" })
}),
/* @__PURE__ */ (0, B.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, B.jsx)(PA, { name: "trash" }), /* @__PURE__ */ (0, B.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, B.jsx)(FA, { name: "trash" }), /* @__PURE__ */ (0, B.jsx)("b", { children: "回收站" })]
}),
f ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-media-group": "",
@@ -34304,8 +34304,8 @@ function ble({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-scrub": "",
children: /* @__PURE__ */ (0, B.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, B.jsx)(vle, {}),
- /* @__PURE__ */ (0, B.jsx)(yle, {
+ /* @__PURE__ */ (0, B.jsx)(_le, {}),
+ /* @__PURE__ */ (0, B.jsx)(vle, {
item: e,
actions: s
}),
@@ -34315,27 +34315,27 @@ function ble({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), IA(l.current, -a);
+ e.stopPropagation(), LA(l.current, -a);
},
title: `后退 ${a} 秒`,
"aria-label": `后退 ${a} 秒`,
- children: /* @__PURE__ */ (0, B.jsx)(PA, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, B.jsx)(FA, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), IA(l.current, a);
+ e.stopPropagation(), LA(l.current, a);
},
title: `前进 ${a} 秒`,
"aria-label": `前进 ${a} 秒`,
- children: /* @__PURE__ */ (0, B.jsx)(PA, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, B.jsx)(FA, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, B.jsx)(PA, { name: "expand" })
+ children: /* @__PURE__ */ (0, B.jsx)(FA, { name: "expand" })
})
]
})
@@ -34411,8 +34411,8 @@ function ble({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
]
});
}
-function xle({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
- let o = (0, R.useRef)(null), [s, c] = (0, R.useState)(!1), l = e.medium === "image" && e.location !== "online", u = String(e.name || ""), d = u.toLowerCase().endsWith(".url") ? "网址快捷方式" : gle[e.medium || ""] || "其它文件", f = l ? "pics" : d === "网址快捷方式" ? "globe" : "hard-drive", p = e.disposal === "trash" ? "restore" : "dispose", m = p === "restore" ? "还原" : "移入回收站", h = (t) => {
+function ble({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
+ let o = (0, R.useRef)(null), [s, c] = (0, R.useState)(!1), l = e.medium === "image" && e.location !== "online", u = String(e.name || ""), d = u.toLowerCase().endsWith(".url") ? "网址快捷方式" : hle[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) => {
if (o.current) {
@@ -34438,7 +34438,7 @@ function xle({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
children: [
/* @__PURE__ */ (0, B.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, B.jsx)(PA, { name: f }), /* @__PURE__ */ (0, B.jsx)("b", { children: d })]
+ children: [/* @__PURE__ */ (0, B.jsx)(FA, { name: f }), /* @__PURE__ */ (0, B.jsx)("b", { children: d })]
}),
l ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-media-art": "thumb",
@@ -34450,11 +34450,11 @@ function xle({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
}),
/* @__PURE__ */ (0, B.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, B.jsx)(PA, { name: "check" })
+ children: /* @__PURE__ */ (0, B.jsx)(FA, { name: "check" })
}),
/* @__PURE__ */ (0, B.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, B.jsx)(PA, { name: "trash" }), /* @__PURE__ */ (0, B.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, B.jsx)(FA, { name: "trash" }), /* @__PURE__ */ (0, B.jsx)("b", { children: "回收站" })]
}),
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
@@ -34464,7 +34464,7 @@ function xle({ 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, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("span", { dangerouslySetInnerHTML: { __html: Qe(p === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, B.jsx)("span", { children: _ })] }) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(PA, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, B.jsx)("span", { children: m })] })
+ children: s ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("span", { dangerouslySetInnerHTML: { __html: Qe(p === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, B.jsx)("span", { children: _ })] }) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(FA, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, B.jsx)("span", { children: m })] })
})
]
}), /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -34473,7 +34473,7 @@ function xle({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, B.jsx)(PA, { name: f })
+ children: /* @__PURE__ */ (0, B.jsx)(FA, { name: f })
}), /* @__PURE__ */ (0, B.jsxs)("div", {
"data-media-text": "",
children: [/* @__PURE__ */ (0, B.jsx)("span", {
@@ -34502,17 +34502,17 @@ function xle({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
})]
});
}
-function Sle(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, B.jsx)(xle, { ...e }) : /* @__PURE__ */ (0, B.jsx)(ble, { ...e });
+function xle(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, B.jsx)(ble, { ...e }) : /* @__PURE__ */ (0, B.jsx)(yle, { ...e });
}
-var LA = (0, R.memo)(Sle), Cle = 1100, wle = 340, Tle = 5e3;
-function Ele(e, t, n) {
+var RA = (0, R.memo)(xle), Sle = 1100, Cle = 340, wle = 5e3;
+function Tle(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, Tle);
+ }, s = () => o(!1), c = setTimeout(s, wle);
t.cancels.add(s), i.onerror = s, i.onload = () => {
if (!i.naturalWidth) {
o(!1);
@@ -34522,7 +34522,7 @@ function Ele(e, t, n) {
}, i.src = e;
});
}
-function RA({ load: e, canFlip: t, referrerPolicy: n }) {
+function zA({ load: e, canFlip: t, referrerPolicy: n }) {
let [r, i] = (0, R.useState)([]), [a, o] = (0, R.useState)(0), [s, c] = (0, R.useState)(null), l = (0, R.useRef)({
live: !1,
generation: 0,
@@ -34564,11 +34564,11 @@ function RA({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => Ele(t, e, n)));
+ let s = await Promise.all(a.map((t) => Tle(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, Cle);
+ p(), e.cycle = setInterval(p, Sle);
}));
};
return (0, R.useEffect)(() => d, [d]), {
@@ -34577,7 +34577,7 @@ function RA({ 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(wle, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(Cle, () => {
e.armed = null, m();
});
},
@@ -34588,8 +34588,8 @@ function RA({ load: e, canFlip: t, referrerPolicy: n }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var zA = SA("play");
-function Dle({ src: e }) {
+var BA = CA("play");
+function Ele({ src: e }) {
let [t, n] = (0, R.useState)(!1);
return t ? null : /* @__PURE__ */ (0, B.jsx)("img", {
"data-mix-poster": "",
@@ -34602,8 +34602,8 @@ function Dle({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var BA = "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 Ole({ faces: e, fallback: t, onOpenEntity: n }) {
+var VA = "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 Dle({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, B.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, B.jsx)("button", {
@@ -34611,18 +34611,18 @@ function Ole({ faces: e, fallback: t, onOpenEntity: n }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => n(e.kind, e.name),
- className: `${BA} cursor-pointer outline-none`,
+ className: `${VA} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: k(e.name, e, de(e.name), e.kind) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, B.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${BA} mt-0.5`,
+ className: `${VA} mt-0.5`,
children: t
});
}
-function VA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
- let b = RA({
+function HA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
+ let b = zA({
load: i,
canFlip: a
}), x = (0, R.useRef)(b.onPointerLeave);
@@ -34649,11 +34649,11 @@ function VA({ 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, B.jsx)(NA, {
+ f?.html ? /* @__PURE__ */ (0, B.jsx)(PA, {
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, B.jsx)(Dle, { src: r }, r) : /* @__PURE__ */ (0, B.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, B.jsx)(Ele, { src: r }, r) : /* @__PURE__ */ (0, B.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -34683,7 +34683,7 @@ function VA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, B.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, B.jsx)(zA, {
+ children: [/* @__PURE__ */ (0, B.jsx)(BA, {
"aria-hidden": !0,
className: "size-3.75"
}), g ?? `${n} 个视频`]
@@ -34696,8 +34696,8 @@ function VA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
_ ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, B.jsx)(zA, {})
- }) : /* @__PURE__ */ (0, B.jsx)(Ole, {
+ children: /* @__PURE__ */ (0, B.jsx)(BA, {})
+ }) : /* @__PURE__ */ (0, B.jsx)(Dle, {
faces: o,
fallback: e.slice(0, 1),
onOpenEntity: s
@@ -34721,20 +34721,20 @@ function VA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-function HA(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, B.jsx)(Ale, { ...e });
+function UA(e) {
+ if (e.mode === "items") return /* @__PURE__ */ (0, B.jsx)(kle, { ...e });
let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${LC(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, B.jsx)(jle, { ...e }, t);
+ return /* @__PURE__ */ (0, B.jsx)(Ale, { ...e }, t);
}
-function kle({ name: e }) {
+function Ole({ name: e }) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, B.jsx)("use", { href: `#i-${e}` })
});
}
-function Ale(e) {
- let { actions: t } = e, n = (0, R.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, B.jsx)(LA, {
+function kle(e) {
+ let { actions: t } = e, n = (0, R.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, B.jsx)(RA, {
item: i,
variant: r,
layout: e.layout,
@@ -34754,7 +34754,7 @@ function Ale(e) {
children: i
});
}
-function jle(e) {
+function Ale(e) {
let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Ore(e) : RC(e), s = i && e.initial ? {
pages: [{
...e.initial,
@@ -34785,7 +34785,7 @@ function jle(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 = jA(c.isPending, e.skeletonHtml), h = (0, R.useRef)(null), g = Mle(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 = MA(c.isPending, e.skeletonHtml), h = (0, R.useRef)(null), g = jle(e, c.data, u, d, h);
(0, R.useLayoutEffect)(() => {
c.data && e.onCount?.(p, f);
}, [
@@ -34796,12 +34796,12 @@ function jle(e) {
let _ = (0, R.useCallback)((e, t) => n.open(e, t), [n]), v = (0, R.useCallback)((e, t) => n.openResource(e, t), [n]), y = (0, R.useCallback)((e) => n.openShort(e), [n]), b = (0, R.useCallback)(async () => {
let e = await c.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [c.fetchNextPage]), x = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, B.jsx)(Ple, {
+ }, [c.fetchNextPage]), x = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, B.jsx)(Nle, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, B.jsx)(LA, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, B.jsx)(RA, {
item: i.item,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -34818,7 +34818,7 @@ function jle(e) {
"data-grid-reveal": m.fading ? "" : void 0,
children: [m.layer, (() => {
if (c.isPending) return null;
- if (!c.data) return /* @__PURE__ */ (0, B.jsx)(MA, {
+ if (!c.data) return /* @__PURE__ */ (0, B.jsx)(NA, {
message: Te(c.error),
onRetry: () => void c.refetch()
});
@@ -34838,12 +34838,12 @@ function jle(e) {
children: Fre(u, g).map((t) => /* @__PURE__ */ (0, B.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(x)
- }), t.strip ? /* @__PURE__ */ (0, B.jsx)(Nle, {
+ }), t.strip ? /* @__PURE__ */ (0, B.jsx)(Mle, {
cut: t.strip,
props: e,
onOpen: y
}) : null] }, t.start))
- }), c.hasNextPage ? /* @__PURE__ */ (0, B.jsx)(UA, {
+ }), c.hasNextPage ? /* @__PURE__ */ (0, B.jsx)(WA, {
entity: i,
load: b,
enabled: () => e.canLoadMore?.() !== !1
@@ -34851,7 +34851,7 @@ function jle(e) {
})()]
});
}
-function UA({ entity: e, load: t, enabled: n, children: r }) {
+function WA({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, R.useRef)(null), a = (0, R.useRef)(!1), o = (0, R.useRef)(!1), [s, c] = (0, R.useState)({
busy: !1,
error: ""
@@ -34912,12 +34912,12 @@ function UA({ entity: e, load: t, enabled: n, children: r }) {
...f,
onClick: () => void u(!0),
dangerouslySetInnerHTML: { __html: Be("继续载入中…") }
- }), s.error ? /* @__PURE__ */ (0, B.jsx)(MA, {
+ }), s.error ? /* @__PURE__ */ (0, B.jsx)(NA, {
message: s.error,
onRetry: () => void u(!0)
}) : null] });
}
-function Mle(e, t, n, r, i) {
+function jle(e, t, n, r, i) {
let [a, o] = (0, R.useState)([]), [s, c] = (0, R.useState)(null), l = (0, R.useRef)(0), u = (0, R.useRef)(0), d = (0, R.useRef)([]);
return (0, R.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, R.useEffect)(() => {
let n = t?.pages.length || 0;
@@ -34952,7 +34952,7 @@ function Mle(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function Nle({ cut: e, props: t, onOpen: n }) {
+function Mle({ cut: e, props: t, onOpen: n }) {
let r = (0, R.useRef)(null), { wireDrag: i } = t;
return (0, R.useEffect)(() => {
r.current && i(r.current);
@@ -34968,12 +34968,12 @@ function Nle({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, B.jsx)(kle, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, B.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, B.jsx)(Ole, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, B.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, B.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, B.jsx)(LA, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, B.jsx)(RA, {
item: e,
variant: "short",
layout: t.layout,
@@ -34987,17 +34987,17 @@ function Nle({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function WA(e, t, n) {
+function GA(e, t, n) {
return ne(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function Ple({ seed: e, layout: t, helpers: n, actions: r }) {
+function Nle({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, R.useRef)(/* @__PURE__ */ new Map()), a = (0, R.useRef)(t);
a.current = t;
let o = re(e, n.tagLabel), s = (0, R.useCallback)(async () => {
let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => zC(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), WA(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = WA(e, t, !1);
- return /* @__PURE__ */ (0, B.jsx)(VA, {
+ return i.current = new Map(n.map((e) => [String(e.id), GA(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = GA(e, t, !1);
+ return /* @__PURE__ */ (0, B.jsx)(HA, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -35007,12 +35007,12 @@ function Ple({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : WA(e, {
+ artworkIdentity: c === "small" ? l.html : GA(e, {
...t,
size: "small"
}, !1).html,
relayoutArt: (e) => ce(e, c),
- ratio: FA(e, "grid", t),
+ ratio: IA(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -35024,31 +35024,31 @@ function Ple({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/media-sources.ts
-async function GA(e) {
+async function KA(e) {
await p.fetchQuery({
queryKey: l,
queryFn: () => d(e)
});
}
-var Fle = [
+var Ple = [
"local",
"115",
"pikpak"
-], Ile = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Lle = "/api/duplicates?limit=120", KA = ["duplicates"], qA = "/api/batch", JA = (e) => W(Lle, e);
-async function Rle(e) {
+], Fle = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Ile = "/api/duplicates?limit=120", qA = ["duplicates"], JA = "/api/batch", YA = (e) => W(Ile, e);
+async function Lle(e) {
await Promise.all([p.fetchQuery({
- queryKey: KA,
- queryFn: () => JA(e)
- }), GA(e)]);
+ queryKey: qA,
+ queryFn: () => YA(e)
+ }), KA(e)]);
}
-var YA = {
+var XA = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, zle = (e, t) => t.filter((t) => e.some((e) => e.location === t)), XA = (e, t) => zle(e, t).filter((t) => e.some((e) => e.location !== t)), Ble = (e, t) => t.filter((t) => e.some((e) => XA(e.files, [t]).length));
-function Vle(e, t) {
+}, Rle = (e, t) => t.filter((t) => e.some((e) => e.location === t)), ZA = (e, t) => Rle(e, t).filter((t) => e.some((e) => e.location !== t)), zle = (e, t) => t.filter((t) => e.some((e) => ZA(e.files, [t]).length));
+function Ble(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -35067,47 +35067,47 @@ function Vle(e, t) {
}
return n;
}
-function Hle(e, t) {
+function Vle(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 ZA(e, t) {
- for (let n = 0; n < e.length; n += 200) await G(qA, {
+async function QA(e, t) {
+ for (let n = 0; n < e.length; n += 200) await G(JA, {
ids: e.slice(n, n + 200),
operation: t
});
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var QA = "/api/library-processing", $A = ["library-processing"], ej = (e) => W(QA, e);
-async function tj(e) {
+var $A = "/api/library-processing", ej = ["library-processing"], tj = (e) => W($A, e);
+async function nj(e) {
await p.fetchQuery({
- queryKey: $A,
- queryFn: () => ej(e)
+ queryKey: ej,
+ queryFn: () => tj(e)
});
}
-var Ule = 2e3, Wle = 1e4, nj = "连接中断,正在重新读取处理进度";
-function Gle(e, t) {
- return e?.status === "running" ? Ule : t ? Wle : !1;
+var Hle = 2e3, Ule = 1e4, rj = "连接中断,正在重新读取处理进度";
+function Wle(e, t) {
+ return e?.status === "running" ? Hle : t ? Ule : !1;
}
-var Kle = {
+var Gle = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
writing_candidates: "保存资料候选"
-}, rj = {
+}, ij = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function qle(e) {
- let t = Object.entries(e).filter(([e, t]) => rj[e] && t > 0).map(([e, t]) => `${rj[e]} ${t} 部`);
+function Kle(e) {
+ let t = Object.entries(e).filter(([e, t]) => ij[e] && t > 0).map(([e, t]) => `${ij[e]} ${t} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function ij(e) {
- let t = Kle[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
+function aj(e) {
+ let t = Gle[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function Jle(e) {
+function qle(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -35121,21 +35121,21 @@ function Jle(e) {
log: e.issues_log || ""
} : null;
}
-var aj = "peach.library-processing.announced", Yle = 120;
-function Xle(e, t, n) {
+var oj = "peach.library-processing.announced", Jle = 120;
+function Yle(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Yle;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Jle;
if (!(!n && !r)) {
try {
- if (e.job_id && localStorage.getItem(aj) === e.job_id) return;
- e.job_id && localStorage.setItem(aj, e.job_id);
+ if (e.job_id && localStorage.getItem(oj) === e.job_id) return;
+ e.job_id && localStorage.setItem(oj, 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 oj = "/api/media-repair", sj = ["media-repair"], cj = ["media-repair", "libraries"], Zle = {
+var sj = "/api/media-repair", cj = ["media-repair"], lj = ["media-repair", "libraries"], Xle = {
status: "idle",
library: "",
stage: "",
@@ -35147,33 +35147,33 @@ var oj = "/api/media-repair", sj = ["media-repair"], cj = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, lj = (e) => W(oj, e), uj = async (e) => (await W("/api/libraries", e)).libraries || [];
-async function dj(e) {
+}, uj = (e) => W(sj, e), dj = async (e) => (await W("/api/libraries", e)).libraries || [];
+async function Zle(e) {
await Promise.all([p.fetchQuery({
- queryKey: sj,
- queryFn: () => lj(e)
- }), p.fetchQuery({
queryKey: cj,
queryFn: () => uj(e)
+ }), p.fetchQuery({
+ queryKey: lj,
+ queryFn: () => dj(e)
})]);
}
var fj = (e) => Number(e).toLocaleString();
-function pj(e) {
+function Qle(e) {
if (e.status === "running") {
let t = e.total ? `${fj(e.checked)} / ${fj(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${fj(e.repaired)} 部,${fj(e.failed)} 部修不了` : `修好 ${fj(e.repaired)} 部` : "";
}
-var mj = (e) => `${fj(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Qle = "/api/quality-goals?limit=200", hj = ["quality-goals"], gj = (e) => W(Qle, e);
-async function $le(e) {
+var $le = (e) => `${fj(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, eue = "/api/quality-goals?limit=200", pj = ["quality-goals"], mj = (e) => W(eue, e);
+async function tue(e) {
await p.fetchQuery({
- queryKey: hj,
- queryFn: () => gj(e)
+ queryKey: pj,
+ queryFn: () => mj(e)
});
}
-var eue = (e) => e.has_cover ? M(e) : `/poster?id=${e.id}&c=4`;
-function _j(e, t, n = 1) {
+var nue = (e) => e.has_cover ? M(e) : `/poster?id=${e.id}&c=4`;
+function hj(e, t, n = 1) {
let r = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
if (n * 2 + 5 >= t) return r(1, t);
let i = Math.max(e - n, 1), a = Math.min(e + n, t), o = i > 2, s = a < t - 2;
@@ -35193,21 +35193,21 @@ function _j(e, t, n = 1) {
t
];
}
-function vj(e, t) {
+function gj(e, t) {
return Math.max(1, Math.ceil(e / t));
}
-function yj(e, t) {
+function _j(e, t) {
return Math.min(Math.max(1, Math.floor(e) || 1), t);
}
//#endregion
//#region src/selection.ts
-function tue(e, t, n, r, i, a = i || !e.has(r)) {
+function rue(e, t, n, r, i, a = i || !e.has(r)) {
let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);
return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;
}
//#endregion
//#region src/react/time.ts
-function bj(e) {
+function vj(e) {
if (!e) return "";
let t = /[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`, n = new Date(t);
if (Number.isNaN(n.getTime())) return String(e).replace("T", " ").slice(0, 16);
@@ -35216,7 +35216,7 @@ function bj(e) {
}
//#endregion
//#region src/react/review/review.ts
-var nue = "/api/review", rue = "/api/review/decision", iue = "/api/review/genre", xj = ["review"], Sj = {
+var iue = "/api/review", aue = "/api/review/decision", oue = "/api/review/genre", yj = ["review"], bj = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -35226,15 +35226,15 @@ var nue = "/api/review", rue = "/api/review/decision", iue = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, aue = Object.keys(Sj), oue = "metadata_fields", Cj = (e) => typeof e == "string" && Object.hasOwn(Sj, e), sue = {
+}, sue = Object.keys(bj), cue = "metadata_fields", xj = (e) => typeof e == "string" && Object.hasOwn(bj, e), lue = {
creator_tags: "creator",
western_identity: "creator"
};
-function cue(e, t) {
+function uue(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 wj(e, t) {
+function Sj(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -35251,43 +35251,43 @@ function wj(e, t) {
}
return [...n.values()];
}
-function lue(e, t, n) {
- return n && wj(e, t).find((e) => e.key === n)?.rows || e;
+function due(e, t, n) {
+ return n && Sj(e, t).find((e) => e.key === n)?.rows || e;
}
-function uue(e, t) {
- let n = vj(e.length, 20), r = yj(t, n);
+function fue(e, t) {
+ let n = gj(e.length, 20), r = _j(t, n);
return {
page: r,
pages: n,
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function due(e) {
+function pue(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 fue(e, t, n, r, i, a) {
- return tue(e, t, n, r, i, a);
+function mue(e, t, n, r, i, a) {
+ return rue(e, t, n, r, i, a);
}
-function Tj(e, t) {
+function Cj(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function Ej(e, t) {
+function wj(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var Dj = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function pue(e, t) {
- let n = Ej(e, t), r = Dj(e, t);
+var Tj = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function hue(e, t) {
+ let n = wj(e, t), r = Tj(e, t);
return r ? `${n} · ${r}` : n;
}
-var mue = (e) => e.reason || e.evidence || e.note || e.decision_note || "", hue = (e) => String(e.tags || "").split("|").filter(Boolean), gue = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function _ue(e) {
+var gue = (e) => e.reason || e.evidence || e.note || e.decision_note || "", _ue = (e) => String(e.tags || "").split("|").filter(Boolean), vue = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function yue(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function Oj(e, t, n, r) {
+function Ej(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -35303,19 +35303,19 @@ function Oj(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var vue = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", kj = (e) => W(nue, e), Aj = (e) => G(rue, e), yue = (e, t) => G(iue, {
+var bue = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", Dj = (e) => W(iue, e), Oj = (e) => G(aue, e), xue = (e, t) => G(oue, {
genre: e,
tag: t
});
-async function bue(e) {
+async function kj(e) {
await p.fetchQuery({
- queryKey: xj,
- queryFn: () => kj(e)
+ queryKey: yj,
+ queryFn: () => Dj(e)
});
}
-function jj(e, t) {
+function Aj(e, t) {
let n = new Set(t);
- n.size && p.setQueryData(xj, (t) => {
+ n.size && p.setQueryData(yj, (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 : {
@@ -35331,207 +35331,207 @@ function jj(e, t) {
};
});
}
-var xue = () => p.invalidateQueries({
- queryKey: xj,
+var Sue = () => p.invalidateQueries({
+ queryKey: yj,
exact: !0
});
-function Sue(e, t) {
- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${bj(e.fetched_at)} 的缓存` : e?.error || t;
+function Cue(e, t) {
+ return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${vj(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var Cue = "/api/links", Mj = "/api/links/check", Nj = "/api/links/prune", Pj = ["links"], Fj = ["links", "check"], Ij = ["links", "prune"], Lj = {
+var wue = "/api/links", jj = "/api/links/check", Mj = "/api/links/prune", Nj = ["links"], Pj = ["links", "check"], Fj = ["links", "prune"], Ij = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function Rj(e) {
+async function Lj(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var zj = (e) => W(Cue, e), Bj = (e) => G(Mj, { status_only: !0 }, "POST", e), wue = ({ retry: e, checkId: t }) => Rj(G(Mj, e ? {
+var Rj = (e) => W(wue, e), zj = (e) => G(jj, { status_only: !0 }, "POST", e), Tue = ({ retry: e, checkId: t }) => Lj(G(jj, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), Vj = (e) => W(Nj, e), Tue = (e) => Rj(G(Nj, {
+} : { restart: !0 })), Bj = (e) => W(Mj, e), Eue = (e) => Lj(G(Mj, {
confirm: !0,
check_id: e,
background: !0
-})), Hj = (e) => Number(e || 0).toLocaleString(), Eue = (e) => `已删除 ${Hj(e.removed)} 条;${e.marked ? `已隐退女优的 ${Hj(e.marked)} 条留作不可点的记录;` : ""}保留 ${Hj(e.recovered)} 条未确认失效的链接。`;
-function Due(e) {
+})), Vj = (e) => Number(e || 0).toLocaleString(), Due = (e) => `已删除 ${Vj(e.removed)} 条;${e.marked ? `已隐退女优的 ${Vj(e.marked)} 条留作不可点的记录;` : ""}保留 ${Vj(e.recovered)} 条未确认失效的链接。`;
+function Oue(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${Hj(e.checked)} / ${Hj(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${Vj(e.checked)} / ${Vj(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/settings-panel/settings-data.ts
-var Uj = "/api/settings", Wj = "/api/follow/schedule", Gj = "/api/thumbnail-jobs", Kj = ["settings"], qj = ["follow-schedule"], Jj = ["thumbnail-jobs"], Oue = (e) => W(Uj, e), Yj = (e) => W(Wj, e), Xj = (e) => W(Gj, e);
-function kue(e = p) {
+var Hj = "/api/settings", Uj = "/api/follow/schedule", Wj = "/api/thumbnail-jobs", Gj = ["settings"], Kj = ["follow-schedule"], qj = ["thumbnail-jobs"], kue = (e) => W(Hj, e), Jj = (e) => W(Uj, e), Yj = (e) => W(Wj, e);
+function Aue(e = p) {
return e.fetchQuery({
- queryKey: qj,
- queryFn: ({ signal: e }) => Yj(e),
+ queryKey: Kj,
+ queryFn: ({ signal: e }) => Jj(e),
staleTime: 0
}).catch(() => null), e.fetchQuery({
- queryKey: Jj,
- queryFn: ({ signal: e }) => Xj(e),
+ queryKey: qj,
+ queryFn: ({ signal: e }) => Yj(e),
staleTime: 0
}).catch(() => null), e.fetchQuery({
- queryKey: Kj,
- queryFn: ({ signal: e }) => Oue(e),
+ queryKey: Gj,
+ queryFn: ({ signal: e }) => kue(e),
staleTime: 0
}).catch(() => null);
}
-function Zj() {
+function Xj() {
return DS({
- mutationFn: (e) => G(Uj, e),
- onSuccess: (e) => p.setQueryData(Kj, e)
+ mutationFn: (e) => G(Hj, e),
+ onSuccess: (e) => p.setQueryData(Gj, e)
});
}
-function Aue() {
+function jue() {
return DS({
- mutationFn: (e) => G(Wj, {
+ mutationFn: (e) => G(Uj, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => p.setQueryData(qj, e)
+ onSuccess: (e) => p.setQueryData(Kj, e)
});
}
-function jue() {
+function Mue() {
return DS({
- mutationFn: (e) => G(Gj, { mode: e }),
- onSuccess: (e) => p.setQueryData(Jj, e)
+ mutationFn: (e) => G(Wj, { mode: e }),
+ onSuccess: (e) => p.setQueryData(qj, e)
});
}
-function Mue(e) {
- return e.available ? e.running ? "正在检查全部来源…" : e.last_error ? `上次失败:${e.last_error}` : e.last_finished_at ? `上次完成 ${bj(e.last_finished_at)} · 新增 ${e.last_added || 0}` : e.next_run_at ? `下次 ${bj(e.next_run_at)}` : e.enabled ? "等待首次运行" : "已关闭" : "只在账本写入端运行";
-}
function Nue(e) {
+ return e.available ? e.running ? "正在检查全部来源…" : e.last_error ? `上次失败:${e.last_error}` : e.last_finished_at ? `上次完成 ${vj(e.last_finished_at)} · 新增 ${e.last_added || 0}` : e.next_run_at ? `下次 ${vj(e.next_run_at)}` : e.enabled ? "等待首次运行" : "已关闭" : "只在账本写入端运行";
+}
+function Pue(e) {
return e.status === "running" ? "正在采集,进度在活动页查看。" : e.status === "failed" ? `上一轮采集停下了:${e.stopped || "原因未取得"}` : e.status === "complete" ? e.stopped ? "上一轮采集已按停。" : "上一轮采集已完成。" : e.mode === "off" ? "关闭时不采集;已经生成的图留在盘上,清理走数据管理页。" : "选定档位后从最近看过的片子开始采集。";
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var Pue = "/api/organize", Fue = "/api/organize/preview", Iue = "/api/organize/apply", Lue = "/api/organize/rollback", Qj = ["organize"], $j = (e) => W(Pue, e);
-async function Rue(e) {
+var Fue = "/api/organize", Iue = "/api/organize/preview", Lue = "/api/organize/apply", Rue = "/api/organize/rollback", Zj = ["organize"], Qj = (e) => W(Fue, e);
+async function zue(e) {
await p.fetchQuery({
- queryKey: Qj,
- queryFn: () => $j(e)
+ queryKey: Zj,
+ queryFn: () => Qj(e)
});
}
-var zue = (e) => G(Fue, e), Bue = (e) => e.kind === "apply" ? G(Iue, {
+var Bue = (e) => G(Iue, e), Vue = (e) => e.kind === "apply" ? G(Lue, {
...e.request,
confirm: !0
-}) : G(Lue, { confirm: !0 });
-async function Vue(e) {
- p.setQueryData(Qj, (t) => t && {
+}) : G(Rue, { confirm: !0 });
+async function Hue(e) {
+ p.setQueryData(Zj, (t) => t && {
...t,
templates: e
});
try {
- await G(Uj, { organizeTemplates: e });
+ await G(Hj, { organizeTemplates: e });
} catch {}
}
-var Hue = (e, t) => e && {
+var Uue = (e, t) => e && {
...e,
...t
-}, Uue = /目录模板|分隔符|盘符|`\.`/;
-function eM(e) {
+}, Wue = /目录模板|分隔符|盘符|`\.`/;
+function $j(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var tM = (e) => Number(e || 0).toLocaleString();
-function Wue(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${tM(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${tM(e.counts.change)} 个文件会改名或移动,${tM(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var eM = (e) => Number(e || 0).toLocaleString();
+function Gue(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${eM(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${eM(e.counts.change)} 个文件会改名或移动,${eM(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function nM(e) {
+function tM(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${tM(r)} 个文件${n ? `,${tM(n)} 行未能退回` : ""}。` : `已整理 ${tM(r)} 个文件${n ? `,${tM(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${eM(r)} 个文件${n ? `,${eM(n)} 行未能退回` : ""}。` : `已整理 ${eM(r)} 个文件${n ? `,${eM(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var rM = "/api/resource-sync/scan", iM = "/api/resource-sync/apply", aM = ["resource-sync", "scan"], oM = ["resource-sync", "apply"], sM = (e) => G(rM, {
+var nM = "/api/resource-sync/scan", rM = "/api/resource-sync/apply", iM = ["resource-sync", "scan"], aM = ["resource-sync", "apply"], oM = (e) => G(nM, {
background: !0,
status_only: !0
-}, "POST", e), Gue = () => G(rM, {
+}, "POST", e), Kue = () => G(nM, {
background: !0,
restart: !0
-}), cM = (e) => W(iM, e), Kue = (e) => G(iM, {
+}), sM = (e) => W(rM, e), que = (e) => G(rM, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), lM = (e) => (e?.sources ?? []).some((e) => Fle.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function que(e) {
- lM(p.getQueryData(u)) && await Promise.all([p.fetchQuery({
+}), cM = (e) => (e?.sources ?? []).some((e) => Ple.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function Jue(e) {
+ cM(p.getQueryData(u)) && await Promise.all([p.fetchQuery({
+ queryKey: iM,
+ queryFn: () => oM(e)
+ }), p.fetchQuery({
queryKey: aM,
queryFn: () => sM(e)
- }), p.fetchQuery({
- queryKey: oM,
- queryFn: () => cM(e)
})]);
}
-var Jue = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Yue = {
+var Yue = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Xue = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, uM = (e) => Number(e || 0).toLocaleString(), Xue = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", dM = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), fM = (e) => e.vanish ? `${uM(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", pM = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Zue = (e) => `将永久删除文件已不在盘上的 ${uM(dM(e))} 条记录和 ${uM(e.empty)} 个空文件夹,并清理 ${uM(e.cache?.files)} 个闲置缓存。${pM(e)}${fM(e)}`, Que = (e) => `将永久删除文件已不在盘上的 ${uM(dM(e))} 条记录(含回收站里的)、${uM(e.empty)} 个空文件夹,并清理 ${uM(e.cache?.files)} 个闲置缓存。来源根目录保留。${pM(e)}${fM(e)}`, $ue = (e) => e.online ? [
- `找不到文件 · 共 ${uM(e.total)} 项`,
- e.vanish ? `${uM(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${uM(e.empty)} 个` : "",
- e.unreadable ? `${uM(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${uM(e.total)} 项`;
-function mM(e) {
+}, lM = (e) => Number(e || 0).toLocaleString(), Zue = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", uM = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), dM = (e) => e.vanish ? `${lM(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", fM = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Que = (e) => `将永久删除文件已不在盘上的 ${lM(uM(e))} 条记录和 ${lM(e.empty)} 个空文件夹,并清理 ${lM(e.cache?.files)} 个闲置缓存。${fM(e)}${dM(e)}`, $ue = (e) => `将永久删除文件已不在盘上的 ${lM(uM(e))} 条记录(含回收站里的)、${lM(e.empty)} 个空文件夹,并清理 ${lM(e.cache?.files)} 个闲置缓存。来源根目录保留。${fM(e)}${dM(e)}`, ede = (e) => e.online ? [
+ `找不到文件 · 共 ${lM(e.total)} 项`,
+ e.vanish ? `${lM(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${lM(e.empty)} 个` : "",
+ e.unreadable ? `${lM(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${lM(e.total)} 项`;
+function pM(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 ? `${uM(t.length)} 条记录没有删除(${o})` : "",
- n ? `${uM(n)} 个文件夹没有删除` : "",
- r.length ? `${uM(r.length)} 个缓存没有清理` : ""
+ t.length ? `${lM(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${lM(n)} 个文件夹没有删除` : "",
+ r.length ? `${lM(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var ede = (e, t) => {
- let { rest: n } = mM(e), r = `已永久删除 ${uM(e.purged)} 条失效记录和 ${uM(e.dirs_removed)} 个空文件夹,清理 ${uM(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${uM(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${uM(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+var tde = (e, t) => {
+ let { rest: n } = pM(e), r = `已永久删除 ${lM(e.purged)} 条失效记录和 ${lM(e.dirs_removed)} 个空文件夹,清理 ${lM(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${lM(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${lM(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, tde = "/api/review?counts=1", hM = ["review", "counts"], nde = "/api/ads?limit=1", gM = ["junk-summary"], _M = "/api/items?state=trash&limit=1", vM = ["trash-summary"], rde = [
+}, nde = "/api/review?counts=1", mM = ["review", "counts"], rde = "/api/ads?limit=1", hM = ["junk-summary"], gM = "/api/items?state=trash&limit=1", _M = ["trash-summary"], ide = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], yM = (e) => W(tde, e), bM = (e) => W(nde, e), xM = (e) => {
+], vM = (e) => W(nde, e), yM = (e) => W(rde, e), bM = (e) => {
let t = sessionStorage.getItem("peach.library");
- return W(t ? `${_M}&library=${encodeURIComponent(t)}` : _M, e);
-}, SM = (e) => Number(e || 0).toLocaleString();
-function ide(e) {
- let t = Sj, 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 W(t ? `${gM}&library=${encodeURIComponent(t)}` : gM, e);
+}, xM = (e) => Number(e || 0).toLocaleString();
+function ade(e) {
+ let t = bj, 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 ade(e) {
+function ode(e) {
if (!e) return "";
- let t = rde.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${SM(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${SM(e.dismissed_total)}`), t.join(" · ");
-}
-var ode = [
- [hM, ({ signal: e }) => yM(e)],
- [hj, ({ signal: e }) => gj(e)],
- [vM, ({ signal: e }) => xM(e)],
+ let t = ide.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${xM(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${xM(e.dismissed_total)}`), t.join(" · ");
+}
+var sde = [
+ [mM, ({ signal: e }) => vM(e)],
+ [pj, ({ signal: e }) => mj(e)],
+ [_M, ({ signal: e }) => bM(e)],
+ [Nj, ({ signal: e }) => Rj(e)],
[Pj, ({ signal: e }) => zj(e)],
- [Fj, ({ signal: e }) => Bj(e)],
- [Ij, ({ signal: e }) => Vj(e)]
+ [Fj, ({ signal: e }) => Bj(e)]
];
-async function sde(e) {
- let t = location.hash === "#resource-sync", n = ode.map(([n, r]) => {
+async function cde(e) {
+ let t = location.hash === "#resource-sync", n = sde.map(([n, r]) => {
if (t) return p.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
@@ -35544,40 +35544,40 @@ async function sde(e) {
await Promise.all([
...n,
p.fetchQuery({
- queryKey: gM,
- queryFn: () => bM(e)
+ queryKey: hM,
+ queryFn: () => yM(e)
}),
p.fetchQuery({
- queryKey: KA,
- queryFn: () => JA(e)
+ queryKey: qA,
+ queryFn: () => YA(e)
}),
- GA(e).then(() => que(e)),
- tj(e),
- dj(e),
- Rue(e)
+ KA(e).then(() => Jue(e)),
+ nj(e),
+ Zle(e),
+ zue(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var cde = [
+var lde = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], lde = [
+], ude = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function CM(e = {}) {
+function SM(e = {}) {
return `${kE({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var wM = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", ude = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function TM({ interactive: e = !1 } = {}) {
+var CM = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", dde = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function wM({ interactive: e = !1 } = {}) {
return kE({
padding: "none",
radius: "plain",
@@ -35585,8 +35585,8 @@ function TM({ interactive: e = !1 } = {}) {
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var dde = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function EM({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var fde = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function TM({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -35619,13 +35619,13 @@ function EM({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function DM({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function EM({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.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, B.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${cde[n % 4]} ${lde[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${lde[n % 4]} ${ude[n % 4]}`,
children: /* @__PURE__ */ (0, B.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -35647,8 +35647,8 @@ function DM({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region src/react/components/menu-dialog.tsx
-function OM(e) {
- let t = mA("hover");
+function DM(e) {
+ let t = hA("hover");
return /* @__PURE__ */ (0, B.jsx)(MO, {
...e,
ref: t
@@ -35660,67 +35660,67 @@ function OM(e) {
}).medium;
//#endregion
//#region src/management.ts
-var fde = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", pde = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", mde = kE({
+var pde = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", mde = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", hde = kE({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), hde = {
+}), gde = {
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"
-}, gde = {
+}, _de = {
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"
-}, _de = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", vde = {
+}, vde = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", yde = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, yde = kE({
+}, bde = kE({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), kM = "border-t border-border-button-default p-4 first:border-t-0";
-function AM({ tone: e = "neutral", status: t, children: n }) {
+}), OM = "border-t border-border-button-default p-4 first:border-t-0";
+function kM({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: `${_de} ${vde[e]}`,
+ className: `${vde} ${yde[e]}`,
children: [t ? /* @__PURE__ */ (0, B.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 jM({ id: e, children: t }) {
+function AM({ id: e, children: t }) {
return /* @__PURE__ */ (0, B.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function MM({ id: e, gap: t = "none", children: n }) {
+function jM({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, B.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function NM({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function MM({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, B.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${mde} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${hde} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, B.jsx)("div", {
- className: hde[e],
+ className: gde[e],
children: a
}), i ? /* @__PURE__ */ (0, B.jsx)("footer", {
- className: gde[e],
+ className: _de[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function PM() {
+function NM() {
let e = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
ke(e.current);
@@ -35728,7 +35728,7 @@ function PM() {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var FM = wE({
+var PM = wE({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -35749,21 +35749,21 @@ var FM = wE({
small: "size-4 shrink-0"
}
});
-function IM({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function FM({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, B.jsx)("button", {
ref: i,
type: r,
- className: CE(FM.base, FM.size[t], n),
+ className: CE(PM.base, PM.size[t], n),
...a,
children: /* @__PURE__ */ (0, B.jsx)(e, {
- className: FM.icon[t],
+ className: PM.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function bde({ className: e }) {
+function xde({ className: e }) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -35776,8 +35776,8 @@ function bde({ className: e }) {
children: /* @__PURE__ */ (0, B.jsx)("use", { href: "#i-folder-open" })
});
}
-var xde = "打开文件管理器失败,请重试";
-function LM({ path: e, prefix: t, className: n, onRevealed: r }) {
+var Sde = "打开文件管理器失败,请重试";
+function IM({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, R.useState)(!1), [o, s] = (0, R.useState)(""), c = (0, R.useRef)(!0);
(0, R.useEffect)(() => () => {
c.current = !1;
@@ -35788,7 +35788,7 @@ function LM({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await G("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof RS ? e.message : xde);
+ c.current && s(e instanceof RS ? e.message : Sde);
} finally {
c.current && a(!1);
}
@@ -35801,8 +35801,8 @@ function LM({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, B.jsxs)("p", {
className: CE("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, B.jsx)(IM, {
- icon: bde,
+ }), /* @__PURE__ */ (0, B.jsx)(FM, {
+ icon: xde,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -35817,7 +35817,7 @@ function LM({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/components/task-progress.tsx
-function RM({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function LM({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-task-progress": !0,
className: r ? "flex flex-col gap-1.5" : kE({
@@ -35837,18 +35837,18 @@ function RM({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function zM({ toast: e, mode: t, monitor: n }) {
+function RM({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = wS({
- queryKey: $A,
- queryFn: ({ signal: e }) => ej(e),
- refetchInterval: (e) => Gle(e.state.data, r)
+ queryKey: ej,
+ queryFn: ({ signal: e }) => tj(e),
+ refetchInterval: (e) => Wle(e.state.data, r)
}), [a, o] = (0, R.useState)(null), s = (0, R.useRef)(void 0), c = i.data;
return (0, R.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") && Xle(c, e, r);
+ r && o(c), (r || t === "notice") && Yle(c, e, r);
}, [
c,
t,
@@ -35861,7 +35861,7 @@ function zM({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var Sde = [
+var Cde = [
{
label: "扫描并补全资料",
icon: ST,
@@ -35877,13 +35877,13 @@ var Sde = [
icon: iae,
command: { stage: "collect" }
}
-], Cde = CE(wk, Tk, "text-body-2-medium"), wde = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Tde = (e) => {
+], wde = CE(wk, Tk, "text-body-2-medium"), Tde = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Ede = (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(",")}。`;
-}, Ede = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + Tde(e);
-function Dde({ busy: e, onRun: t }) {
+}, Dde = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + Ede(e);
+function Ode({ busy: e, onRun: t }) {
let n = (0, R.useRef)(null), [r, i] = (0, R.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -35915,12 +35915,12 @@ function Dde({ busy: e, onRun: t }) {
placement: "bottom end",
offset: 4,
className: Ck,
- children: /* @__PURE__ */ (0, B.jsx)(OM, {
+ children: /* @__PURE__ */ (0, B.jsx)(DM, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: Sde.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, B.jsxs)("button", {
+ children: Cde.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
- className: Cde,
+ className: wde,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, B.jsx)(t, {
"aria-hidden": !0,
@@ -35930,8 +35930,8 @@ function Dde({ busy: e, onRun: t }) {
})
})] });
}
-function Ode({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = Jle(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = qle(e.notes || {}), c = PM();
+function kde({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = qle(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Kle(e.notes || {}), c = NM();
return /* @__PURE__ */ (0, B.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -35939,7 +35939,7 @@ function Ode({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "warning",
title: "处理较慢",
- children: wde
+ children: Tde
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
@@ -35982,7 +35982,7 @@ function Ode({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
- children: /* @__PURE__ */ (0, B.jsx)(LM, {
+ children: /* @__PURE__ */ (0, B.jsx)(IM, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -35996,13 +35996,13 @@ function Ode({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "success",
title: "处理完成",
- children: Ede(n)
+ children: Dde(n)
}) : null,
e.status !== "running" && s ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, B.jsx)(LM, {
+ children: /* @__PURE__ */ (0, B.jsx)(IM, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -36014,22 +36014,22 @@ function Ode({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function BM(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = zM(e), o = DS({
- mutationFn: (e) => G(QA, e),
+function zM(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = RM(e), o = DS({
+ mutationFn: (e) => G($A, e),
onSuccess: (e) => {
- a(), p.setQueryData($A, e), p.invalidateQueries({ queryKey: $A });
+ a(), p.setQueryData(ej, e), p.invalidateQueries({ queryKey: ej });
}
});
(0, R.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? U(o.error) : r.isError ? r.data ? nj : U(r.error) : "", l = o.isPending || s.status === "running", u = ij(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? U(o.error) : r.isError ? r.data ? rj : U(r.error) : "", l = o.isPending || s.status === "running", u = aj(s), d = (e) => {
l || (o.reset(), o.mutate(e));
};
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, B.jsx)(NM, {
+ children: [/* @__PURE__ */ (0, B.jsx)(MM, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
@@ -36045,7 +36045,7 @@ function BM(e) {
trailingIcon: hT,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Dde, {
+ /* @__PURE__ */ (0, B.jsx)(Ode, {
busy: l,
onRun: d
})
@@ -36053,12 +36053,12 @@ function BM(e) {
children: /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(MM, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, B.jsx)(jM, { children: "扫描与采集" }),
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: fde
+ children: pde
}),
- s.status === "running" ? /* @__PURE__ */ (0, B.jsx)(RM, {
+ s.status === "running" ? /* @__PURE__ */ (0, B.jsx)(LM, {
embedded: !0,
label: u,
value: s.checked,
@@ -36066,7 +36066,7 @@ function BM(e) {
}) : null
]
})
- }), /* @__PURE__ */ (0, B.jsx)(Ode, {
+ }), /* @__PURE__ */ (0, B.jsx)(kde, {
state: s,
problem: c,
settled: i,
@@ -36082,9 +36082,9 @@ function BM(e) {
}
//#endregion
//#region src/react/background-job.ts
-var VM = 2e3, kde = (e) => e, Ade = (e, t) => t;
-function HM(e) {
- let { queryKey: t, jobOf: n = kde, withJob: r = Ade, idlePollMs: i } = e, [a, o] = (0, R.useState)(!1), [s, c] = (0, R.useState)(null), l = (0, R.useRef)(e);
+var BM = 2e3, Ade = (e) => e, jde = (e, t) => t;
+function VM(e) {
+ let { queryKey: t, jobOf: n = Ade, withJob: r = jde, idlePollMs: i } = e, [a, o] = (0, R.useState)(!1), [s, c] = (0, R.useState)(null), l = (0, R.useRef)(e);
(0, R.useEffect)(() => {
l.current = e;
});
@@ -36093,7 +36093,7 @@ function HM(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? VM : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? BM : i ?? !1;
}
}), d = DS({
mutationFn: (e) => l.current.start(e),
@@ -36124,29 +36124,29 @@ function HM(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var jde = (e) => Oe[e] || e, UM = (e) => p.setQueryData(sj, e);
-function Mde() {
+var Mde = (e) => Oe[e] || e, HM = (e) => p.setQueryData(cj, e);
+function Nde() {
let e = wS({
- queryKey: sj,
- queryFn: ({ signal: e }) => lj(e),
- refetchInterval: (e) => e.state.data?.status === "running" && VM
- }), t = wS({
queryKey: cj,
- queryFn: ({ signal: e }) => uj(e)
- }), [n, r] = (0, R.useState)(""), i = FE(), a = e.data ?? Zle, 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 }) => uj(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && BM
+ }), t = wS({
+ queryKey: lj,
+ queryFn: ({ signal: e }) => dj(e)
+ }), [n, r] = (0, R.useState)(""), i = FE(), a = e.data ?? Xle, 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 && je({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => UM(await G(oj, {
+ onConfirm: async () => HM(await G(sj, {
library: c.id,
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => G(oj, { stop: !0 }, "POST", e), UM), d = pj(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => G(sj, { stop: !0 }, "POST", e), HM), d = Qle(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, B.jsx)(NM, {
+ children: [/* @__PURE__ */ (0, B.jsx)(MM, {
layout: "split",
label: "媒体修复",
footer: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Dk, {
@@ -36160,7 +36160,7 @@ function Mde() {
children: o.map((e) => /* @__PURE__ */ (0, B.jsxs)(Ok, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, B.jsx)(Gk, { mark: jde(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, B.jsx)(Gk, { mark: Mde(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, B.jsx)(J, {
onClick: u,
@@ -36174,10 +36174,10 @@ function Mde() {
children: /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(MM, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, B.jsx)(jM, { children: "媒体修复" }),
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: pde
+ children: mde
}),
s && a.total ? /* @__PURE__ */ (0, B.jsx)(PE, {
label: "修复进度",
@@ -36203,7 +36203,7 @@ function Mde() {
f && a.missing_tool ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "warning",
title: "缺少 untrunc",
- children: mj(a)
+ children: $le(a)
}) : null,
p ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
@@ -36215,7 +36215,7 @@ function Mde() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var WM = {
+var UM = {
md: {
box: "size-4",
glyph: "size-4",
@@ -36229,8 +36229,8 @@ var WM = {
gap: "gap-1.5"
}
};
-function GM({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = WM[t], c = n || r, l = o && !a;
+function WM({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = UM[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, B.jsx)("span", {
"aria-hidden": !0,
className: CE("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? CE("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : CE("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"),
@@ -36257,13 +36257,13 @@ function GM({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function KM({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = WM[n];
+function GM({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = UM[n];
return /* @__PURE__ */ (0, B.jsx)(Ooe, {
ref: r,
...i,
className: (t) => CE("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, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(GM, {
+ children: (e) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(WM, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, B.jsx)("span", {
@@ -36274,7 +36274,7 @@ function KM({ className: e, children: t, size: n = "md", ref: r, ...i }) {
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function qM({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function KM({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
className: CE("w-full overflow-x-auto", n),
children: /* @__PURE__ */ (0, B.jsx)(Ise, {
@@ -36286,7 +36286,7 @@ function qM({ size: e = "md", className: t, containerClassName: n, ref: r, ...i
}
//#endregion
//#region src/react/components/row-click.ts
-var Nde = [
+var Pde = [
"a",
"button",
"input",
@@ -36299,15 +36299,15 @@ var Nde = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function JM(e, t) {
+function qM(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(Nde);
+ let r = n.closest(Pde);
return !r || !t.contains(r) || r === t;
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function YM({ children: e, follow: t = !1, onRowClick: n }) {
+function JM({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -36315,15 +36315,15 @@ function YM({ 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 && JM(e, r) && n(r.dataset.key);
+ r && qM(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var Pde = SA("unlink"), XM = SA("rotate-cw"), Fde = "站点返回 404 或 410,确认这个地址不存在。", Ide = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Lde = "删除前会逐条重验一次;此操作不可撤销。", Rde = "暂时无法读取进度,正在重新连接…", ZM = (e) => Number(e || 0).toLocaleString();
-function QM({ label: e, value: t, note: n }) {
+var Fde = CA("unlink"), YM = CA("rotate-cw"), Ide = "站点返回 404 或 410,确认这个地址不存在。", Lde = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Rde = "删除前会逐条重验一次;此操作不可撤销。", zde = "暂时无法读取进度,正在重新连接…", XM = (e) => Number(e || 0).toLocaleString();
+function ZM({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -36342,11 +36342,11 @@ function QM({ label: e, value: t, note: n }) {
]
});
}
-function $M({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
+function QM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
if (!t.length) return null;
let o = r ?? [], s = o.length > 0 && o.length === t.length;
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: kM,
+ className: OM,
children: [
/* @__PURE__ */ (0, B.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -36359,13 +36359,13 @@ function $M({ 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, B.jsx)(YM, { children: /* @__PURE__ */ (0, B.jsxs)(qM, {
+ /* @__PURE__ */ (0, B.jsx)(JM, { children: /* @__PURE__ */ (0, B.jsxs)(KM, {
"aria-label": e,
size: "sm",
children: [/* @__PURE__ */ (0, B.jsxs)(nk, { children: [
i ? /* @__PURE__ */ (0, B.jsx)(rk, {
id: "pick",
- children: /* @__PURE__ */ (0, B.jsx)(KM, {
+ children: /* @__PURE__ */ (0, B.jsx)(GM, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: s,
@@ -36397,14 +36397,14 @@ function $M({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
] }), /* @__PURE__ */ (0, B.jsx)(ak, { children: t.map((e) => /* @__PURE__ */ (0, B.jsxs)(ck, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)(KM, {
+ i ? /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)(GM, {
slot: null,
"aria-label": `选择 ${e.entity} 的${e.label || e.url}`,
isSelected: o.includes(e.id),
onChange: (t) => i(t ? [...o, e.id] : o.filter((t) => t !== e.id))
}) }) : null,
/* @__PURE__ */ (0, B.jsx)(uk, { children: e.entity }),
- /* @__PURE__ */ (0, B.jsx)(uk, { children: Lj[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, B.jsx)(uk, { children: Ij[e.link_kind] || e.link_kind }),
/* @__PURE__ */ (0, B.jsx)(uk, { children: e.label || "" }),
/* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)("span", {
className: "tabular-nums text-text-error-primary",
@@ -36432,27 +36432,27 @@ function $M({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function zde() {
+function Bde() {
let e = wS({
- queryKey: Pj,
- queryFn: ({ signal: e }) => zj(e)
- }), [t, n] = (0, R.useState)([]), r = HM({
- queryKey: Ij,
- queryFn: ({ signal: e }) => Vj(e),
- start: Tue,
+ queryKey: Nj,
+ queryFn: ({ signal: e }) => Rj(e)
+ }), [t, n] = (0, R.useState)([]), r = VM({
+ queryKey: Fj,
+ queryFn: ({ signal: e }) => Bj(e),
+ start: Eue,
onFinish: () => {
p.invalidateQueries({
- queryKey: Pj,
+ queryKey: Nj,
exact: !0
}), p.invalidateQueries({
- queryKey: Fj,
+ queryKey: Pj,
exact: !0
});
}
- }), i = HM({
- queryKey: Fj,
- queryFn: ({ signal: e }) => Bj(e),
- start: wue,
+ }), i = VM({
+ queryKey: Pj,
+ queryFn: ({ signal: e }) => zj(e),
+ start: Tue,
onStarted: () => {
r.dismiss(), n([]);
}
@@ -36482,7 +36482,7 @@ function zde() {
else if (v) x = /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "success",
title: "完成",
- children: Eue(v)
+ children: Due(v)
});
else if (y) x = /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
@@ -36492,7 +36492,7 @@ function zde() {
else if (i.query.isError && a) x = /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "neutral",
title: "任务状态",
- children: Rde
+ children: zde
});
else if (a?.status === "failed") x = /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
@@ -36500,12 +36500,12 @@ function zde() {
children: a.error || "检查失败"
});
else if (a && a.status !== "idle") {
- b = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, B.jsx)(RM, {
+ b = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, B.jsx)(LM, {
embedded: !0,
- label: Due(a),
+ label: Oue(a),
value: a.checked,
total: a.total
- }) : null, c ? /* @__PURE__ */ (0, B.jsx)(RM, {
+ }) : null, c ? /* @__PURE__ */ (0, B.jsx)(LM, {
embedded: !0,
label: r.job?.message || "正在重验并删除失效链接…",
value: r.job?.checked,
@@ -36513,38 +36513,38 @@ function zde() {
}) : null] });
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
x = l || u.length || d.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
- className: yde,
+ className: bde,
children: [
- /* @__PURE__ */ (0, B.jsx)($M, {
+ /* @__PURE__ */ (0, B.jsx)(QM, {
title: "地址已失效",
items: u,
- hint: Fde
+ hint: Ide
}),
- /* @__PURE__ */ (0, B.jsx)($M, {
+ /* @__PURE__ */ (0, B.jsx)(QM, {
title: "本次未访问成功",
items: d,
- hint: Ide,
+ hint: Lde,
picked: f.length ? t : void 0,
onPick: f.length ? n : void 0,
children: f.length ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "-mx-4 mt-3 -mb-4",
- children: /* @__PURE__ */ (0, B.jsxs)(AM, { children: [/* @__PURE__ */ (0, B.jsx)(J, {
- leadingIcon: XM,
+ children: /* @__PURE__ */ (0, B.jsxs)(kM, { children: [/* @__PURE__ */ (0, B.jsx)(J, {
+ leadingIcon: YM,
disabled: !t.length,
...X(s),
onClick: () => g(t),
children: e
}), /* @__PURE__ */ (0, B.jsx)(J, {
- leadingIcon: XM,
+ leadingIcon: YM,
...X(s),
onClick: () => g(f.map((e) => e.id)),
children: `全部重试(${f.length})`
})] })
}) : null
}),
- l && u.length ? /* @__PURE__ */ (0, B.jsx)(AM, {
+ l && u.length ? /* @__PURE__ */ (0, B.jsx)(kM, {
tone: "error",
- status: Lde,
+ status: Rde,
children: /* @__PURE__ */ (0, B.jsx)(J, {
variant: "danger",
...X(c),
@@ -36553,7 +36553,7 @@ function zde() {
})
}) : null,
l && !u.length && !d.length ? /* @__PURE__ */ (0, B.jsx)("p", {
- className: `${kM} text-body-regular text-notification-success-foreground`,
+ className: `${OM} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -36564,21 +36564,21 @@ function zde() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, B.jsx)(jM, {
+ /* @__PURE__ */ (0, B.jsx)(AM, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, B.jsxs)(NM, {
+ /* @__PURE__ */ (0, B.jsxs)(MM, {
layout: "stack",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, B.jsx)(J, {
- leadingIcon: Pde,
+ leadingIcon: Fde,
...X(s),
onClick: () => g(),
children: s ? "检查中" : l ? "重新检查" : "检查死链"
}),
children: [
- /* @__PURE__ */ (0, B.jsx)(MM, {
+ /* @__PURE__ */ (0, B.jsx)(jM, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -36589,13 +36589,13 @@ function zde() {
children: U(e.error)
}) : m ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, B.jsx)(QM, {
+ children: [/* @__PURE__ */ (0, B.jsx)(ZM, {
label: "链接总数",
- value: ZM(m.total),
- note: `分布在 ${ZM(m.entities)} 个女优、厂牌与系列`
- }), Object.entries(m.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(QM, {
- label: Lj[e] || e,
- value: ZM(t)
+ value: XM(m.total),
+ note: `分布在 ${XM(m.entities)} 个女优、厂牌与系列`
+ }), Object.entries(m.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(ZM, {
+ label: Ij[e] || e,
+ value: XM(t)
}, e))]
}), h ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -36624,18 +36624,18 @@ function zde() {
}
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var Bde = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Vde = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Hde = 8;
-function Ude({ plan: e }) {
+var Vde = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Hde = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Ude = 8;
+function Wde({ plan: e }) {
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("ol", {
className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, Hde).map((e) => /* @__PURE__ */ (0, B.jsxs)("li", {
+ children: e.rows.slice(0, Ude).map((e) => /* @__PURE__ */ (0, B.jsxs)("li", {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, B.jsx)("span", {
"data-middle-truncate": !0,
title: e.current_path,
className: "min-w-0 truncate",
- children: eM(e.current_path)
+ children: $j(e.current_path)
}),
/* @__PURE__ */ (0, B.jsx)("span", {
"aria-hidden": !0,
@@ -36645,7 +36645,7 @@ function Ude({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: eM(e.target_path)
+ children: $j(e.target_path)
})
]
}, e.current_path))
@@ -36654,10 +36654,10 @@ function Ude({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function Wde({ toast: e, failure: t }) {
+function Gde({ toast: e, failure: t }) {
let n = wS({
- queryKey: Qj,
- queryFn: ({ signal: e }) => $j(e)
+ queryKey: Zj,
+ queryFn: ({ signal: e }) => Qj(e)
}), r = n.data, i = r?.locations ?? [], [a, o] = (0, R.useState)(""), s = i.some((e) => e.location === a) ? a : i[0]?.location ?? "", c = r?.templates?.[s], [l, u] = (0, R.useState)(null), d = l?.location === s ? l : {
location: s,
file: c?.file ?? "",
@@ -36670,8 +36670,8 @@ function Wde({ toast: e, failure: t }) {
file_template: d.file.trim(),
dir_template: d.dir.trim()
}), y = DS({
- mutationFn: zue,
- onSuccess: (e, t) => void Vue({
+ mutationFn: Bue,
+ onSuccess: (e, t) => void Hue({
...r?.templates ?? {},
[t.location]: {
file: t.file_template,
@@ -36679,29 +36679,29 @@ function Wde({ toast: e, failure: t }) {
}
}),
onError: (e) => {
- let t = Uue.test(U(e)) ? "dir" : "file";
+ let t = Wue.test(U(e)) ? "dir" : "file";
h(t), (t === "dir" ? _ : g).current?.focus();
}
- }), b = HM({
- queryKey: Qj,
- queryFn: ({ signal: e }) => $j(e),
- start: Bue,
+ }), b = VM({
+ queryKey: Zj,
+ queryFn: ({ signal: e }) => Qj(e),
+ start: Vue,
jobOf: (e) => e,
- withJob: Hue,
+ withJob: Uue,
onStarted: () => y.reset(),
onFinish: (n) => {
if (p.invalidateQueries({
- queryKey: Qj,
+ queryKey: Zj,
exact: !0
}), n.status !== "complete") return;
- let { text: r, failed: i } = nM(n);
+ let { text: r, failed: i } = tM(n);
i ? t("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : e(r.replace(/。$/, ""));
}
}), x = b.running || b.start.isPending, S = y.data, C = Number(S?.counts?.change || 0), w = I[s] || s, T = (r?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), E = () => {
y.isPending || !s || (h(null), y.mutate(v()));
}, D = () => void je({
title: "按模板整理文件",
- body: Bde(w),
+ body: Vde(w),
confirmLabel: "整理文件",
onConfirm: () => b.start.mutateAsync({
kind: "apply",
@@ -36709,13 +36709,13 @@ function Wde({ toast: e, failure: t }) {
})
}), O = () => void je({
title: "回滚上一批整理",
- body: Vde,
+ body: Hde,
confirmLabel: "回滚整理",
onConfirm: () => b.start.mutateAsync({ kind: "rollback" })
}), k = null, A = b.job, j = b.outcome;
if (A?.status === "running") {
let e = A.message || A.stage || "正在整理文件…";
- k = /* @__PURE__ */ (0, B.jsx)(RM, {
+ k = /* @__PURE__ */ (0, B.jsx)(LM, {
embedded: !0,
label: e,
value: A.checked,
@@ -36727,7 +36727,7 @@ function Wde({ toast: e, failure: t }) {
children: j.error || "请查看任务记录,核对已处理的文件。"
});
else if (j) {
- let { text: e, failed: t } = nM(j);
+ let { text: e, failed: t } = tM(j);
k = /* @__PURE__ */ (0, B.jsx)(Y, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -36737,7 +36737,7 @@ function Wde({ toast: e, failure: t }) {
tone: "error",
title: "整理失败",
children: U(b.start.error)
- }) : y.isPending ? k = /* @__PURE__ */ (0, B.jsx)(RM, {
+ }) : y.isPending ? k = /* @__PURE__ */ (0, B.jsx)(LM, {
embedded: !0,
label: "正在按模板算计划…"
}) : y.isError ? k = /* @__PURE__ */ (0, B.jsx)(Y, {
@@ -36747,9 +36747,9 @@ function Wde({ toast: e, failure: t }) {
}) : S && (k = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Y, {
tone: "neutral",
title: "预览结果",
- children: Wue(S)
- }), C ? /* @__PURE__ */ (0, B.jsx)(Ude, { plan: S }) : null] }));
- return /* @__PURE__ */ (0, B.jsxs)(NM, {
+ children: Gue(S)
+ }), C ? /* @__PURE__ */ (0, B.jsx)(Wde, { plan: S }) : null] }));
+ return /* @__PURE__ */ (0, B.jsxs)(MM, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -36773,7 +36773,7 @@ function Wde({ toast: e, failure: t }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, B.jsx)(MM, {
+ /* @__PURE__ */ (0, B.jsx)(jM, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -36857,43 +36857,43 @@ function Wde({ toast: e, failure: t }) {
}
//#endregion
//#region src/react/data-cleanup/orphan-records.ts
-var Gde = "/api/orphan-records", Kde = "/api/orphan-records/attach", eN = ["orphan-records"], qde = [
+var Kde = "/api/orphan-records", qde = "/api/orphan-records/attach", $M = ["orphan-records"], Jde = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], Jde = (e) => W(Gde, e), Yde = (e, t) => G(Kde, {
+], Yde = (e) => W(Kde, e), Xde = (e, t) => G(qde, {
id: e,
target: t
-}), Xde = (e) => G(qA, {
+}), Zde = (e) => G(JA, {
ids: [e],
operation: "delete"
-}), Zde = (e) => [
+}), Qde = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], tN = (e) => [...qde.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Zde(e)].filter(Boolean).join(" · "), Qde = (e) => e ? `${Math.round(e / 60)} 分钟` : "", nN = (e) => [e.name, Qde(e.duration)].filter(Boolean).join(" · "), $de = SA("play"), rN = () => p.invalidateQueries({
- queryKey: eN,
+], eN = (e) => [...Jde.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Qde(e)].filter(Boolean).join(" · "), $de = (e) => e ? `${Math.round(e / 60)} 分钟` : "", tN = (e) => [e.name, $de(e.duration)].filter(Boolean).join(" · "), efe = CA("play"), nN = () => p.invalidateQueries({
+ queryKey: $M,
exact: !0
});
-function efe({ item: e, toast: t }) {
+function tfe({ item: e, toast: t }) {
let [n, r] = (0, R.useState)(e.candidates[0]?.id ?? null), i = DS({
- mutationFn: () => Yde(e.id, Number(n)),
+ mutationFn: () => Xde(e.id, Number(n)),
onSuccess: (e) => {
- t(`记录已接到新文件,批次 ${e.batch}`), rN();
+ t(`记录已接到新文件,批次 ${e.batch}`), nN();
},
onError: (e) => t(U(e))
}), a = DS({
- mutationFn: () => Xde(e.id),
+ mutationFn: () => Zde(e.id),
onSuccess: (n) => {
- t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), rN();
+ t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), nN();
}
}), o = () => {
je({
title: "彻底删除",
- body: `将删除「${e.name}」这一条和它带的记录(${tN(e.records)})。此操作不可撤销。`,
+ body: `将删除「${e.name}」这一条和它带的记录(${eN(e.records)})。此操作不可撤销。`,
confirmLabel: "彻底删除",
danger: !0,
onConfirm: () => a.mutateAsync()
@@ -36906,7 +36906,7 @@ function efe({ item: e, toast: t }) {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, B.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, B.jsx)($de, {
+ children: [/* @__PURE__ */ (0, B.jsx)(efe, {
"aria-hidden": !0,
className: "size-5"
}), e.has_thumb ? /* @__PURE__ */ (0, B.jsx)("img", {
@@ -36930,7 +36930,7 @@ function efe({ item: e, toast: t }) {
}) }),
/* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)("span", {
className: "block min-w-44",
- children: tN(e.records)
+ children: eN(e.records)
}) }),
/* @__PURE__ */ (0, B.jsx)(uk, { children: e.candidates.length ? /* @__PURE__ */ (0, B.jsx)(Dk, {
"aria-label": `把 ${e.name} 的记录接到哪个文件`,
@@ -36941,8 +36941,8 @@ function efe({ item: e, toast: t }) {
},
children: e.candidates.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
id: e.id,
- textValue: nN(e),
- children: nN(e)
+ textValue: tN(e),
+ children: tN(e)
}, e.id))
}) : /* @__PURE__ */ (0, B.jsx)("span", {
className: "text-text-secondary",
@@ -36968,23 +36968,23 @@ function efe({ item: e, toast: t }) {
]
});
}
-function tfe({ toast: e }) {
+function nfe({ toast: e }) {
let t = wS({
- queryKey: eN,
- queryFn: ({ signal: e }) => Jde(e)
+ queryKey: $M,
+ queryFn: ({ signal: e }) => Yde(e)
}), n = t.data?.items ?? [];
return !t.isError && !n.length ? null : /* @__PURE__ */ (0, B.jsxs)("section", {
id: "orphan-records",
"aria-labelledby": "orphan-records-title",
className: "flex scroll-mt-20 flex-col gap-4",
- children: [/* @__PURE__ */ (0, B.jsx)(jM, {
+ children: [/* @__PURE__ */ (0, B.jsx)(AM, {
id: "orphan-records-title",
children: "孤儿记录"
- }), /* @__PURE__ */ (0, B.jsxs)(NM, {
+ }), /* @__PURE__ */ (0, B.jsxs)(MM, {
layout: "stack",
labelledBy: "orphan-records-box",
children: [
- /* @__PURE__ */ (0, B.jsx)(MM, {
+ /* @__PURE__ */ (0, B.jsx)(jM, {
id: "orphan-records-box",
gap: "small",
children: "文件已消失的作品"
@@ -36997,7 +36997,7 @@ function tfe({ toast: e }) {
tone: "error",
title: "孤儿记录读取失败",
children: U(t.error)
- }) : /* @__PURE__ */ (0, B.jsx)(YM, { children: /* @__PURE__ */ (0, B.jsxs)(qM, {
+ }) : /* @__PURE__ */ (0, B.jsx)(JM, { children: /* @__PURE__ */ (0, B.jsxs)(KM, {
"aria-label": "文件已消失的作品",
size: "sm",
children: [/* @__PURE__ */ (0, B.jsxs)(nk, { children: [
@@ -37018,7 +37018,7 @@ function tfe({ toast: e }) {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, B.jsx)(ak, { children: n.map((t) => /* @__PURE__ */ (0, B.jsx)(efe, {
+ ] }), /* @__PURE__ */ (0, B.jsx)(ak, { children: n.map((t) => /* @__PURE__ */ (0, B.jsx)(tfe, {
item: t,
toast: e
}, t.id)) })]
@@ -37029,99 +37029,99 @@ function tfe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var nfe = SA("git-compare"), rfe = SA("rotate-cw"), ife = "暂时无法读取进度,正在重新连接…", iN = "清理失效条目", aN = "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", oN = (e) => Number(e || 0).toLocaleString();
-function afe({ scan: e }) {
+var rfe = CA("git-compare"), ife = CA("rotate-cw"), afe = "暂时无法读取进度,正在重新连接…", rN = "清理失效条目", iN = "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", aN = (e) => Number(e || 0).toLocaleString();
+function ofe({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("div", {
- className: aN,
+ className: iN,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, B.jsx)("article", {
- className: TM(),
- children: /* @__PURE__ */ (0, B.jsx)(EM, {
- label: Yue[e.location] || "媒体来源",
+ className: wM(),
+ children: /* @__PURE__ */ (0, B.jsx)(TM, {
+ label: Xue[e.location] || "媒体来源",
mark: /* @__PURE__ */ (0, B.jsx)(Gk, { mark: Oe[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, B.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
- figure: e.online ? `${oN(e.missing)} 项` : "—",
- meta: $ue(e),
+ figure: e.online ? `${aN(e.missing)} 项` : "—",
+ meta: ede(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, B.jsxs)("div", {
- className: aN,
+ className: iN,
children: [
/* @__PURE__ */ (0, B.jsx)("article", {
- className: TM(),
- children: /* @__PURE__ */ (0, B.jsx)(EM, {
+ className: wM(),
+ children: /* @__PURE__ */ (0, B.jsx)(TM, {
label: "待永久删除",
- figure: `${oN(dM(e))} 项`,
+ figure: `${aN(uM(e))} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, B.jsx)("article", {
- className: TM(),
- children: /* @__PURE__ */ (0, B.jsx)(EM, {
+ className: wM(),
+ children: /* @__PURE__ */ (0, B.jsx)(TM, {
label: "将标为已消失",
- figure: `${oN(e.vanish)} 项`,
+ figure: `${aN(e.vanish)} 项`,
meta: "带个人记录,记录留着"
})
}),
/* @__PURE__ */ (0, B.jsx)("article", {
- className: TM(),
- children: /* @__PURE__ */ (0, B.jsx)(EM, {
+ className: wM(),
+ children: /* @__PURE__ */ (0, B.jsx)(TM, {
label: "空文件夹",
- figure: `${oN(e.empty)} 个`,
+ figure: `${aN(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, B.jsx)("article", {
- className: TM(),
- children: /* @__PURE__ */ (0, B.jsx)(EM, {
+ className: wM(),
+ children: /* @__PURE__ */ (0, B.jsx)(TM, {
label: "可清理的缓存",
- figure: `${oN(t.files)} 个`,
+ figure: `${aN(t.files)} 个`,
meta: t.files ? ye(t.bytes) : ""
})
})
]
})] });
}
-function ofe({ toast: e }) {
- let t = HM({
- queryKey: oM,
- queryFn: ({ signal: e }) => cM(e),
- start: Kue,
+function sfe({ toast: e }) {
+ let t = VM({
+ queryKey: aM,
+ queryFn: ({ signal: e }) => sM(e),
+ start: que,
onFinish: (t) => {
if (p.invalidateQueries({
- queryKey: vM,
+ queryKey: _M,
exact: !0
}), p.invalidateQueries({
- queryKey: aM,
+ queryKey: iM,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = mM(t);
- r ? e(`已完成 ${oN(n)} 项,${oN(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = pM(t);
+ r ? e(`已完成 ${aN(n)} 项,${aN(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = HM({
- queryKey: aM,
- queryFn: ({ signal: e }) => sM(e),
- start: Gue,
+ }), n = VM({
+ queryKey: iM,
+ queryFn: ({ signal: e }) => oM(e),
+ start: Kue,
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 je({
- title: iN,
- body: Que(e),
- confirmLabel: iN,
+ title: rN,
+ body: $ue(e),
+ confirmLabel: rN,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), l = t.outcome, u = (e) => {
- let t = mM(e).left > 0;
+ let t = pM(e).left > 0;
return /* @__PURE__ */ (0, B.jsx)(Y, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: ede(e, ye)
+ children: tde(e, ye)
});
}, d = null, f = null;
if (l?.status === "failed") f = /* @__PURE__ */ (0, B.jsx)(Y, {
@@ -37130,7 +37130,7 @@ function ofe({ toast: e }) {
children: l.error || "请查看任务记录,核对已处理的文件。"
});
else if (l) f = u(l);
- else if (t.running) d = /* @__PURE__ */ (0, B.jsx)(RM, {
+ else if (t.running) d = /* @__PURE__ */ (0, B.jsx)(LM, {
embedded: !0,
label: t.job?.message || "正在复核并清理失效条目…"
});
@@ -37142,11 +37142,11 @@ function ofe({ toast: e }) {
else if (n.query.isError && r) f = /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "neutral",
title: "任务状态",
- children: ife
+ children: afe
});
else if (r?.status === "running") {
- let e = Xue(r);
- d = /* @__PURE__ */ (0, B.jsx)(RM, {
+ let e = Zue(r);
+ d = /* @__PURE__ */ (0, B.jsx)(LM, {
embedded: !0,
label: e,
value: r.completed_sources,
@@ -37163,13 +37163,13 @@ function ofe({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (r?.status === "complete") {
- let e = Jue(r);
+ let e = Yue(r);
f = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
- /* @__PURE__ */ (0, B.jsx)(afe, { scan: r }),
+ /* @__PURE__ */ (0, B.jsx)(ofe, { scan: r }),
e ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "neutral",
title: "清理内容",
- children: Zue(r)
+ children: Que(r)
}) : null,
/* @__PURE__ */ (0, B.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -37177,7 +37177,7 @@ function ofe({ toast: e }) {
variant: "danger",
...X(a),
onClick: () => c(r),
- children: a ? "正在复核并清理…" : iN
+ children: a ? "正在复核并清理…" : rN
}) : /* @__PURE__ */ (0, B.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -37194,16 +37194,16 @@ function ofe({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, B.jsx)(jM, {
+ /* @__PURE__ */ (0, B.jsx)(AM, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, B.jsxs)(NM, {
+ /* @__PURE__ */ (0, B.jsxs)(MM, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, B.jsx)(J, {
"data-resource-scan": !0,
- leadingIcon: o && !i ? rfe : nfe,
+ leadingIcon: o && !i ? ife : rfe,
...X(i),
onClick: () => {
i || n.start.mutate();
@@ -37211,7 +37211,7 @@ function ofe({ toast: e }) {
children: s
}),
children: [
- /* @__PURE__ */ (0, B.jsx)(MM, {
+ /* @__PURE__ */ (0, B.jsx)(jM, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -37237,16 +37237,16 @@ function ofe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function sN(e, t) {
+function oN(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function cN({ section: e, label: t, icon: n, value: r, open: i }) {
+function sN({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
- className: TM({ interactive: !0 }),
+ className: wM({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, B.jsx)(EM, {
+ children: /* @__PURE__ */ (0, B.jsx)(TM, {
label: t,
icon: n,
figure: r.figure,
@@ -37254,80 +37254,80 @@ function cN({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var sfe = SA("square-check-big"), cfe = SA("sparkles"), lfe = SA("file-stack"), ufe = SA("file-archive"), dfe = SA("trash"), ffe = [
- hM,
- hj,
- KA
-], pfe = () => {
- for (let e of ffe) p.invalidateQueries({
+var cfe = CA("square-check-big"), lfe = CA("sparkles"), ufe = CA("file-stack"), dfe = CA("file-archive"), ffe = CA("trash"), pfe = [
+ mM,
+ pj,
+ qA
+], mfe = () => {
+ for (let e of pfe) p.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function mfe({ toast: e, failure: t, open: n }) {
+function hfe({ toast: e, failure: t, open: n }) {
let r = wS({
- queryKey: hM,
- queryFn: ({ signal: e }) => yM(e)
+ queryKey: mM,
+ queryFn: ({ signal: e }) => vM(e)
}), i = wS({
- queryKey: hj,
- queryFn: ({ signal: e }) => gj(e)
+ queryKey: pj,
+ queryFn: ({ signal: e }) => mj(e)
}), a = wS({
- queryKey: KA,
- queryFn: ({ signal: e }) => JA(e)
+ queryKey: qA,
+ queryFn: ({ signal: e }) => YA(e)
}), o = wS({
- queryKey: gM,
- queryFn: ({ signal: e }) => bM(e)
+ queryKey: hM,
+ queryFn: ({ signal: e }) => yM(e)
}), s = wS({
- queryKey: vM,
- queryFn: ({ signal: e }) => xM(e)
+ queryKey: _M,
+ queryFn: ({ signal: e }) => bM(e)
}), c = wS({
queryKey: u,
queryFn: ({ signal: e }) => f(e)
}), l = (t) => e(t);
return /* @__PURE__ */ (0, B.jsxs)(ME, { children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
- className: dde,
+ className: fde,
children: [
- /* @__PURE__ */ (0, B.jsx)(cN, {
+ /* @__PURE__ */ (0, B.jsx)(sN, {
section: "review",
label: "人工复核",
- icon: sfe,
+ icon: cfe,
open: n,
- value: sN(r, ide)
+ value: oN(r, ade)
}),
- /* @__PURE__ */ (0, B.jsx)(cN, {
+ /* @__PURE__ */ (0, B.jsx)(sN, {
section: "quality",
label: "高清版",
- icon: cfe,
+ icon: lfe,
open: n,
- value: sN(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: oN(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, B.jsx)(cN, {
+ /* @__PURE__ */ (0, B.jsx)(sN, {
section: "duplicates",
label: "重复文件",
- icon: lfe,
+ icon: ufe,
open: n,
- value: sN(a, (e) => Number(e.total || 0) ? {
+ value: oN(a, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${ye(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, B.jsx)(cN, {
+ /* @__PURE__ */ (0, B.jsx)(sN, {
section: "ads",
label: "垃圾文件",
- icon: ufe,
+ icon: dfe,
open: n,
- value: sN(o, (e) => ({
+ value: oN(o, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: ade(e)
+ meta: ode(e)
}))
}),
- /* @__PURE__ */ (0, B.jsx)(cN, {
+ /* @__PURE__ */ (0, B.jsx)(sN, {
section: "trash",
label: "回收站",
- icon: dfe,
+ icon: ffe,
open: n,
- value: sN(s, (e) => ({
+ value: oN(s, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${ye(e.bytes || 0)}` : ""
}))
@@ -37340,30 +37340,30 @@ function mfe({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, B.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, B.jsx)(BM, {
+ children: /* @__PURE__ */ (0, B.jsx)(zM, {
toast: l,
monitor: !0,
- onComplete: pfe
+ onComplete: mfe
})
}),
/* @__PURE__ */ (0, B.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, B.jsx)(Mde, {})
+ children: /* @__PURE__ */ (0, B.jsx)(Nde, {})
}),
- /* @__PURE__ */ (0, B.jsx)(Wde, {
+ /* @__PURE__ */ (0, B.jsx)(Gde, {
toast: l,
failure: t
})
]
}),
- /* @__PURE__ */ (0, B.jsx)(zde, {}),
- /* @__PURE__ */ (0, B.jsx)(tfe, { toast: l }),
- lM(c.data) ? /* @__PURE__ */ (0, B.jsx)(ofe, { toast: e }) : null
+ /* @__PURE__ */ (0, B.jsx)(Bde, {}),
+ /* @__PURE__ */ (0, B.jsx)(nfe, { toast: l }),
+ cM(c.data) ? /* @__PURE__ */ (0, B.jsx)(sfe, { toast: e }) : null
] });
}
//#endregion
//#region src/react/feed-new/feed-new.ts
-var lN = (e) => ["feed-new", e ?? "home"], hfe = 8, gfe = 1500;
+var cN = (e) => ["feed-new", e ?? "home"], gfe = 8, lN = 1500;
function _fe(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
@@ -37379,13 +37379,13 @@ async function vfe(e, t, n) {
let r = new URLSearchParams({ limit: "12" });
e && r.set("entity", String(e));
let i = await pe(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
- return n && o.length && await _fe(s, hfe, gfe), {
+ return n && o.length && await _fe(s, gfe, lN), {
items: o,
html: s
};
}
var uN = (e, t, n = !1) => ({
- queryKey: lN(e),
+ queryKey: cN(e),
queryFn: () => vfe(e, t, n),
staleTime: Infinity
}), dN = (e, t) => pe("/api/feeds/discovery", {
@@ -37396,7 +37396,7 @@ var uN = (e, t, n = !1) => ({
})
}).then(() => void 0, () => void 0);
async function yfe(e) {
- p.removeQueries({ queryKey: lN(null) }), await p.fetchQuery(uN(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+ p.removeQueries({ queryKey: cN(null) }), await p.fetchQuery(uN(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
//#endregion
//#region src/react/entity-page/entity-page.ts
@@ -37492,7 +37492,7 @@ async function wfe(e) {
n
] });
await Promise.all([
- p.fetchQuery(yN(t, n)).then((t) => !t || t.error || !t.id ? null : (p.removeQueries({ queryKey: lN(Number(t.id)) }), p.fetchQuery(uN(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ p.fetchQuery(yN(t, n)).then((t) => !t || t.error || !t.id ? null : (p.removeQueries({ queryKey: cN(Number(t.id)) }), p.fetchQuery(uN(Number(t.id), e.helpers.feedRowHtml, !0)))),
p.fetchQuery(vN(e)),
p.fetchInfiniteQuery(bN(t, n, 0, "")),
e.media.media === "photos" && e.media.set ? p.fetchInfiniteQuery(bN(t, n, e.media.set, "")) : null
@@ -37553,25 +37553,25 @@ var jfe = (e, t, n, r) => W(kfe(e, t, n), r), Mfe = (e, t, n, r, i) => W(Afe(e,
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], TN = [
- ["all", "全部"],
- ["person", "个人"],
- ["account", "发布账号"],
- ["seller", "卖家"],
- ["organization", "机构"],
- ["platform", "平台"],
- ["adult_performer", "成人出演者"],
- ["model", "模特"],
- ["artist", "艺术创作者"],
- ["japanese_av", "日本 AV"],
- ["western_adult", "西方成人发行"],
- ["unknown", "待核验"]
-], EN = {
+], TN = {
+ performers: [
+ ["all", "全部"],
+ ["japanese_av", "女优"],
+ ["amateur", "素人"],
+ ["western", "西方"]
+ ],
+ creators: [
+ ["all", "全部"],
+ ["blogger", "网黄博主"],
+ ["seller", "卖家"],
+ ["animation", "动画作者"]
+ ]
+}, EN = {
people: 120,
tags: 180
}, DN = (e) => e !== "tags", ON = (e) => e === "studios" || e === "agencies";
function kN(e) {
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = e.kind === "tags" ? t === "online" ? wN : CN : TN, r = t === "local" && (e.kind === "creators" || e.kind === "performers"), i = n.some(([t]) => t === e.category);
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = e.kind === "tags" ? t === "online" ? wN : CN : e.kind === "performers" || e.kind === "creators" ? TN[e.kind] : [], r = t === "local" && (e.kind === "creators" || e.kind === "performers"), i = n.some(([t]) => t === e.category);
return {
...e,
scope: t,
@@ -38151,11 +38151,11 @@ function Qfe({ roster: e, props: t }) {
});
}
function $fe(e) {
- let t = jA(!e.items, e.skeletonHtml);
+ let t = MA(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-entity-grid": "",
"data-grid-reveal": t.fading ? "" : void 0,
- children: [t.layer, e.items ? /* @__PURE__ */ (0, B.jsx)(HA, {
+ children: [t.layer, e.items ? /* @__PURE__ */ (0, B.jsx)(UA, {
mode: "entity",
entityKey: `${e.kind}:${e.name}`,
revision: e.revision,
@@ -38241,7 +38241,7 @@ function npe({ 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, B.jsx)(UA, {
+ e.hasMore ? /* @__PURE__ */ (0, B.jsx)(WA, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
@@ -38677,7 +38677,7 @@ function Ope({ kind: e, entityId: t, name: n, onPicked: r }) {
})] });
}
function kpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, R.useRef)(null), o = PM(), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), [m, h] = (0, R.useState)(null), g = cP(e, t), _ = (0, R.useRef)(!1), v = wS({
+ let a = (0, R.useRef)(null), o = NM(), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), [m, h] = (0, R.useState)(null), g = cP(e, t), _ = (0, R.useRef)(!1), v = wS({
queryKey: g,
queryFn: ({ signal: n }) => hpe(e, t, n),
retryOnMount: !0
@@ -38731,7 +38731,7 @@ function kpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, B.jsx)(IM, {
+ /* @__PURE__ */ (0, B.jsx)(FM, {
icon: yT,
size: "small",
"aria-label": "关闭",
@@ -38908,7 +38908,7 @@ function Ape({ src: e, choice: t }) {
});
}
function jpe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, R.useState)(o[0]), [l, u] = (0, R.useState)(null), [d, f] = (0, R.useState)(null), p = dP(n, s), m = uP(e, t, s, p), h = PM();
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, R.useState)(o[0]), [l, u] = (0, R.useState)(null), [d, f] = (0, R.useState)(null), p = dP(n, s), m = uP(e, t, s, p), h = NM();
function g(e) {
c(e), u(null), f(null);
}
@@ -39400,44 +39400,18 @@ function Wpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
entity: n,
actions: a
}),
- n.identity_labels?.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
- "data-identity-classification": "",
+ n.related_identities?.length ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex min-w-0 flex-wrap gap-2 text-caption-1-regular text-text-secondary",
- children: [
- /* @__PURE__ */ (0, B.jsx)("span", { children: n.identity_labels.join(" · ") }),
- !!n.classifications?.length && /* @__PURE__ */ (0, B.jsxs)("details", {
- className: "min-w-0",
- children: [/* @__PURE__ */ (0, B.jsx)("summary", {
- className: "cursor-pointer",
- children: "分类来源"
- }), /* @__PURE__ */ (0, B.jsx)("ul", {
- className: "break-words",
- children: n.classifications.map((e, t) => /* @__PURE__ */ (0, B.jsxs)("li", { children: [
- e.label,
- " · ",
- e.status === "candidate" ? "待核验" : e.status === "rejected" ? "已排除" : "有来源",
- " · ",
- e.evidence,
- e.source_url.startsWith("https://") ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [" ", /* @__PURE__ */ (0, B.jsx)("a", {
- href: e.source_url,
- target: "_blank",
- rel: "noopener noreferrer",
- children: "来源"
- })] }) : null
- ] }, t))
- })]
- }),
- n.related_identities?.map((e) => /* @__PURE__ */ (0, B.jsxs)("button", {
- type: "button",
- className: "text-text-primary underline",
- onClick: () => a.openEntity(e.kind, e.canonical_name),
- children: [
- e.relation === "same_person" ? "同一人" : "关联账号",
- ":",
- e.canonical_name
- ]
- }, e.id))
- ]
+ children: n.related_identities.map((e) => /* @__PURE__ */ (0, B.jsxs)("button", {
+ type: "button",
+ className: "text-text-primary underline",
+ onClick: () => a.openEntity(e.kind, e.canonical_name),
+ children: [
+ e.relation === "same_person" ? "同一人" : "关联账号",
+ ":",
+ e.canonical_name
+ ]
+ }, e.id))
}) : null,
u.length ? /* @__PURE__ */ (0, B.jsx)("div", {
ref: p,
@@ -39514,6 +39488,7 @@ function Kpe({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-entity-alias": "meta",
children: [
+ /* @__PURE__ */ (0, B.jsx)(wP, { entity: t }),
/* @__PURE__ */ (0, B.jsxs)("span", {
"data-meta-item": "",
title: "视频",
@@ -39559,8 +39534,8 @@ function Kpe({ kind: e, entity: t, actions: n }) {
" 个厂牌"
] }) : null, l = t.maker;
return /* @__PURE__ */ (0, B.jsxs)("div", {
- "data-entity-alias": "",
- children: [
+ "data-entity-alias": e === "creator" ? "meta" : "",
+ children: [e === "creator" ? /* @__PURE__ */ (0, B.jsx)(wP, { entity: t }) : null, /* @__PURE__ */ (0, B.jsxs)("span", { children: [
s.length ? `${s.join(" / ")} · ` : "",
o,
c,
@@ -39571,7 +39546,17 @@ function Kpe({ kind: e, entity: t, actions: n }) {
onClick: i("studio", l.name),
children: l.name
})] }) : null
- ]
+ ] })]
+ });
+}
+function wP({ entity: e }) {
+ if (!e.identity_labels?.length) return null;
+ let t = [...(e.external_refs || []).map((e) => e.provider), ...(e.classifications || []).filter((e) => e.status === "observed" || e.status === "approved").map((e) => e.evidence)];
+ return /* @__PURE__ */ (0, B.jsxs)("span", {
+ "data-meta-item": "classification",
+ "data-identity-classification": "",
+ title: t.length ? [...new Set(t)].join(" · ") : "分类",
+ children: [/* @__PURE__ */ (0, B.jsx)(hP, { name: "user-round" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e.identity_labels.join(" · ") })]
});
}
function qpe({ label: e, names: t }) {
@@ -39607,7 +39592,7 @@ function Ype({ tags: e }) {
})
}) : null] });
}
-function wP({ mark: e }) {
+function TP({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, B.jsx)("span", {
"data-link-icon": "brand",
children: /* @__PURE__ */ (0, B.jsx)(hP, { name: e.brand })
@@ -39627,19 +39612,19 @@ function Xpe({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, B.jsx)(wP, { mark: e.mark })
+ children: /* @__PURE__ */ (0, B.jsx)(TP, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, B.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, B.jsx)(wP, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, B.jsx)(TP, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, B.jsxs)("span", {
"data-link": "private",
title: "私人馆藏来源记录,不直接打开下载页",
- children: [/* @__PURE__ */ (0, B.jsx)(wP, { mark: { globe: !0 } }), /* @__PURE__ */ (0, B.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, B.jsx)(TP, { mark: { globe: !0 } }), /* @__PURE__ */ (0, B.jsxs)("span", {
"data-link-label": "",
children: ["来源 · ", e.label]
})]
@@ -39650,7 +39635,7 @@ function Xpe({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, B.jsx)(wP, { mark: e.mark }), /* @__PURE__ */ (0, B.jsx)("span", {
+ children: [/* @__PURE__ */ (0, B.jsx)(TP, { mark: e.mark }), /* @__PURE__ */ (0, B.jsx)("span", {
"data-link-label": "",
children: e.text
})]
@@ -39705,7 +39690,7 @@ function Qpe(e) {
let { kind: t, name: n } = e, r = wS(yN(t, n)), i = !!r.data?.error, { actions: a } = e;
return (0, R.useLayoutEffect)(() => {
i && a.missing();
- }, [a, i]), r.isError ? /* @__PURE__ */ (0, B.jsx)(MA, {
+ }, [a, i]), r.isError ? /* @__PURE__ */ (0, B.jsx)(NA, {
message: U(r.error),
onRetry: () => {
r.refetch();
@@ -39715,7 +39700,7 @@ function Qpe(e) {
entity: r.data
});
}
-function TP(e) {
+function EP(e) {
let [t, n] = (0, R.useState)({
key: e,
n: 1
@@ -39734,7 +39719,7 @@ function eme(e, t) {
function tme(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 = OS(bN(t, n, 0, "")).data?.pages[0], m = f && !f.error ? f : null, h = m ? (m.total || 0) + (m.sample_total || 0) : 0, g = (m?.total || 0) > 0 || xN(m).length > 0, _ = a.media === "photos" && g ? a : fN, [v, y] = (0, R.useState)("people"), b = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [x, S] = (0, R.useState)(b);
x !== b && (S(b), y("videos"));
- let C = l && v === "people" && u.length ? "people" : _.media, [w, T] = (0, R.useState)(0), E = vN(e), D = wS(E), O = TP(JSON.stringify([E.queryKey, w])), [k] = (0, R.useState)(() => (t === "performer" || t === "studio") && (e.jav || (D.data?.items || []).some((e) => e.is_jav)));
+ let C = l && v === "people" && u.length ? "people" : _.media, [w, T] = (0, R.useState)(0), E = vN(e), D = wS(E), O = EP(JSON.stringify([E.queryKey, w])), [k] = (0, R.useState)(() => (t === "performer" || t === "studio") && (e.jav || (D.data?.items || []).some((e) => e.is_jav)));
(0, R.useLayoutEffect)(() => {
s.javContext(k);
}, [s, k]);
@@ -39747,7 +39732,7 @@ function tme(e) {
}, M = (0, R.useCallback)((e, r) => _N(t, n, i, j, e, r), [O]), [N, ee] = (0, R.useState)({}), te = _.set, P = N[te] || "", F = OS({
...bN(t, n, te, P),
enabled: C === "photos"
- }), ne = F.data?.pages[0], re = TP(JSON.stringify(mN(t, n, te, P))), ie = (0, R.useMemo)(() => {
+ }), ne = F.data?.pages[0], re = EP(JSON.stringify(mN(t, n, te, P))), ie = (0, R.useMemo)(() => {
let e = F.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
@@ -39763,7 +39748,7 @@ function tme(e) {
enabled: !!d
}), ce = (0, R.useRef)(e.feedRevision);
(0, R.useEffect)(() => {
- ce.current !== e.feedRevision && (ce.current = e.feedRevision, p.invalidateQueries({ queryKey: lN(d) }));
+ ce.current !== e.feedRevision && (ce.current = e.feedRevision, p.invalidateQueries({ queryKey: cN(d) }));
}, [d, e.feedRevision]);
let le = !!D.data;
(0, R.useEffect)(() => {
@@ -39859,7 +39844,7 @@ function tme(e) {
let e = await pe("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- ue.current && await p.invalidateQueries({ queryKey: lN(d) });
+ ue.current && await p.invalidateQueries({ queryKey: cN(d) });
})();
},
feedAction: dN,
@@ -40007,7 +39992,7 @@ function tme(e) {
actions: he,
helpers: ge
}, w),
- (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(tle, {
+ (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(ele, {
kind: t,
name: n,
view: C,
@@ -40023,7 +40008,7 @@ function tme(e) {
actions: _e,
helpers: ve
}), c.filter),
- (0, rp.createPortal)(C === "videos" && D.isError ? /* @__PURE__ */ (0, B.jsx)(MA, {
+ (0, rp.createPortal)(C === "videos" && D.isError ? /* @__PURE__ */ (0, B.jsx)(NA, {
message: U(D.error),
onRetry: () => {
D.refetch();
@@ -40054,7 +40039,7 @@ function tme(e) {
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function EP({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function DP({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, B.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
@@ -40081,25 +40066,25 @@ function EP({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var nme = SA("play"), rme = SA("file-stack"), ime = kE({
+var nme = CA("play"), rme = CA("file-stack"), ime = kE({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), DP = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", OP = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", kP = "font-mono text-caption-1-regular leading-5 text-text-secondary", AP = () => {
+}), OP = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", kP = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", AP = "font-mono text-caption-1-regular leading-5 text-text-secondary", jP = () => {
p.invalidateQueries({
- queryKey: KA,
+ queryKey: qA,
exact: !0
}), p.invalidateQueries({
- queryKey: vM,
+ queryKey: _M,
exact: !0
});
};
function ame(e) {
return e.identical ? /* @__PURE__ */ (0, B.jsx)("span", {
- className: `${OP} text-(--keep)`,
+ className: `${kP} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, B.jsx)("span", {
- className: `${OP} text-text-secondary`,
+ className: `${kP} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
@@ -40137,33 +40122,33 @@ function ome({ file: e, openItem: t }) {
}), e.is_largest || e.is_longest ? /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex flex-none gap-1",
children: [e.is_largest ? /* @__PURE__ */ (0, B.jsx)("i", {
- className: `${DP} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${OP} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, e.is_longest ? /* @__PURE__ */ (0, B.jsx)("i", {
- className: `${DP} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${OP} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, B.jsxs)("span", {
- className: `${kP} flex min-w-0 items-center gap-1.5`,
+ className: `${AP} flex min-w-0 items-center gap-1.5`,
children: [/* @__PURE__ */ (0, B.jsx)(Gk, { mark: Oe[e.location] || "database" }), /* @__PURE__ */ (0, B.jsx)("span", {
className: "whitespace-nowrap",
children: I[e.location] || e.location || e.drive
})]
}),
/* @__PURE__ */ (0, B.jsx)("span", {
- className: kP,
+ className: AP,
children: ye(e.size || 0)
}),
/* @__PURE__ */ (0, B.jsx)("span", {
- className: kP,
+ className: AP,
children: ve(e.duration)
}),
/* @__PURE__ */ (0, B.jsx)("span", {
"data-middle-truncate": !0,
title: e.path ?? "",
- className: `${kP} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
+ className: `${AP} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
children: e.path ?? ""
})
]
@@ -40171,21 +40156,21 @@ function ome({ file: e, openItem: t }) {
}
function sme({ openItem: e, toast: t, failure: n }) {
let r = wS({
- queryKey: KA,
- queryFn: ({ signal: e }) => JA(e)
+ queryKey: qA,
+ queryFn: ({ signal: e }) => YA(e)
}), i = wS({
queryKey: u,
queryFn: ({ signal: e }) => f(e)
}), [a, o] = (0, R.useState)(""), s = DS({
- mutationFn: (e) => ZA(e, "dispose"),
+ mutationFn: (e) => QA(e, "dispose"),
onSuccess: (e, r) => {
- AP(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
+ jP(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
try {
- await ZA(r, "restore");
+ await QA(r, "restore");
} catch (e) {
n("撤销移入回收站", e);
} finally {
- AP();
+ jP();
}
} });
},
@@ -40199,12 +40184,12 @@ function sme({ openItem: e, toast: t, failure: n }) {
children: r.error ? U(r.error) : "未取得重复文件列表,请刷新页面重试。"
})
});
- let l = c.groups ?? [], d = Ile(i.data), p = ({ groups: e, keep: t, key: n }) => {
+ let l = c.groups ?? [], d = Fle(i.data), p = ({ groups: e, keep: t, key: n }) => {
if (s.isPending) return;
- let r = Vle(e, t);
+ let r = Ble(e, t);
r.length && je({
title: "移入回收站",
- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${YA[t] ?? YA.largest}。文件共 ${ye(Hle(e, r))},记录可从回收站还原。`,
+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${XA[t] ?? XA.largest}。文件共 ${ye(Vle(e, r))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (o(n), s.mutateAsync(r))
});
@@ -40212,15 +40197,15 @@ function sme({ openItem: e, toast: t, failure: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "mx-auto w-full max-w-board pb-10.5",
children: [
- /* @__PURE__ */ (0, B.jsx)(EP, {
+ /* @__PURE__ */ (0, B.jsx)(DP, {
label: "重复内容",
figure: `${Number(c.total || 0).toLocaleString()} 组`,
detail: `${c.files} 个文件 · 可回收 ${ye(c.reclaimable)}`
}),
- l.length ? /* @__PURE__ */ (0, B.jsxs)(qce, {
+ l.length ? /* @__PURE__ */ (0, B.jsxs)(Kce, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, B.jsx)(fA, {
+ /* @__PURE__ */ (0, B.jsx)(pA, {
busy: a === "all:largest",
onPress: () => p({
groups: l,
@@ -40229,7 +40214,7 @@ function sme({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, B.jsx)(fA, {
+ /* @__PURE__ */ (0, B.jsx)(pA, {
busy: a === "all:longest",
onPress: () => p({
groups: l,
@@ -40238,7 +40223,7 @@ function sme({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最长"
}),
- Ble(l, d).map((e) => /* @__PURE__ */ (0, B.jsx)(fA, {
+ zle(l, d).map((e) => /* @__PURE__ */ (0, B.jsx)(pA, {
busy: a === `all:${e}`,
onPress: () => p({
groups: l,
@@ -40275,7 +40260,7 @@ function sme({ openItem: e, toast: t, failure: n }) {
}),
ame(t),
t.cross_drive ? /* @__PURE__ */ (0, B.jsx)("span", {
- className: `${OP} text-text-secondary`,
+ className: `${kP} text-text-secondary`,
children: `跨盘 ${t.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, B.jsxs)("span", {
@@ -40303,7 +40288,7 @@ function sme({ openItem: e, toast: t, failure: n }) {
}),
children: "留最长"
}),
- XA(t.files, d).map((e) => /* @__PURE__ */ (0, B.jsx)(J, {
+ ZA(t.files, d).map((e) => /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
...m(i(e)),
@@ -40343,17 +40328,17 @@ function sme({ openItem: e, toast: t, failure: n }) {
}
//#endregion
//#region src/react/diagnostics/diagnostics.ts
-var jP = ["diagnostics"], MP = (e) => W("/api/diagnostics", e);
+var MP = ["diagnostics"], NP = (e) => W("/api/diagnostics", e);
async function cme(e) {
await p.fetchQuery({
- queryKey: jP,
- queryFn: () => MP(e),
+ queryKey: MP,
+ queryFn: () => NP(e),
staleTime: 1e4
});
}
//#endregion
//#region src/react/diagnostics/diagnostics-page.tsx
-var NP = {
+var PP = {
ok: "正常",
warning: "需检查",
failed: "需处理",
@@ -40370,7 +40355,7 @@ var NP = {
"version"
]],
["后台任务", ["tasks"]]
-], PP = (e) => new Date(e).toLocaleString();
+], FP = (e) => new Date(e).toLocaleString();
function ume({ name: e, check: t, navigate: n, configure: r }) {
let i = e === "security" ? "网络与访问" : e === "configured" ? "通用" : "媒体";
return /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -40383,7 +40368,7 @@ function ume({ name: e, check: t, navigate: n, configure: r }) {
children: t.label
}), /* @__PURE__ */ (0, B.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: NP[t.status] ?? "未取得"
+ children: PP[t.status] ?? "未取得"
})]
}),
/* @__PURE__ */ (0, B.jsx)("p", {
@@ -40404,7 +40389,7 @@ function ume({ name: e, check: t, navigate: n, configure: r }) {
});
}
function dme({ group: e, openItem: t, receipt: n }) {
- let r = FE(), i = PM(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
+ let r = FE(), i = NM(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
return /* @__PURE__ */ (0, B.jsx)(Wk, {
summary: `${e.label} · ${e.count === null ? "未取得" : `${e.count} 项`}`,
children: e.count === null ? /* @__PURE__ */ (0, B.jsx)(Y, {
@@ -40455,8 +40440,8 @@ function dme({ group: e, openItem: t, receipt: n }) {
}
function fme(e) {
let t = wS({
- queryKey: jP,
- queryFn: ({ signal: e }) => MP(e),
+ queryKey: MP,
+ queryFn: ({ signal: e }) => NP(e),
staleTime: 1e4
}), n = FE(), [r, i] = (0, R.useState)(""), a = () => void n.run("refresh", async () => {
let e = await t.refetch();
@@ -40483,7 +40468,7 @@ function fme(e) {
title: "库健康",
children: /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [o.library.issue_at ? /* @__PURE__ */ (0, B.jsxs)("p", {
className: "text-body-2-regular text-text-secondary",
- children: ["处理记录 · ", PP(o.library.issue_at)]
+ children: ["处理记录 · ", FP(o.library.issue_at)]
}) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, B.jsx)(dme, {
group: n,
...e
@@ -40507,7 +40492,7 @@ function fme(e) {
children: [
e.label,
" · ",
- NP[e.status]
+ PP[e.status]
]
}),
/* @__PURE__ */ (0, B.jsx)("p", {
@@ -40516,10 +40501,10 @@ function fme(e) {
}),
/* @__PURE__ */ (0, B.jsxs)(Hk, { children: [/* @__PURE__ */ (0, B.jsx)(Uk, {
term: "上次解析成功",
- children: e.last_success_at ? PP(e.last_success_at) : "未取得"
+ children: e.last_success_at ? FP(e.last_success_at) : "未取得"
}), /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "冷却截止",
- children: e.cooldown_until ? PP(e.cooldown_until) : "未在冷却"
+ children: e.cooldown_until ? FP(e.cooldown_until) : "未在冷却"
})] })
]
}, e.source)), /* @__PURE__ */ (0, B.jsx)("div", { children: /* @__PURE__ */ (0, B.jsx)(J, {
@@ -40550,7 +40535,7 @@ function fme(e) {
function pme({ host: e, revision: t, helpers: n, actions: r }) {
let i = wS(uN(null, n.feedRowHtml)), a = (0, R.useRef)(t);
return (0, R.useEffect)(() => {
- a.current !== t && (a.current = t, p.invalidateQueries({ queryKey: lN(null) }));
+ a.current !== t && (a.current = t, p.invalidateQueries({ queryKey: cN(null) }));
}, [t]), (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(mP, {
feedNew: i.data ?? null,
host: e,
@@ -40561,7 +40546,7 @@ function pme({ host: e, revision: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/follow-sort.ts
-var FP = [
+var IP = [
["checked", "检查时间"],
["added", "添加时间"],
["name", "创作者名称"],
@@ -40569,7 +40554,7 @@ var FP = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], mme = "checked", IP = {
+], mme = "checked", LP = {
checked: "desc",
added: "desc",
name: "asc",
@@ -40577,32 +40562,32 @@ var FP = [
source: "asc",
provider: "asc",
status: "asc"
-}, hme = (e) => FP.some(([t]) => t === e);
-function LP(e, t) {
+}, hme = (e) => IP.some(([t]) => t === e);
+function RP(e, t) {
let n = hme(e) ? e : mme;
return {
sort: n,
- dir: t === "asc" || t === "desc" ? t : IP[n]
+ dir: t === "asc" || t === "desc" ? t : LP[n]
};
}
//#endregion
//#region src/react/follow-manage/follow-manage.ts
-var RP = "/api/follow", zP = "/api/follow/credentials", BP = "/api/follow/check", VP = "/api/follow/source", HP = "/api/follow/resolve", gme = "/api/follow/suggest", UP = "/api/follow/author-alias", _me = "/api/follow/credential", WP = "/api/follow/status", vme = "/api/feeds", GP = "/api/feeds/source", yme = "/api/feeds/check", bme = "/api/feeds/lookup", KP = ["follow-manage"], qP = ["follow-manage", "credentials"], xme = ["follow-manage", "check"], Sme = ["follow-manage", "resolve"], JP = ["follow-manage", "feeds"], Cme = (e) => [
+var zP = "/api/follow", BP = "/api/follow/credentials", VP = "/api/follow/check", HP = "/api/follow/source", UP = "/api/follow/resolve", gme = "/api/follow/suggest", WP = "/api/follow/author-alias", _me = "/api/follow/credential", GP = "/api/follow/status", vme = "/api/feeds", KP = "/api/feeds/source", yme = "/api/feeds/check", bme = "/api/feeds/lookup", qP = ["follow-manage"], JP = ["follow-manage", "credentials"], xme = ["follow-manage", "check"], Sme = ["follow-manage", "resolve"], YP = ["follow-manage", "feeds"], Cme = (e) => [
"follow-manage",
"suggest",
e
-], YP = [["default", "默认视图"], ["table", "表格视图"]], XP = [
+], XP = [["default", "默认视图"], ["table", "表格视图"]], ZP = [
10,
20,
50,
100
-], wme = Object.fromEntries(FP), ZP = {
+], wme = Object.fromEntries(IP), QP = {
author: "name",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, Tme = (e) => YP.some(([t]) => t === e), Eme = (e) => XP.includes(Number(e)) ? Number(e) : 20, Dme = {
+}, Tme = (e) => XP.some(([t]) => t === e), Eme = (e) => ZP.includes(Number(e)) ? Number(e) : 20, Dme = {
checked: ["从近到远", "从远到近"],
added: ["从近到远", "从远到近"],
name: ["倒序", "正序"],
@@ -40611,24 +40596,24 @@ var RP = "/api/follow", zP = "/api/follow/credentials", BP = "/api/follow/check"
provider: ["倒序", "正序"],
status: ["倒序", "正序"]
}, Ome = (e, t) => `按${wme[e]}${Dme[e][t === "asc" ? 0 : 1]}排序`;
-function QP(e) {
+function $P(e) {
let t = e.last_status;
return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;
}
function kme(e) {
return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";
}
-var $P = (e) => e.last_status === "error" || e.last_status === "unauthorized", eF = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), tF = {
- source: eF,
- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || eF(e, t),
- status: (e, t) => QP(e) - QP(t) || eF(e, t)
-}, nF = (e) => Date.parse(e || "") || 0, rF = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
-function iF(e, t = []) {
+var eF = (e) => e.last_status === "error" || e.last_status === "unauthorized", tF = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), nF = {
+ source: tF,
+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || tF(e, t),
+ status: (e, t) => $P(e) - $P(t) || tF(e, t)
+}, rF = (e) => Date.parse(e || "") || 0, iF = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
+function aF(e, t = []) {
if (!e.length) return "";
- let n = (e) => String(e.author_name || "").trim() || rF(e.label), r = e.find((e) => e.entity_name);
+ let n = (e) => String(e.author_name || "").trim() || iF(e.label), r = e.find((e) => e.entity_name);
if (r) return r.entity_name;
let i = t.find((t) => `name:${t.canonical_key}` === e[0]?.author_key);
- if (i) return rF(i.canonical_name);
+ if (i) return iF(i.canonical_name);
let a = e.find((e) => e.official_avatar_url);
if (a && n(a)) return n(a);
let o = e.map(n).filter(Boolean);
@@ -40636,18 +40621,18 @@ function iF(e, t = []) {
let s = (e) => (e.match(/[A-Z]/g) || []).length;
return o.reduce((e, t) => s(t) > s(e) ? t : e, o[0]);
}
-function aF(e) {
+function oF(e) {
let t = e.trim().match(/[A-Za-z0-9]/);
return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();
}
-function oF(e) {
+function sF(e) {
let t = e.find((e) => e.official_avatar_url), n = e.find((e) => e.avatar_url), r = t?.official_avatar_url || n?.avatar_url || "";
return {
src: r,
fallback: t && n && n.avatar_url !== r && n.avatar_url || ""
};
}
-function sF(e) {
+function cF(e) {
let t = [], n = /* @__PURE__ */ new Map();
for (let r of e) {
let e = r.author_key || `source:${r.id}`;
@@ -40656,31 +40641,31 @@ function sF(e) {
return t.map((e) => n.get(e));
}
function Ame(e, t, n, r = []) {
- let i = sF(e), a = n === IP[t] ? 1 : -1, o = (e) => iF(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = tF[t];
+ let i = cF(e), a = n === LP[t] ? 1 : -1, o = (e) => aF(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = nF[t];
if (c) {
for (let e of i) e.sort((e, t) => a * c(e, t));
return i.sort((e, t) => a * c(e[0], t[0]) || s(e, t));
}
- let l = (e) => Math.max(...e.map((e) => nF(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => nF(e.created_at)));
+ let l = (e) => Math.max(...e.map((e) => rF(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => rF(e.created_at)));
return i.sort((e, n) => t === "name" ? a * s(e, n) : t === "sources" ? a * (n.length - e.length) || s(e, n) : t === "added" ? a * (u(n) - u(e)) || s(e, n) : a * (l(n) - l(e)) || s(e, n));
}
function jme(e, t, n, r = []) {
let i = e.flatMap((e) => {
- let t = iF(e, r);
+ let t = aF(e, r);
return e.map((n) => ({
source: n,
group: e,
author: t
}));
- }), a = tF[t];
+ }), a = nF[t];
if (a) {
- let e = n === IP[t] ? 1 : -1;
+ let e = n === LP[t] ? 1 : -1;
i.sort((t, n) => e * a(t.source, n.source));
}
return i;
}
-function cF(e, t, n) {
- let r = vj(e, t), i = yj(n, r), a = (i - 1) * t;
+function lF(e, t, n) {
+ let r = gj(e, t), i = _j(n, r), a = (i - 1) * t;
return {
page: i,
pages: r,
@@ -40693,87 +40678,87 @@ function Mme(e, t) {
let n = new Set(t.map((e) => e.id));
return new Set([...e].filter((e) => n.has(e)));
}
-function lF(e, t) {
+function uF(e, t) {
let n = t.filter((t) => e.has(t)).length;
return {
all: t.length > 0 && n === t.length,
some: n > 0 && n < t.length
};
}
-function uF(e, t, n) {
+function dF(e, t, n) {
let r = new Set(e);
for (let e of t) n ? r.add(e) : r.delete(e);
return r;
}
-var dF = (e) => W(`${RP}?summary=1`, e), fF = (e) => W(zP, e), Nme = (e) => W(BP, e), Pme = (e) => W(HP, e), Fme = (e, t) => W(`${gme}?q=${encodeURIComponent(e)}`, t), pF = (e) => G(BP, {
+var fF = (e) => W(`${zP}?summary=1`, e), pF = (e) => W(BP, e), Nme = (e) => W(VP, e), Pme = (e) => W(UP, e), Fme = (e, t) => W(`${gme}?q=${encodeURIComponent(e)}`, t), mF = (e) => G(VP, {
...e?.length ? { sources: e } : {},
background: !0
-}), Ime = (e) => G(HP, {
+}), Ime = (e) => G(UP, {
lines: e,
background: !0
-}), mF = (e, t) => G(VP, {
+}), hF = (e, t) => G(HP, {
action: "enabled",
id: e,
enabled: t
-}), hF = (e) => G(VP, {
+}), gF = (e) => G(HP, {
action: "remove",
id: e
-}), Lme = (e) => G(VP, {
+}), Lme = (e) => G(HP, {
action: "add",
url: e.url,
label: e.label,
author: e.author || "",
aliases: e.aliases || [],
defer_check: !0
-}), gF = (e, t) => G(UP, {
+}), _F = (e, t) => G(WP, {
action: "add",
canonical: e,
alias: t
-}), Rme = (e) => G(UP, {
+}), Rme = (e) => G(WP, {
action: "remove",
alias: e
}), zme = (e, t) => G(_me, {
provider: e,
values: t
-}), Bme = (e, t) => G(WP, {
+}), Bme = (e, t) => G(GP, {
item: e,
to: t
-}), Vme = () => W(`${RP}?status=new&limit=1000`);
-async function _F(e) {
+}), Vme = () => W(`${zP}?status=new&limit=1000`);
+async function vF(e) {
let t = await W(vme, e);
if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
return t;
}
-var vF = (e, t, n) => G(GP, {
+var yF = (e, t, n) => G(KP, {
action: "enabled",
id: e,
enabled: t
-}, "POST", n), yF = (e, t) => G(GP, {
+}, "POST", n), bF = (e, t) => G(KP, {
action: "remove",
id: e
-}, "POST", t), bF = (e, t) => G(yme, t?.length ? { sources: t } : { all: !0 }, "POST", e), Hme = (e, t) => W(`${bme}?q=${encodeURIComponent(e)}`, t), Ume = (e, t, n) => G(GP, {
+}, "POST", t), xF = (e, t) => G(yme, t?.length ? { sources: t } : { all: !0 }, "POST", e), Hme = (e, t) => W(`${bme}?q=${encodeURIComponent(e)}`, t), Ume = (e, t, n) => G(KP, {
action: "follow-name",
name: e,
ids: t
}, "POST", n);
async function Wme(e, t = "") {
await Promise.all([
- p.fetchQuery({
- queryKey: KP,
- queryFn: () => dF(e)
- }),
p.fetchQuery({
queryKey: qP,
queryFn: () => fF(e)
}),
- t === "feeds" ? p.fetchQuery({
+ p.fetchQuery({
queryKey: JP,
- queryFn: () => _F(e)
+ queryFn: () => pF(e)
+ }),
+ t === "feeds" ? p.fetchQuery({
+ queryKey: YP,
+ queryFn: () => vF(e)
}) : null
]);
}
-function xF(e, t) {
- p.setQueryData(KP, (n) => n && {
+function SF(e, t) {
+ p.setQueryData(qP, (n) => n && {
...n,
sources: n.sources.map((n) => n.id === e ? {
...n,
@@ -40781,15 +40766,15 @@ function xF(e, t) {
} : n)
});
}
-function SF(e) {
+function CF(e) {
let t = new Set(e);
- p.setQueryData(KP, (e) => e && {
+ p.setQueryData(qP, (e) => e && {
...e,
sources: e.sources.filter((e) => !t.has(e.id))
});
}
-var CF = () => p.invalidateQueries({
- queryKey: KP,
+var wF = () => p.invalidateQueries({
+ queryKey: qP,
exact: !0
});
function Gme(e) {
@@ -40798,7 +40783,7 @@ function Gme(e) {
let f = t.filter((e) => e.exhausted).length;
return f && d.push(`${f} 个没有更多内容`), u && d.push(`${u} 个失败`), `检查了 ${t.length} 个来源:${d.join(" · ")}`;
}
-var Kme = (e) => (e?.results || []).filter((e) => !e.ok), qme = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", wF = (e) => e.last_checked_at ? bj(e.last_checked_at) : "未检查", Jme = /* @__PURE__ */ new Set([
+var Kme = (e) => (e?.results || []).filter((e) => !e.ok), qme = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", TF = (e) => e.last_checked_at ? vj(e.last_checked_at) : "未检查", Jme = /* @__PURE__ */ new Set([
"fanbox",
"patreon",
"subscribestar",
@@ -40811,12 +40796,12 @@ var Kme = (e) => (e?.results || []).filter((e) => !e.ok), qme = (e) => (e?.resul
"gofile",
"f95zone",
"simpcity"
-]), TF = (e) => Jme.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", Yme = {
+]), EF = (e) => Jme.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", Yme = {
required: "需要",
optional: "可选",
none: "不需要",
blocked: "接不进来"
-}, EF = (e) => !!e.present && !e.missing.length, Xme = [
+}, DF = (e) => !!e.present && !e.missing.length, Xme = [
["", "全部"],
["new", "未看"],
["saved", "已保存"],
@@ -40825,36 +40810,36 @@ var Kme = (e) => (e?.results || []).filter((e) => !e.ok), qme = (e) => (e?.resul
["new", "更新时间"],
["hot", "热度"],
["dur", "时长"]
-], DF = {
+], OF = {
new: ["从新到旧", "从旧到新"],
hot: ["从高到低", "从低到高"],
dur: ["从长到短", "从短到长"]
};
-function OF(e, t) {
+function kF(e, t) {
let n = (e) => encodeURIComponent(e.join(","));
return `/api/follow?limit=300&offset=${t}` + (e.status ? `&status=${e.status}` : "") + (e.author ? `&author=${n([e.author])}` : "") + (e.provider ? `&provider=${n([e.provider])}` : "") + (e.tags.length ? `&tag=${n(e.tags)}` : "") + (e.work ? `&work=${n([e.work])}` : "") + (e.sort === "new" ? "" : `&sort=${e.sort}`) + (e.sort === "rand" ? `&seed=${e.seed}` : "") + (e.dir === "desc" ? "" : `&dir=${e.dir}`);
}
-function kF(e, t) {
+function AF(e, t) {
return {
queryKey: [
"follow-feed",
- OF(e, 0),
+ kF(e, 0),
t
],
- queryFn: ({ pageParam: t, signal: n }) => W(OF(e, t), n),
+ queryFn: ({ pageParam: t, signal: n }) => W(kF(e, t), n),
initialPageParam: 0,
getNextPageParam: (e) => e.has_more ? (e.offset || 0) + 300 : void 0,
placeholderData: kS.keepPreviousData
};
}
-var AF = ["follow-feed", "credentials"], jF = (e) => W(zP, e).catch(() => ({ providers: [] }));
+var jF = ["follow-feed", "credentials"], MF = (e) => W(BP, e).catch(() => ({ providers: [] }));
async function Qme(e, t) {
- let n = kF(e.view, e.revision);
+ let n = AF(e.view, e.revision);
p.removeQueries({
queryKey: n.queryKey,
exact: !0
}), p.removeQueries({
- queryKey: AF,
+ queryKey: jF,
exact: !0
}), await Promise.all([p.fetchInfiniteQuery({
queryKey: n.queryKey,
@@ -40865,11 +40850,11 @@ async function Qme(e, t) {
initialPageParam: 0,
getNextPageParam: n.getNextPageParam
}), p.fetchQuery({
- queryKey: AF,
- queryFn: () => jF(t)
+ queryKey: jF,
+ queryFn: () => MF(t)
})]);
}
-function MF(e) {
+function NF(e) {
if (!e?.pages.length) return null;
let t = e.pages, n = t[t.length - 1];
return {
@@ -40878,10 +40863,10 @@ function MF(e) {
groups: t.flatMap((e) => e.groups || [])
};
}
-function NF(e, t, n) {
+function PF(e, t, n) {
return [...e].sort((e, r) => Ee(n, t(e)) - Ee(n, t(r)) || String(t(e)).localeCompare(String(t(r))));
}
-function PF(e) {
+function FF(e) {
let t = /* @__PURE__ */ new Set();
return [
e.primary,
@@ -40896,7 +40881,7 @@ function $me(e) {
if (!Array.isArray(t?.pages) || !t.pages.length) continue;
let r = t.pages[t.pages.length - 1];
for (let n of t.pages) for (let t of n.groups || []) {
- let n = PF(t).find((t) => t.id === e);
+ let n = FF(t).find((t) => t.id === e);
if (n) return {
item: n,
group: t,
@@ -40917,7 +40902,7 @@ function ehe(e) {
...t,
groups: (t.groups || []).map((t) => {
let n = (t) => t.id === e.id ? e : t;
- return PF(t).some((t) => t.id === e.id) ? {
+ return FF(t).some((t) => t.id === e.id) ? {
...t,
primary: n(t.primary),
variants: t.variants.map(n),
@@ -40931,35 +40916,35 @@ function the(e, t) {
p.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
- }, (n) => n && HF(n, null, e, t));
-}
-function FF(e) {
- return PF(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
+ }, (n) => n && UF(n, null, e, t));
}
function IF(e) {
+ return FF(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
+}
+function LF(e) {
let t = /* @__PURE__ */ new Set(), n = e.media_items || [];
return n.length ? n.forEach((e) => {
(e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind);
}) : (e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind), t;
}
-function LF(e) {
+function RF(e) {
let t = /* @__PURE__ */ new Set();
- return PF(e).forEach((e) => IF(e).forEach((e) => t.add(e))), t;
+ return FF(e).forEach((e) => LF(e).forEach((e) => t.add(e))), t;
}
-function RF(e, t) {
+function zF(e, t) {
let n = t === "images" ? "image" : "video";
- return FF(e).find((e) => IF(e).has(n)) || e.primary;
+ return IF(e).find((e) => LF(e).has(n)) || e.primary;
}
-function zF(e) {
- return FF(e).filter((e) => e.playable && e.media_kind === "video");
+function BF(e) {
+ return IF(e).filter((e) => e.playable && e.media_kind === "video");
}
-var BF = {
+var VF = {
video: "个视频",
image: "张图片",
mixed: "个媒体"
};
function nhe({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {
- let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${BF[s] || BF.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
+ let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${VF[s] || VF.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
for (let t of n?.faces || []) r && t.media_kind !== "image" || !t.thumb_url || t.thumb_url === e || u.has(t.face) || (u.add(t.face), d.push(t.thumb_url));
return {
isMix: !!c,
@@ -40974,8 +40959,8 @@ function rhe(e) {
let n = Math.max(...t), r = Math.min(...t);
return n <= 1 ? "每个来源都只抓了第 1 页" : r === n ? `每个来源都抓到第 ${n} 页` : `已抓到第 ${r}–${n} 页`;
}
-function VF(e, t, n) {
- return e === t ? DF[e] ? {
+function HF(e, t, n) {
+ return e === t ? OF[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
@@ -40984,12 +40969,12 @@ function VF(e, t, n) {
};
}
function ihe(e, t, n, r) {
- let i = VF(e, n, r);
+ let i = HF(e, n, r);
if (!i) return "";
- let a = DF[i.sort];
+ let a = OF[i.sort];
return `按${t}${a ? a[+(i.dir === "asc")] : ""}排序`;
}
-function HF(e, t, n, r) {
+function UF(e, t, n, r) {
let i = "", a = e.pages.map((e) => ({
...e,
groups: (e.groups || []).flatMap((e) => {
@@ -41090,69 +41075,69 @@ function uhe(e) {
}
//#endregion
//#region src/react/follow-feed/follow-marks.ts
-var UF = (e) => typeof e == "string" ? e : "", WF = (e) => e.aliases;
-function GF(e, t = "") {
- let n = TF(e);
+var WF = (e) => typeof e == "string" ? e : "", GF = (e) => e.aliases;
+function KF(e, t = "") {
+ let n = EF(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${ge(t)}"${t ? ` title="${ge(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-var KF = (e, t) => iF(e, WF(t));
-function qF(e, t) {
- let { src: n, fallback: r } = oF(e), i = aF(t);
+var qF = (e, t) => aF(e, GF(t));
+function JF(e, t) {
+ let { src: n, fallback: r } = sF(e), i = oF(t);
if (!n) return `<span class="favatar none" title="没有可用头像">${ge(i)}</span>`;
let a = r ? ` data-fallbacks="${ge(r)}"` : "";
return `<img class="favatar" src="${ge(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${ge(i)}" data-drop-class="favatar none">`;
}
-function JF(e, t, n) {
- let r = WF(n), i = e.credit, a = i?.poster;
+function YF(e, t, n) {
+ let r = GF(n), i = e.credit, a = i?.poster;
if (!a) {
- let n = iF(t, r);
+ let n = aF(t, r);
return {
- author: n || UF(e.author) || UF(e.source_label) || "创作者未取得",
- avatar: qF(t, n),
+ author: n || WF(e.author) || WF(e.source_label) || "创作者未取得",
+ avatar: JF(t, n),
credited: ""
};
}
- 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 && iF(c, r) || a;
+ 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 && aF(c, r) || a;
return {
author: l,
- avatar: qF(c, l),
+ avatar: JF(c, l),
credited: i.credited || ""
};
}
-function YF(e, t = e.primary) {
+function XF(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 = UF(e.primary.version);
+ let i = WF(e.primary.version);
i && n.push(r("version", ge(i)));
- let a = UF(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = WF(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function XF(e, t = e.primary) {
+function ZF(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]) => GF(e, t) || `<span>${ge(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => KF(e, t) || `<span>${ge(t)}</span>`).join("");
return `<span data-follow-seealso="" title="另见 ${ge([...n.values()].join("、"))}">另见 ${r}</span>`;
}
-function ZF(e, t) {
- let n = UF(e.media_error);
+function QF(e, t) {
+ let n = WF(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var QF = (e) => e.published_at ? bj(e.published_at) : "时间未取得", $F = /* @__PURE__ */ new Set(), eI = [], tI = null;
-function nI() {
- if (tI = null, !eI.length) return;
- let e = eI.splice(0, 200);
+var $F = (e) => e.published_at ? vj(e.published_at) : "时间未取得", eI = /* @__PURE__ */ new Set(), tI = [], nI = null;
+function rI() {
+ if (nI = null, !tI.length) return;
+ let e = tI.splice(0, 200);
pe("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), eI.length && (tI = setTimeout(nI, 800));
+ }).catch(() => {}), tI.length && (nI = setTimeout(rI, 800));
}
function dhe(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- $F.has(i) || ($F.add(i), eI.push(t === null ? {
+ eI.has(i) || (eI.add(i), tI.push(t === null ? {
item: e,
width: n,
height: r
@@ -41161,7 +41146,7 @@ function dhe(e, t, n, r) {
width: n,
height: r,
media: t
- }), tI ||= setTimeout(nI, 800));
+ }), nI ||= setTimeout(rI, 800));
}
//#endregion
//#region src/react/follow-feed/follow-card.tsx
@@ -41188,7 +41173,7 @@ function mhe({ src: e, fallback: t, width: n, height: r, onLearn: i }) {
});
}
function hhe(e) {
- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = RF(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) => dhe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? zF(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = nhe({
+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = zF(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) => dhe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? BF(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = nhe({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -41196,7 +41181,7 @@ function hhe(e) {
limit: 9
}), S = (0, R.useRef)(x.faces);
S.current = x.faces;
- let C = RA({
+ let C = zA({
load: async () => S.current,
canFlip: () => S.current.length > 1 && l.canFlip(),
referrerPolicy: "no-referrer"
@@ -41204,7 +41189,7 @@ function hhe(e) {
w.current = C.onPointerLeave;
let T = (0, R.useCallback)((e) => {
e && (e._stopHover = () => w.current());
- }, []), E = JF(u, n, i), D = QF(u), O = (u.tags || []).slice(0, 3), k = ZF(u, i), A = XF(t, u), j = u.status === "saved", M = (e) => {
+ }, []), E = YF(u, n, i), D = $F(u), O = (u.tags || []).slice(0, 3), k = QF(u, i), A = ZF(t, u), j = u.status === "saved", M = (e) => {
if (!e.target.closest("[data-media-tag]")) {
if (o || e.shiftKey || e.ctrlKey || e.metaKey) {
e.preventDefault(), l.toggleSelection(u.id, e.shiftKey);
@@ -41245,7 +41230,7 @@ function hhe(e) {
onLearn: v
}, p) : /* @__PURE__ */ (0, B.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: GF(u.resource_provider || u.provider) }
+ dangerouslySetInnerHTML: { __html: KF(u.resource_provider || u.provider) }
}),
x.faces.length > 1 ? /* @__PURE__ */ (0, B.jsx)("div", {
"data-mix-faces": "",
@@ -41264,7 +41249,7 @@ function hhe(e) {
"data-media-badge": "",
title: u.provider_label,
"aria-label": `来源:${u.provider_label || ""}`,
- dangerouslySetInnerHTML: { __html: GF(u.provider) }
+ dangerouslySetInnerHTML: { __html: KF(u.provider) }
}),
/* @__PURE__ */ (0, B.jsx)("span", {
"data-media-check": "",
@@ -41355,7 +41340,7 @@ function hhe(e) {
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: YF(t, u) + ge(u.title) }
+ dangerouslySetInnerHTML: { __html: XF(t, u) + ge(u.title) }
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
"data-follow-byline": "",
@@ -41402,10 +41387,10 @@ function hhe(e) {
]
});
}
-var ghe = (0, R.memo)(hhe), rI = () => /* @__PURE__ */ (0, B.jsx)("span", {
+var ghe = (0, R.memo)(hhe), iI = () => /* @__PURE__ */ (0, B.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), _he = SA("settings"), vhe = SA("chevron-down"), yhe = SA("history"), bhe = [[
+}), _he = CA("settings"), vhe = CA("chevron-down"), yhe = CA("history"), bhe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -41420,13 +41405,13 @@ function xhe(e, t, n) {
a.forEach((e) => {
e.author_key && (d.has(e.author_key) || d.set(e.author_key, []), d.get(e.author_key).push(e));
});
- let f = NF([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = NF(o.works || [], (e) => e[0], n).slice(0, 24);
+ let f = PF([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = PF(o.works || [], (e) => e[0], n).slice(0, 24);
t.work && !p.some((e) => e[0] === t.work) && p.push([
t.work,
t.work,
0
]);
- let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = NF([...u], (e) => e[0], n).slice(0, 20);
+ let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = PF([...u], (e) => e[0], n).slice(0, 20);
t.tags.forEach((e) => {
h.some(([t]) => t === e) || h.push([e, u.get(e) || m]);
});
@@ -41434,7 +41419,7 @@ function xhe(e, t, n) {
videos: 0,
images: 0
};
- r.forEach((e) => LF(e).forEach((e) => {
+ r.forEach((e) => RF(e).forEach((e) => {
g[e === "image" ? "images" : "videos"] += 1;
}));
let _ = t.media === "images" ? "image" : "video";
@@ -41449,7 +41434,7 @@ function xhe(e, t, n) {
workRows: p,
allCount: m,
mediaCounts: g,
- visible: r.filter((e) => LF(e).has(_)),
+ visible: r.filter((e) => RF(e).has(_)),
author: d.has(t.author) && s.has(t.author) ? t.author : "",
provider: l.has(t.provider) ? t.provider : "",
workNames: new Map((o.works || []).map((e) => [e[0], e[1]])),
@@ -41463,14 +41448,14 @@ function xhe(e, t, n) {
]);
}
function She(e) {
- let { view: t, seed: n, revision: r, actions: i } = e, a = kF(t, r), o = OS(a), s = wS({
- queryKey: AF,
- queryFn: ({ signal: e }) => jF(e)
- }), c = (0, R.useMemo)(() => MF(o.data), [o.data]), l = (0, R.useMemo)(() => new Set((s.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [s.data]), u = (0, R.useMemo)(() => ({
+ let { view: t, seed: n, revision: r, actions: i } = e, a = AF(t, r), o = OS(a), s = wS({
+ queryKey: jF,
+ queryFn: ({ signal: e }) => MF(e)
+ }), c = (0, R.useMemo)(() => NF(o.data), [o.data]), l = (0, R.useMemo)(() => new Set((s.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [s.data]), u = (0, R.useMemo)(() => ({
sources: c?.sources || [],
aliases: c?.author_aliases || [],
credentials: l
- }), [c, l]), d = xhe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, R.useMemo)(() => uhe(d.visible.flatMap(PF).map((e) => ({ tags: e.tags || [] }))), [d.visible]);
+ }), [c, l]), d = xhe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, R.useMemo)(() => uhe(d.visible.flatMap(FF).map((e) => ({ tags: e.tags || [] }))), [d.visible]);
(0, R.useEffect)(() => {
p && i.loaded(m);
}, [
@@ -41479,7 +41464,7 @@ function She(e) {
i
]);
let h = Che(e, !!c);
- if (!c) return o.isError ? /* @__PURE__ */ (0, B.jsx)(MA, {
+ if (!c) return o.isError ? /* @__PURE__ */ (0, B.jsx)(NA, {
message: Te(o.error),
onRetry: () => void o.refetch()
}) : null;
@@ -41491,7 +41476,7 @@ function She(e) {
author: d.author,
provider: d.provider
}, {
- authors: new Map([...d.authorSources].map(([e, t]) => [e, KF(t, u)])),
+ authors: new Map([...d.authorSources].map(([e, t]) => [e, qF(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);
@@ -41574,7 +41559,7 @@ function She(e) {
"data-follow-pagination": "",
children: [c.has_more ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-follow-page-action": "",
- children: /* @__PURE__ */ (0, B.jsxs)(UA, {
+ children: /* @__PURE__ */ (0, B.jsxs)(WA, {
entity: !0,
enabled: () => !h.busyRef.current,
load: async () => {
@@ -41618,7 +41603,7 @@ function Che(e, t) {
return h.current.helpers.jobProgress({
host: e,
active: () => t,
- read: (e) => W(BP, e),
+ read: (e) => W(VP, e),
busy: (e) => {
t && (f.current = e, s(e));
},
@@ -41643,7 +41628,7 @@ function Che(e, t) {
f.current = !0, l(e ? "older" : "check");
let t = !1;
try {
- let n = await G(BP, e ? {
+ let n = await G(VP, e ? {
older: !0,
background: !0
} : { background: !0 });
@@ -41678,10 +41663,10 @@ function whe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
onClick: () => i(r),
children: [/* @__PURE__ */ (0, B.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: qF(a, KF(a, n)) }
+ dangerouslySetInnerHTML: { __html: JF(a, qF(a, n)) }
}), /* @__PURE__ */ (0, B.jsx)("span", {
"data-follow-name": "",
- children: KF(a, n)
+ children: qF(a, n)
})]
}, r);
})
@@ -41709,12 +41694,12 @@ function The({ rows: e, pressed: t, props: n, onPick: r }) {
}) : null;
}
function Ehe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: s } = i, c = (0, R.useRef)(null), l = (0, R.useRef)(null), u = (0, R.useRef)(null), d = (0, R.useRef)(null), f = (0, R.useRef)(null), p = (0, R.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = pA(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = pA(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
+ let { helpers: o, actions: s } = i, c = (0, R.useRef)(null), l = (0, R.useRef)(null), u = (0, R.useRef)(null), d = (0, R.useRef)(null), f = (0, R.useRef)(null), p = (0, R.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = mA(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = mA(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
(0, R.useEffect)(() => {
o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);
}, [o]);
let _ = [...e.providers], v = _.length + e.tagRows.length > 0, y = t.media === "images";
- return /* @__PURE__ */ (0, B.jsx)(uA, {
+ return /* @__PURE__ */ (0, B.jsx)(dA, {
label: "筛选与排序",
topLabel: m ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -41766,7 +41751,7 @@ function Ehe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: L(i) }
}, e);
})
- }), /* @__PURE__ */ (0, B.jsx)(rI, {})] }) : null, /* @__PURE__ */ (0, B.jsxs)("div", {
+ }), /* @__PURE__ */ (0, B.jsx)(iI, {})] }) : null, /* @__PURE__ */ (0, B.jsxs)("div", {
ref: f,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
@@ -41786,7 +41771,7 @@ function Ehe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), v ? /* @__PURE__ */ (0, B.jsx)(rI, {}) : null]
+ }, e)), v ? /* @__PURE__ */ (0, B.jsx)(iI, {}) : null]
}), /* @__PURE__ */ (0, B.jsxs)("div", {
ref: p,
"data-entity-tags": "",
@@ -41799,10 +41784,10 @@ function Ehe({ 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: GF(t) }
+ dangerouslySetInnerHTML: { __html: KF(t) }
}, t)),
- _.length && e.tagRows.length ? /* @__PURE__ */ (0, B.jsx)(rI, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, B.jsxs)(dA, {
+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, B.jsx)(iI, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, B.jsxs)(fA, {
"data-follow-tag": n,
"data-entity-press": "",
"data-tag-cat": `r34-${she(e.groups, n)}`,
@@ -41823,8 +41808,8 @@ function Ehe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
}), /* @__PURE__ */ (0, B.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, B.jsx)(EA, { onPress: s.shuffle }),
- y ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(TA, {
+ /* @__PURE__ */ (0, B.jsx)(DA, { onPress: s.shuffle }),
+ y ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(EA, {
label: "图片布局",
value: i.photoLayout,
options: bhe,
@@ -41845,7 +41830,7 @@ function Ehe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})]
})] }) : null,
Zme.map(([e, n]) => {
- let r = t.sort === e, i = SA(t.dir === "asc" ? "arrow-up" : "arrow-down");
+ let r = t.sort === e, i = CA(t.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
"data-entity-sort": e,
@@ -41854,7 +41839,7 @@ function Ehe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
"aria-pressed": r,
"aria-label": ihe(e, n, t.sort, t.dir) || void 0,
onClick: () => {
- let n = VF(e, t.sort, t.dir);
+ let n = HF(e, t.sort, t.dir);
n && a(n);
},
children: [n, r ? /* @__PURE__ */ (0, B.jsx)(i, { className: "size-3.5" }) : null]
@@ -41899,7 +41884,7 @@ function Ohe({ count: e, onManage: t }) {
});
}
function khe({ pending: e, facets: t, data: n, context: r, props: i }) {
- let { view: a, helpers: o } = i, s = a.media === "images", c = jA(e, () => o.listSkeletonHtml(a.media));
+ let { view: a, helpers: o } = i, s = a.media === "images", c = MA(e, () => o.listSkeletonHtml(a.media));
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": c.fading ? "" : void 0,
@@ -41925,10 +41910,10 @@ function Ahe({ facets: e, data: t, context: n, props: r, images: i }) {
authorSources: c,
media: a.media,
context: n,
- selected: r.selected.has(iI(t, a)),
+ selected: r.selected.has(aI(t, a)),
selectMode: r.selectMode,
- busy: s.busy.get(iI(t, a)) || "",
- failure: s.failures.get(iI(t, a)) || "",
+ busy: s.busy.get(aI(t, a)) || "",
+ failure: s.failures.get(aI(t, a)) || "",
actions: o,
onStatus: s.status,
onSave: s.save
@@ -41940,8 +41925,8 @@ function Ahe({ facets: e, data: t, context: n, props: r, images: i }) {
children: l
});
}
-function iI(e, t) {
- return RF(e, t.media).id;
+function aI(e, t) {
+ return zF(e, t.media).id;
}
function jhe({ data: e }) {
let t = (e.groups || []).length ? Pe("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源或标签后再试。") : (e.sources || []).length ? Pe("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : Pe("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/follow-manage?tab=add\">添加关注</a>" });
@@ -41957,16 +41942,16 @@ var Mhe = {
ignored: "已忽略"
};
function Nhe(e) {
- let { view: t, revision: n, actions: r } = e, [i, a] = (0, R.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, R.useState)(() => /* @__PURE__ */ new Map()), c = kF(t, n).queryKey, l = (e, t, n) => n((n) => {
+ let { view: t, revision: n, actions: r } = e, [i, a] = (0, R.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, R.useState)(() => /* @__PURE__ */ new Map()), c = AF(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
}), u = (e, n) => {
- p.setQueryData(c, (r) => r && HF(r, t, e, n));
+ p.setQueryData(c, (r) => r && UF(r, t, e, n));
}, d = () => void p.invalidateQueries({
queryKey: c,
exact: !0
}), f = (e) => {
- let t = MF(p.getQueryData(c));
+ let t = NF(p.getQueryData(c));
for (let n of t?.groups || []) for (let t of [
n.primary,
...n.variants,
@@ -41974,13 +41959,13 @@ function Nhe(e) {
]) if (t.id === e) return t.status;
return "new";
}, m = DS({
- mutationFn: ({ id: e, to: t }) => G(WP, {
+ mutationFn: ({ id: e, to: t }) => G(GP, {
item: e,
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
u(t, n), d(), r.toast(Mhe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
- await G(WP, {
+ await G(GP, {
item: t,
to: i
}), u(t, i), d();
@@ -42025,8 +42010,8 @@ function Nhe(e) {
}
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function aI({ provider: e, label: t }) {
- let n = TF(e), [r, i] = (0, R.useState)(!1);
+function oI({ provider: e, label: t }) {
+ let n = EF(e), [r, i] = (0, R.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, B.jsx)(B.Fragment, { children: t }) : null : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("img", {
src: n,
alt: "",
@@ -42035,10 +42020,10 @@ function aI({ provider: e, label: t }) {
loading: "lazy",
onError: () => i(!0),
className: "size-3.5 shrink-0 rounded-sm object-contain"
- }), t ? /* @__PURE__ */ (0, B.jsx)(J_, { children: t }) : null] });
+ }), t ? /* @__PURE__ */ (0, B.jsx)(q_, { children: t }) : null] });
}
-function oI({ group: e, name: t }) {
- let { src: n, fallback: r } = oF(e), [i, a] = (0, R.useState)(0), o = [n, r].filter(Boolean)[i];
+function sI({ group: e, name: t }) {
+ let { src: n, fallback: r } = sF(e), [i, a] = (0, R.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, B.jsx)("img", {
src: o,
alt: "",
@@ -42051,18 +42036,18 @@ function oI({ group: e, name: t }) {
}) : /* @__PURE__ */ (0, B.jsx)("span", {
title: "没有可用头像",
className: "inline-grid size-8 shrink-0 place-items-center rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary",
- children: aF(t)
+ children: oF(t)
});
}
-function sI({ source: e }) {
- let t = $P(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
+function cI({ source: e }) {
+ let t = eF(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
return /* @__PURE__ */ (0, B.jsx)(EE, {
variant: "caption",
color: t,
children: kme(e)
});
}
-function cI({ source: e }) {
+function lI({ source: e }) {
return /* @__PURE__ */ (0, B.jsxs)("a", {
href: e.url,
target: "_blank",
@@ -42077,7 +42062,7 @@ function cI({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var lI = CE(wk, Tk, "text-body-2-medium"), Phe = "粘贴来源链接,或输入创作者名、id…", Fhe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Ihe = "识别中…", Lhe = "站内没有查到来源", uI = (e, t) => `${e}:${t.url}`;
+var uI = CE(wk, Tk, "text-body-2-medium"), Phe = "粘贴来源链接,或输入创作者名、id…", Fhe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Ihe = "识别中…", Lhe = "站内没有查到来源", dI = (e, t) => `${e}:${t.url}`;
function Rhe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, R.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
@@ -42103,7 +42088,7 @@ function Rhe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
}), /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? CE(lI, "bg-background-secondary-default") : lI,
+ className: t === r ? CE(uI, "bg-background-secondary-default") : uI,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -42164,12 +42149,12 @@ function zhe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, B.jsx)(KM, {
+ children: [/* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, B.jsx)(aI, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, B.jsx)(oI, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, B.jsx)(J, {
variant: "ghost",
@@ -42204,15 +42189,15 @@ function Bhe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = uI(t, e);
- return /* @__PURE__ */ (0, B.jsx)(KM, {
+ let n = dI(t, e);
+ return /* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
children: /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, B.jsx)(aI, { provider: e.provider }),
+ /* @__PURE__ */ (0, B.jsx)(oI, { provider: e.provider }),
/* @__PURE__ */ (0, B.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -42263,7 +42248,7 @@ function Vhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = HM({
+ }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = VM({
queryKey: Sme,
queryFn: ({ signal: e }) => Pme(e),
start: (e) => Ime([e]),
@@ -42300,7 +42285,7 @@ function Vhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, re = j?.results || [], ie = re.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: uI(t, e)
+ key: dI(t, e)
})).filter((e) => !x.has(e.key))), ae = DS({
mutationFn: async (e) => {
let t = [], n = [];
@@ -42315,7 +42300,7 @@ function Vhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
E((e) => e + 1);
}
if (n.length) try {
- await pF(n);
+ await mF(n);
} catch (e) {
t.push(U(e));
}
@@ -42325,7 +42310,7 @@ function Vhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
};
},
onSuccess: (e) => {
- if (CF(), e.failures.length) {
+ if (wF(), e.failures.length) {
w(e.failures.join(";"));
return;
}
@@ -42390,7 +42375,7 @@ function Vhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
/* @__PURE__ */ (0, B.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [A || M.isPending ? /* @__PURE__ */ (0, B.jsx)(RM, {
+ children: [A || M.isPending ? /* @__PURE__ */ (0, B.jsx)(LM, {
embedded: !0,
label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : se ? Fhe : Ihe),
value: k?.checked,
@@ -42460,15 +42445,15 @@ function Vhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var Hhe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, dI = (e) => e.alias;
+var Hhe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, fI = (e) => e.alias;
function Uhe(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 fI({ sources: e, name: t, canonicalKey: n }) {
+function pI({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, B.jsx)(oI, {
+ children: [/* @__PURE__ */ (0, B.jsx)(sI, {
group: Uhe(e, t, n),
name: t
}), /* @__PURE__ */ (0, B.jsx)("b", {
@@ -42483,9 +42468,9 @@ function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
let t = 0;
for (let n of e) {
try {
- await gF(n.canonical, n.alias);
+ await _F(n.canonical, n.alias);
} catch (n) {
- throw t && CF(), Error(`${U(n)}(还有 ${e.length - t} 组没有合并)`);
+ throw t && wF(), Error(`${U(n)}(还有 ${e.length - t} 组没有合并)`);
}
t += 1;
}
@@ -42495,19 +42480,19 @@ function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
};
},
onSuccess: (e) => {
- c(""), o(/* @__PURE__ */ new Set()), CF(), i(`已合并 ${e.done} 组创作者别名`);
+ c(""), o(/* @__PURE__ */ new Set()), wF(), i(`已合并 ${e.done} 组创作者别名`);
},
onError: (e) => c(U(e))
}), m = DS({
- mutationFn: (e) => gF(e.canonical, e.alias),
+ mutationFn: (e) => _F(e.canonical, e.alias),
onSuccess: () => {
- c(""), u(""), f(""), CF(), i("已保存创作者别名");
+ c(""), u(""), f(""), wF(), i("已保存创作者别名");
},
onError: (e) => c(U(e))
}), h = DS({
mutationFn: (e) => Rme(e),
onSuccess: () => {
- c(""), CF(), i("已移除创作者别名");
+ c(""), wF(), i("已移除创作者别名");
},
onError: (e) => c(U(e))
}), g = (e, t) => {
@@ -42517,7 +42502,7 @@ function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => p.mutateAsync(e)
});
- }, _ = t.filter((e) => a.has(dI(e))), v = t.length > 0 && _.length === t.length, y = X(p.isPending);
+ }, _ = t.filter((e) => a.has(fI(e))), v = t.length > 0 && _.length === t.length, y = X(p.isPending);
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: kE({
padding: "none",
@@ -42590,18 +42575,18 @@ function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, B.jsx)(YM, { children: /* @__PURE__ */ (0, B.jsxs)(qM, {
+ }), /* @__PURE__ */ (0, B.jsx)(JM, { children: /* @__PURE__ */ (0, B.jsxs)(KM, {
"aria-label": "待合并创作者别名",
size: "sm",
children: [/* @__PURE__ */ (0, B.jsxs)(nk, { children: [
/* @__PURE__ */ (0, B.jsx)(rk, {
id: "select",
- children: /* @__PURE__ */ (0, B.jsx)(KM, {
+ children: /* @__PURE__ */ (0, B.jsx)(GM, {
slot: null,
isSelected: v,
isIndeterminate: _.length > 0 && !v,
"aria-label": "全选待合并别名",
- onChange: (e) => o(e ? new Set(t.map(dI)) : /* @__PURE__ */ new Set())
+ onChange: (e) => o(e ? new Set(t.map(fI)) : /* @__PURE__ */ new Set())
})
}),
/* @__PURE__ */ (0, B.jsx)(rk, {
@@ -42622,12 +42607,12 @@ function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: "操作"
})
] }), /* @__PURE__ */ (0, B.jsx)(ak, { children: t.map((e) => {
- let t = dI(e);
+ let t = fI(e);
return /* @__PURE__ */ (0, B.jsxs)(ck, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)(KM, {
+ /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)(GM, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -42636,7 +42621,7 @@ function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)(fI, {
+ /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)(pI, {
sources: n,
name: e.canonical
}) }),
@@ -42666,7 +42651,7 @@ function Whe({ 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, B.jsx)(YM, { children: /* @__PURE__ */ (0, B.jsxs)(qM, {
+ }), e.length ? /* @__PURE__ */ (0, B.jsx)(JM, { children: /* @__PURE__ */ (0, B.jsxs)(KM, {
"aria-label": "已保存创作者别名",
size: "sm",
children: [/* @__PURE__ */ (0, B.jsxs)(nk, { children: [/* @__PURE__ */ (0, B.jsx)(rk, {
@@ -42678,7 +42663,7 @@ function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: "平台别名"
})] }), /* @__PURE__ */ (0, B.jsx)(ak, { children: e.map((e) => /* @__PURE__ */ (0, B.jsxs)(ck, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)(fI, {
+ children: [/* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)(pI, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
@@ -42721,7 +42706,7 @@ function Yhe(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
function Xhe({ row: e }) {
- if (EF(e)) return /* @__PURE__ */ (0, B.jsx)(EE, {
+ if (DF(e)) return /* @__PURE__ */ (0, B.jsx)(EE, {
variant: "caption",
color: "lime",
children: "已配置"
@@ -42734,7 +42719,7 @@ function Xhe({ row: e }) {
});
}
function Zhe({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, R.useState)({}), [a, o] = (0, R.useState)(""), s = EF(e), c = DS({
+ let [r, i] = (0, R.useState)({}), [a, o] = (0, R.useState)(""), s = DF(e), c = DS({
mutationFn: (t) => zme(e.provider, t),
onSuccess: (e, t) => {
if (e.note) {
@@ -42742,7 +42727,7 @@ function Zhe({ row: e, readOnly: t, toast: n }) {
return;
}
o(""), i({}), p.invalidateQueries({
- queryKey: qP,
+ queryKey: JP,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");
},
@@ -42806,7 +42791,7 @@ function Zhe({ row: e, readOnly: t, toast: n }) {
}),
a ? /* @__PURE__ */ (0, B.jsx)(zk, { children: a }) : null,
(e.shared_fields || []).length ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, B.jsx)(LM, {
+ e.path ? /* @__PURE__ */ (0, B.jsx)(IM, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -42825,7 +42810,7 @@ function Qhe({ row: e, readOnly: t, toast: n }) {
children: [
/* @__PURE__ */ (0, B.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, B.jsx)(aI, { provider: e.provider })
+ children: /* @__PURE__ */ (0, B.jsx)(oI, { provider: e.provider })
}),
/* @__PURE__ */ (0, B.jsx)("b", {
className: "text-body-medium text-text-primary",
@@ -42849,8 +42834,8 @@ function Qhe({ row: e, readOnly: t, toast: n }) {
}) : /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
children: [r, /* @__PURE__ */ (0, B.jsx)(Wk, {
- summary: EF(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !EF(e),
+ summary: DF(e) ? "修改凭据" : "填写凭据",
+ defaultOpen: e.requirement === "required" && !DF(e),
children: /* @__PURE__ */ (0, B.jsx)(Zhe, {
row: e,
readOnly: t,
@@ -42860,7 +42845,7 @@ function Qhe({ row: e, readOnly: t, toast: n }) {
});
}
function $he({ data: e, readOnly: t, toast: n }) {
- let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !EF(e));
+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !DF(e));
return r.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: kE({
padding: "none",
@@ -42920,7 +42905,7 @@ function $he({ data: e, readOnly: t, toast: n }) {
className: "text-body-2-regular text-text-secondary",
children: Khe
}),
- /* @__PURE__ */ (0, B.jsx)(LM, {
+ /* @__PURE__ */ (0, B.jsx)(IM, {
path: e.root,
prefix: "凭据文件在 ",
className: "text-body-2-regular text-text-secondary",
@@ -42938,7 +42923,7 @@ function $he({ data: e, readOnly: t, toast: n }) {
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function pI() {
+function mI() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -42951,18 +42936,18 @@ function pI() {
group: (e) => e
};
}
-function mI(e, t) {
+function hI(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function hI(e, t) {
+function gI(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: mI(n, t[e])
+ [e]: hI(n, t[e])
}));
};
}
-function gI(e) {
+function _I(e) {
return e instanceof Function;
}
function ege(e) {
@@ -42978,7 +42963,7 @@ function tge(e, t) {
};
return r(e), n;
}
-function _I(e, t, n) {
+function vI(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -43000,7 +42985,7 @@ function _I(e, t, n) {
return i;
};
}
-function vI(e, t, n, r) {
+function yI(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
@@ -43014,7 +42999,7 @@ function nge(e, t, n, r) {
column: n,
getValue: () => t.getValue(r),
renderValue: () => i.getValue() ?? e.options.renderFallbackValue,
- getContext: _I(() => [
+ getContext: vI(() => [
e,
n,
t,
@@ -43026,7 +43011,7 @@ function nge(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), vI(e.options, "debugCells", "cell.getContext"))
+ }), yI(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
@@ -43049,17 +43034,17 @@ function rge(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: _I(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], vI(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: _I(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: vI(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], yI(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: vI(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, vI(e.options, "debugColumns", "column.getLeafColumns"))
+ }, yI(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var yI = "debugHeaders";
-function bI(e, t, n) {
+var bI = "debugHeaders";
+function xI(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -43088,41 +43073,41 @@ function bI(e, t, n) {
}), r;
}
var ige = { createTable: (e) => {
- e.getHeaderGroups = _I(() => [
+ e.getHeaderGroups = vI(() => [
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 xI(t, [
+ return SI(t, [
...a,
...s,
...o
], e);
- }, vI(e.options, yI, "getHeaderGroups")), e.getCenterHeaderGroups = _I(() => [
+ }, yI(e.options, bI, "getHeaderGroups")), e.getCenterHeaderGroups = vI(() => [
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))), xI(t, n, e, "center")), vI(e.options, yI, "getCenterHeaderGroups")), e.getLeftHeaderGroups = _I(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), SI(t, n, e, "center")), yI(e.options, bI, "getCenterHeaderGroups")), e.getLeftHeaderGroups = vI(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => xI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), vI(e.options, yI, "getLeftHeaderGroups")), e.getRightHeaderGroups = _I(() => [
+ ], (t, n, r) => SI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), yI(e.options, bI, "getLeftHeaderGroups")), e.getRightHeaderGroups = vI(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => xI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), vI(e.options, yI, "getRightHeaderGroups")), e.getFooterGroups = _I(() => [e.getHeaderGroups()], (e) => [...e].reverse(), vI(e.options, yI, "getFooterGroups")), e.getLeftFooterGroups = _I(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), vI(e.options, yI, "getLeftFooterGroups")), e.getCenterFooterGroups = _I(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), vI(e.options, yI, "getCenterFooterGroups")), e.getRightFooterGroups = _I(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), vI(e.options, yI, "getRightFooterGroups")), e.getFlatHeaders = _I(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), vI(e.options, yI, "getFlatHeaders")), e.getLeftFlatHeaders = _I(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), vI(e.options, yI, "getLeftFlatHeaders")), e.getCenterFlatHeaders = _I(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), vI(e.options, yI, "getCenterFlatHeaders")), e.getRightFlatHeaders = _I(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), vI(e.options, yI, "getRightFlatHeaders")), e.getCenterLeafHeaders = _I(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => SI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), yI(e.options, bI, "getRightHeaderGroups")), e.getFooterGroups = vI(() => [e.getHeaderGroups()], (e) => [...e].reverse(), yI(e.options, bI, "getFooterGroups")), e.getLeftFooterGroups = vI(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), yI(e.options, bI, "getLeftFooterGroups")), e.getCenterFooterGroups = vI(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), yI(e.options, bI, "getCenterFooterGroups")), e.getRightFooterGroups = vI(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), yI(e.options, bI, "getRightFooterGroups")), e.getFlatHeaders = vI(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), yI(e.options, bI, "getFlatHeaders")), e.getLeftFlatHeaders = vI(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), yI(e.options, bI, "getLeftFlatHeaders")), e.getCenterFlatHeaders = vI(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), yI(e.options, bI, "getCenterFlatHeaders")), e.getRightFlatHeaders = vI(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), yI(e.options, bI, "getRightFlatHeaders")), e.getCenterLeafHeaders = vI(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), vI(e.options, yI, "getCenterLeafHeaders")), e.getLeftLeafHeaders = _I(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), yI(e.options, bI, "getCenterLeafHeaders")), e.getLeftLeafHeaders = vI(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), vI(e.options, yI, "getLeftLeafHeaders")), e.getRightLeafHeaders = _I(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), yI(e.options, bI, "getLeftLeafHeaders")), e.getRightLeafHeaders = vI(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), vI(e.options, yI, "getRightLeafHeaders")), e.getLeafHeaders = _I(() => [
+ }), yI(e.options, bI, "getRightLeafHeaders")), e.getLeafHeaders = vI(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -43130,9 +43115,9 @@ var ige = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), vI(e.options, yI, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), yI(e.options, bI, "getLeafHeaders"));
} };
-function xI(e, t, n, r) {
+function SI(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;
@@ -43150,7 +43135,7 @@ function xI(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 = bI(n, c, {
+ let i = xI(n, c, {
id: [
r,
t,
@@ -43167,7 +43152,7 @@ function xI(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) => bI(n, e, {
+ s(t.map((e, t) => xI(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -43217,8 +43202,8 @@ var age = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: _I(() => [e.getAllLeafColumns()], (t) => t.map((t) => nge(e, s, t, t.id)), vI(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: _I(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), vI(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: vI(() => [e.getAllLeafColumns()], (t) => t.map((t) => nge(e, s, t, t.id)), yI(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: vI(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), yI(e.options, "debugRows", "getAllCellsByColumnId"))
};
for (let t = 0; t < e._features.length; t++) {
let n = e._features[t];
@@ -43229,59 +43214,59 @@ var age = (e, t, n, r, i, a, o) => {
e._getFacetedRowModel = t.options.getFacetedRowModel && t.options.getFacetedRowModel(t, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : t.getPreFilteredRowModel(), e._getFacetedUniqueValues = t.options.getFacetedUniqueValues && t.options.getFacetedUniqueValues(t, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = t.options.getFacetedMinMaxValues && t.options.getFacetedMinMaxValues(t, e.id), e.getFacetedMinMaxValues = () => {
if (e._getFacetedMinMaxValues) return e._getFacetedMinMaxValues();
};
-} }, SI = (e, t, n) => {
+} }, CI = (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));
};
-SI.autoRemove = (e) => MI(e);
-var CI = (e, t, n) => {
+CI.autoRemove = (e) => NI(e);
+var wI = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-CI.autoRemove = (e) => MI(e);
-var wI = (e, t, n) => {
+wI.autoRemove = (e) => NI(e);
+var TI = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-wI.autoRemove = (e) => MI(e);
-var TI = (e, t, n) => e.getValue(t)?.includes(n);
-TI.autoRemove = (e) => MI(e);
-var EI = (e, t, n) => !n.some((n) => {
+TI.autoRemove = (e) => NI(e);
+var EI = (e, t, n) => e.getValue(t)?.includes(n);
+EI.autoRemove = (e) => NI(e);
+var DI = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-EI.autoRemove = (e) => MI(e) || !(e != null && e.length);
-var DI = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-DI.autoRemove = (e) => MI(e) || !(e != null && e.length);
-var OI = (e, t, n) => e.getValue(t) === n;
-OI.autoRemove = (e) => MI(e);
-var kI = (e, t, n) => e.getValue(t) == n;
-kI.autoRemove = (e) => MI(e);
-var AI = (e, t, n) => {
+DI.autoRemove = (e) => NI(e) || !(e != null && e.length);
+var OI = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+OI.autoRemove = (e) => NI(e) || !(e != null && e.length);
+var kI = (e, t, n) => e.getValue(t) === n;
+kI.autoRemove = (e) => NI(e);
+var AI = (e, t, n) => e.getValue(t) == n;
+AI.autoRemove = (e) => NI(e);
+var jI = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-AI.resolveFilterValue = (e) => {
+jI.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];
-}, AI.autoRemove = (e) => MI(e) || MI(e[0]) && MI(e[1]);
-var jI = {
- includesString: SI,
- includesStringSensitive: CI,
- equalsString: wI,
- arrIncludes: TI,
- arrIncludesAll: EI,
- arrIncludesSome: DI,
- equals: OI,
- weakEquals: kI,
- inNumberRange: AI
+}, jI.autoRemove = (e) => NI(e) || NI(e[0]) && NI(e[1]);
+var MI = {
+ includesString: CI,
+ includesStringSensitive: wI,
+ equalsString: TI,
+ arrIncludes: EI,
+ arrIncludesAll: DI,
+ arrIncludesSome: OI,
+ equals: kI,
+ weakEquals: AI,
+ inNumberRange: jI
};
-function MI(e) {
+function NI(e) {
return e == null || e === "";
}
var sge = {
@@ -43291,21 +43276,21 @@ var sge = {
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: hI("columnFilters", e),
+ onColumnFiltersChange: gI("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? jI.includesString : typeof n == "number" ? jI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? jI.equals : Array.isArray(n) ? jI.arrIncludes : jI.weakEquals;
- }, e.getFilterFn = () => gI(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? jI[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
+ return typeof n == "string" ? MI.includesString : typeof n == "number" ? MI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? MI.equals : Array.isArray(n) ? MI.arrIncludes : MI.weakEquals;
+ }, e.getFilterFn = () => _I(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? MI[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 = mI(n, i ? i.value : void 0);
- if (NI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = hI(n, i ? i.value : void 0);
+ if (PI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -43320,19 +43305,19 @@ var sge = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => mI(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => hI(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && NI(t.getFilterFn(), e.value, t));
+ return !(t && PI(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 NI(e, t, n) {
+function PI(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var PI = {
+var FI = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -43389,7 +43374,7 @@ var PI = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: hI("grouping", e),
+ onGroupingChange: gI("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -43402,11 +43387,11 @@ var PI = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return PI.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return PI.extent;
+ if (typeof n == "number") return FI.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return FI.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return gI(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? PI[e.columnDef.aggregationFn];
+ return _I(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? FI[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -43438,17 +43423,17 @@ var uge = {
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: hI("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: gI("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = _I((e) => [BI(t, e)], (t) => t.findIndex((t) => t.id === e.id), vI(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => BI(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = BI(t, n);
+ e.getIndex = vI((e) => [VI(t, e)], (t) => t.findIndex((t) => t.id === e.id), yI(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => VI(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = VI(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 = _I(() => [
+ }, e._getOrderColumnsFn = vI(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -43464,17 +43449,17 @@ var uge = {
i = [...i, ...n];
}
return lge(i, t, n);
- }, vI(e.options, "debugTable", "_getOrderColumnsFn"));
+ }, yI(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, FI = () => ({
+}, II = () => ({
left: [],
right: []
}), dge = {
getInitialState: (e) => ({
- columnPinning: FI(),
+ columnPinning: II(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: hI("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: gI("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -43498,43 +43483,43 @@ var uge = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = _I(() => [
+ e.getCenterVisibleCells = vI(() => [
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));
- }, vI(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = _I(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, yI(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = vI(() => [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"
- })), vI(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = _I(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), yI(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = vI(() => [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"
- })), vI(t.options, "debugRows", "getRightVisibleCells"));
+ })), yI(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 ? FI() : e.initialState?.columnPinning ?? FI()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? II() : e.initialState?.columnPinning ?? II()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = _I(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), vI(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = _I(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), vI(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = _I(() => [
+ }, e.getLeftLeafColumns = vI(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), yI(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = vI(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), yI(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = vI(() => [
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));
- }, vI(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, yI(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
function fge(e) {
return e || (typeof document < "u" ? document : null);
}
-var II = {
+var LI = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, LI = () => ({
+}, RI = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
@@ -43542,31 +43527,31 @@ var II = {
isResizingColumn: !1,
columnSizingStart: []
}), pge = {
- getDefaultColumnDef: () => II,
+ getDefaultColumnDef: () => LI,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: LI(),
+ columnSizingInfo: RI(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: hI("columnSizing", e),
- onColumnSizingInfoChange: hI("columnSizingInfo", e)
+ onColumnSizingChange: gI("columnSizing", e),
+ onColumnSizingInfoChange: gI("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? II.minSize, n ?? e.columnDef.size ?? II.size), e.columnDef.maxSize ?? II.maxSize);
- }, e.getStart = _I((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? LI.minSize, n ?? e.columnDef.size ?? LI.size), e.columnDef.maxSize ?? LI.maxSize);
+ }, e.getStart = vI((e) => [
e,
- BI(t, e),
+ VI(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), vI(t.options, "debugColumns", "getStart")), e.getAfter = _I((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), yI(t.options, "debugColumns", "getStart")), e.getAfter = vI((e) => [
e,
- BI(t, e),
+ VI(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), vI(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), yI(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -43588,8 +43573,8 @@ var II = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), zI(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 = zI(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), BI(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 = BI(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) => {
@@ -43625,7 +43610,7 @@ var II = {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
}, g = mge() ? { passive: !1 } : !1;
- zI(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) => ({
+ BI(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,
@@ -43641,12 +43626,12 @@ var II = {
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 ? LI() : e.initialState.columnSizingInfo ?? LI());
+ e.setColumnSizingInfo(t ? RI() : e.initialState.columnSizingInfo ?? RI());
}, 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;
}
-}, RI = null;
+}, zI = null;
function mge() {
- if (typeof RI == "boolean") return RI;
+ if (typeof zI == "boolean") return zI;
let e = !1;
try {
let t = { get passive() {
@@ -43656,9 +43641,9 @@ function mge() {
} catch {
e = !1;
}
- return RI = e, RI;
+ return zI = e, zI;
}
-function zI(e) {
+function BI(e) {
return e.type === "touchstart";
}
var hge = {
@@ -43666,7 +43651,7 @@ var hge = {
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: hI("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: gI("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -43681,7 +43666,7 @@ var hge = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = _I(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), vI(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = _I(() => [
+ e._getAllVisibleCells = vI(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), yI(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = vI(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -43689,10 +43674,10 @@ var hge = {
...e,
...t,
...n
- ], vI(t.options, "debugRows", "getVisibleCells"));
+ ], yI(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => _I(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), vI(e.options, "debugColumns", t));
+ let t = (t, n) => vI(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), yI(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) => {
@@ -43705,7 +43690,7 @@ var hge = {
};
}
};
-function BI(e, t) {
+function VI(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
var gge = { createTable: (e) => {
@@ -43718,7 +43703,7 @@ var gge = { createTable: (e) => {
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: hI("globalFilter", e),
+ onGlobalFilterChange: gI("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -43730,9 +43715,9 @@ var gge = { 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 = () => jI.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => MI.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return gI(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? jI[t];
+ return _I(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? MI[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
@@ -43745,7 +43730,7 @@ var gge = { createTable: (e) => {
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: hI("expanded", e),
+ onExpandedChange: gI("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -43816,18 +43801,18 @@ var gge = { createTable: (e) => {
};
};
}
-}, VI = 0, HI = 10, UI = () => ({
- pageIndex: VI,
- pageSize: HI
+}, HI = 0, UI = 10, WI = () => ({
+ pageIndex: HI,
+ pageSize: UI
}), yge = {
getInitialState: (e) => ({
...e,
pagination: {
- ...UI(),
+ ...WI(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: hI("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: gI("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -43843,11 +43828,11 @@ var gge = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => mI(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? UI() : e.initialState.pagination ?? UI());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => hI(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? WI() : e.initialState.pagination ?? WI());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = mI(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = hI(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
@@ -43855,13 +43840,13 @@ var gge = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? VI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? VI);
+ e.setPageIndex(t ? HI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? HI);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? HI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? HI);
+ e.setPageSize(t ? UI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? UI);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, mI(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, hI(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -43869,28 +43854,28 @@ var gge = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = mI(t, e.options.pageCount ?? -1);
+ let r = hI(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = _I(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = vI(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, vI(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, yI(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;
}
-}, WI = () => ({
+}, GI = () => ({
top: [],
bottom: []
}), bge = {
getInitialState: (e) => ({
- rowPinning: WI(),
+ rowPinning: GI(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: hI("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: gI("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -43929,7 +43914,7 @@ var gge = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? WI() : e.initialState?.rowPinning ?? WI()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? GI() : e.initialState?.rowPinning ?? GI()), 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) => {
@@ -43938,14 +43923,14 @@ var gge = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = _I(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), vI(e.options, "debugRows", "getTopRows")), e.getBottomRows = _I(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), vI(e.options, "debugRows", "getBottomRows")), e.getCenterRows = _I(() => [
+ })), e.getTopRows = vI(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), yI(e.options, "debugRows", "getTopRows")), e.getBottomRows = vI(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), yI(e.options, "debugRows", "getBottomRows")), e.getCenterRows = vI(() => [
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));
- }, vI(e.options, "debugRows", "getCenterRows"));
+ }, yI(e.options, "debugRows", "getCenterRows"));
}
}, xge = {
getInitialState: (e) => ({
@@ -43953,7 +43938,7 @@ var gge = { createTable: (e) => {
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: hI("rowSelection", e),
+ onRowSelectionChange: gI("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -43972,21 +43957,21 @@ var gge = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- GI(i, t.id, r, !0, e);
+ KI(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = _I(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? KI(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = vI(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? qI(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, vI(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = _I(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? KI(e, n) : {
+ }, yI(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = vI(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? qI(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, vI(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = _I(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? KI(e, n) : {
+ }, yI(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = vI(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? qI(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, vI(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, yI(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 = () => {
@@ -44010,17 +43995,17 @@ var gge = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return GI(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return KI(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return qI(e, n);
+ return JI(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return JI(e, n) === "some";
+ return YI(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return JI(e, n) === "all";
+ return YI(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) => {
@@ -44028,16 +44013,16 @@ var gge = { createTable: (e) => {
};
};
}
-}, GI = (e, t, n, r, i) => {
+}, KI = (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) => GI(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) => KI(e, t.id, n, r, i));
};
-function KI(e, t) {
+function qI(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = qI(e, n);
+ let o = JI(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -44050,32 +44035,32 @@ function KI(e, t) {
rowsById: i
};
}
-function qI(e, t) {
+function JI(e, t) {
return t[e.id] ?? !1;
}
-function JI(e, t, n) {
+function YI(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() && (qI(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = JI(e, t);
+ if (!(a && !i) && (e.getCanSelect() && (JI(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = YI(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var YI = /([0-9]+)/gm, Sge = (e, t, n) => QI(ZI(e.getValue(n)).toLowerCase(), ZI(t.getValue(n)).toLowerCase()), Cge = (e, t, n) => QI(ZI(e.getValue(n)), ZI(t.getValue(n))), wge = (e, t, n) => XI(ZI(e.getValue(n)).toLowerCase(), ZI(t.getValue(n)).toLowerCase()), Tge = (e, t, n) => XI(ZI(e.getValue(n)), ZI(t.getValue(n))), Ege = (e, t, n) => {
+var XI = /([0-9]+)/gm, Sge = (e, t, n) => $I(QI(e.getValue(n)).toLowerCase(), QI(t.getValue(n)).toLowerCase()), Cge = (e, t, n) => $I(QI(e.getValue(n)), QI(t.getValue(n))), wge = (e, t, n) => ZI(QI(e.getValue(n)).toLowerCase(), QI(t.getValue(n)).toLowerCase()), Tge = (e, t, n) => ZI(QI(e.getValue(n)), QI(t.getValue(n))), Ege = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, Dge = (e, t, n) => XI(e.getValue(n), t.getValue(n));
-function XI(e, t) {
+}, Dge = (e, t, n) => ZI(e.getValue(n), t.getValue(n));
+function ZI(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function ZI(e) {
+function QI(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function QI(e, t) {
- let n = e.split(YI).filter(Boolean), r = t.split(YI).filter(Boolean);
+function $I(e, t) {
+ let n = e.split(XI).filter(Boolean), r = t.split(XI).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])) {
@@ -44089,7 +44074,7 @@ function QI(e, t) {
}
return n.length - r.length;
}
-var $I = {
+var eL = {
alphanumeric: Sge,
alphanumericCaseSensitive: Cge,
text: wge,
@@ -44115,7 +44100,7 @@ var $I = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: hI("sorting", e),
+ onSortingChange: gI("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -44123,13 +44108,13 @@ var $I = {
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 $I.datetime;
- if (typeof n == "string" && (r = !0, n.split(YI).length > 1)) return $I.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return eL.datetime;
+ if (typeof n == "string" && (r = !0, n.split(XI).length > 1)) return eL.alphanumeric;
}
- return r ? $I.text : $I.basic;
+ return r ? eL.text : eL.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return gI(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? $I[e.columnDef.sortingFn];
+ return _I(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? eL[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -44200,7 +44185,7 @@ function kge(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = mI(e, n.options);
+ let t = hI(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -44215,7 +44200,7 @@ function kge(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: _I(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: vI(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -44226,9 +44211,9 @@ function kge(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), vI(e, "debugColumns", "_getDefaultColumnDef")),
+ }), yI(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: _I(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: vI(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
let a = rge(n, e, i, r), o = e;
@@ -44236,10 +44221,10 @@ function kge(e) {
});
};
return t(e);
- }, vI(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: _I(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), vI(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: _I(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), vI(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: _I(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), vI(e, "debugColumns", "getAllLeafColumns")),
+ }, yI(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: vI(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), yI(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: vI(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), yI(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: vI(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), yI(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -44249,8 +44234,8 @@ function kge(e) {
}
return n;
}
-function eL() {
- return (e) => _I(() => [e.options.data], (t) => {
+function tL() {
+ return (e) => vI(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -44268,7 +44253,7 @@ function eL() {
return o;
};
return n.rows = r(t), n;
- }, vI(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, yI(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
function Age(e) {
let t = [], n = (e) => {
@@ -44281,8 +44266,8 @@ function Age(e) {
rowsById: e.rowsById
};
}
-function tL(e) {
- return (e) => _I(() => [
+function nL(e) {
+ return (e) => vI(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -44304,11 +44289,11 @@ function tL(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, vI(e.options, "debugTable", "getPaginationRowModel"));
+ }, yI(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function nL(e, t) {
+function rL(e, t) {
return e ? jge(e) ? /*#__PURE__*/ R.createElement(e, t) : e : null;
}
function jge(e) {
@@ -44323,7 +44308,7 @@ function Mge(e) {
function Nge(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function rL(e) {
+function iL(e) {
let t = {
state: {},
onStateChange: () => {},
@@ -44417,7 +44402,7 @@ function Fge({ state: e, size: t = "md", shape: n = "pill" }) {
})
});
}
-function iL({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+function aL({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
return /* @__PURE__ */ (0, B.jsx)(wse, {
ref: i,
...a,
@@ -44434,7 +44419,7 @@ function iL({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var aL = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", Ige = "输入女优名,到 JavDB 找她的演员页";
+var oL = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", Ige = "输入女优名,到 JavDB 找她的演员页";
function Lge(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);
@@ -44457,7 +44442,7 @@ function Lge(e, t) {
function Rge({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, B.jsx)(KM, {
+ children: [/* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, B.jsxs)("span", {
@@ -44574,15 +44559,15 @@ function zge({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var Bge = Object.fromEntries(Object.entries(ZP).map(([e, t]) => [t, e])), oL = 740;
+var Bge = Object.fromEntries(Object.entries(QP).map(([e, t]) => [t, e])), sL = 740;
function Vge() {
let [e, t] = (0, R.useState)(!1), n = (0, R.useRef)(null), r = (0, R.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
return;
}
- let r = new ResizeObserver(() => t(e.clientWidth < oL));
- r.observe(e), n.current = r, t(e.clientWidth < oL);
+ let r = new ResizeObserver(() => t(e.clientWidth < sL));
+ r.observe(e), n.current = r, t(e.clientWidth < sL);
}, []);
return (0, R.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
@@ -44595,7 +44580,7 @@ var Hge = {
checked: "上次检查",
actions: "操作"
};
-function sL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function cL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, B.jsxs)("nav", {
"aria-label": r,
className: "flex flex-wrap items-center justify-center gap-2",
@@ -44609,7 +44594,7 @@ function sL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
}),
/* @__PURE__ */ (0, B.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: _j(e, t).map((t, r) => /* @__PURE__ */ (0, B.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, B.jsx)("span", {
+ children: hj(e, t).map((t, r) => /* @__PURE__ */ (0, B.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, B.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -44637,17 +44622,17 @@ function Uge({ source: e, selected: t, onToggle: n, handlers: r }) {
"data-selected": t || void 0,
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",
onClick: (e) => {
- JM(e, e.currentTarget) && n(!t);
+ qM(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, B.jsx)(KM, {
+ /* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
/* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, B.jsx)(cI, { source: e }), e.last_error ? /* @__PURE__ */ (0, B.jsx)("small", {
+ children: [/* @__PURE__ */ (0, B.jsx)(lI, { source: e }), e.last_error ? /* @__PURE__ */ (0, B.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.last_error
}) : null]
@@ -44655,17 +44640,17 @@ function Uge({ source: e, selected: t, onToggle: n, handlers: r }) {
/* @__PURE__ */ (0, B.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, B.jsx)(aI, {
+ children: /* @__PURE__ */ (0, B.jsx)(oI, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, B.jsx)(sI, { source: e }),
+ /* @__PURE__ */ (0, B.jsx)(cI, { source: e }),
/* @__PURE__ */ (0, B.jsx)("span", {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",
- children: wF(e)
+ children: TF(e)
}),
- /* @__PURE__ */ (0, B.jsx)(iL, {
+ /* @__PURE__ */ (0, B.jsx)(aL, {
"aria-label": `启用 ${e.label}`,
isSelected: e.enabled,
isDisabled: r.readOnly,
@@ -44696,7 +44681,7 @@ function Uge({ source: e, selected: t, onToggle: n, handlers: r }) {
});
}
function Wge({ 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($P).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = lF(r, c);
+ let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(eF).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = uF(r, c);
return /* @__PURE__ */ (0, B.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
className: kE({
@@ -44709,7 +44694,7 @@ function Wge({ 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, B.jsx)(oI, {
+ /* @__PURE__ */ (0, B.jsx)(sI, {
group: e,
name: t
}),
@@ -44730,7 +44715,7 @@ function Wge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, B.jsx)(aI, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, B.jsx)(J_, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, B.jsx)(oI, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, B.jsx)(q_, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, B.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -44780,26 +44765,26 @@ function Gge(e) {
n,
r,
_
- ]), { job: D, running: O, outcome: k, start: A } = HM({
+ ]), { job: D, running: O, outcome: k, start: A } = VM({
queryKey: xme,
queryFn: ({ signal: e }) => Nme(e),
- start: (e) => pF(e),
+ start: (e) => mF(e),
onError: (e) => w(U(e)),
onFinish: (e) => {
- CF(), m(e.status === "failed" ? e.error || "检查失败" : Gme(e));
+ wF(), m(e.status === "failed" ? e.error || "检查失败" : Gme(e));
}
}), j = (e) => {
O || A.isPending || (w(""), A.mutate(e));
- }, M = (e, t) => p(uF(s, [e], t)), N = (e, t) => p(uF(s, e, t)), ee = DS({
- mutationFn: (e) => hF(e),
+ }, M = (e, t) => p(dF(s, [e], t)), N = (e, t) => p(dF(s, e, t)), ee = DS({
+ mutationFn: (e) => gF(e),
onSuccess: (e, t) => {
- SF([t]), p(uF(s, [t], !1)), m("已取消关注来源");
+ CF([t]), p(dF(s, [t], !1)), m("已取消关注来源");
},
onError: (e) => w(U(e))
}), te = DS({
- mutationFn: (e) => mF(e.id, e.enabled),
+ mutationFn: (e) => hF(e.id, e.enabled),
onSuccess: (e, t) => {
- xF(t.id, { enabled: t.enabled }), w("");
+ SF(t.id, { enabled: t.enabled }), w("");
},
onError: (e) => w(U(e))
}), P = (e) => void je({
@@ -44811,7 +44796,7 @@ function Gge(e) {
}), F = DS({
mutationFn: async (e) => {
let t = await Se(e.ids, 4, async (t) => {
- e.action === "remove" ? await hF(t) : await mF(t, e.action === "enabled");
+ e.action === "remove" ? await gF(t) : await hF(t, e.action === "enabled");
});
return {
...e,
@@ -44820,9 +44805,9 @@ function Gge(e) {
};
},
onSuccess: (e) => {
- if (e.action === "remove") SF(e.done);
- else for (let t of e.done) xF(t, { enabled: e.action === "enabled" });
- p(uF(s, e.done, !1));
+ if (e.action === "remove") CF(e.done);
+ else for (let t of e.done) SF(t, { enabled: e.action === "enabled" });
+ p(dF(s, e.done, !1));
let t = e.results.filter((e) => !e.ok);
if (t.length) {
w(`${t.length}/${e.ids.length} 个来源未更新:${U(t[0]?.error)}`);
@@ -44846,7 +44831,7 @@ function Gge(e) {
};
},
onSuccess: (e) => {
- if (CF(), e.failed.length) {
+ if (wF(), e.failed.length) {
w(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);
return;
}
@@ -44871,12 +44856,12 @@ function Gge(e) {
readOnly: c
};
let ae = ie.current, oe = (0, R.useMemo)(() => {
- let e = pI(), t = (e) => () => Hge[e] || e;
+ let e = mI(), t = (e) => () => Hge[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, B.jsx)(KM, {
+ cell: (e) => /* @__PURE__ */ (0, B.jsx)(GM, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -44888,7 +44873,7 @@ function Gge(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, B.jsx)(oI, {
+ children: [/* @__PURE__ */ (0, B.jsx)(sI, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, B.jsx)("span", {
@@ -44902,7 +44887,7 @@ function Gge(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, B.jsx)(cI, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, B.jsx)("small", {
+ children: [/* @__PURE__ */ (0, B.jsx)(lI, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, B.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.row.original.source.last_error
}) : null]
@@ -44913,18 +44898,18 @@ function Gge(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, B.jsx)(aI, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, B.jsx)(oI, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, B.jsx)(sI, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, B.jsx)(cI, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
header: t("checked"),
- cell: (e) => wF(e.row.original.source)
+ cell: (e) => TF(e.row.original.source)
}),
e.display({
id: "actions",
@@ -44932,7 +44917,7 @@ function Gge(e) {
cell: (e) => /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, B.jsx)(iL, {
+ /* @__PURE__ */ (0, B.jsx)(aL, {
"aria-label": `启用 ${e.row.original.source.label}`,
isSelected: e.row.original.source.enabled,
isDisabled: ae.readOnly,
@@ -44967,7 +44952,7 @@ function Gge(e) {
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), ce = (0, R.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), le = a === "table", ue = cF(le ? E.length : T.length, o, i), de = rL({
+ }, [n, r]), ce = (0, R.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), le = a === "table", ue = lF(le ? E.length : T.length, o, i), de = iL({
data: E,
columns: oe,
getRowId: (e) => String(e.source.id),
@@ -44984,7 +44969,7 @@ function Gge(e) {
onSortingChange: (e) => {
let t = (typeof e == "function" ? e(se) : e)[0];
if (!t) return;
- let n = ZP[t.id];
+ let n = QP[t.id];
n && l(n, t.desc ? "desc" : "asc");
},
onRowSelectionChange: (e) => {
@@ -44998,9 +44983,9 @@ function Gge(e) {
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === o ? n.pageIndex !== t.pageIndex && u(n.pageIndex + 1) : f(n.pageSize);
},
- getCoreRowModel: eL(),
- getPaginationRowModel: tL()
- }), fe = de.getRowModel().rows, I = le ? fe.map((e) => e.original.source.id) : T.slice(ue.start, ue.end).flatMap((e) => e.map((e) => e.id)), pe = lF(s, I), me = [...s], he = Kme(k), ge = qme(k), _e = T.length > 0 && y.size >= T.length;
+ getCoreRowModel: tL(),
+ getPaginationRowModel: nL()
+ }), fe = de.getRowModel().rows, I = le ? fe.map((e) => e.original.source.id) : T.slice(ue.start, ue.end).flatMap((e) => e.map((e) => e.id)), pe = uF(s, I), me = [...s], he = Kme(k), ge = qme(k), _e = T.length > 0 && y.size >= T.length;
return g.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: kE({
padding: "none",
@@ -45037,14 +45022,14 @@ function Gge(e) {
variant: "ghost",
iconOnly: !0,
leadingIcon: lae,
- "aria-label": YP[0][1],
+ "aria-label": XP[0][1],
"aria-pressed": !le,
onClick: () => d("default")
}), /* @__PURE__ */ (0, B.jsx)(J, {
variant: "ghost",
iconOnly: !0,
leadingIcon: fae,
- "aria-label": YP[1][1],
+ "aria-label": XP[1][1],
"aria-pressed": le,
onClick: () => d("table")
})]
@@ -45055,9 +45040,9 @@ function Gge(e) {
onSelectionChange: (e) => {
if (e === null) return;
let t = String(e);
- l(t, IP[t]);
+ l(t, LP[t]);
},
- children: FP.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Ok, {
+ children: IP.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Ok, {
id: e,
children: t
}, e))
@@ -45083,7 +45068,7 @@ function Gge(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- O ? /* @__PURE__ */ (0, B.jsx)(RM, {
+ O ? /* @__PURE__ */ (0, B.jsx)(LM, {
embedded: !0,
label: D?.message || (D?.total ? `${D.older ? "抓取历史" : "检查更新"}:已完成 ${D.checked || 0}/${D.total} 个来源` : "正在准备检查任务"),
value: D?.checked,
@@ -45169,10 +45154,10 @@ function Gge(e) {
})
]
}),
- le ? /* @__PURE__ */ (0, B.jsx)(YM, {
+ le ? /* @__PURE__ */ (0, B.jsx)(JM, {
follow: !0,
onRowClick: (e) => M(Number(e), !s.has(Number(e))),
- children: /* @__PURE__ */ (0, B.jsxs)(qM, {
+ children: /* @__PURE__ */ (0, B.jsxs)(KM, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: se[0] ? {
@@ -45184,7 +45169,7 @@ function Gge(e) {
desc: e.direction === "descending"
}]),
children: [/* @__PURE__ */ (0, B.jsx)(nk, { children: de.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in ZP, n = nL(e.column.columnDef.header, e.getContext());
+ let t = e.column.id in QP, n = rL(e.column.columnDef.header, e.getContext());
return /* @__PURE__ */ (0, B.jsx)(rk, {
id: e.id,
allowsSorting: t,
@@ -45196,18 +45181,18 @@ function Gge(e) {
"data-direction": e || void 0,
children: /* @__PURE__ */ (0, B.jsx)(mce, {})
})]
- }) : /* @__PURE__ */ (0, B.jsx)(J_, { children: n })
+ }) : /* @__PURE__ */ (0, B.jsx)(q_, { children: n })
}, e.id);
}) }), /* @__PURE__ */ (0, B.jsx)(ak, {
renderEmptyState: () => "这一页没有来源",
children: fe.map((e) => /* @__PURE__ */ (0, B.jsx)(ck, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, B.jsx)(uk, { children: nL(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, B.jsx)(uk, { children: rL(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(KM, {
+ }) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: pe.all,
isIndeterminate: pe.some,
onChange: (e) => N(I, e),
@@ -45219,7 +45204,7 @@ function Gge(e) {
let t = String(e[0].author_key || e[0].id);
return /* @__PURE__ */ (0, B.jsx)(Wge, {
group: e,
- name: iF(e, _),
+ name: aF(e, _),
handlers: ae,
selected: s,
open: !y.has(t),
@@ -45246,12 +45231,12 @@ function Gge(e) {
onSelectionChange: (e) => {
e !== null && de.setPageSize(Number(e));
},
- children: XP.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
+ children: ZP.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
id: String(e),
children: `每页 ${e} ${le ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, B.jsx)(sL, {
+ /* @__PURE__ */ (0, B.jsx)(cL, {
page: ue.page,
pages: ue.pages,
onPage: (e) => de.setPageIndex(e - 1)
@@ -45325,10 +45310,10 @@ var Kge = {
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, qge = /* @__PURE__ */ new Set(["select", "actions"]), cL = () => p.invalidateQueries({
- queryKey: JP,
+}, qge = /* @__PURE__ */ new Set(["select", "actions"]), lL = () => p.invalidateQueries({
+ queryKey: YP,
exact: !0
-}), lL = (e) => e.name || e.url, Jge = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
+}), uL = (e) => e.name || e.url, Jge = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
function Yge(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
@@ -45360,8 +45345,8 @@ function Zge({ source: e }) {
} : null;
return /* @__PURE__ */ (0, B.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 ${aL}`,
- dangerouslySetInnerHTML: { __html: k(lL(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 ${oL}`,
+ dangerouslySetInnerHTML: { __html: k(uL(e), t, null, "performer") }
});
}
var Qge = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
@@ -45370,11 +45355,11 @@ function $ge(e) {
for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));
return n;
}
-function uL(e, t) {
+function dL(e, t) {
let n = e.length === 1 ? e[0] : null;
return je({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${lL(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${uL(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
@@ -45382,9 +45367,9 @@ function uL(e, t) {
}
function e_e({ readOnly: e, toast: t }) {
let n = wS({
- queryKey: JP,
- queryFn: ({ signal: e }) => _F(e)
- }), r = FE(), i = n.data, a = (0, R.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, R.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, R.useState)(1), [u, d] = (0, R.useState)(20), f = cF(a.length, u, c);
+ queryKey: YP,
+ queryFn: ({ signal: e }) => vF(e)
+ }), r = FE(), i = n.data, a = (0, R.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, R.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, R.useState)(1), [u, d] = (0, R.useState)(20), f = lF(a.length, u, c);
(0, R.useEffect)(() => {
l((e) => Math.min(e, f.pages));
}, [f.pages]), (0, R.useEffect)(() => {
@@ -45396,7 +45381,7 @@ function e_e({ readOnly: e, toast: t }) {
let p = DS({
mutationFn: async (e) => {
let t = await Se(e.ids, 4, async (t) => {
- e.action === "remove" ? await yF(t) : await vF(t, e.action === "enabled");
+ e.action === "remove" ? await bF(t) : await yF(t, e.action === "enabled");
});
return {
...e,
@@ -45405,7 +45390,7 @@ function e_e({ 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()), cL(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
+ if (s(/* @__PURE__ */ new Set()), lL(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
let e = n[0];
r.setError(`${n.length} 条没有写入:${e.ok ? "" : U(e.error)}`);
}
@@ -45423,26 +45408,26 @@ function e_e({ readOnly: e, toast: t }) {
readOnly: e,
shared: m,
busy: r.busy,
- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => vF(e.id, t, n), () => void cL()),
- fetch: (e) => void r.run(`check-${e.id}`, (t) => bF(t, [e.id]), () => void cL()),
- remove: (e) => void uL([e], async () => {
- await yF(e.id), t(`已移除订阅源「${lL(e)}」`), cL();
+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => yF(e.id, t, n), () => void lL()),
+ fetch: (e) => void r.run(`check-${e.id}`, (t) => xF(t, [e.id]), () => void lL()),
+ remove: (e) => void dL([e], async () => {
+ await bF(e.id), t(`已移除订阅源「${uL(e)}」`), lL();
})
};
let g = (0, R.useMemo)(() => {
- let e = pI(), t = (e) => () => Kge[e] || e;
+ let e = mI(), t = (e) => () => Kge[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, B.jsx)(KM, {
+ cell: (e) => /* @__PURE__ */ (0, B.jsx)(GM, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${lL(e.row.original)}`
+ "aria-label": `选择 ${uL(e.row.original)}`
})
}),
- e.accessor(lL, {
+ e.accessor(uL, {
id: "name",
header: t("name"),
cell: (e) => {
@@ -45494,7 +45479,7 @@ function e_e({ readOnly: e, toast: t }) {
children: e.getValue()
})
}),
- e.accessor((e) => e.last_fetched_at ? bj(e.last_fetched_at) : "还没拉过", {
+ e.accessor((e) => e.last_fetched_at ? vj(e.last_fetched_at) : "还没拉过", {
id: "fetched",
header: t("fetched"),
cell: (e) => /* @__PURE__ */ (0, B.jsx)("span", {
@@ -45516,8 +45501,8 @@ function e_e({ readOnly: e, toast: t }) {
cell: (e) => /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, B.jsx)(iL, {
- "aria-label": `启用 ${lL(e.row.original)}`,
+ /* @__PURE__ */ (0, B.jsx)(aL, {
+ "aria-label": `启用 ${uL(e.row.original)}`,
isSelected: e.row.original.enabled,
isDisabled: h.current.readOnly,
onChange: (t) => h.current.toggle(e.row.original, t)
@@ -45527,7 +45512,7 @@ function e_e({ readOnly: e, toast: t }) {
size: "xs",
iconOnly: !0,
leadingIcon: AT,
- "aria-label": `拉取 ${lL(e.row.original)}`,
+ "aria-label": `拉取 ${uL(e.row.original)}`,
disabled: h.current.readOnly,
...X(h.current.busy === `check-${e.row.original.id}`),
onClick: () => h.current.fetch(e.row.original)
@@ -45537,7 +45522,7 @@ function e_e({ readOnly: e, toast: t }) {
size: "xs",
iconOnly: !0,
leadingIcon: CT,
- "aria-label": `移除 ${lL(e.row.original)}`,
+ "aria-label": `移除 ${uL(e.row.original)}`,
disabled: h.current.readOnly,
onClick: () => h.current.remove(e.row.original)
})
@@ -45545,7 +45530,7 @@ function e_e({ readOnly: e, toast: t }) {
})
})
];
- }, []), _ = (0, R.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = rL({
+ }, []), _ = (0, R.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = iL({
data: a,
columns: g,
getRowId: (e) => String(e.id),
@@ -45561,15 +45546,15 @@ function e_e({ 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: eL(),
- getPaginationRowModel: tL()
+ getCoreRowModel: tL(),
+ getPaginationRowModel: nL()
});
if (!i) return n.error ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
title: "打不开订阅源",
children: U(n.error)
}) : /* @__PURE__ */ (0, B.jsx)(Rk, { children: "正在读订阅源。" });
- let y = () => void r.run("check", (e) => bF(e), () => void cL()), b = (e) => s((t) => {
+ let y = () => void r.run("check", (e) => xF(e), () => void lL()), b = (e) => s((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
}), x = a.filter((e) => o.has(e.id)), S = a.filter((e) => e.last_error);
@@ -45578,7 +45563,7 @@ function e_e({ readOnly: e, toast: t }) {
children: [/* @__PURE__ */ (0, B.jsx)(zge, {
readOnly: e,
toast: t,
- onAdded: () => void cL()
+ onAdded: () => void lL()
}), /* @__PURE__ */ (0, B.jsxs)("section", {
"aria-label": "JAV 订阅列表",
className: kE({
@@ -45609,7 +45594,7 @@ function e_e({ readOnly: e, toast: t }) {
className: "flex flex-col gap-3",
children: [S.map((e) => /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
- title: `${lL(e)} 拉取失败`,
+ title: `${uL(e)} 拉取失败`,
children: e.last_error
}, e.id)), r.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: r.error }) : null]
}) : null,
@@ -45645,7 +45630,7 @@ function e_e({ readOnly: e, toast: t }) {
size: "small",
disabled: e,
...X(p.isPending),
- onClick: () => void uL(x, () => p.mutateAsync({
+ onClick: () => void dL(x, () => p.mutateAsync({
ids: x.map((e) => e.id),
action: "remove"
})),
@@ -45659,22 +45644,22 @@ function e_e({ readOnly: e, toast: t }) {
})
]
}),
- a.length ? /* @__PURE__ */ (0, B.jsx)(YM, {
+ a.length ? /* @__PURE__ */ (0, B.jsx)(JM, {
onRowClick: (e) => b(Number(e)),
- children: /* @__PURE__ */ (0, B.jsxs)(qM, {
+ children: /* @__PURE__ */ (0, B.jsxs)(KM, {
"aria-label": "JAV 订阅源",
size: "sm",
children: [/* @__PURE__ */ (0, B.jsx)(nk, { children: v.getHeaderGroups()[0].headers.map((e) => {
- let t = nL(e.column.columnDef.header, e.getContext());
+ let t = rL(e.column.columnDef.header, e.getContext());
return /* @__PURE__ */ (0, B.jsx)(rk, {
id: e.id,
isRowHeader: e.column.id === "name",
- children: qge.has(e.column.id) ? /* @__PURE__ */ (0, B.jsx)(J_, { children: t }) : t
+ children: qge.has(e.column.id) ? /* @__PURE__ */ (0, B.jsx)(q_, { children: t }) : t
}, e.id);
}) }), /* @__PURE__ */ (0, B.jsx)(ak, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, B.jsx)(ck, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, B.jsx)(uk, { children: nL(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, B.jsx)(uk, { children: rL(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
}) : /* @__PURE__ */ (0, B.jsx)(AE, {
@@ -45697,12 +45682,12 @@ function e_e({ readOnly: e, toast: t }) {
onSelectionChange: (e) => {
e !== null && (d(Number(e)), l(1));
},
- children: XP.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
+ children: ZP.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
id: String(e),
children: `每页 ${e} 条`
}, e))
}),
- /* @__PURE__ */ (0, B.jsx)(sL, {
+ /* @__PURE__ */ (0, B.jsx)(cL, {
label: "JAV 订阅分页",
page: f.page,
pages: f.pages,
@@ -45724,29 +45709,29 @@ function e_e({ readOnly: e, toast: t }) {
}
//#endregion
//#region src/react/wants/resource-cache.ts
-var dL = "peach.want-resources.v1", fL = 864e5;
-function pL(e, t = Date.now()) {
+var fL = "peach.want-resources.v1", pL = 864e5;
+function mL(e, t = Date.now()) {
let n = Date.parse(e || ""), r = new Date(t), i = new Date(Date.UTC(r.getFullYear(), r.getMonth(), r.getDate())), a = i.getUTCDate();
i.setUTCHours(0, 0, 0, 0), i.setUTCDate(1), i.setUTCMonth(i.getUTCMonth() - 3);
let o = new Date(Date.UTC(i.getUTCFullYear(), i.getUTCMonth() + 1, 0)).getUTCDate();
- return i.setUTCDate(Math.min(a, o)), Number.isFinite(n) && n < i.getTime() ? 365 * fL : 7 * fL;
+ return i.setUTCDate(Math.min(a, o)), Number.isFinite(n) && n < i.getTime() ? 365 * pL : 7 * pL;
}
-function mL() {
+function hL() {
try {
- let e = JSON.parse(localStorage.getItem(dL) || "[]");
+ let e = JSON.parse(localStorage.getItem(fL) || "[]");
return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items)) : [];
} catch {
return [];
}
}
function t_e(e, t) {
- let n = mL().find((t) => t.code === e);
- return n && Date.now() - n.saved < pL(t) ? n : void 0;
+ let n = hL().find((t) => t.code === e);
+ return n && Date.now() - n.saved < mL(t) ? n : void 0;
}
function n_e(e, t) {
if (t.state === "ready") try {
- let n = mL().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
- localStorage.setItem(dL, JSON.stringify([{
+ let n = hL().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
+ localStorage.setItem(fL, JSON.stringify([{
code: e,
saved: Number.isFinite(r) ? r : Date.now(),
result: t
@@ -45755,7 +45740,7 @@ function n_e(e, t) {
}
//#endregion
//#region src/react/wants/want-magnets.tsx
-function hL({ icon: e, children: t }) {
+function gL({ icon: e, children: t }) {
return /* @__PURE__ */ (0, B.jsxs)("span", {
className: "inline-flex items-center gap-1",
children: [/* @__PURE__ */ (0, B.jsx)(e, {
@@ -45787,9 +45772,9 @@ function r_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
initialDataUpdatedAt: m?.saved,
enabled: s,
retry: !1,
- staleTime: (t) => Date.now() - t.state.dataUpdatedAt < (t.state.data?.state === "error" ? 6e4 : pL(e.release_date)) ? Infinity : 0,
+ staleTime: (t) => Date.now() - t.state.dataUpdatedAt < (t.state.data?.state === "error" ? 6e4 : mL(e.release_date)) ? Infinity : 0,
gcTime: 864e5,
- refetchOnMount: (t) => Date.now() - t.state.dataUpdatedAt >= (t.state.data?.state === "error" ? 6e4 : pL(e.release_date)) && "always",
+ refetchOnMount: (t) => Date.now() - t.state.dataUpdatedAt >= (t.state.data?.state === "error" ? 6e4 : mL(e.release_date)) && "always",
refetchOnWindowFocus: !1,
refetchInterval: (e) => e.state.data?.state === "busy" && 3e3
});
@@ -45887,23 +45872,23 @@ function r_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
}), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap gap-x-3 gap-y-1 break-words text-caption-1-regular text-text-secondary",
children: [
- /* @__PURE__ */ (0, B.jsx)(hL, {
+ /* @__PURE__ */ (0, B.jsx)(gL, {
icon: OT,
children: e.source
}),
- /* @__PURE__ */ (0, B.jsx)(hL, {
+ /* @__PURE__ */ (0, B.jsx)(gL, {
icon: ET,
children: e.size || "大小未知"
}),
- e.files ? /* @__PURE__ */ (0, B.jsx)(hL, {
+ e.files ? /* @__PURE__ */ (0, B.jsx)(gL, {
icon: tae,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, B.jsx)(hL, {
+ /* @__PURE__ */ (0, B.jsx)(gL, {
icon: Xie,
children: e.date ? `${e.source === "JavDB 评论" ? "评论" : "收录"} ${e.date}` : "日期未知"
}),
- e.attributes.map((e) => /* @__PURE__ */ (0, B.jsx)(hL, {
+ e.attributes.map((e) => /* @__PURE__ */ (0, B.jsx)(gL, {
icon: kT,
children: e
}, e))
@@ -45959,7 +45944,7 @@ function r_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
}
//#endregion
//#region src/react/wants/wants.ts
-var gL = "/api/wants", _L = ["wants"], i_e = (e) => [
+var _L = "/api/wants", vL = ["wants"], i_e = (e) => [
"wants",
"follow",
e
@@ -45968,16 +45953,16 @@ var gL = "/api/wants", _L = ["wants"], i_e = (e) => [
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], o_e = (e) => W(gL, e), s_e = (e, t) => W(`${gL}?follow=${encodeURIComponent(e)}`, t), vL = (e, t) => G(gL, {
+], o_e = (e) => W(_L, e), s_e = (e, t) => W(`${_L}?follow=${encodeURIComponent(e)}`, t), yL = (e, t) => G(_L, {
action: "add",
...e
-}, "POST", t), yL = (e, t) => G(gL, {
+}, "POST", t), bL = (e, t) => G(_L, {
action: "remove",
ids: e
-}, "POST", t), c_e = (e, t) => G(gL, {
+}, "POST", t), c_e = (e, t) => G(_L, {
action: "reset",
ids: e
-}, "POST", t), bL = () => p.invalidateQueries({ queryKey: _L }), xL = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+}, "POST", t), xL = () => p.invalidateQueries({ queryKey: vL }), SL = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
function l_e(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} 次` : "还没查过";
}
@@ -45987,7 +45972,7 @@ var u_e = {
code: "手动添加",
feed: "Feed 新作",
follow: "关注"
-}, SL = (e) => [
+}, CL = (e) => [
e.release_date,
e.studio,
e.performers,
@@ -46026,15 +46011,15 @@ function f_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
className: "flex min-w-0 flex-wrap items-baseline gap-x-2",
children: [/* @__PURE__ */ (0, B.jsx)("b", {
className: "text-headline-medium text-text-primary",
- children: xL(e)
+ children: SL(e)
}), e.code && e.title ? /* @__PURE__ */ (0, B.jsx)("span", {
className: "min-w-0 truncate text-body-2-regular text-text-secondary",
children: e.title
}) : null]
}),
- SL(e) ? /* @__PURE__ */ (0, B.jsx)("p", {
+ CL(e) ? /* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: SL(e)
+ children: CL(e)
}) : null,
!e.code || e.phase === "unreleased" || e.phase === "acquired" ? /* @__PURE__ */ (0, B.jsx)("p", {
"data-want-note": "",
@@ -46099,23 +46084,23 @@ function f_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
}
function p_e({ readOnly: e, toast: t, cloudDownload: n }) {
let [r, i] = (0, R.useState)(""), [a, o] = (0, R.useState)(""), s = FE(), c = wS({
- queryKey: _L,
+ queryKey: vL,
queryFn: ({ signal: e }) => o_e(e),
refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1
}), l = () => {
let n = r.trim();
- !n || e || s.run("add", (e) => vL({ code: n }, e), (e) => {
- t(e.created ? `已加入想要:${xL(e.want)}` : `${xL(e.want)} 已经在想要里`), i(""), bL();
+ !n || e || s.run("add", (e) => yL({ code: n }, e), (e) => {
+ t(e.created ? `已加入想要:${SL(e.want)}` : `${SL(e.want)} 已经在想要里`), i(""), xL();
});
}, u = (e) => {
e.key === "Enter" && !e.nativeEvent.isComposing && (e.preventDefault(), l());
}, d = (e) => {
- s.run(`remove:${e.id}`, (t) => yL([e.id], t), () => {
- t(`已移除:${xL(e)}`), bL();
+ s.run(`remove:${e.id}`, (t) => bL([e.id], t), () => {
+ t(`已移除:${SL(e)}`), xL();
});
}, f = (e) => {
s.run(`reset:${e.id}`, (t) => c_e([e.id], t), () => {
- t(`${xL(e)} 回到待找`), bL();
+ t(`${SL(e)} 回到待找`), xL();
});
}, p = c.data, m = p?.items || [], h = wS({
queryKey: nA,
@@ -46247,14 +46232,14 @@ function p_e({ readOnly: e, toast: t, cloudDownload: n }) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var CL = [
+var wL = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"],
["wants", "JAV 入库"],
["source", "来源和凭证"]
-], wL = (e) => CL.some(([t]) => t === e);
-function TL({ term: e, figure: t, unit: n }) {
+], TL = (e) => wL.some(([t]) => t === e);
+function EL({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: kE({
padding: "none",
@@ -46273,15 +46258,15 @@ function TL({ term: e, figure: t, unit: n }) {
});
}
function m_e(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, cloudDownload: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, R.useState)(wL(e.tab) ? e.tab : "list"), [d, f] = (0, R.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, R.useState)(() => LP(e.sort, e.dir).sort), [h, g] = (0, R.useState)(() => LP(e.sort, e.dir).dir), [_, v] = (0, R.useState)(Tme(e.layout) ? e.layout : "default"), [y, b] = (0, R.useState)(Eme(e.pageSize)), [x, S] = (0, R.useState)(/* @__PURE__ */ new Set()), C = wS({
- queryKey: KP,
- queryFn: ({ signal: e }) => dF(e)
- }), w = wS({
+ let { route: t, savePreference: n, toast: r, openFollow: i, cloudDownload: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, R.useState)(TL(e.tab) ? e.tab : "list"), [d, f] = (0, R.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, R.useState)(() => RP(e.sort, e.dir).sort), [h, g] = (0, R.useState)(() => RP(e.sort, e.dir).dir), [_, v] = (0, R.useState)(Tme(e.layout) ? e.layout : "default"), [y, b] = (0, R.useState)(Eme(e.pageSize)), [x, S] = (0, R.useState)(/* @__PURE__ */ new Set()), C = wS({
queryKey: qP,
queryFn: ({ signal: e }) => fF(e)
- }), T = wS({
+ }), w = wS({
queryKey: JP,
- queryFn: ({ signal: e }) => _F(e)
+ queryFn: ({ signal: e }) => pF(e)
+ }), T = wS({
+ queryKey: YP,
+ queryFn: ({ signal: e }) => vF(e)
}), E = C.data || { sources: [] }, D = w.data || {
root: "",
providers: []
@@ -46298,9 +46283,9 @@ function m_e(e) {
tab: e.tab ?? l,
page: e.page ?? d,
sort: n === "checked" ? "" : n,
- dir: r === IP[n] ? "" : r
+ dir: r === LP[n] ? "" : r
});
- }, A = sF(O), j = O.filter($P).length, M = O.filter((e) => e.enabled).length, N = (D.providers || []).filter((e) => e.requirement === "required" && !EF(e)).length, ee = new Set((T.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
+ }, A = cF(O), j = O.filter(eF).length, M = O.filter((e) => e.enabled).length, N = (D.providers || []).filter((e) => e.requirement === "required" && !DF(e)).length, ee = new Set((T.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
return /* @__PURE__ */ (0, B.jsxs)(ME, { children: [
o ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "warning",
@@ -46316,35 +46301,35 @@ function m_e(e) {
children: s
}) : null,
/* @__PURE__ */ (0, B.jsxs)("div", {
- className: ude,
+ className: dde,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, B.jsx)(TL, {
+ /* @__PURE__ */ (0, B.jsx)(EL, {
term: "关注创作者",
figure: A.length,
unit: "位"
}),
- /* @__PURE__ */ (0, B.jsx)(TL, {
+ /* @__PURE__ */ (0, B.jsx)(EL, {
term: "启用来源",
figure: M,
unit: `/ ${O.length}`
}),
- /* @__PURE__ */ (0, B.jsx)(TL, {
+ /* @__PURE__ */ (0, B.jsx)(EL, {
term: "检查失败",
figure: j,
unit: "个来源"
}),
- /* @__PURE__ */ (0, B.jsx)(TL, {
+ /* @__PURE__ */ (0, B.jsx)(EL, {
term: "未看更新",
figure: E.counts?.new || 0,
unit: "条"
}),
- /* @__PURE__ */ (0, B.jsx)(TL, {
+ /* @__PURE__ */ (0, B.jsx)(EL, {
term: "JAV 订阅",
figure: ee,
unit: "位"
}),
- /* @__PURE__ */ (0, B.jsx)(TL, {
+ /* @__PURE__ */ (0, B.jsx)(EL, {
term: "未看新作",
figure: T.data?.unread || 0,
unit: "条"
@@ -46355,7 +46340,7 @@ function m_e(e) {
selectedKey: l,
onSelectionChange: (e) => {
let t = String(e);
- wL(t) && (u(t), k({ tab: t }));
+ TL(t) && (u(t), k({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
@@ -46364,7 +46349,7 @@ function m_e(e) {
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: CL.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(gk, {
+ children: wL.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(gk, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: e === "source" && N ? `${t}(${N})` : t
@@ -46454,7 +46439,7 @@ function m_e(e) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function EL({ value: e }) {
+function DL({ value: e }) {
return /* @__PURE__ */ (0, B.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",
@@ -46462,7 +46447,7 @@ function EL({ value: e }) {
});
}
var h_e = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
-function DL({ tabs: e, value: t, label: n, onChange: r }) {
+function OL({ tabs: e, value: t, label: n, onChange: r }) {
let i = (0, R.useRef)(null), a = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
let e = i.current;
@@ -46490,7 +46475,7 @@ function DL({ tabs: e, value: t, label: n, onChange: r }) {
},
className: "relative mb-5.5 flex flex-none gap-1 overflow-x-auto border-b border-border-button-default max-board-narrow:gap-0",
children: [e.map((e) => {
- let n = e.symbol ? SA(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? CA(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
role: "tab",
@@ -46513,7 +46498,7 @@ function DL({ tabs: e, value: t, label: n, onChange: r }) {
}
//#endregion
//#region src/react/index/index-tags.tsx
-var OL = () => /* @__PURE__ */ (0, B.jsx)("span", {
+var kL = () => /* @__PURE__ */ (0, B.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
@@ -46529,7 +46514,7 @@ function g_e({ tag: e, actions: t }) {
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [
- /* @__PURE__ */ (0, B.jsx)(OL, {}),
+ /* @__PURE__ */ (0, B.jsx)(kL, {}),
/* @__PURE__ */ (0, B.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -46554,7 +46539,7 @@ function __e({ groups: e, actions: t }) {
}),
children: [/* @__PURE__ */ (0, B.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, B.jsx)(EL, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, B.jsx)(DL, { value: n.length })]
}), /* @__PURE__ */ (0, B.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
children: n.map((e) => /* @__PURE__ */ (0, B.jsx)(g_e, {
@@ -46596,15 +46581,15 @@ var b_e = [[
"text-aa"
]];
function x_e({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, B.jsx)(uA, {
+ return /* @__PURE__ */ (0, B.jsx)(dA, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, B.jsxs)(dA, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, B.jsxs)(fA, {
"data-tag-pill": "",
"data-tag-cat": e === "all" ? "all" : PN(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, B.jsx)(OL, {}), r]
+ children: [/* @__PURE__ */ (0, B.jsx)(kL, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsx)("span", {
@@ -46628,14 +46613,14 @@ function x_e({ categories: e, category: t, online: n, readout: r, letters: i, vi
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${yA}`,
+ className: `ml-auto ${bA}`,
children: b_e.map(([e, t, n]) => {
- let r = SA(n);
+ let r = CA(n);
return /* @__PURE__ */ (0, B.jsx)(BO, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: bA,
+ className: xA,
children: /* @__PURE__ */ (0, B.jsx)("span", {
title: t,
className: "contents",
@@ -46653,7 +46638,7 @@ function S_e({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
label: "所选标签操作",
count: `已选 ${e} 个标签`,
children: [
- /* @__PURE__ */ (0, B.jsx)(KM, {
+ /* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, B.jsxs)("span", {
@@ -46693,7 +46678,7 @@ var C_e = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], kL = [{
+}], AL = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -46722,19 +46707,19 @@ var C_e = [{
]]
};
function T_e({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, B.jsx)(gA, {
+ return /* @__PURE__ */ (0, B.jsx)(_A, {
"aria-label": `${SN[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${_A}`,
+ className: `flex-none max-board-narrow:order-3 ${vA}`,
children: w_e[ON(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = SA(n);
+ let r = CA(n);
return /* @__PURE__ */ (0, B.jsx)(BO, {
value: e,
"aria-label": t,
- className: Qce,
+ className: Zce,
children: /* @__PURE__ */ (0, B.jsx)("span", {
title: t,
className: "contents",
@@ -46744,7 +46729,7 @@ function T_e({ kind: e, layout: t, onChange: n }) {
})
});
}
-var E_e = SA("search");
+var E_e = CA("search");
function D_e({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, R.useState)(t), a = (0, R.useRef)(!1), o = (0, R.useRef)(void 0);
(0, R.useEffect)(() => () => clearTimeout(o.current), []);
@@ -46817,8 +46802,8 @@ function O_e(e) {
u
]), O = (t) => {
i(t), e.savePreference({ layout: t });
- }, k = u === "tags" ? /* @__PURE__ */ (0, B.jsx)(DL, {
- tabs: kL,
+ }, k = u === "tags" ? /* @__PURE__ */ (0, B.jsx)(OL, {
+ tabs: AL,
value: f,
label: "词表",
onChange: (e) => {
@@ -46828,8 +46813,8 @@ function O_e(e) {
view: e === "online" ? "alphabet" : p
});
}
- }) : u === "performers" ? /* @__PURE__ */ (0, B.jsx)(DL, {
- tabs: kL,
+ }) : u === "performers" ? /* @__PURE__ */ (0, B.jsx)(OL, {
+ tabs: AL,
value: f,
label: "名册",
onChange: (t) => {
@@ -46838,7 +46823,7 @@ function O_e(e) {
category: "all"
});
}
- }) : ON(u) ? /* @__PURE__ */ (0, B.jsx)(DL, {
+ }) : ON(u) ? /* @__PURE__ */ (0, B.jsx)(OL, {
tabs: C_e,
value: u,
label: "公司类型",
@@ -46898,7 +46883,7 @@ function O_e(e) {
(u === "creators" || u === "performers") && f === "local" ? /* @__PURE__ */ (0, B.jsx)("div", {
"aria-label": "身份分类",
className: "mb-4 flex flex-wrap gap-2",
- children: TN.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(J, {
+ children: TN[u].filter(([e]) => e === "all" || e === m || Number(S.data?.pages[0]?.categories?.[e] || 0) > 0).map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(J, {
variant: m === e ? "primary" : "secondary",
size: "small",
"aria-pressed": m === e,
@@ -46932,7 +46917,7 @@ function O_e(e) {
}) }
});
if (S.isError) return /* @__PURE__ */ (0, B.jsx)(AE, {
- icon: SA("search"),
+ icon: CA("search"),
title: `没能读取${h}`,
actions: /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
@@ -47009,7 +46994,7 @@ var k_e = {
};
function A_e({ kind: e, filtered: t, online: n, configurable: r }) {
if (t) return /* @__PURE__ */ (0, B.jsx)(AE, {
- icon: SA("search"),
+ icon: CA("search"),
title: "没有符合条件的内容",
actions: /* @__PURE__ */ (0, B.jsx)(OE, {
variant: "primary",
@@ -47024,7 +47009,7 @@ function A_e({ kind: e, filtered: t, online: n, configurable: r }) {
children: "添加关注"
});
return /* @__PURE__ */ (0, B.jsx)(AE, {
- icon: SA(e === "tags" ? "tags" : "user-round"),
+ icon: CA(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [r ? /* @__PURE__ */ (0, B.jsx)(J, {
variant: "primary",
@@ -47034,14 +47019,14 @@ function A_e({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var AL = {
+var jL = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, j_e = (e) => AL[e.junk_kind || "other"] || AL.other;
+}, j_e = (e) => jL[e.junk_kind || "other"] || jL.other;
function M_e(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
@@ -47053,7 +47038,7 @@ function M_e(e) {
glyph: "check"
};
}
-var jL = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), N_e = (e, t) => [
+var ML = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), N_e = (e, t) => [
"junk-queue",
e.view,
e.kind,
@@ -47075,19 +47060,19 @@ async function F_e(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function ML({ name: e }) {
+function NL({ name: e }) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, B.jsx)("use", { href: `#i-${e}` })
});
}
-var NL = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+var PL = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
function I_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
let o = (0, R.useRef)(null), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), d = e.junk_kind || "other", [f, p] = j_e(e), m = String(e.name || ""), h = M_e(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]") || NL(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+ t.target.closest("[data-junk-actions]") || PL(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- if (t.stopPropagation(), NL(r, t)) {
+ if (t.stopPropagation(), PL(r, t)) {
t.preventDefault(), a.toggleSelection(e.id, t.shiftKey);
return;
}
@@ -47129,7 +47114,7 @@ function I_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [
/* @__PURE__ */ (0, B.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, B.jsx)(ML, { name: p }), /* @__PURE__ */ (0, B.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, B.jsx)(NL, { name: p }), /* @__PURE__ */ (0, B.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-media-art": "thumb",
@@ -47141,7 +47126,7 @@ function I_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, B.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, B.jsx)(ML, { name: "check" })
+ children: /* @__PURE__ */ (0, B.jsx)(NL, { name: "check" })
})
]
}),
@@ -47178,7 +47163,7 @@ function I_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [s === "reveal" ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: Qe("正在定位") }
- }) : /* @__PURE__ */ (0, B.jsx)(ML, { name: "folder-open" }), /* @__PURE__ */ (0, B.jsx)("span", {
+ }) : /* @__PURE__ */ (0, B.jsx)(NL, { name: "folder-open" }), /* @__PURE__ */ (0, B.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -47190,7 +47175,7 @@ function I_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": h.label,
...S(h.operation),
onClick: x(h.operation),
- children: [/* @__PURE__ */ (0, B.jsx)(ML, { name: h.glyph }), /* @__PURE__ */ (0, B.jsx)("span", {
+ children: [/* @__PURE__ */ (0, B.jsx)(NL, { name: h.glyph }), /* @__PURE__ */ (0, B.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -47202,7 +47187,7 @@ function I_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...S("dispose"),
onClick: x("dispose"),
- children: [/* @__PURE__ */ (0, B.jsx)(ML, { name: "trash" }), /* @__PURE__ */ (0, B.jsx)("span", {
+ children: [/* @__PURE__ */ (0, B.jsx)(NL, { name: "trash" }), /* @__PURE__ */ (0, B.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -47217,7 +47202,7 @@ function I_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var L_e = (0, R.memo)(I_e), PL = [
+var L_e = (0, R.memo)(I_e), FL = [
[
"",
"全部",
@@ -47254,7 +47239,7 @@ var L_e = (0, R.memo)(I_e), PL = [
"hard-drive"
]
];
-function FL(e = "", t = "pending") {
+function IL(e = "", t = "pending") {
let n = new URLSearchParams();
e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");
let r = n.toString();
@@ -47265,41 +47250,41 @@ function R_e(e) {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: FL("", "pending")
+ href: IL("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: FL("", "dismissed")
+ href: IL("", "dismissed")
};
}
var z_e = (e) => e === "dismissed" ? "已排除" : "待判断";
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function IL({ name: e }) {
+function LL({ name: e }) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, B.jsx)("use", { href: `#i-${e}` })
});
}
-function LL({ scope: e, count: t }) {
+function RL({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [" ", /* @__PURE__ */ (0, B.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
function B_e({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = PM(), a = (0, R.useRef)(null), { kind: o, view: s } = e, c = pA(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? PL.map(([e]) => jL(t, e)).join(",") : ""}`), l = R_e(s), u = (e) => {
+ let i = NM(), a = (0, R.useRef)(null), { kind: o, view: s } = e, c = mA(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? FL.map(([e]) => ML(t, e)).join(",") : ""}`), l = R_e(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") || FL()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || IL()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, B.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, B.jsx)(EP, {
+ children: /* @__PURE__ */ (0, B.jsx)(DP, {
label: z_e(s),
figure: d,
pending: !t && !n,
@@ -47320,17 +47305,17 @@ function B_e({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- PL.map(([e, n, r]) => /* @__PURE__ */ (0, B.jsxs)("a", {
- href: FL(e, s),
+ FL.map(([e, n, r]) => /* @__PURE__ */ (0, B.jsxs)("a", {
+ href: IL(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, B.jsx)(IL, { name: r }),
+ /* @__PURE__ */ (0, B.jsx)(LL, { name: r }),
n,
- /* @__PURE__ */ (0, B.jsx)(LL, {
+ /* @__PURE__ */ (0, B.jsx)(RL, {
scope: e,
- count: t ? jL(t, e) : 0
+ count: t ? ML(t, e) : 0
})
]
}, e || "all")),
@@ -47344,9 +47329,9 @@ function B_e({ 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, B.jsx)(IL, { name: l.glyph }),
+ /* @__PURE__ */ (0, B.jsx)(LL, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, B.jsx)(LL, {
+ /* @__PURE__ */ (0, B.jsx)(RL, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -47359,7 +47344,7 @@ function B_e({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var V_e = SA("check"), H_e = (e, t) => e[1] === t.view && e[2] === t.kind;
+var V_e = CA("check"), H_e = (e, t) => e[1] === t.view && e[2] === t.kind;
function U_e(e) {
let t = {
kind: e.kind,
@@ -47404,7 +47389,7 @@ function W_e(e) {
}, [e]), t;
}
function G_e({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = jA(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, R.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, R.useCallback)(() => {
+ let a = MA(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, R.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, R.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
return /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -47412,7 +47397,7 @@ function G_e({ 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, B.jsx)(MA, {
+ if (!t) return /* @__PURE__ */ (0, B.jsx)(NA, {
message: Te(r),
onRetry: i
});
@@ -47458,10 +47443,10 @@ function K_e({ onMore: e }) {
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var RL = "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", q_e = {
- gray: `${RL} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${RL} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${RL} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var zL = "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", q_e = {
+ gray: `${zL} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${zL} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${zL} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
function J_e({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
@@ -47492,9 +47477,9 @@ function J_e({ value: e, max: t }) {
});
}
function Y_e(e) {
- let { job: t } = zM(e), n = t.data, r = t.isError ? n ? nj : U(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+ let { job: t } = RM(e), n = t.data, r = t.isError ? n ? rj : U(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
if (!r && !o && !a) return null;
- let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : ij(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? sae : Qie;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : aj(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? sae : Qie;
return /* @__PURE__ */ (0, B.jsxs)("aside", {
role: a ? "alert" : "status",
className: q_e[s],
@@ -47520,32 +47505,32 @@ function Y_e(e) {
}
//#endregion
//#region src/react/playlists/playlists.ts
-var X_e = "/api/playlists", zL = "/api/playlist", BL = ["playlists"], VL = (e) => W(X_e, e);
+var X_e = "/api/playlists", BL = "/api/playlist", VL = ["playlists"], HL = (e) => W(X_e, e);
async function Z_e(e) {
await p.fetchQuery({
- queryKey: BL,
- queryFn: () => VL(e),
+ queryKey: VL,
+ queryFn: () => HL(e),
staleTime: 0
});
}
-var HL = () => p.invalidateQueries({
- queryKey: BL,
+var UL = () => p.invalidateQueries({
+ queryKey: VL,
exact: !0
-}), Q_e = (e) => e.current_asset_id || e.preview_asset_id || null, UL = (e) => `/poster?id=${e}&c=4`, $_e = (e) => G(zL, {
+}), Q_e = (e) => e.current_asset_id || e.preview_asset_id || null, WL = (e) => `/poster?id=${e}&c=4`, $_e = (e) => G(BL, {
action: "create",
name: e,
asset_ids: []
-}), WL = (e, t) => G(zL, {
+}), GL = (e, t) => G(BL, {
action: "rename",
id: e,
name: t
-}), GL = (e) => G(zL, {
+}), KL = (e) => G(BL, {
action: "delete",
id: e
-}), eve = (e) => W(`${zL}?id=${e}`).catch(() => null);
+}), eve = (e) => W(`${BL}?id=${e}`).catch(() => null);
function tve(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return G(zL, {
+ return G(BL, {
action: "create",
name: e.name,
asset_ids: t,
@@ -47555,18 +47540,18 @@ function tve(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var nve = SA("ellipsis"), rve = SA("pencil"), ive = SA("trash"), ave = SA("playlist"), KL = CE(wk, Tk, "text-body-2-medium"), qL = "播放列表名称不能为空", JL = (e) => async () => {
+var nve = CA("ellipsis"), rve = CA("pencil"), ive = CA("trash"), ave = CA("playlist"), qL = CE(wk, Tk, "text-body-2-medium"), JL = "播放列表名称不能为空", YL = (e) => async () => {
try {
await e();
} finally {
- HL();
+ UL();
}
};
function ove({ toast: e }) {
let [t, n] = (0, R.useState)(""), [r, i] = (0, R.useState)(""), a = DS({
mutationFn: (e) => $_e(e),
onSuccess: (t) => {
- n(""), i(""), HL(), e("已新建播放列表", { undo: JL(() => GL(t.playlist.id)) });
+ n(""), i(""), UL(), e("已新建播放列表", { undo: YL(() => KL(t.playlist.id)) });
},
onError: (e) => i(U(e) || "新建失败")
});
@@ -47576,7 +47561,7 @@ function ove({ toast: e }) {
onSubmit: (e) => {
if (e.preventDefault(), !a.isPending) {
if (!t.trim()) {
- i(qL);
+ i(JL);
return;
}
a.mutate(t);
@@ -47615,9 +47600,9 @@ function sve({ target: e, close: t, toast: n }) {
return () => cancelAnimationFrame(t);
}, [e]);
let c = DS({
- mutationFn: ({ row: e, value: t }) => WL(e.id, t),
+ mutationFn: ({ row: e, value: t }) => GL(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), HL(), n("已重命名播放列表", { undo: JL(() => WL(r.id, r.name)) });
+ t(), UL(), n("已重命名播放列表", { undo: YL(() => GL(r.id, r.name)) });
},
onError: (e) => o(U(e))
});
@@ -47633,7 +47618,7 @@ function sve({ target: e, close: t, toast: n }) {
if (t.preventDefault(), !e || c.isPending) return;
let n = r.trim();
if (!n) {
- o(qL);
+ o(JL);
return;
}
c.mutate({
@@ -47701,12 +47686,12 @@ function cve({ name: e, onRename: t, onDelete: n }) {
placement: "bottom end",
offset: 4,
className: Ck,
- children: /* @__PURE__ */ (0, B.jsxs)(OM, {
+ children: /* @__PURE__ */ (0, B.jsxs)(DM, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
- className: KL,
+ className: qL,
onClick: () => o(t),
children: [/* @__PURE__ */ (0, B.jsx)(rve, {
"aria-hidden": !0,
@@ -47714,7 +47699,7 @@ function cve({ name: e, onRename: t, onDelete: n }) {
}), "编辑名称"]
}), /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
- className: KL,
+ className: qL,
onClick: () => o(n),
children: [/* @__PURE__ */ (0, B.jsx)(ive, {
"aria-hidden": !0,
@@ -47726,11 +47711,11 @@ function cve({ name: e, onRename: t, onDelete: n }) {
}
function lve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
let a = wS({
- queryKey: BL,
- queryFn: ({ signal: e }) => VL(e)
+ queryKey: VL,
+ queryFn: ({ signal: e }) => HL(e)
}), [o, s] = (0, R.useState)(null), c = (0, R.useRef)(i);
(0, R.useEffect)(() => {
- c.current !== i && (c.current = i, HL());
+ c.current !== i && (c.current = i, UL());
}, [i]);
let l = a.data;
if (!l) return /* @__PURE__ */ (0, B.jsx)("div", {
@@ -47749,7 +47734,7 @@ function lve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
danger: !0,
onConfirm: async () => {
let t = await eve(e.id);
- await GL(e.id), HL(), r("已删除播放列表", t ? { undo: JL(() => tve(t)) } : void 0);
+ await KL(e.id), UL(), r("已删除播放列表", t ? { undo: YL(() => tve(t)) } : void 0);
}
});
};
@@ -47771,13 +47756,13 @@ function lve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
className: "card-grid-cover gap-4.5",
children: u.map((r) => {
let i = Q_e(r);
- return /* @__PURE__ */ (0, B.jsx)(VA, {
+ return /* @__PURE__ */ (0, B.jsx)(HA, {
"data-playlist-card": String(r.id),
name: r.name,
caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: r.item_count,
- poster: r.preview_asset_id ? UL(r.preview_asset_id) : null,
- flipImages: async () => (r.preview_ids || []).map(UL),
+ poster: r.preview_asset_id ? WL(r.preview_asset_id) : null,
+ flipImages: async () => (r.preview_ids || []).map(WL),
canFlip: n,
faces: r.faces || [],
onOpenEntity: t,
@@ -47825,7 +47810,7 @@ function uve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, B.jsx)("img", {
- src: eue(e),
+ src: nue(e),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -47885,8 +47870,8 @@ function uve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
}
function dve(e) {
let t = wS({
- queryKey: hj,
- queryFn: ({ signal: e }) => gj(e)
+ queryKey: pj,
+ queryFn: ({ signal: e }) => mj(e)
}), n = t.data;
if (!n) return /* @__PURE__ */ (0, B.jsx)(ME, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
@@ -47894,7 +47879,7 @@ function dve(e) {
children: t.error ? U(t.error) : "未取得高清版目标,请刷新页面重试。"
}) });
let r = n.items || [];
- return r.length ? /* @__PURE__ */ (0, B.jsxs)(ME, { children: [/* @__PURE__ */ (0, B.jsx)(EP, {
+ return r.length ? /* @__PURE__ */ (0, B.jsxs)(ME, { children: [/* @__PURE__ */ (0, B.jsx)(DP, {
label: "待升级",
figure: `${n.total} 部作品`,
flush: !0
@@ -47914,7 +47899,7 @@ function dve(e) {
//#endregion
//#region src/react/review/bulk-toolbar.tsx
function fve(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 = due(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
+ 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 = pue(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
@@ -48025,14 +48010,14 @@ var pve = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, YL = "reviewgenretags";
+}, XL = "reviewgenretags";
function mve({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, B.jsx)("datalist", {
- id: YL,
+ id: XL,
children: e.map((e) => /* @__PURE__ */ (0, B.jsx)("option", { value: e }, e))
}) : null;
}
-function XL({ candidate: e, selectable: t = !1 }) {
+function ZL({ 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, B.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
@@ -48088,7 +48073,7 @@ function hve({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, B.jsx)(XL, { candidate: a[0] })
+ children: /* @__PURE__ */ (0, B.jsx)(ZL, { candidate: a[0] })
}) : /* @__PURE__ */ (0, B.jsx)(zO, {
"aria-label": `${t || "候选"}的来源`,
value: n,
@@ -48098,7 +48083,7 @@ function hve({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
children: a.map((e) => /* @__PURE__ */ (0, B.jsx)(BO, {
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, B.jsx)(XL, {
+ children: /* @__PURE__ */ (0, B.jsx)(ZL, {
candidate: e,
selectable: !0
})
@@ -48107,13 +48092,13 @@ function hve({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
}
function gve({ genre: e, tags: t, locked: n, toast: r }) {
let [i, a] = (0, R.useState)(""), [o, s] = (0, R.useState)(""), c = DS({
- mutationFn: (t) => yue(e, t),
+ mutationFn: (t) => xue(e, t),
onSuccess: async (t, n) => {
if (!t.ok) {
s(t.error || "服务端拒绝了这次收录");
return;
}
- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await xue();
+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Sue();
},
onError: (e) => s(U(e))
}), l = () => {
@@ -48141,7 +48126,7 @@ function gve({ genre: e, tags: t, locked: n, toast: r }) {
className: "min-w-40 flex-1",
children: /* @__PURE__ */ (0, B.jsx)(xk, {
size: "small",
- list: t.length ? YL : void 0,
+ list: t.length ? XL : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -48174,7 +48159,7 @@ function gve({ genre: e, tags: t, locked: n, toast: r }) {
});
}
function _ve({ row: e, tags: t, locked: n, toast: r }) {
- let i = gue(e);
+ let i = vue(e);
return i.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -48192,8 +48177,8 @@ function _ve({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var ZL = (e = "") => /^https?:\/\//i.test(e) ? e : "", vve = (e = "") => ZL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function QL({ url: e }) {
+var QL = (e = "") => /^https?:\/\//i.test(e) ? e : "", vve = (e = "") => QL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function $L({ url: e }) {
let t = vve(e || ""), [n, r] = (0, R.useState)(!1);
return /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
@@ -48209,7 +48194,7 @@ function QL({ url: e }) {
})
});
}
-function $L({ asset: e, openItem: t }) {
+function eR({ asset: e, openItem: t }) {
let n = e.name || "";
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
@@ -48225,7 +48210,7 @@ function $L({ asset: e, openItem: t }) {
}) : /* @__PURE__ */ (0, B.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "无封面"
- }), /* @__PURE__ */ (0, B.jsx)(J_, { children: `打开原视频 ${n}` })]
+ }), /* @__PURE__ */ (0, B.jsx)(q_, { children: `打开原视频 ${n}` })]
}), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-1",
children: [/* @__PURE__ */ (0, B.jsx)("b", {
@@ -48249,7 +48234,7 @@ function yve({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
type: "button",
"aria-label": `打开创作者页:${t}`,
onClick: () => i(e, t),
- className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${aL}`,
+ 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 ${oL}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -48266,7 +48251,7 @@ function yve({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
});
}
function bve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = ZL(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+ let o = QL(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, B.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -48291,7 +48276,7 @@ function bve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, B.jsx)(QL, { url: e.preview_url }),
+ /* @__PURE__ */ (0, B.jsx)($L, { url: e.preview_url }),
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -48390,7 +48375,7 @@ function xve({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, B.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, B.jsx)(GM, {
+ children: /* @__PURE__ */ (0, B.jsx)(WM, {
size: "sm",
state: {
isSelected: n,
@@ -48401,7 +48386,7 @@ function xve({ assets: e, picked: t, onPicked: n, locked: r }) {
}
})
}),
- /* @__PURE__ */ (0, B.jsx)(J_, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
+ /* @__PURE__ */ (0, B.jsx)(q_, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
]
}, e.id);
})
@@ -48414,11 +48399,11 @@ var Sve = kE({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), eR = "flex min-h-6 min-w-0 items-center", Cve = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+}), tR = "flex min-h-6 min-w-0 items-center", Cve = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
function wve(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, R.useRef)(!1), m = PM(), h = PM(), g = t === "metadata_fields", _ = sue[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = pue(t, n), x = Dj(t, n), S = Ej(t, n), C = mue(n), w = hue(n), T = Tj(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", A = E.length > 1 ? /* @__PURE__ */ (0, B.jsx)("div", {
+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, R.useRef)(!1), m = NM(), h = NM(), g = t === "metadata_fields", _ = lue[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = hue(t, n), x = Tj(t, n), S = wj(t, n), C = gue(n), w = _ue(n), T = Cj(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", A = E.length > 1 ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex flex-col gap-3",
- children: E.map((e) => /* @__PURE__ */ (0, B.jsx)($L, {
+ children: E.map((e) => /* @__PURE__ */ (0, B.jsx)(eR, {
asset: e,
openItem: f.openItem
}, e.id))
@@ -48433,7 +48418,7 @@ function wve(e) {
image_version: n.image_version,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, B.jsx)($L, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, B.jsx)(eR, {
openItem: f.openItem,
asset: {
id: n.asset_id,
@@ -48469,8 +48454,8 @@ function wve(e) {
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, B.jsx)(QL, { url: n.preview_url }), M = y ? A : x ? /* @__PURE__ */ (0, B.jsxs)("h4", {
- className: `${eR} flex-wrap gap-2`,
+ }) : /* @__PURE__ */ (0, B.jsx)($L, { url: n.preview_url }), M = y ? A : x ? /* @__PURE__ */ (0, B.jsxs)("h4", {
+ className: `${tR} flex-wrap gap-2`,
children: [/* @__PURE__ */ (0, B.jsx)(EE, {
variant: "caption",
color: "blue",
@@ -48481,7 +48466,7 @@ function wve(e) {
children: S
})]
}) : /* @__PURE__ */ (0, B.jsx)("h4", {
- className: eR,
+ className: tR,
children: /* @__PURE__ */ (0, B.jsx)("span", {
title: b,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -48497,14 +48482,14 @@ function wve(e) {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
s ? null : /* @__PURE__ */ (0, B.jsx)("span", {
- className: `${eR} shrink-0`,
+ className: `${tR} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, B.jsx)(KM, {
+ children: /* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: a,
"aria-label": `选择 ${b}`,
onChange: (e) => o(p.current, e)
@@ -48625,7 +48610,7 @@ function Eve({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, B.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: _j(e, t).map((t, r) => /* @__PURE__ */ (0, B.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, B.jsx)("span", {
+ children: hj(e, t).map((t, r) => /* @__PURE__ */ (0, B.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, B.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -48654,32 +48639,32 @@ function Dve(e) {
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, R.useState)(Cj(e.category) ? e.category : oue), [p, m] = (0, R.useState)("candidates"), [h, g] = (0, R.useState)(""), [_, v] = (0, R.useState)(1), [y, b] = (0, R.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, R.useState)(/* @__PURE__ */ new Map()), [C, w] = (0, R.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, R.useState)(""), D = (0, R.useRef)(null), [O, k] = (0, R.useState)(0), [A, j] = (0, R.useState)(""), M = (0, R.useRef)(!0);
+ let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, R.useState)(xj(e.category) ? e.category : cue), [p, m] = (0, R.useState)("candidates"), [h, g] = (0, R.useState)(""), [_, v] = (0, R.useState)(1), [y, b] = (0, R.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, R.useState)(/* @__PURE__ */ new Map()), [C, w] = (0, R.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, R.useState)(""), D = (0, R.useRef)(null), [O, k] = (0, R.useState)(0), [A, j] = (0, R.useState)(""), M = (0, R.useRef)(!0);
(0, R.useEffect)(() => () => {
M.current = !1;
}, []);
let N = wS({
- queryKey: xj,
- queryFn: ({ signal: e }) => kj(e)
+ queryKey: yj,
+ queryFn: ({ signal: e }) => Dj(e)
}).data || {
sections: {},
counts: {}
- }, ee = N.sections[d] || [], te = d === "metadata_fields", P = c, F = cue(ee, te), ne = F.some(([e]) => e === p) ? p : "candidates", re = wj(ee, ne), ie = re.some((e) => e.key === h) ? h : "", ae = uue(lue(ee, ne, ie), _), oe = ae.rows.map((e) => e.item_key), se = new Set(oe), ce = re.map((e) => ({
+ }, ee = N.sections[d] || [], te = d === "metadata_fields", P = c, F = uue(ee, te), ne = F.some(([e]) => e === p) ? p : "candidates", re = Sj(ee, ne), ie = re.some((e) => e.key === h) ? h : "", ae = fue(due(ee, ne, ie), _), oe = ae.rows.map((e) => e.item_key), se = new Set(oe), ce = re.map((e) => ({
...e,
rows: e.rows.filter((e) => se.has(e.item_key))
- })).filter((e) => e.rows.length), le = (e) => x.get(e.item_key) || _ue(e), ue = ee.filter((e) => y.has(e.item_key)), de = (e) => {
+ })).filter((e) => e.rows.length), le = (e) => x.get(e.item_key) || yue(e), ue = ee.filter((e) => y.has(e.item_key)), de = (e) => {
let t = new Set(e);
b((e) => new Set([...e].filter((e) => !t.has(e)))), S((e) => new Map([...e].filter(([e]) => !t.has(e)))), w((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, fe = (e, t) => w((n) => new Map(n).set(e, t)), I = (e) => {
f(e), m("candidates"), g(""), v(1), b(/* @__PURE__ */ new Set()), S(/* @__PURE__ */ new Map()), w(/* @__PURE__ */ new Map()), E(""), D.current = null, r({ category: e === "metadata_fields" ? "" : e });
}, pe = DS({
- mutationFn: ({ row: e, status: t }) => Aj(Oj(d, e, t, le(e))),
+ mutationFn: ({ row: e, status: t }) => Oj(Ej(d, e, t, le(e))),
onSuccess: (e, { row: t, status: n }) => {
if (!e.ok) {
fe(t.item_key, e.error || "服务端拒绝了这次判定");
return;
}
- jj(d, [t.item_key]), de([t.item_key]), s(vue(n));
+ Aj(d, [t.item_key]), de([t.item_key]), s(bue(n));
},
onError: (e, { row: t }) => fe(t.item_key, U(e))
}), me = DS({
@@ -48689,7 +48674,7 @@ function Dve(e) {
if (!M.current) break;
E(`正在处理 ${i} / ${t.length}`);
try {
- let t = await Aj(Oj(d, a, e, le(a)));
+ let t = await Oj(Ej(d, a, e, le(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -48703,7 +48688,7 @@ function Dve(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- jj(d, t), de(t), n.forEach(([e, t]) => fe(e, t)), E(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ Aj(d, t), de(t), n.forEach(([e, t]) => fe(e, t)), E(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
E(U(e));
@@ -48733,7 +48718,7 @@ function Dve(e) {
k(e), j("");
let t = await o(e);
M.current && (k(0), j(t));
- }, ve = Sue(N.mirror, l), ye = N.genre_tags || [], be = {
+ }, ve = Cue(N.mirror, l), ye = N.genre_tags || [], be = {
openItem: i,
openEntity: a,
onReveal: _e,
@@ -48763,7 +48748,7 @@ function Dve(e) {
selectedKey: d,
onSelectionChange: (e) => {
let t = String(e);
- Cj(t) && I(t);
+ xj(t) && I(t);
},
className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
@@ -48776,12 +48761,12 @@ function Dve(e) {
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
- children: aue.map((e) => {
+ children: sue.map((e) => {
let t = Number(N.counts[e] || 0);
return /* @__PURE__ */ (0, B.jsxs)(gk, {
id: e,
className: Tve,
- children: [Sj[e], t ? /* @__PURE__ */ (0, B.jsx)("span", {
+ children: [bj[e], t ? /* @__PURE__ */ (0, B.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
}) : null]
@@ -48808,7 +48793,7 @@ function Dve(e) {
onSelected: b,
selectedRows: ue,
metadata: te,
- approvable: ue.every((e) => Tj(d, e)),
+ approvable: ue.every((e) => Cj(d, e)),
busy: me.isPending,
feedback: T,
onUnifySource: ge,
@@ -48841,7 +48826,7 @@ function Dve(e) {
selected: y.has(e.item_key),
onSelect: (t, n) => b((r) => {
let i = new Set(r);
- return D.current = fue(i, oe, D.current, e.item_key, t, n), i;
+ return D.current = mue(i, oe, D.current, e.item_key, t, n), i;
}),
locked: P,
busy: pe.isPending && pe.variables?.row.item_key === e.item_key,
@@ -48874,13 +48859,9 @@ function Dve(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var Ove = "/api/scraping", kve = "/api/scraping/settings", Ave = "/api/scraping/check", tR = "/api/scraping/cover", jve = "/api/scraping/amane-bridge", Mve = "/api/scraping/amane-bridge/check", Nve = "/api/scraping/amane-bridge/rebuild", nR = ["scraping"], rR = ["scraping", "cover"], iR = ["scraping", "amane-bridge"], aR = (e) => W(Ove, e), oR = (e) => W(tR, e), sR = (e) => W(jve, e);
+var Ove = "/api/scraping", kve = "/api/scraping/settings", Ave = "/api/scraping/check", nR = "/api/scraping/cover", jve = "/api/scraping/amane-bridge", Mve = "/api/scraping/amane-bridge/check", Nve = "/api/scraping/amane-bridge/rebuild", rR = ["scraping"], iR = ["scraping", "cover"], aR = ["scraping", "amane-bridge"], oR = (e) => W(Ove, e), sR = (e) => W(nR, e), cR = (e) => W(jve, e);
async function Pve(e) {
await Promise.all([
- p.fetchQuery({
- queryKey: nR,
- queryFn: () => aR(e)
- }),
p.fetchQuery({
queryKey: rR,
queryFn: () => oR(e)
@@ -48888,6 +48869,10 @@ async function Pve(e) {
p.fetchQuery({
queryKey: iR,
queryFn: () => sR(e)
+ }),
+ p.fetchQuery({
+ queryKey: aR,
+ queryFn: () => cR(e)
})
]);
}
@@ -48896,8 +48881,8 @@ function Fve(e, t) {
}
//#endregion
//#region src/react/scraping/scraping-page.tsx
-var Ive = [["peach", "Peach 代理"], ["direct", "直接连接"]], cR = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function lR({ source: e }) {
+var Ive = [["peach", "Peach 代理"], ["direct", "直接连接"]], lR = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function uR({ source: e }) {
let t = [
"javten",
"fc2ppvdb",
@@ -48916,10 +48901,10 @@ function lR({ source: e }) {
});
}
function Lve() {
- return /* @__PURE__ */ (0, B.jsx)(lR, { source: "github" });
+ return /* @__PURE__ */ (0, B.jsx)(uR, { source: "github" });
}
function Rve({ source: e, toast: t }) {
- let [n, r] = (0, R.useState)(e.network), [i, a] = (0, R.useState)(""), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(cR[0][0]), [u, d] = (0, R.useState)(""), [f, m] = (0, R.useState)(""), h = (0, R.useRef)(null);
+ let [n, r] = (0, R.useState)(e.network), [i, a] = (0, R.useState)(""), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(lR[0][0]), [u, d] = (0, R.useState)(""), [f, m] = (0, R.useState)(""), h = (0, R.useRef)(null);
function g() {
a(""), s(""), d(""), m(""), h.current && (h.current.value = "");
}
@@ -48932,7 +48917,7 @@ function Rve({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- p.setQueryData(nR, (t) => t && {
+ p.setQueryData(rR, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), g(), t(n ? "Cookie 已撤销" : "来源设置已保存");
@@ -48967,7 +48952,7 @@ function Rve({ source: e, toast: t }) {
onSubmit: b,
aside: /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, B.jsx)(lR, { source: e.source }), /* @__PURE__ */ (0, B.jsx)(Vk, {
+ children: [/* @__PURE__ */ (0, B.jsx)(uR, { source: e.source }), /* @__PURE__ */ (0, B.jsx)(Vk, {
href: e.login,
children: e.login
})]
@@ -49011,16 +48996,16 @@ function Rve({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, B.jsx)(gA, {
+ /* @__PURE__ */ (0, B.jsx)(_A, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), g();
},
- className: _A,
- children: cR.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(BO, {
+ className: vA,
+ children: lR.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(BO, {
value: e,
- className: vA,
+ className: yA,
children: t
}, e))
}),
@@ -49089,10 +49074,10 @@ function Rve({ source: e, toast: t }) {
});
}
function zve({ toast: e }) {
- let [t, n] = (0, R.useState)(""), { running: r, outcome: i, start: a } = HM({
- queryKey: rR,
- queryFn: ({ signal: e }) => oR(e),
- start: () => G(tR, { code: t }),
+ let [t, n] = (0, R.useState)(""), { running: r, outcome: i, start: a } = VM({
+ queryKey: iR,
+ queryFn: ({ signal: e }) => sR(e),
+ start: () => G(nR, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
@@ -49135,9 +49120,9 @@ function zve({ toast: e }) {
});
}
function Bve({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = HM({
- queryKey: iR,
- queryFn: ({ signal: e }) => sR(e),
+ let { query: t, running: n, outcome: r, start: i } = VM({
+ queryKey: aR,
+ queryFn: ({ signal: e }) => cR(e),
start: () => G(Nve, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
@@ -49224,8 +49209,8 @@ function Bve({ toast: e }) {
}
function Vve({ toast: e }) {
let t = wS({
- queryKey: nR,
- queryFn: ({ signal: e }) => aR(e)
+ queryKey: rR,
+ queryFn: ({ signal: e }) => oR(e)
}), n = t.data;
return n ? /* @__PURE__ */ (0, B.jsxs)(ME, { children: [
/* @__PURE__ */ (0, B.jsx)("p", {
@@ -49246,13 +49231,13 @@ function Vve({ toast: e }) {
}
//#endregion
//#region src/react/search/search.ts
-var uR = /* @__PURE__ */ new Set([
+var dR = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), dR = /* @__PURE__ */ new Set(["asset"]), fR = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+]), fR = /* @__PURE__ */ new Set(["asset"]), pR = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
function Hve({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
let s = 0, c = [], l = (e) => {
let t = {
@@ -49260,7 +49245,7 @@ function Hve({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
index: s++
};
return c.push(t), t;
- }, u = t.filter((t) => !e || fR(t).includes(fR(e)));
+ }, u = t.filter((t) => !e || pR(t).includes(pR(e)));
if (!e) {
let e = u.length ? {
label: "搜索记录",
@@ -49298,7 +49283,7 @@ function Hve({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
kind: e.kind,
item: t
}))
- }), h = p.filter((e) => !dR.has(e.kind)).map(m), g = p.filter((e) => dR.has(e.kind)).map(m);
+ }), h = p.filter((e) => !fR.has(e.kind)).map(m), g = p.filter((e) => fR.has(e.kind)).map(m);
return {
tabs: d && a.length > 1 ? [...a] : null,
recent: f,
@@ -49313,7 +49298,7 @@ function Uve(e, t, n = Math.random) {
let t = Math.floor(n() * (e + 1));
[r[e], r[t]] = [r[t], r[e]];
}
- return r.filter((e) => !t.some((t) => fR(t) === fR(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => pR(t) === pR(e))).slice(0, 5);
}
//#endregion
//#region src/react/search/search-page.tsx
@@ -49332,7 +49317,7 @@ var Wve = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), pR = (e) => Hve({
+}), mR = (e) => Hve({
query: e.query,
history: e.history,
picks: e.picks,
@@ -49340,7 +49325,7 @@ var Wve = () => ({
groups: e.groups,
tabs: e.tabs,
kind: e.kind
-}), Gve = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length), mR = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
+}), Gve = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length), hR = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, B.jsx)("use", { href: `#i-${e}` })
@@ -49364,7 +49349,7 @@ function Kve(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 = pR(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, B.jsx)(Yve, {
+ let c = mR(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, B.jsx)(Yve, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -49419,7 +49404,7 @@ function qve(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) => fR(e) !== fR(t))]), G("/api/search-history", { query: t }).catch(() => null));
+ !t || !e().historyLimit || (s([t, ...o().filter((e) => pR(e) !== pR(t))]), G("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -49454,7 +49439,7 @@ function qve(e, t, n, r) {
}, m = () => {
t.query = i().value.trim(), t.picks = t.query ? [] : Uve(t.pool, o()), t.active = -1;
let a = n();
- a && (Gve(pR(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (Gve(mR(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, h = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -49466,7 +49451,7 @@ function qve(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() ? pR(t).options : [], v = (e) => {
+ }, _ = () => f() ? mR(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) => {
@@ -49479,7 +49464,7 @@ function qve(e, t, n, r) {
i().blur(), e().actions.openItem(t.item.id);
return;
}
- if (t.type === "suggest" && uR.has(t.kind)) {
+ if (t.type === "suggest" && dR.has(t.kind)) {
b(t.kind, t.value);
return;
}
@@ -49531,7 +49516,7 @@ function qve(e, t, n, r) {
await G("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => fR(t) !== fR(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => pR(t) !== pR(e))), t.active = -1, r();
},
pickKind: g
};
@@ -49548,7 +49533,7 @@ function Jve({ tabs: e, kind: t, onPick: n, wire: r }) {
"aria-selected": t === e,
onMouseDown: (e) => e.preventDefault(),
onClick: () => n(e),
- children: [r, i ? /* @__PURE__ */ (0, B.jsx)(EL, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, B.jsx)(DL, { value: i }) : null]
}, e || "all");
return /* @__PURE__ */ (0, B.jsxs)("div", {
ref: i,
@@ -49558,7 +49543,7 @@ function Jve({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var hR = (e) => e.preventDefault();
+var gR = (e) => e.preventDefault();
function Yve({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
let o = {
"data-search-value": e.value,
@@ -49571,28 +49556,28 @@ function Yve({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, B.jsx)(mR, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, B.jsx)(hR, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, B.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-remove-history": e.value,
"aria-label": `删除历史 ${e.value}`,
- onMouseDown: hR,
+ onMouseDown: gR,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, B.jsx)(mR, { name: "x" })
+ children: /* @__PURE__ */ (0, B.jsx)(hR, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = uR.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = dR.has(c) ? c : void 0;
if (c === "asset") {
let e = [s.who, s.code ? s.title : ""].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-search-option": "work",
"data-open-item": s.id,
...o,
- children: [/* @__PURE__ */ (0, B.jsx)(gR, {
+ children: [/* @__PURE__ */ (0, B.jsx)(_R, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, B.jsxs)("span", {
@@ -49618,7 +49603,7 @@ function Yve({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- /* @__PURE__ */ (0, B.jsx)(_R, {
+ /* @__PURE__ */ (0, B.jsx)(vR, {
item: s,
kind: c
}),
@@ -49638,11 +49623,11 @@ function Yve({ 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: hR,
+ onMouseDown: gR,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, B.jsx)(gR, {
+ children: /* @__PURE__ */ (0, B.jsx)(_R, {
card: e,
helpers: n
})
@@ -49656,7 +49641,7 @@ function Yve({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, B.jsx)(_R, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, B.jsx)(vR, {
item: s,
kind: c
}) : null,
@@ -49669,13 +49654,13 @@ function Yve({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function gR({ card: e, helpers: t }) {
+function _R({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, B.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function _R({ item: e, kind: t }) {
+function vR({ item: e, kind: t }) {
let n = {
id: e.entity_id,
has_image: e.has_image,
@@ -49690,11 +49675,11 @@ function _R({ item: e, kind: t }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var vR = "/api/configuration", Xve = "/api/pick-folder", yR = ["configuration"], bR = (e) => W(vR, e);
-async function xR(e) {
+var yR = "/api/configuration", Xve = "/api/pick-folder", bR = ["configuration"], xR = (e) => W(yR, e);
+async function SR(e) {
await p.fetchQuery({
- queryKey: yR,
- queryFn: () => bR(e)
+ queryKey: bR,
+ queryFn: () => xR(e)
});
}
//#endregion
@@ -49766,7 +49751,7 @@ function tye({ startup: e, receipt: t }) {
/* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
/* @__PURE__ */ (0, B.jsx)(jk, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, B.jsx)(iL, {
+ children: /* @__PURE__ */ (0, B.jsx)(aL, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
@@ -49776,7 +49761,7 @@ function tye({ startup: e, receipt: t }) {
/* @__PURE__ */ (0, B.jsx)(jk, {
label: "静默启动",
description: "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。",
- children: /* @__PURE__ */ (0, B.jsx)(iL, {
+ children: /* @__PURE__ */ (0, B.jsx)(aL, {
"aria-label": "静默启动",
isSelected: i,
isDisabled: !e.available || !n,
@@ -49786,7 +49771,7 @@ function tye({ startup: e, receipt: t }) {
/* @__PURE__ */ (0, B.jsx)(jk, {
label: "在桌面创建快捷方式",
description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",
- children: /* @__PURE__ */ (0, B.jsx)(iL, {
+ children: /* @__PURE__ */ (0, B.jsx)(aL, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -49809,7 +49794,7 @@ function tye({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var SR = /* @__PURE__ */ new Set([
+var CR = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
@@ -49820,12 +49805,12 @@ var SR = /* @__PURE__ */ new Set([
65,
67,
90
-], CR = 120;
+], wR = 120;
function rye({ initial: e, initialJob: t }) {
let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, R.useState)(""), c = FE(), l = (0, R.useRef)(!1), u = (0, R.useRef)(!0), d = SR.has(i.state);
+ }), [o, s] = (0, R.useState)(""), c = FE(), l = (0, R.useRef)(!1), u = (0, R.useRef)(!0), d = CR.has(i.state);
(0, R.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -49842,7 +49827,7 @@ function rye({ initial: e, initialJob: t }) {
(0, R.useEffect)(() => {
i.state !== "ready" || l.current || (l.current = !0, p());
}, [i.state]), (0, R.useEffect)(() => {
- let e = new AbortController(), t = SR.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = CR.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
let t = await W("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
@@ -49855,9 +49840,9 @@ function rye({ initial: e, initialJob: t }) {
let n = await W("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= CR && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= wR && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < CR && (n = setTimeout(c, t));
+ !e.signal.aborted && o < wR && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -50009,7 +49994,7 @@ function sye({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
/* @__PURE__ */ (0, B.jsx)(jk, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, B.jsx)(iL, {
+ children: /* @__PURE__ */ (0, B.jsx)(aL, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
@@ -50018,7 +50003,7 @@ function sye({ initial: e, receipt: t }) {
}),
/* @__PURE__ */ (0, B.jsx)(jk, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, B.jsx)(iL, {
+ children: /* @__PURE__ */ (0, B.jsx)(aL, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
@@ -50086,7 +50071,7 @@ function lye({ uninstall: e, receipt: t }) {
title: "卸载 Peach",
children: [/* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
e.available ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, B.jsx)(KM, {
+ /* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: n,
isDisabled: !e.full_available || !!i,
onChange: r,
@@ -50094,7 +50079,7 @@ function lye({ uninstall: e, receipt: t }) {
}),
/* @__PURE__ */ (0, B.jsx)(Wk, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, B.jsx)(LM, {
+ children: c.map((e) => /* @__PURE__ */ (0, B.jsx)(IM, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
@@ -50195,7 +50180,7 @@ function pye() {
}
//#endregion
//#region src/react/settings/download-settings.tsx
-var mye = "/api/configuration/downloads", wR = "/api/configuration/downloads/check", hye = "/api/configuration/downloads/folder", gye = "/api/configuration/downloads/pikpak/login", _ye = "/api/configuration/downloads/pikpak/logout", TR = "/api/configuration/downloads/pikpak/browser-login", ER = 2e3;
+var mye = "/api/configuration/downloads", TR = "/api/configuration/downloads/check", hye = "/api/configuration/downloads/folder", gye = "/api/configuration/downloads/pikpak/login", _ye = "/api/configuration/downloads/pikpak/logout", ER = "/api/configuration/downloads/pikpak/browser-login", DR = 2e3;
function vye({ initial: e, receipt: t }) {
let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(""), o = n.pikpak.logged_in || !!i.trim();
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(yye, {
@@ -50212,7 +50197,7 @@ function vye({ initial: e, receipt: t }) {
})] });
}
function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
- let [i, a] = (0, R.useState)(e.config), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(String(e.config.wait_hours)), [u, d] = (0, R.useState)(null), [f, p] = (0, R.useState)(""), [m, h] = (0, R.useState)(DR), [g, _] = (0, R.useState)(""), [v, y] = (0, R.useState)(!1), b = FE(), x = (e) => i.targets[e] ?? "", S = (e, t) => a({
+ let [i, a] = (0, R.useState)(e.config), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(String(e.config.wait_hours)), [u, d] = (0, R.useState)(null), [f, p] = (0, R.useState)(""), [m, h] = (0, R.useState)(OR), [g, _] = (0, R.useState)(""), [v, y] = (0, R.useState)(!1), b = FE(), x = (e) => i.targets[e] ?? "", S = (e, t) => a({
...i,
targets: {
...i.targets,
@@ -50241,7 +50226,7 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
target: !e.config.targets[115],
root: !e.config.pikpak_root
};
- b.run("auto", (e) => W(wR, e), (e) => w(e, t), (e) => _(U(e)));
+ b.run("auto", (e) => W(TR, e), (e) => w(e, t), (e) => _(U(e)));
}, []), /* @__PURE__ */ (0, B.jsxs)(Pk, {
title: "云下载",
onSubmit: (e) => {
@@ -50261,7 +50246,7 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
address: !i.config.clouddrive_address,
target: u,
root: !i.config.pikpak_root
- }, i.config.targets[115] ?? "") : (d(null), p(""), h(DR), y(!1), _("")), n("已保存配置");
+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(OR), y(!1), _("")), n("已保存配置");
}, (e) => _(U(e)));
},
children: [
@@ -50387,7 +50372,7 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- b.run("check", (e) => G(wR, t, "POST", e), (t) => w(t, e), (e) => _(U(e)));
+ b.run("check", (e) => G(TR, t, "POST", e), (t) => w(t, e), (e) => _(U(e)));
},
disabled: !e.available,
...X(b.busy === "check"),
@@ -50402,7 +50387,7 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
]
});
}
-var DR = {
+var OR = {
target: null,
root: "",
saved: !1
@@ -50454,24 +50439,24 @@ function xye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
if (!v) return;
let e = new AbortController(), r, i = async () => {
try {
- let r = await W(TR, e.signal);
+ let r = await W(ER, 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(U(t));
}
- r = setTimeout(i, ER);
+ r = setTimeout(i, DR);
};
- return r = setTimeout(i, ER), () => {
+ return r = setTimeout(i, DR), () => {
e.abort(), clearTimeout(r);
};
}, [v]);
let y = () => {
- m(""), h.run("browser", (e) => G(TR, {}, "POST", e), (e) => {
+ m(""), h.run("browser", (e) => G(ER, {}, "POST", e), (e) => {
t(e), f("");
}, (e) => f(U(e)));
}, b = () => {
- h.run("cancel", (e) => G(`${TR}/cancel`, {}, "POST", e), (e) => {
+ h.run("cancel", (e) => G(`${ER}/cancel`, {}, "POST", e), (e) => {
t(e), f(""), m(e.pikpak_browser.message);
}, (e) => f(U(e)));
}, x = (e) => {
@@ -50511,7 +50496,7 @@ function xye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: o
}),
- /* @__PURE__ */ (0, B.jsx)(KM, {
+ /* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: s,
isDisabled: !e.available,
onChange: c,
@@ -50612,11 +50597,11 @@ function Sye({ className: e }) {
children: /* @__PURE__ */ (0, B.jsx)("use", { href: "#i-folder-search" })
});
}
-var OR = [
+var kR = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], kR = (e) => Oe[e] || "database", Cye = (e) => e === "115" || e === "pikpak";
+], AR = (e) => Oe[e] || "database", Cye = (e) => e === "115" || e === "pikpak";
function wye({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
let [a, o] = (0, R.useState)(e), [s, c] = (0, R.useState)([]), [l, u] = (0, R.useState)(null), [d, f] = (0, R.useState)(null), p = (0, R.useRef)(!1), m = (0, R.useRef)([]);
(0, R.useLayoutEffect)(() => {
@@ -50678,13 +50663,13 @@ function Tye({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
isInvalid: !!r,
hint: r || void 0
}),
- /* @__PURE__ */ (0, B.jsx)(IM, {
+ /* @__PURE__ */ (0, B.jsx)(FM, {
icon: Sye,
"aria-label": "选择文件夹",
onClick: o,
...X(a)
}),
- s ? /* @__PURE__ */ (0, B.jsx)(IM, {
+ s ? /* @__PURE__ */ (0, B.jsx)(FM, {
icon: yT,
"aria-label": "移除这个文件夹",
onClick: s
@@ -50696,7 +50681,7 @@ function Tye({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
})]
});
}
-function Eye({ index: e, value: t, onChange: n, options: r = OR }) {
+function Eye({ index: e, value: t, onChange: n, options: r = kR }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-1.5",
children: [/* @__PURE__ */ (0, B.jsx)(Bk, { children: "媒体来源" }), /* @__PURE__ */ (0, B.jsx)(Dk, {
@@ -50708,7 +50693,7 @@ function Eye({ index: e, value: t, onChange: n, options: r = OR }) {
children: r.map(([e, t]) => /* @__PURE__ */ (0, B.jsxs)(Ok, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, B.jsx)(Gk, { mark: kR(e) }), t]
+ children: [/* @__PURE__ */ (0, B.jsx)(Gk, { mark: AR(e) }), t]
}, e))
})]
});
@@ -50723,11 +50708,11 @@ function Dye({ value: e, onChange: t, label: n = "Windows 中的对应路径", p
}
//#endregion
//#region src/react/settings/indexer-settings.tsx
-var AR = "/api/configuration/indexers";
+var jR = "/api/configuration/indexers";
function Oye({ receipt: e }) {
let t = wS({
queryKey: ["indexers"],
- queryFn: ({ signal: e }) => W(AR, e)
+ queryFn: ({ signal: e }) => W(jR, e)
});
return t.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: U(t.error) }) : t.data ? /* @__PURE__ */ (0, B.jsx)(kye, {
initial: t.data,
@@ -50742,7 +50727,7 @@ function kye({ initial: e, receipt: t }) {
return /* @__PURE__ */ (0, B.jsxs)(Pk, {
title: "资源索引器",
onSubmit: (e) => {
- e.preventDefault(), i.run("save", (e) => G(AR, { indexers: n }, "POST", e), (e) => {
+ e.preventDefault(), i.run("save", (e) => G(jR, { indexers: n }, "POST", e), (e) => {
r(e.indexers), t("已保存索引器");
});
},
@@ -50776,13 +50761,13 @@ function kye({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { api_key: t })
}),
- /* @__PURE__ */ (0, B.jsx)(KM, {
+ /* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: e.enabled,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { enabled: t }),
children: "启用 · 用户自配索引器"
}),
- e.api_key_set ? /* @__PURE__ */ (0, B.jsx)(KM, {
+ e.api_key_set ? /* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: !!e.clear_api_key,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { clear_api_key: t }),
@@ -50820,7 +50805,7 @@ function kye({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var jR = [
+var MR = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -50868,7 +50853,7 @@ function Aye(e) {
let t = e === "local" ? "" : Oe[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var MR = "auto";
+var NR = "auto";
function jye({ value: e, label: t, kind: n = "local", onChange: r }) {
let i = (0, R.useRef)(null), [a, o] = (0, R.useState)(!1), [s, c] = (0, R.useState)(e), [l, u] = Aye(n);
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(J, {
@@ -50884,7 +50869,7 @@ function jye({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, B.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, B.jsx)(Gk, { mark: e || l }), ((e) => e && jR.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, B.jsx)(Gk, { mark: e || l }), ((e) => e && MR.find(([t]) => t === e)?.[1] || u)(e)]
})
}), /* @__PURE__ */ (0, B.jsx)(xO, {
triggerRef: i,
@@ -50904,15 +50889,15 @@ function jye({ value: e, label: t, kind: n = "local", onChange: r }) {
}),
/* @__PURE__ */ (0, B.jsx)(zO, {
"aria-label": "候选图标",
- value: s || MR,
- onChange: (e) => c(e === MR ? "" : e),
+ value: s || NR,
+ onChange: (e) => c(e === NR ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: jR.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(BO, {
- value: e || MR,
+ children: MR.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(BO, {
+ value: e || NR,
"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, B.jsx)(Gk, { mark: e || l })
- }, e || MR))
+ }, e || NR))
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -50936,7 +50921,7 @@ function jye({ value: e, label: t, kind: n = "local", onChange: r }) {
//#region src/react/settings/push-discovery-settings.tsx
var Mye = "/api/configuration/push-discovery", Nye = "/api/configuration/push-discovery/secret";
function Pye({ initial: e, receipt: t }) {
- let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(e.prefixes), [o, s] = (0, R.useState)(""), c = FE(), l = PM(), u = n.media_roots, [d, f] = (0, R.useState)(e), p = (e, n) => {
+ let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(e.prefixes), [o, s] = (0, R.useState)(""), c = FE(), l = NM(), u = n.media_roots, [d, f] = (0, R.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,
@@ -50959,7 +50944,7 @@ function Pye({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, B.jsx)(jk, {
label: "新文件落地就入库",
description: "打开之后不必等下一轮扫描。定期全量扫描照常进行,漏掉的由它补上。",
- children: /* @__PURE__ */ (0, B.jsx)(iL, {
+ children: /* @__PURE__ */ (0, B.jsx)(aL, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -50972,7 +50957,7 @@ function Pye({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, B.jsx)(jk, {
label: "监视本机文件夹",
description: "订阅本地来源的文件系统事件。网盘挂载不监视,因为遍历它就是走网络。",
- children: /* @__PURE__ */ (0, B.jsx)(iL, {
+ children: /* @__PURE__ */ (0, B.jsx)(aL, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -50985,7 +50970,7 @@ function Pye({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, B.jsx)(jk, {
label: "接收 CloudDrive2 通知",
description: "由 CloudDrive2 把网盘里的新文件推给 Peach。只接受本机与局域网发来的请求。",
- children: /* @__PURE__ */ (0, B.jsx)(iL, {
+ children: /* @__PURE__ */ (0, B.jsx)(aL, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -51068,7 +51053,7 @@ function Pye({ initial: e, receipt: t }) {
children: e
}, e))
}),
- /* @__PURE__ */ (0, B.jsx)(IM, {
+ /* @__PURE__ */ (0, B.jsx)(FM, {
icon: yT,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
@@ -51112,7 +51097,7 @@ function Pye({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var Fye = (e) => OR.find(([t]) => t === e)?.[1] ?? e, Iye = async (e) => (await G(Xve, { initial: e })).path, NR = (e = "") => ({
+var Fye = (e) => kR.find(([t]) => t === e)?.[1] ?? e, Iye = async (e) => (await G(Xve, { initial: e })).path, PR = (e = "") => ({
path: e,
location: "local",
root: "",
@@ -51120,14 +51105,14 @@ var Fye = (e) => OR.find(([t]) => t === e)?.[1] ?? e, Iye = async (e) => (await
library_icon: ""
});
function Lye(e) {
- let t = e.media_sources?.filter((e) => OR.some(([t]) => t === e.location));
+ let t = e.media_sources?.filter((e) => kR.some(([t]) => t === e.location));
return t?.length ? t.map((e) => ({
path: e.path,
location: e.location,
root: e.root,
library: e.library || "",
library_icon: e.library_icon || ""
- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => NR(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => PR(e));
}
var Rye = (e) => !(e instanceof RS) || e.status !== 400 ? null : e.body?.errors ?? null;
function zye({ data: e, receipt: t }) {
@@ -51158,7 +51143,7 @@ function zye({ data: e, receipt: t }) {
function Bye({ data: e, receipt: t }) {
let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = wye({
initial: () => Lye(e),
- blank: () => NR(),
+ blank: () => PR(),
pickFolder: Iye,
describe: U
}), [d, f] = (0, R.useState)(String(e.port)), [p, m] = (0, R.useState)(!1), [h, g] = (0, R.useState)(""), [_, v] = (0, R.useState)(""), [y, b] = (0, R.useState)(null), x = (0, R.useRef)(e.revision), S = FE();
@@ -51168,7 +51153,7 @@ function Bye({ data: e, receipt: t }) {
return () => clearTimeout(e);
}, [y]);
let C = (r) => {
- r.preventDefault(), v(""), S.run("save", (t) => G(vR, {
+ r.preventDefault(), v(""), S.run("save", (t) => G(yR, {
revision: x.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -51276,7 +51261,7 @@ function Bye({ data: e, receipt: t }) {
isInvalid: !!h,
hint: h || "浏览器地址里冒号后面的数字,一般不用改。"
}),
- /* @__PURE__ */ (0, B.jsx)(KM, {
+ /* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: p,
onChange: m,
children: "保存后扫描并补全资料"
@@ -51326,7 +51311,7 @@ function Hye({ data: e }) {
title: "挂载状态",
children: [
/* @__PURE__ */ (0, B.jsx)(Hk, { children: t.map((e, t) => /* @__PURE__ */ (0, B.jsxs)(Uk, {
- term: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Gk, { mark: kR(e.location) }), Fye(e.location)] }),
+ term: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Gk, { mark: AR(e.location) }), Fye(e.location)] }),
children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, B.jsx)(Vye, { online: e.online })]
}, t)) }),
n.error ? /* @__PURE__ */ (0, B.jsx)(Ik, {
@@ -51334,7 +51319,7 @@ function Hye({ data: e }) {
children: /* @__PURE__ */ (0, B.jsx)(zk, { children: n.error })
}) : null,
/* @__PURE__ */ (0, B.jsx)(Lk, { children: /* @__PURE__ */ (0, B.jsx)(J, {
- onClick: () => void n.run("refresh", (e) => bR(e), (e) => p.setQueryData(yR, e)),
+ onClick: () => void n.run("refresh", (e) => xR(e), (e) => p.setQueryData(bR, e)),
...X(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -51413,7 +51398,7 @@ function Gye({ initial: e, receipt: t }) {
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, B.jsx)(KM, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
@@ -51470,8 +51455,8 @@ function Yye({ revision: e, initial: t, receipt: n }) {
(0, R.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- bR(e.signal).then((t) => {
- e.signal.aborted || !t.tunnel || (p.setQueryData(yR, t), i(t.tunnel), o(t.revision));
+ xR(e.signal).then((t) => {
+ e.signal.aborted || !t.tunnel || (p.setQueryData(bR, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
}, Kye);
return () => {
@@ -51498,15 +51483,15 @@ function Yye({ revision: e, initial: t, receipt: n }) {
e.preventDefault(), y("save", _, () => n("已保存配置"));
},
children: [/* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
- r.named_available ? /* @__PURE__ */ (0, B.jsx)(gA, {
+ r.named_available ? /* @__PURE__ */ (0, B.jsx)(_A, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: _,
onChange: (e) => c(e),
- className: _A,
+ className: vA,
children: qye.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(BO, {
value: e,
- className: vA,
+ className: yA,
children: t
}, e))
}) : null,
@@ -51656,8 +51641,8 @@ function Qye({ initial: e, receipt: t }) {
//#region src/react/settings/configuration-page.tsx
function $ye({ receipt: e, reopenTutorial: t }) {
let n = wS({
- queryKey: yR,
- queryFn: ({ signal: e }) => bR(e)
+ queryKey: bR,
+ queryFn: ({ signal: e }) => xR(e)
}), r = n.data;
if (!r) return /* @__PURE__ */ (0, B.jsx)("div", {
className: "configpage",
@@ -51702,14 +51687,14 @@ function $ye({ receipt: e, reopenTutorial: t }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var ebe = "/api/stats", PR = ["stats"], FR = (e) => W(ebe, e);
+var ebe = "/api/stats", FR = ["stats"], IR = (e) => W(ebe, e);
async function tbe(e) {
await p.fetchQuery({
- queryKey: PR,
- queryFn: () => FR(e)
+ queryKey: FR,
+ queryFn: () => IR(e)
});
}
-var IR = (e, t) => t ? Math.round(e / t * 100) : 0, nbe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, LR = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, RR = (e) => (e.max_reached || 0) * 100, rbe = (e) => e.kind === "online" ? "在线直接观看" : LR(e) < RR(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", ibe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, abe = (e) => Math.max(1, ...e) * 1.1, obe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), sbe = {
+var LR = (e, t) => t ? Math.round(e / t * 100) : 0, nbe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, RR = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, zR = (e) => (e.max_reached || 0) * 100, rbe = (e) => e.kind === "online" ? "在线直接观看" : RR(e) < zR(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", ibe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, abe = (e) => Math.max(1, ...e) * 1.1, obe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), sbe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -51725,10 +51710,10 @@ var IR = (e, t) => t ? Math.round(e / t * 100) : 0, nbe = (e) => e >= 3600 ? `${
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, zR = (e, t = {}) => e.map((e) => ({
+}, BR = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), ube = (e) => zR(e, lbe), dbe = [
+})), ube = (e) => BR(e, lbe), dbe = [
[
1,
1,
@@ -51768,41 +51753,41 @@ var IR = (e, t) => t ? Math.round(e / t * 100) : 0, nbe = (e) => e >= 3600 ? `${
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
})), pbe = /* @__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 BR(e) {
+function VR(e) {
return typeof e == "string" && pbe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
var mbe = /* @__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 VR(e) {
+function HR(e) {
return typeof e == "string" && mbe.has(e);
}
-function HR(e) {
+function UR(e) {
return typeof e == "string" && e.startsWith("data-");
}
-function UR(e) {
+function WR(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (VR(n) || HR(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (HR(n) || UR(n)) && (t[n] = e[n]);
return t;
}
-function WR(e) {
+function GR(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, R.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return UR(t);
+ return WR(t);
}
- return typeof e == "object" && !Array.isArray(e) ? UR(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? WR(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function GR(e) {
+function KR(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (VR(n) || HR(n) || BR(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (HR(n) || UR(n) || VR(n)) && (t[n] = e[n]);
return t;
}
function hbe(e) {
- return e == null ? null : /*#__PURE__*/ (0, R.isValidElement)(e) ? GR(e.props) : typeof e == "object" && !Array.isArray(e) ? GR(e) : null;
+ return e == null ? null : /*#__PURE__*/ (0, R.isValidElement)(e) ? KR(e.props) : typeof e == "object" && !Array.isArray(e) ? KR(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
@@ -51816,14 +51801,14 @@ var gbe = [
"title",
"desc"
];
-function KR() {
- return KR = Object.assign ? Object.assign.bind() : function(e) {
+function qR() {
+ return qR = 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;
- }, KR.apply(null, arguments);
+ }, qR.apply(null, arguments);
}
function _be(e, t) {
if (e == null) return {};
@@ -51843,14 +51828,14 @@ function vbe(e, t) {
}
return n;
}
-var qR = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+var JR = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = _be(e, gbe), d = a || {
width: r,
height: i,
x: 0,
y: 0
}, f = Sh("recharts-surface", o);
- return /*#__PURE__*/ R.createElement("svg", KR({}, GR(u), {
+ return /*#__PURE__*/ R.createElement("svg", qR({}, KR(u), {
className: f,
width: r,
height: i,
@@ -51859,14 +51844,14 @@ var qR = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
ref: t
}), /*#__PURE__*/ R.createElement("title", null, c), /*#__PURE__*/ R.createElement("desc", null, l), n);
}), ybe = ["children", "className"];
-function JR() {
- return JR = Object.assign ? Object.assign.bind() : function(e) {
+function YR() {
+ return YR = 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;
- }, JR.apply(null, arguments);
+ }, YR.apply(null, arguments);
}
function bbe(e, t) {
if (e == null) return {};
@@ -51886,39 +51871,39 @@ function xbe(e, t) {
}
return n;
}
-var YR = /*#__PURE__*/ R.forwardRef((e, t) => {
+var XR = /*#__PURE__*/ R.forwardRef((e, t) => {
var { children: n, className: r } = e, i = bbe(e, ybe), a = Sh("recharts-layer", r);
- return /*#__PURE__*/ R.createElement("g", JR({ className: a }, GR(i), { ref: t }), n);
-}), XR = /*#__PURE__*/ (0, R.createContext)(null), Sbe = () => (0, R.useContext)(XR);
+ return /*#__PURE__*/ R.createElement("g", YR({ className: a }, KR(i), { ref: t }), n);
+}), ZR = /*#__PURE__*/ (0, R.createContext)(null), Sbe = () => (0, R.useContext)(ZR);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function ZR(e) {
+function QR(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var QR = Math.cos, $R = Math.sin, ez = Math.sqrt, tz = Math.PI;
-tz / 2;
-var nz = 2 * tz, rz = Math.PI, iz = 2 * rz, az = 1e-6, Cbe = iz - az;
-function oz(e) {
+var $R = Math.cos, ez = Math.sin, tz = Math.sqrt, nz = Math.PI;
+nz / 2;
+var rz = 2 * nz, iz = Math.PI, az = 2 * iz, oz = 1e-6, Cbe = az - oz;
+function sz(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
function wbe(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return oz;
+ if (t > 15) return sz;
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 sz = class {
+var cz = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? oz : wbe(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? sz : wbe(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -51939,18 +51924,18 @@ var sz = 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 > az) {
- if (!(Math.abs(u * s - c * l) > az) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > oz) {
+ if (!(Math.abs(u * s - c * l) > oz) || !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((rz - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > az && 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((iz - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > oz && 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) > az || Math.abs(this._y1 - l) > az) && this._append`L${c},${l}`, n && (d < 0 && (d = d % iz + iz), d > Cbe ? 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 > az && this._append`A${n},${n},0,${+(d >= rz)},${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) > oz || Math.abs(this._y1 - l) > oz) && this._append`L${c},${l}`, n && (d < 0 && (d = d % az + az), d > Cbe ? 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 > oz && this._append`A${n},${n},0,${+(d >= iz)},${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`;
@@ -51959,10 +51944,10 @@ var sz = class {
return this._;
}
};
-sz.prototype;
+cz.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function cz(e) {
+function lz(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -51973,18 +51958,18 @@ function cz(e) {
t = e;
}
return e;
- }, () => new sz(t);
+ }, () => new cz(t);
}
Array.prototype.slice;
-function lz(e) {
+function uz(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 uz(e) {
+function dz(e) {
this._context = e;
}
-uz.prototype = {
+dz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -52007,33 +51992,33 @@ uz.prototype = {
}
}
};
-function dz(e) {
- return new uz(e);
+function fz(e) {
+ return new dz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function fz(e) {
+function pz(e) {
return e[0];
}
-function pz(e) {
+function mz(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function mz(e, t) {
- var n = ZR(!0), r = null, i = dz, a = null, o = cz(s);
- e = typeof e == "function" ? e : e === void 0 ? fz : ZR(e), t = typeof t == "function" ? t : t === void 0 ? pz : ZR(t);
+function hz(e, t) {
+ var n = QR(!0), r = null, i = fz, a = null, o = lz(s);
+ e = typeof e == "function" ? e : e === void 0 ? pz : QR(e), t = typeof t == "function" ? t : t === void 0 ? mz : QR(t);
function s(s) {
- var c, l = (s = lz(s)).length, u, d = !1, f;
+ var c, l = (s = uz(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 : ZR(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : QR(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : ZR(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : QR(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : ZR(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : QR(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -52042,11 +52027,11 @@ function mz(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function hz(e, t, n) {
- var r = null, i = ZR(!0), a = null, o = dz, s = null, c = cz(l);
- e = typeof e == "function" ? e : e === void 0 ? fz : ZR(+e), t = typeof t == "function" ? t : ZR(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? pz : ZR(+n);
+function gz(e, t, n) {
+ var r = null, i = QR(!0), a = null, o = fz, s = null, c = lz(l);
+ e = typeof e == "function" ? e : e === void 0 ? pz : QR(+e), t = typeof t == "function" ? t : QR(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? mz : QR(+n);
function l(l) {
- var u, d, f, p = (l = lz(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = uz(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();
@@ -52060,20 +52045,20 @@ function hz(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return mz().defined(i).curve(o).context(a);
+ return hz().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : ZR(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : QR(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : ZR(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : QR(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : ZR(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : QR(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : ZR(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : QR(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : ZR(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : QR(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : ZR(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : QR(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -52081,7 +52066,7 @@ function hz(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : ZR(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : QR(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -52090,7 +52075,7 @@ function hz(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var gz = class {
+var _z = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -52118,69 +52103,69 @@ var gz = class {
}
};
function Tbe(e) {
- return new gz(e, !0);
+ return new _z(e, !0);
}
function Ebe(e) {
- return new gz(e, !1);
+ return new _z(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var _z = { draw(e, t) {
- let n = ez(t / tz);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, nz);
+var vz = { draw(e, t) {
+ let n = tz(t / nz);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, rz);
} }, Dbe = { draw(e, t) {
- let n = ez(t / 5) / 2;
+ let n = tz(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();
-} }, vz = ez(1 / 3), Obe = vz * 2, kbe = { draw(e, t) {
- let n = ez(t / Obe), r = n * vz;
+} }, yz = tz(1 / 3), Obe = yz * 2, kbe = { draw(e, t) {
+ let n = tz(t / Obe), r = n * yz;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
} }, Abe = { draw(e, t) {
- let n = ez(t), r = -n / 2;
+ let n = tz(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, jbe = .8908130915292852, yz = $R(tz / 10) / $R(7 * tz / 10), Mbe = $R(nz / 10) * yz, Nbe = -QR(nz / 10) * yz, Pbe = { draw(e, t) {
- let n = ez(t * jbe), r = Mbe * n, i = Nbe * n;
+} }, jbe = .8908130915292852, bz = ez(nz / 10) / ez(7 * nz / 10), Mbe = ez(rz / 10) * bz, Nbe = -$R(rz / 10) * bz, Pbe = { draw(e, t) {
+ let n = tz(t * jbe), r = Mbe * n, i = Nbe * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = nz * t / 5, o = QR(a), s = $R(a);
+ let a = rz * t / 5, o = $R(a), s = ez(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, bz = ez(3), Fbe = { draw(e, t) {
- let n = -ez(t / (bz * 3));
- e.moveTo(0, n * 2), e.lineTo(-bz * n, -n), e.lineTo(bz * n, -n), e.closePath();
-} }, xz = -.5, Sz = ez(3) / 2, Cz = 1 / ez(12), Ibe = (Cz / 2 + 1) * 3, Lbe = { draw(e, t) {
- let n = ez(t / Ibe), r = n / 2, i = n * Cz, a = r, o = n * Cz + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(xz * r - Sz * i, Sz * r + xz * i), e.lineTo(xz * a - Sz * o, Sz * a + xz * o), e.lineTo(xz * s - Sz * c, Sz * s + xz * c), e.lineTo(xz * r + Sz * i, xz * i - Sz * r), e.lineTo(xz * a + Sz * o, xz * o - Sz * a), e.lineTo(xz * s + Sz * c, xz * c - Sz * s), e.closePath();
+} }, xz = tz(3), Fbe = { draw(e, t) {
+ let n = -tz(t / (xz * 3));
+ e.moveTo(0, n * 2), e.lineTo(-xz * n, -n), e.lineTo(xz * n, -n), e.closePath();
+} }, Sz = -.5, Cz = tz(3) / 2, wz = 1 / tz(12), Ibe = (wz / 2 + 1) * 3, Lbe = { draw(e, t) {
+ let n = tz(t / Ibe), r = n / 2, i = n * wz, a = r, o = n * wz + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(Sz * r - Cz * i, Cz * r + Sz * i), e.lineTo(Sz * a - Cz * o, Cz * a + Sz * o), e.lineTo(Sz * s - Cz * c, Cz * s + Sz * c), e.lineTo(Sz * r + Cz * i, Sz * i - Cz * r), e.lineTo(Sz * a + Cz * o, Sz * o - Cz * a), e.lineTo(Sz * s + Cz * c, Sz * c - Cz * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
function Rbe(e, t) {
- let n = null, r = cz(i);
- e = typeof e == "function" ? e : ZR(e || _z), t = typeof t == "function" ? t : ZR(t === void 0 ? 64 : +t);
+ let n = null, r = lz(i);
+ e = typeof e == "function" ? e : QR(e || vz), t = typeof t == "function" ? t : QR(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 : ZR(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : QR(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : ZR(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : QR(+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 wz() {}
+function Tz() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function Tz(e, t, n) {
+function Ez(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 Ez(e) {
+function Dz(e) {
this._context = e;
}
-Ez.prototype = {
+Dz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -52192,7 +52177,7 @@ Ez.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: Tz(this, this._x1, this._y1);
+ case 3: Ez(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;
@@ -52206,22 +52191,22 @@ Ez.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: Tz(this, e, t);
+ default: Ez(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
function zbe(e) {
- return new Ez(e);
+ return new Dz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function Dz(e) {
+function Oz(e) {
this._context = e;
}
-Dz.prototype = {
- areaStart: wz,
- areaEnd: wz,
+Oz.prototype = {
+ areaStart: Tz,
+ areaEnd: Tz,
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;
},
@@ -52247,20 +52232,20 @@ Dz.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: Tz(this, e, t);
+ default: Ez(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
function Bbe(e) {
- return new Dz(e);
+ return new Oz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function Oz(e) {
+function kz(e) {
this._context = e;
}
-Oz.prototype = {
+kz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -52287,22 +52272,22 @@ Oz.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: Tz(this, e, t);
+ default: Ez(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
function Vbe(e) {
- return new Oz(e);
+ return new kz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function kz(e) {
+function Az(e) {
this._context = e;
}
-kz.prototype = {
- areaStart: wz,
- areaEnd: wz,
+Az.prototype = {
+ areaStart: Tz,
+ areaEnd: Tz,
lineStart: function() {
this._point = 0;
},
@@ -52314,29 +52299,29 @@ kz.prototype = {
}
};
function Hbe(e) {
- return new kz(e);
+ return new Az(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function Az(e) {
+function jz(e) {
return e < 0 ? -1 : 1;
}
-function jz(e, t, n) {
+function Mz(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 (Az(a) + Az(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (jz(a) + jz(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function Mz(e, t) {
+function Nz(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function Nz(e, t, n) {
+function Pz(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 Pz(e) {
+function Fz(e) {
this._context = e;
}
-Pz.prototype = {
+Fz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -52351,7 +52336,7 @@ Pz.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: Nz(this, this._t0, Mz(this, this._t0));
+ case 3: Pz(this, this._t0, Nz(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -52366,24 +52351,24 @@ Pz.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, Nz(this, Mz(this, n = jz(this, e, t)), n);
+ this._point = 3, Pz(this, Nz(this, n = Mz(this, e, t)), n);
break;
- default: Nz(this, this._t0, n = jz(this, e, t));
+ default: Pz(this, this._t0, n = Mz(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function Fz(e) {
- this._context = new Iz(e);
+function Iz(e) {
+ this._context = new Lz(e);
}
-(Fz.prototype = Object.create(Pz.prototype)).point = function(e, t) {
- Pz.prototype.point.call(this, t, e);
+(Iz.prototype = Object.create(Fz.prototype)).point = function(e, t) {
+ Fz.prototype.point.call(this, t, e);
};
-function Iz(e) {
+function Lz(e) {
this._context = e;
}
-Iz.prototype = {
+Lz.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -52398,17 +52383,17 @@ Iz.prototype = {
}
};
function Ube(e) {
- return new Pz(e);
+ return new Fz(e);
}
function Wbe(e) {
- return new Fz(e);
+ return new Iz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function Lz(e) {
+function Rz(e) {
this._context = e;
}
-Lz.prototype = {
+Rz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -52422,7 +52407,7 @@ Lz.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 = Rz(e), i = Rz(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 = zz(e), i = zz(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;
},
@@ -52430,7 +52415,7 @@ Lz.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function Rz(e) {
+function zz(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];
@@ -52439,14 +52424,14 @@ function Rz(e) {
return [i, a];
}
function Gbe(e) {
- return new Lz(e);
+ return new Rz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function zz(e, t) {
+function Bz(e, t) {
this._context = e, this._t = t;
}
-zz.prototype = {
+Bz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -52475,22 +52460,22 @@ zz.prototype = {
}
};
function Kbe(e) {
- return new zz(e, .5);
+ return new Bz(e, .5);
}
function qbe(e) {
- return new zz(e, 0);
+ return new Bz(e, 0);
}
function Jbe(e) {
- return new zz(e, 1);
+ return new Bz(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function Bz(e, t) {
+function Vz(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 Vz(e) {
+function Hz(e) {
for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;
return n;
}
@@ -52504,21 +52489,21 @@ function Xbe(e) {
return t.key = e, t;
}
function Zbe() {
- var e = ZR([]), t = Vz, n = Bz, r = Ybe;
+ var e = QR([]), t = Hz, n = Vz, r = Ybe;
function i(i) {
var a = Array.from(e.apply(this, arguments), Xbe), 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 = lz(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = uz(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 : ZR(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : QR(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : ZR(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : QR(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? Vz : typeof e == "function" ? e : ZR(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? Hz : typeof e == "function" ? e : QR(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? Bz, i) : n;
+ return arguments.length ? (n = e ?? Vz, i) : n;
}, i;
}
//#endregion
@@ -52529,7 +52514,7 @@ function Qbe(e, t) {
for (o = n = 0; n < r; ++n) o += e[n][i][1] || 0;
if (o) for (n = 0; n < r; ++n) e[n][i][1] /= o;
}
- Bz(e, t);
+ Vz(e, t);
}
}
//#endregion
@@ -52540,7 +52525,7 @@ function $be(e, t) {
for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;
r[n][1] += r[n][0] = -s / 2;
}
- Bz(e, t);
+ Vz(e, t);
}
}
//#endregion
@@ -52557,18 +52542,18 @@ function exe(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, Bz(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, Vz(e, t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function Hz(e) {
+function Uz(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
var txe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function Uz(e) {
+function Wz(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
@@ -52578,30 +52563,30 @@ function Uz(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function Wz(e) {
+function Gz(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 Gz(e) {
+function Kz(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
function nxe(e) {
- return e == null ? "" : Kz(e);
+ return e == null ? "" : qz(e);
}
-function Kz(e) {
+function qz(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(Kz).join(",");
- if (Gz(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(qz).join(",");
+ if (Kz(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 qz(e) {
- if (Array.isArray(e)) return e.map(Wz);
+function Jz(e) {
+ if (Array.isArray(e)) return e.map(Gz);
if (typeof e == "symbol") return [e];
e = nxe(e);
let t = [], n = e.length;
@@ -52631,23 +52616,23 @@ function qz(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function Jz(e, t, n) {
+function Yz(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (Hz(t)) return n;
+ if (Uz(t)) return n;
let r = e[t];
- return r === void 0 ? Uz(t) && !Object.hasOwn(e, t) ? Jz(e, qz(t), n) : n : r;
+ return r === void 0 ? Wz(t) && !Object.hasOwn(e, t) ? Yz(e, Jz(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = Wz(t));
+ typeof t == "number" && (t = Gz(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
if (Array.isArray(t)) return rxe(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), Hz(t)) return n;
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), Uz(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
@@ -52657,7 +52642,7 @@ function rxe(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || Hz(t[e])) return n;
+ if (r == null || Uz(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
@@ -52665,49 +52650,49 @@ function rxe(e, t, n) {
//#endregion
//#region node_modules/recharts/es6/util/round.js
var ixe = 4;
-function Yz(e) {
+function Xz(e) {
var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ixe), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function Xz(e) {
+function Zz(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 + Yz(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + Xz(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var Zz = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, Qz = (e) => typeof e == "number" && e != +e, $z = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !Qz(e), eB = (e) => Z(e) || typeof e == "string", axe = 0, tB = (e) => {
+var Qz = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, $z = (e) => typeof e == "number" && e != +e, eB = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !$z(e), tB = (e) => Z(e) || typeof e == "string", axe = 0, nB = (e) => {
var t = ++axe;
return `${e || ""}${t}`;
-}, nB = function(e, t) {
+}, rB = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
if (!Z(e) && typeof e != "string") return n;
var i;
- if ($z(e)) {
+ if (eB(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return Qz(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, rB = (e) => {
+ return $z(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, iB = (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 iB(e, t, n) {
- return Z(e) && Z(t) ? Yz(e + n * (t - e)) : t;
-}
function aB(e, t, n) {
- if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : Jz(e, t)) === n);
+ return Z(e) && Z(t) ? Xz(e + n * (t - e)) : t;
}
-var oB = (e) => e == null, sB = (e) => oB(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function cB(e) {
+function oB(e, t, n) {
+ if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : Yz(e, t)) === n);
+}
+var sB = (e) => e == null, cB = (e) => sB(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function lB(e) {
return e != null;
}
-function lB() {}
+function uB() {}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
var oxe = [
@@ -52715,16 +52700,16 @@ var oxe = [
"size",
"sizeType"
];
-function uB() {
- return uB = Object.assign ? Object.assign.bind() : function(e) {
+function dB() {
+ return dB = 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;
- }, uB.apply(null, arguments);
+ }, dB.apply(null, arguments);
}
-function dB(e, t) {
+function fB(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52734,12 +52719,12 @@ function dB(e, t) {
}
return n;
}
-function fB(e) {
+function pB(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? dB(Object(n), !0).forEach(function(t) {
+ t % 2 ? fB(Object(n), !0).forEach(function(t) {
sxe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dB(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fB(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -52785,15 +52770,15 @@ function dxe(e, t) {
}
return n;
}
-var pB = {
- symbolCircle: _z,
+var mB = {
+ symbolCircle: vz,
symbolCross: Dbe,
symbolDiamond: kbe,
symbolSquare: Abe,
symbolStar: Pbe,
symbolTriangle: Fbe,
symbolWye: Lbe
-}, fxe = Math.PI / 180, pxe = (e) => pB[`symbol${sB(e)}`] || _z, mxe = (e, t, n) => {
+}, fxe = Math.PI / 180, pxe = (e) => mB[`symbol${cB(e)}`] || vz, mxe = (e, t, n) => {
if (t === "area") return e;
switch (n) {
case "cross": return 5 * e * e / 9;
@@ -52807,9 +52792,9 @@ var pB = {
default: return Math.PI * e * e / 4;
}
}, hxe = (e, t) => {
- pB[`symbol${sB(e)}`] = t;
-}, mB = (e) => {
- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = fB(fB({}, uxe(e, oxe)), {}, {
+ mB[`symbol${cB(e)}`] = t;
+}, hB = (e) => {
+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = pB(pB({}, uxe(e, oxe)), {}, {
type: t,
size: n,
sizeType: r
@@ -52818,35 +52803,35 @@ var pB = {
var o = () => {
var e = pxe(a), t = Rbe().type(e).size(mxe(n, r, a))();
if (t !== null) return t;
- }, { className: s, cx: c, cy: l } = i, u = GR(i);
- return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ R.createElement("path", uB({}, u, {
+ }, { className: s, cx: c, cy: l } = i, u = KR(i);
+ return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ R.createElement("path", dB({}, u, {
className: Sh("recharts-symbols", s),
transform: `translate(${c}, ${l})`,
d: o()
})) : null;
};
-mB.registerSymbol = hxe;
+hB.registerSymbol = hxe;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var hB = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, gB = (e, t) => {
+var gB = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, _B = (e, t) => {
if (!e || typeof e == "function" || typeof e == "boolean") return null;
var n = e;
if (/*#__PURE__*/ (0, R.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;
var r = {};
return Object.keys(n).forEach((e) => {
- BR(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ VR(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, gxe = (e, t, n) => (r) => (e(t, n, r), null), _B = (e, t, n) => {
+}, gxe = (e, t, n) => (r) => (e(t, n, r), null), vB = (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];
- BR(i) && typeof a == "function" && (r ||= {}, r[i] = gxe(a, t, n));
+ VR(i) && typeof a == "function" && (r ||= {}, r[i] = gxe(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function vB(e, t) {
+function yB(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52859,9 +52844,9 @@ function vB(e, t) {
function _xe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? vB(Object(n), !0).forEach(function(t) {
+ t % 2 ? yB(Object(n), !0).forEach(function(t) {
vxe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : vB(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yB(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -52889,22 +52874,22 @@ function bxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function yB(e, t) {
+function bB(e, t) {
var n = _xe({}, 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 bB() {
- return bB = Object.assign ? Object.assign.bind() : function(e) {
+function xB() {
+ return xB = 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;
- }, bB.apply(null, arguments);
+ }, xB.apply(null, arguments);
}
-function xB(e, t) {
+function SB(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52914,12 +52899,12 @@ function xB(e, t) {
}
return n;
}
-function SB(e) {
+function CB(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? xB(Object(n), !0).forEach(function(t) {
+ t % 2 ? SB(Object(n), !0).forEach(function(t) {
xxe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xB(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : SB(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -52947,7 +52932,7 @@ function Cxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var CB = 32, wxe = {
+var wB = 32, wxe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -52959,7 +52944,7 @@ function Txe(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
function Exe(e) {
- var { data: t, iconType: n, inactiveColor: r } = e, i = CB / 2, a = CB / 6, o = CB / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+ var { data: t, iconType: n, inactiveColor: r } = e, i = wB / 2, a = wB / 6, o = wB / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ R.createElement("line", {
strokeWidth: 4,
@@ -52968,7 +52953,7 @@ function Exe(e) {
strokeDasharray: Txe(t.payload),
x1: 0,
y1: i,
- x2: CB,
+ x2: wB,
y2: i,
className: "recharts-legend-icon"
});
@@ -52978,25 +52963,25 @@ function Exe(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${CB}M${2 * o},${i}
+ H${wB}M${2 * o},${i}
A${a},${a},0,1,1,${o},${i}`,
className: "recharts-legend-icon"
});
if (c === "rect") return /*#__PURE__*/ R.createElement("path", {
stroke: "none",
fill: s,
- d: `M0,${CB / 8}h${CB}v${CB * 3 / 4}h${-CB}z`,
+ d: `M0,${wB / 8}h${wB}v${wB * 3 / 4}h${-wB}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ R.isValidElement(t.legendIcon)) {
- var l = SB({}, t);
+ var l = CB({}, t);
return delete l.legendIcon, /*#__PURE__*/ R.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ R.createElement(mB, {
+ return /*#__PURE__*/ R.createElement(hB, {
fill: s,
cx: i,
cy: i,
- size: CB,
+ size: wB,
sizeType: "diameter",
type: c
});
@@ -53005,8 +52990,8 @@ function Dxe(e) {
var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {
x: 0,
y: 0,
- width: CB,
- height: CB
+ width: wB,
+ height: wB
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10
@@ -53022,14 +53007,14 @@ function Dxe(e) {
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? SB({}, s) : {};
+ var p = typeof s == "object" ? CB({}, s) : {};
p.color = t.inactive ? a : p.color || t.color;
var m = d ? d(t.value, t, r) : t.value;
- return /*#__PURE__*/ R.createElement("li", bB({
+ return /*#__PURE__*/ R.createElement("li", xB({
className: f,
style: l,
key: `legend-item-${r}`
- }, _B(e, t, r)), /*#__PURE__*/ R.createElement(qR, {
+ }, vB(e, t, r)), /*#__PURE__*/ R.createElement(JR, {
width: n,
height: n,
viewBox: c,
@@ -53046,7 +53031,7 @@ function Dxe(e) {
});
}
var Oxe = (e) => {
- var t = yB(e, wxe), { payload: n, layout: r, align: i } = t;
+ var t = bB(e, wxe), { payload: n, layout: r, align: i } = t;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -53056,7 +53041,7 @@ var Oxe = (e) => {
return /*#__PURE__*/ R.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ R.createElement(Dxe, bB({}, t, { payload: n })));
+ }, /*#__PURE__*/ R.createElement(Dxe, xB({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
@@ -53077,7 +53062,7 @@ function Axe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function wB(e) {
+function TB(e) {
return e;
}
//#endregion
@@ -53087,19 +53072,19 @@ function jxe(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function TB(e) {
+function EB(e) {
return e != null && typeof e != "function" && jxe(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
function Mxe(e) {
return function(t) {
- return Jz(t, e);
+ return Yz(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function EB(e) {
+function DB(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
@@ -53114,33 +53099,33 @@ function Pxe(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
-function DB(e) {
+function OB(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 Fxe = "[object RegExp]", OB = "[object String]", kB = "[object Number]", AB = "[object Boolean]", jB = "[object Arguments]", Ixe = "[object Symbol]", Lxe = "[object Date]", Rxe = "[object Map]", zxe = "[object Set]", Bxe = "[object Array]", Vxe = "[object ArrayBuffer]", Hxe = "[object Object]", Uxe = "[object DataView]", Wxe = "[object Uint8Array]", Gxe = "[object Uint8ClampedArray]", Kxe = "[object Uint16Array]", qxe = "[object Uint32Array]", Jxe = "[object Int8Array]", Yxe = "[object Int16Array]", Xxe = "[object Int32Array]", Zxe = "[object Float32Array]", Qxe = "[object Float64Array]", MB = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var Fxe = "[object RegExp]", kB = "[object String]", AB = "[object Number]", jB = "[object Boolean]", MB = "[object Arguments]", Ixe = "[object Symbol]", Lxe = "[object Date]", Rxe = "[object Map]", zxe = "[object Set]", Bxe = "[object Array]", Vxe = "[object ArrayBuffer]", Hxe = "[object Object]", Uxe = "[object DataView]", Wxe = "[object Uint8Array]", Gxe = "[object Uint8ClampedArray]", Kxe = "[object Uint16Array]", qxe = "[object Uint32Array]", Jxe = "[object Int8Array]", Yxe = "[object Int16Array]", Xxe = "[object Int32Array]", Zxe = "[object Float32Array]", Qxe = "[object Float64Array]", NB = 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 $xe(e) {
- return MB.Buffer !== void 0 && MB.Buffer.isBuffer(e);
+ return NB.Buffer !== void 0 && NB.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
function eSe(e, t) {
- return NB(e, void 0, e, /* @__PURE__ */ new Map(), t);
+ return PB(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function NB(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function PB(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (EB(e)) return e;
+ if (DB(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] = NB(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = PB(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());
@@ -53151,71 +53136,71 @@ function NB(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, NB(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, PB(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(NB(a, void 0, n, r, i));
+ for (let a of e) t.add(PB(a, void 0, n, r, i));
return t;
}
if ($xe(e)) return e.subarray();
if (Nxe(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = NB(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = PB(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), PB(t, e, n, r, i), t;
+ return r.set(e, t), FB(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), PB(t, e, n, r, i), t;
+ return r.set(e, t), FB(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), PB(t, e, n, r, i), t;
+ return r.set(e, t), FB(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, PB(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, FB(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), PB(t, e, n, r, i), t;
+ return r.set(e, t), FB(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), PB(t, e, n, r, i), t;
+ return r.set(e, t), FB(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), PB(t, e, n, r, i), t;
+ return r.set(e, t), FB(t, e, n, r, i), t;
}
if (typeof e == "object" && tSe(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), PB(t, e, n, r, i), t;
+ return r.set(e, t), FB(t, e, n, r, i), t;
}
return e;
}
-function PB(e, t, n = e, r, i) {
+function FB(e, t, n = e, r, i) {
let a = [...Object.keys(t), ...Pxe(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = NB(t[s], s, n, r, i));
+ (c == null || c.writable) && (e[s] = PB(t[s], s, n, r, i));
}
}
function tSe(e) {
- switch (DB(e)) {
- case jB:
+ switch (OB(e)) {
+ case MB:
case Bxe:
case Vxe:
case Uxe:
- case AB:
+ case jB:
case Lxe:
case Zxe:
case Qxe:
@@ -53223,11 +53208,11 @@ function tSe(e) {
case Yxe:
case Xxe:
case Rxe:
- case kB:
+ case AB:
case Hxe:
case Fxe:
case zxe:
- case OB:
+ case kB:
case Ixe:
case Wxe:
case Gxe:
@@ -53239,44 +53224,44 @@ function tSe(e) {
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
function nSe(e) {
- return NB(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+ return PB(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function FB(e, t) {
+function IB(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function IB(e) {
+function LB(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function LB(e, t, n) {
- return typeof n == "function" ? RB(e, t, function e(t, r, i, a, o, s) {
+function RB(e, t, n) {
+ return typeof n == "function" ? zB(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? RB(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : LB(e, t, () => void 0);
+ return c === void 0 ? zB(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : RB(e, t, () => void 0);
}
-function RB(e, t, n, r, i = !1) {
+function zB(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
case "object": return rSe(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? RB(e, { ...t }, n, r, i) : FB(e, t);
- default: return IB(e) && i ? typeof t != "string" || t === "" : FB(e, t);
+ case "function": return Object.keys(t).length > 0 ? zB(e, { ...t }, n, r, i) : IB(e, t);
+ default: return LB(e) && i ? typeof t != "string" || t === "" : IB(e, t);
}
}
function rSe(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return zB(e, t, n, r);
+ if (Array.isArray(t)) return BB(e, t, n, r);
if (t instanceof Map) return iSe(e, t, n, r);
if (t instanceof Set) return aSe(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) EB(e) && (e = Object(e));
+ if (i) DB(e) && (e = Object(e));
else {
- let t = DB(e);
+ let t = OB(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -53298,7 +53283,7 @@ function iSe(e, t, n, r) {
for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;
return !0;
}
-function zB(e, t, n, r) {
+function BB(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -53317,17 +53302,17 @@ function zB(e, t, n, r) {
return !0;
}
function aSe(e, t, n, r) {
- return t.size === 0 || e instanceof Set && zB([...e], [...t], n, r);
+ return t.size === 0 || e instanceof Set && BB([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function BB(e, t) {
- return LB(e, t, () => void 0);
+function VB(e, t) {
+ return RB(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
function oSe(e) {
- return e = nSe(e), (t) => BB(t, e);
+ return e = nSe(e), (t) => VB(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
@@ -53336,20 +53321,20 @@ function sSe(e, t) {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (DB(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (OB(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), PB(t, e, i, a), t;
+ return a.set(e, t), FB(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
+ case AB:
case kB:
- case OB:
- case AB: {
+ case jB: {
let t = new e.constructor(e?.valueOf());
- return PB(t, e), t;
+ return FB(t, e), t;
}
- case jB: {
+ case MB: {
let t = {};
- return PB(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return FB(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -53364,7 +53349,7 @@ function cSe(e) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
var lSe = /^(?:0|[1-9]\d*)$/;
-function VB(e, t = 2 ** 53 - 1) {
+function HB(e, t = 2 ** 53 - 1) {
switch (typeof e) {
case "number": return Number.isInteger(e) && e >= 0 && e < t;
case "symbol": return !1;
@@ -53374,17 +53359,17 @@ function VB(e, t = 2 ** 53 - 1) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
function uSe(e) {
- return typeof e == "object" && !!e && DB(e) === "[object Arguments]";
+ return typeof e == "object" && !!e && OB(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
function dSe(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && Uz(t) && !(t in Object(e)) ? qz(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && Wz(t) && !(t in Object(e)) ? Jz(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = Wz(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || uSe(r)) && VB(t) && Number(t) < r.length)) return !1;
+ let t = Gz(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || uSe(r)) && HB(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
@@ -53396,17 +53381,17 @@ function fSe(e, t) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = Wz(e);
+ case "number": e = Gz(e);
}
return t = cSe(t), function(n) {
- let r = Jz(n, e);
- return r === void 0 ? dSe(n, e) : t === void 0 ? r === void 0 : BB(r, t);
+ let r = Yz(n, e);
+ return r === void 0 ? dSe(n, e) : t === void 0 ? r === void 0 : VB(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function HB(e) {
- if (e == null) return wB;
+function UB(e) {
+ if (e == null) return TB;
switch (typeof e) {
case "function": return e;
case "object": return Array.isArray(e) && e.length === 2 ? fSe(e[0], e[1]) : oSe(e);
@@ -53420,13 +53405,13 @@ function pSe(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function UB(e, t = wB) {
- return TB(e) ? kxe(Array.from(e), Axe(HB(t), 1)).map(pSe) : [];
+function WB(e, t = TB) {
+ return EB(e) ? kxe(Array.from(e), Axe(UB(t), 1)).map(pSe) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function WB(e, t, n) {
- return t === !0 ? UB(e, n) : typeof t == "function" ? UB(e, t) : e;
+function GB(e, t, n) {
+ return t === !0 ? WB(e, n) : typeof t == "function" ? WB(e, t) : e;
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
@@ -53477,15 +53462,15 @@ var mSe = /* @__PURE__ */ Ct(((e) => {
};
})), hSe = /* @__PURE__ */ Ct(((e, t) => {
t.exports = mSe();
-})), GB = /*#__PURE__*/ (0, R.createContext)(null), gSe = hSe(), _Se = (e) => e, KB = () => {
- var e = (0, R.useContext)(GB);
+})), KB = /*#__PURE__*/ (0, R.createContext)(null), gSe = hSe(), _Se = (e) => e, qB = () => {
+ var e = (0, R.useContext)(KB);
return e ? e.store.dispatch : _Se;
-}, qB = () => {}, vSe = () => qB, ySe = (e, t) => e === t;
+}, JB = () => {}, vSe = () => JB, ySe = (e, t) => e === t;
function Q(e) {
- var t = (0, R.useContext)(GB), n = (0, R.useMemo)(() => t ? (t) => {
+ var t = (0, R.useContext)(KB), n = (0, R.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : qB, [t, e]);
- return (0, gSe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : vSe, t ? t.store.getState : qB, t ? t.store.getState : qB, n, ySe);
+ } : JB, [t, e]);
+ return (0, gSe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : vSe, t ? t.store.getState : JB, t ? t.store.getState : JB, n, ySe);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
@@ -53501,7 +53486,7 @@ function SSe(e, t = "expected all items to be functions, instead received the fo
throw TypeError(`${t}[${n}]`);
}
}
-var JB = (e) => Array.isArray(e) ? e : [e];
+var YB = (e) => Array.isArray(e) ? e : [e];
function CSe(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
return SSe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
@@ -53518,8 +53503,8 @@ var TSe = class {
deref() {
return this.value;
}
-}, ESe = typeof WeakRef < "u" ? WeakRef : TSe, DSe = 0, YB = 1;
-function XB() {
+}, ESe = typeof WeakRef < "u" ? WeakRef : TSe, DSe = 0, XB = 1;
+function ZB() {
return {
s: DSe,
v: void 0,
@@ -53527,8 +53512,8 @@ function XB() {
p: null
};
}
-function ZB(e, t = {}) {
- let n = XB(), { resultEqualityCheck: r } = t, i, a = 0;
+function QB(e, t = {}) {
+ let n = ZB(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -53537,24 +53522,24 @@ function ZB(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = XB(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = ZB(), 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 = XB(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = ZB(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === YB) c = t.v;
+ if (t.s === XB) c = t.v;
else if (c = e.apply(null, arguments), a++, r) {
let e = i?.deref?.() ?? i;
e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new ESe(c) : c;
}
- return s.s = YB, s.v = c, c;
+ return s.s = XB, s.v = c, c;
}
return o.clearCache = () => {
- n = XB(), o.resetResultsCount();
+ n = ZB(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
@@ -53566,10 +53551,10 @@ function OSe(e, ...t) {
} : e, r = (...e) => {
let t = 0, r = 0, i, a = {}, o = e.pop();
typeof o == "object" && (a = o, o = e.pop()), bSe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = ZB, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = QB, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
...n,
...a
- }, f = JB(c), p = JB(u), m = CSe(e), h = s(function() {
+ }, f = YB(c), p = YB(u), m = CSe(e), h = s(function() {
return t++, o.apply(null, arguments);
}, ...f), g = l(function() {
r++;
@@ -53595,7 +53580,7 @@ function OSe(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var $ = /* @__PURE__ */ OSe(ZB), kSe = Object.assign((e, t = $) => {
+var $ = /* @__PURE__ */ OSe(QB), kSe = Object.assign((e, t = $) => {
xSe(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
let n = Object.keys(e);
return t(n.map((t) => e[t]), (...e) => e.reduce((e, t, r) => (e[n[r]] = t, e), {}));
@@ -53613,17 +53598,17 @@ function ASe(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function QB(e, t, n) {
- return IB(n) && (typeof t == "number" && TB(n) && VB(t) && t < n.length || typeof t == "string" && t in n) ? FB(n[t], e) : !1;
+function $B(e, t, n) {
+ return LB(n) && (typeof t == "number" && EB(n) && HB(t) && t < n.length || typeof t == "string" && t in n) ? IB(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function $B(e) {
+function eV(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
var jSe = (e, t, n) => {
if (e !== t) {
- let r = $B(e), i = $B(t);
+ let r = eV(e), i = eV(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -53633,13 +53618,13 @@ var jSe = (e, t, n) => {
return 0;
}, MSe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, NSe = /^\w*$/;
function PSe(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || Gz(e) ? !0 : typeof e == "string" && (NSe.test(e) || !MSe.test(e)) || t != null && Object.hasOwn(t, e);
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || Kz(e) ? !0 : typeof e == "string" && (NSe.test(e) || !MSe.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
function FSe(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = TB(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 = EB(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]];
@@ -53649,7 +53634,7 @@ function FSe(e, t, n, r) {
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) || PSe(e) ? e : {
key: e,
- path: qz(e)
+ path: Jz(e)
}));
return e.map((e) => ({
original: e,
@@ -53664,15 +53649,15 @@ function FSe(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function eV(e, ...t) {
+function tV(e, ...t) {
let n = t.length;
- return n > 1 && QB(e, t[0], t[1]) ? t = [] : n > 2 && QB(t[0], t[1], t[2]) && (t = [t[0]]), FSe(e, ASe(t), ["asc"]);
+ return n > 1 && $B(e, t[0], t[1]) ? t = [] : n > 2 && $B(t[0], t[1], t[2]) && (t = [t[0]]), FSe(e, ASe(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var tV = (e) => e.legend.settings, ISe = (e) => e.legend.size, LSe = $([(e) => e.legend.payload, tV], (e, t) => {
+var nV = (e) => e.legend.settings, ISe = (e) => e.legend.size, LSe = $([(e) => e.legend.payload, nV], (e, t) => {
var { itemSorter: n } = t, r = e.flat(1);
- return n ? eV(r, n) : r;
+ return n ? tV(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
@@ -53681,8 +53666,8 @@ function RSe() {
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-var nV = 1;
-function rV() {
+var rV = 1;
+function iV() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, R.useState)({
height: 0,
left: 0,
@@ -53697,7 +53682,7 @@ function rV() {
top: r.top,
width: r.width
};
- (Math.abs(i.height - t.height) > nV || Math.abs(i.left - t.left) > nV || Math.abs(i.top - t.top) > nV || Math.abs(i.width - t.width) > nV) && n({
+ (Math.abs(i.height - t.height) > rV || Math.abs(i.left - t.left) > rV || Math.abs(i.top - t.top) > rV || Math.abs(i.width - t.width) > rV) && n({
height: i.height,
left: i.left,
top: i.top,
@@ -53714,26 +53699,26 @@ function rV() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function iV(e) {
+function aV(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 aV = typeof Symbol == "function" && Symbol.observable || "@@observable", oV = () => Math.random().toString(36).substring(7).split("").join("."), sV = {
- INIT: `@@redux/INIT${/* @__PURE__ */ oV()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ oV()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${oV()}`
+var oV = typeof Symbol == "function" && Symbol.observable || "@@observable", sV = () => Math.random().toString(36).substring(7).split("").join("."), cV = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ sV()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ sV()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${sV()}`
};
-function cV(e) {
+function lV(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 lV(e, t, n) {
- if (typeof e != "function") throw Error(iV(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(iV(0));
+function uV(e, t, n) {
+ if (typeof e != "function") throw Error(aV(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(aV(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(iV(1));
- return n(lV)(e, t);
+ if (typeof n != "function") throw Error(aV(1));
+ return n(uV)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -53742,27 +53727,27 @@ function lV(e, t, n) {
}));
}
function u() {
- if (c) throw Error(iV(3));
+ if (c) throw Error(aV(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(iV(4));
- if (c) throw Error(iV(5));
+ if (typeof e != "function") throw Error(aV(4));
+ if (c) throw Error(aV(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(iV(6));
+ if (c) throw Error(aV(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!cV(e)) throw Error(iV(7));
- if (e.type === void 0) throw Error(iV(8));
- if (typeof e.type != "string") throw Error(iV(17));
- if (c) throw Error(iV(9));
+ if (!lV(e)) throw Error(aV(7));
+ if (e.type === void 0) throw Error(aV(8));
+ if (typeof e.type != "string") throw Error(aV(17));
+ if (c) throw Error(aV(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -53773,41 +53758,41 @@ function lV(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(iV(10));
- r = e, f({ type: sV.REPLACE });
+ if (typeof e != "function") throw Error(aV(10));
+ r = e, f({ type: cV.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(iV(11));
+ if (typeof t != "object" || !t) throw Error(aV(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [aV]() {
+ [oV]() {
return this;
}
};
}
- return f({ type: sV.INIT }), {
+ return f({ type: cV.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [aV]: m
+ [oV]: m
};
}
-function uV(e) {
+function dV(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: sV.INIT }) === void 0) throw Error(iV(12));
- if (n(void 0, { type: sV.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(iV(13));
+ if (n(void 0, { type: cV.INIT }) === void 0) throw Error(aV(12));
+ if (n(void 0, { type: cV.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(aV(13));
});
}
-function dV(e) {
+function fV(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -53815,7 +53800,7 @@ function dV(e) {
}
let r = Object.keys(n), i;
try {
- uV(n);
+ dV(n);
} catch (e) {
i = e;
}
@@ -53824,124 +53809,124 @@ function dV(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(iV(14));
+ if (u === void 0) throw t && t.type, Error(aV(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function fV(...e) {
+function pV(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function pV(...e) {
+function mV(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(iV(15));
+ throw Error(aV(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = fV(...e.map((e) => e(o)))(i.dispatch), {
+ return a = pV(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function mV(e) {
- return cV(e) && "type" in e && typeof e.type == "string";
+function hV(e) {
+ return lV(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs
-var hV = Symbol.for("immer-nothing"), gV = Symbol.for("immer-draftable"), _V = Symbol.for("immer-state");
-function vV(e, ...t) {
+var gV = Symbol.for("immer-nothing"), _V = Symbol.for("immer-draftable"), vV = Symbol.for("immer-state");
+function yV(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var yV = Object, bV = yV.getPrototypeOf, xV = "constructor", SV = "prototype", CV = "configurable", wV = "enumerable", TV = "writable", EV = "value", DV = (e) => !!e && !!e[_V];
-function OV(e) {
- return e ? AV(e) || IV(e) || !!e[gV] || !!e[xV]?.[gV] || LV(e) || RV(e) : !1;
+var bV = Object, xV = bV.getPrototypeOf, SV = "constructor", CV = "prototype", wV = "configurable", TV = "enumerable", EV = "writable", DV = "value", OV = (e) => !!e && !!e[vV];
+function kV(e) {
+ return e ? jV(e) || LV(e) || !!e[_V] || !!e[SV]?.[_V] || RV(e) || zV(e) : !1;
}
-var zSe = yV[SV][xV].toString(), kV = /* @__PURE__ */ new WeakMap();
-function AV(e) {
- if (!e || !zV(e)) return !1;
- let t = bV(e);
- if (t === null || t === yV[SV]) return !0;
- let n = yV.hasOwnProperty.call(t, xV) && t[xV];
+var zSe = bV[CV][SV].toString(), AV = /* @__PURE__ */ new WeakMap();
+function jV(e) {
+ if (!e || !BV(e)) return !1;
+ let t = xV(e);
+ if (t === null || t === bV[CV]) return !0;
+ let n = bV.hasOwnProperty.call(t, SV) && t[SV];
if (n === Object) return !0;
- if (!BV(n)) return !1;
- let r = kV.get(n);
- return r === void 0 && (r = Function.toString.call(n), kV.set(n, r)), r === zSe;
+ if (!VV(n)) return !1;
+ let r = AV.get(n);
+ return r === void 0 && (r = Function.toString.call(n), AV.set(n, r)), r === zSe;
}
-function jV(e, t, n = !0) {
- MV(e) === 0 ? (n ? Reflect.ownKeys(e) : yV.keys(e)).forEach((n) => {
+function MV(e, t, n = !0) {
+ NV(e) === 0 ? (n ? Reflect.ownKeys(e) : bV.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function MV(e) {
- let t = e[_V];
- return t ? t.type_ : IV(e) ? 1 : LV(e) ? 2 : RV(e) ? 3 : 0;
+function NV(e) {
+ let t = e[vV];
+ return t ? t.type_ : LV(e) ? 1 : RV(e) ? 2 : zV(e) ? 3 : 0;
}
-var NV = (e, t, n = MV(e)) => n === 2 ? e.has(t) : yV[SV].hasOwnProperty.call(e, t), PV = (e, t, n = MV(e)) => n === 2 ? e.get(t) : e[t], FV = (e, t, n, r = MV(e)) => {
+var PV = (e, t, n = NV(e)) => n === 2 ? e.has(t) : bV[CV].hasOwnProperty.call(e, t), FV = (e, t, n = NV(e)) => n === 2 ? e.get(t) : e[t], IV = (e, t, n, r = NV(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
function BSe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-var IV = Array.isArray, LV = (e) => e instanceof Map, RV = (e) => e instanceof Set, zV = (e) => typeof e == "object", BV = (e) => typeof e == "function", VV = (e) => typeof e == "boolean";
+var LV = Array.isArray, RV = (e) => e instanceof Map, zV = (e) => e instanceof Set, BV = (e) => typeof e == "object", VV = (e) => typeof e == "function", HV = (e) => typeof e == "boolean";
function VSe(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
-var HV = (e) => e.copy_ || e.base_, UV = (e) => e.modified_ ? e.copy_ : e.base_;
-function WV(e, t) {
- if (LV(e)) return new Map(e);
- if (RV(e)) return new Set(e);
- if (IV(e)) return Array[SV].slice.call(e);
- let n = AV(e);
+var UV = (e) => e.copy_ || e.base_, WV = (e) => e.modified_ ? e.copy_ : e.base_;
+function GV(e, t) {
+ if (RV(e)) return new Map(e);
+ if (zV(e)) return new Set(e);
+ if (LV(e)) return Array[CV].slice.call(e);
+ let n = jV(e);
if (t === !0 || t === "class_only" && !n) {
- let t = yV.getOwnPropertyDescriptors(e);
- delete t[_V];
+ let t = bV.getOwnPropertyDescriptors(e);
+ delete t[vV];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
- a[TV] === !1 && (a[TV] = !0, a[CV] = !0), (a.get || a.set) && (t[i] = {
- [CV]: !0,
- [TV]: !0,
- [wV]: a[wV],
- [EV]: e[i]
+ a[EV] === !1 && (a[EV] = !0, a[wV] = !0), (a.get || a.set) && (t[i] = {
+ [wV]: !0,
+ [EV]: !0,
+ [TV]: a[TV],
+ [DV]: e[i]
});
}
- return yV.create(bV(e), t);
+ return bV.create(xV(e), t);
}
{
- let t = bV(e);
+ let t = xV(e);
if (t !== null && n) return { ...e };
- let r = yV.create(t);
- return yV.assign(r, e);
- }
-}
-function GV(e, t = !1) {
- return qV(e) || DV(e) || !OV(e) ? e : (MV(e) > 1 && yV.defineProperties(e, {
- set: KV,
- add: KV,
- clear: KV,
- delete: KV
- }), yV.freeze(e), t && jV(e, (e, t) => {
- GV(t, !0);
+ let r = bV.create(t);
+ return bV.assign(r, e);
+ }
+}
+function KV(e, t = !1) {
+ return JV(e) || OV(e) || !kV(e) ? e : (NV(e) > 1 && bV.defineProperties(e, {
+ set: qV,
+ add: qV,
+ clear: qV,
+ delete: qV
+ }), bV.freeze(e), t && MV(e, (e, t) => {
+ KV(t, !0);
}, !1), e);
}
function HSe() {
- vV(2);
+ yV(2);
}
-var KV = { [EV]: HSe };
-function qV(e) {
- return e === null || !zV(e) || yV.isFrozen(e);
+var qV = { [DV]: HSe };
+function JV(e) {
+ return e === null || !BV(e) || bV.isFrozen(e);
}
-var JV = "MapSet", YV = "Patches", XV = "ArrayMethods", ZV = {};
-function QV(e) {
- let t = ZV[e];
- return t || vV(0, e), t;
+var YV = "MapSet", XV = "Patches", ZV = "ArrayMethods", QV = {};
+function $V(e) {
+ let t = QV[e];
+ return t || yV(0, e), t;
}
-var $V = (e) => !!ZV[e], eH, tH = () => eH, USe = (e, t) => ({
+var eH = (e) => !!QV[e], tH, nH = () => tH, USe = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -53949,114 +53934,114 @@ var $V = (e) => !!ZV[e], eH, tH = () => eH, USe = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: $V(JV) ? QV(JV) : void 0,
- arrayMethodsPlugin_: $V(XV) ? QV(XV) : void 0
+ mapSetPlugin_: eH(YV) ? $V(YV) : void 0,
+ arrayMethodsPlugin_: eH(ZV) ? $V(ZV) : void 0
});
-function nH(e, t) {
- t && (e.patchPlugin_ = QV(YV), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
-}
-function rH(e) {
- iH(e), e.drafts_.forEach(WSe), e.drafts_ = null;
+function rH(e, t) {
+ t && (e.patchPlugin_ = $V(XV), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function iH(e) {
- e === eH && (eH = e.parent_);
+ aH(e), e.drafts_.forEach(WSe), e.drafts_ = null;
}
-var aH = (e) => eH = USe(eH, e);
+function aH(e) {
+ e === tH && (tH = e.parent_);
+}
+var oH = (e) => tH = USe(tH, e);
function WSe(e) {
- let t = e[_V];
+ let t = e[vV];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function oH(e, t) {
+function sH(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[_V].modified_ && (rH(t), vV(4)), OV(e) && (e = sH(t, e));
+ n[vV].modified_ && (iH(t), yV(4)), kV(e) && (e = cH(t, e));
let { patchPlugin_: r } = t;
- r && r.generateReplacementPatches_(n[_V].base_, e, t);
- } else e = sH(t, n);
- return GSe(t, e, !0), rH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === hV ? void 0 : e;
-}
-function sH(e, t) {
- if (qV(t)) return t;
- let n = t[_V];
- if (!n) return fH(t, e.handledSet_, e);
- if (!lH(n, e)) return t;
+ r && r.generateReplacementPatches_(n[vV].base_, e, t);
+ } else e = cH(t, n);
+ return GSe(t, e, !0), iH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === gV ? void 0 : e;
+}
+function cH(e, t) {
+ if (JV(t)) return t;
+ let n = t[vV];
+ if (!n) return pH(t, e.handledSet_, e);
+ if (!uH(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);
- dH(n, e);
+ fH(n, e);
}
return n.copy_;
}
function GSe(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && GV(t, n);
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && KV(t, n);
}
-function cH(e) {
+function lH(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var lH = (e, t) => e.scope_ === t, KSe = [];
-function uH(e, t, n, r) {
- let i = HV(e), a = e.type_;
- if (r !== void 0 && PV(i, r, a) === t) {
- FV(i, r, n, a);
+var uH = (e, t) => e.scope_ === t, KSe = [];
+function dH(e, t, n, r) {
+ let i = UV(e), a = e.type_;
+ if (r !== void 0 && FV(i, r, a) === t) {
+ IV(i, r, n, a);
return;
}
if (!e.draftLocations_) {
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
- jV(i, (e, n) => {
- if (DV(n)) {
+ MV(i, (e, n) => {
+ if (OV(n)) {
let r = t.get(n) || [];
r.push(e), t.set(n, r);
}
});
}
let o = e.draftLocations_.get(t) ?? KSe;
- for (let e of o) FV(i, e, n, a);
+ for (let e of o) IV(i, e, n, a);
}
function qSe(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
- if (!i || !lH(i, r)) return;
+ if (!i || !uH(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
- let a = UV(i);
- uH(e, i.draft_ ?? i, a, n), dH(i, r);
+ let a = WV(i);
+ dH(e, i.draft_ ?? i, a, n), fH(i, r);
});
}
-function dH(e, t) {
+function fH(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);
}
- cH(e);
+ lH(e);
}
}
function JSe(e, t, n) {
let { scope_: r } = e;
- if (DV(n)) {
- let i = n[_V];
- lH(i, r) && i.callbacks_.push(function() {
- vH(e), uH(e, n, UV(i), t);
+ if (OV(n)) {
+ let i = n[vV];
+ uH(i, r) && i.callbacks_.push(function() {
+ yH(e), dH(e, n, WV(i), t);
});
- } else OV(n) && e.callbacks_.push(function() {
- let i = HV(e);
- e.type_ === 3 ? i.has(n) && fH(n, r.handledSet_, r) : PV(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && fH(PV(e.copy_, t, e.type_), r.handledSet_, r);
+ } else kV(n) && e.callbacks_.push(function() {
+ let i = UV(e);
+ e.type_ === 3 ? i.has(n) && pH(n, r.handledSet_, r) : FV(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && pH(FV(e.copy_, t, e.type_), r.handledSet_, r);
});
}
-function fH(e, t, n) {
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || DV(e) || t.has(e) || !OV(e) || qV(e) ? e : (t.add(e), jV(e, (r, i) => {
- if (DV(i)) {
- let t = i[_V];
- lH(t, n) && (FV(e, r, UV(t), e.type_), cH(t));
- } else OV(i) && fH(i, t, n);
+function pH(e, t, n) {
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || OV(e) || t.has(e) || !kV(e) || JV(e) ? e : (t.add(e), MV(e, (r, i) => {
+ if (OV(i)) {
+ let t = i[vV];
+ uH(t, n) && (IV(e, r, WV(t), e.type_), lH(t));
+ } else kV(i) && pH(i, t, n);
}), e);
}
function YSe(e, t) {
- let n = IV(e), r = {
+ let n = LV(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : tH(),
+ scope_: t ? t.scope_ : nH(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -54067,108 +54052,108 @@ function YSe(e, t) {
revoke_: null,
isManual_: !1,
callbacks_: void 0
- }, i = r, a = pH;
- n && (i = [r], a = mH);
+ }, i = r, a = mH;
+ n && (i = [r], a = hH);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, [s, r];
}
-var pH = {
+var mH = {
get(e, t) {
- if (t === _V) return e;
+ if (t === vV) 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 = HV(e);
- if (!NV(i, t, e.type_)) return ZSe(e, i, t);
+ let i = UV(e);
+ if (!PV(i, t, e.type_)) return ZSe(e, i, t);
let a = i[t];
- if (e.finalized_ || !OV(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && VSe(t)) return a;
- if (a === hH(e.base_, t) || XSe(e, t, a)) {
- vH(e);
- let n = e.type_ === 1 ? +t : t, r = yH(e.scope_, a, e, n);
+ if (e.finalized_ || !kV(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && VSe(t)) return a;
+ if (a === gH(e.base_, t) || XSe(e, t, a)) {
+ yH(e);
+ let n = e.type_ === 1 ? +t : t, r = bH(e.scope_, a, e, n);
return e.copy_[n] = r;
}
return a;
},
has(e, t) {
- return t in HV(e);
+ return t in UV(e);
},
ownKeys(e) {
- return Reflect.ownKeys(HV(e));
+ return Reflect.ownKeys(UV(e));
},
set(e, t, n) {
- let r = gH(HV(e), t);
+ let r = _H(UV(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = hH(HV(e), t), i = r?.[_V];
+ let r = gH(UV(e), t), i = r?.[vV];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
- if (BSe(n, r) && (n !== void 0 || NV(e.base_, t, e.type_))) return !0;
- vH(e), _H(e);
+ if (BSe(n, r) && (n !== void 0 || PV(e.base_, t, e.type_))) return !0;
+ yH(e), vH(e);
}
- return e.copy_[t] === n && (n !== void 0 || NV(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), JSe(e, t, n), !0);
+ return e.copy_[t] === n && (n !== void 0 || PV(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), JSe(e, t, n), !0);
},
deleteProperty(e, t) {
- return vH(e), hH(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), _H(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
+ return yH(e), gH(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), vH(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = HV(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = UV(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
- [TV]: !0,
- [CV]: e.type_ !== 1 || t !== "length",
- [wV]: r[wV],
- [EV]: n[t]
+ [EV]: !0,
+ [wV]: e.type_ !== 1 || t !== "length",
+ [TV]: r[TV],
+ [DV]: n[t]
};
},
defineProperty() {
- vV(11);
+ yV(11);
},
getPrototypeOf(e) {
- return bV(e.base_);
+ return xV(e.base_);
},
setPrototypeOf() {
- vV(12);
+ yV(12);
}
-}, mH = {};
-for (let e in pH) {
- let t = pH[e];
- mH[e] = function() {
+}, hH = {};
+for (let e in mH) {
+ let t = mH[e];
+ hH[e] = function() {
let e = arguments;
return e[0] = e[0][0], t.apply(this, e);
};
}
-mH.deleteProperty = function(e, t) {
- return mH.set.call(this, e, t, void 0);
-}, mH.set = function(e, t, n) {
- return pH.set.call(this, e[0], t, n, e[0]);
+hH.deleteProperty = function(e, t) {
+ return hH.set.call(this, e, t, void 0);
+}, hH.set = function(e, t, n) {
+ return mH.set.call(this, e[0], t, n, e[0]);
};
-function hH(e, t) {
- let n = e[_V];
- return (n ? HV(n) : e)[t];
+function gH(e, t) {
+ let n = e[vV];
+ return (n ? UV(n) : e)[t];
}
function XSe(e, t, n) {
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !OV(n) || n[_V] ? !1 : e.baseRefs_.has(n);
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !kV(n) || n[vV] ? !1 : e.baseRefs_.has(n);
}
function ZSe(e, t, n) {
- let r = gH(t, n);
- return r ? EV in r ? r[EV] : r.get?.call(e.draft_) : void 0;
+ let r = _H(t, n);
+ return r ? DV in r ? r[DV] : r.get?.call(e.draft_) : void 0;
}
-function gH(e, t) {
+function _H(e, t) {
if (!(t in e)) return;
- let n = bV(e);
+ let n = xV(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = bV(n);
+ n = xV(n);
}
}
-function _H(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && _H(e.parent_));
-}
function vH(e) {
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), WV(e.base_, e.scope_.immer_.useStrictShallowCopy_));
+ e.modified_ || (e.modified_ = !0, e.parent_ && vH(e.parent_));
+}
+function yH(e) {
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), GV(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
var QSe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
- if (BV(e) && !BV(t)) {
+ if (VV(e) && !VV(t)) {
let n = t;
t = e;
let r = this;
@@ -54176,30 +54161,30 @@ var QSe = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- BV(t) || vV(6), n !== void 0 && !BV(n) && vV(7);
+ VV(t) || yV(6), n !== void 0 && !VV(n) && yV(7);
let r;
- if (OV(e)) {
- let i = aH(this), a = yH(i, e, void 0), o = !0;
+ if (kV(e)) {
+ let i = oH(this), a = bH(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? rH(i) : iH(i);
+ o ? iH(i) : aH(i);
}
- return nH(i, n), oH(r, i);
+ return rH(i, n), sH(r, i);
}
- if (!e || !zV(e)) {
- if (r = t(e), r === void 0 && (r = e), r === hV && (r = void 0), this.autoFreeze_ && GV(r, !0), n) {
+ if (!e || !BV(e)) {
+ if (r = t(e), r === void 0 && (r = e), r === gV && (r = void 0), this.autoFreeze_ && KV(r, !0), n) {
let t = [], i = [];
- QV(YV).generateReplacementPatches_(e, r, {
+ $V(XV).generateReplacementPatches_(e, r, {
patches_: t,
inversePatches_: i
}), n(t, i);
}
return r;
}
- vV(1, e);
+ yV(1, e);
}, this.produceWithPatches = (e, t) => {
- if (BV(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
+ if (VV(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
return [
this.produce(e, t, (e, t) => {
@@ -54208,18 +54193,18 @@ var QSe = class {
n,
r
];
- }, VV(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), VV(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), VV(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
+ }, HV(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), HV(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), HV(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- OV(e) || vV(8), DV(e) && (e = bH(e));
- let t = aH(this), n = yH(t, e, void 0);
- return n[_V].isManual_ = !0, iH(t), n;
+ kV(e) || yV(8), OV(e) && (e = xH(e));
+ let t = oH(this), n = bH(t, e, void 0);
+ return n[vV].isManual_ = !0, aH(t), n;
}
finishDraft(e, t) {
- let n = e && e[_V];
- (!n || !n.isManual_) && vV(9);
+ let n = e && e[vV];
+ (!n || !n.isManual_) && yV(9);
let { scope_: r } = n;
- return nH(r, t), oH(void 0, r);
+ return rH(r, t), sH(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -54243,48 +54228,48 @@ var QSe = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = QV(YV).applyPatches_;
- return DV(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = $V(XV).applyPatches_;
+ return OV(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function yH(e, t, n, r) {
- let [i, a] = LV(t) ? QV(JV).proxyMap_(t, n) : RV(t) ? QV(JV).proxySet_(t, n) : YSe(t, n);
- return (n?.scope_ ?? tH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? qSe(n, a, r) : a.callbacks_.push(function(e) {
+function bH(e, t, n, r) {
+ let [i, a] = RV(t) ? $V(YV).proxyMap_(t, n) : zV(t) ? $V(YV).proxySet_(t, n) : YSe(t, n);
+ return (n?.scope_ ?? nH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? qSe(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 bH(e) {
- return DV(e) || vV(10, e), xH(e);
-}
function xH(e) {
- if (!OV(e) || qV(e)) return e;
- let t = e[_V], n, r = !0;
+ return OV(e) || yV(10, e), SH(e);
+}
+function SH(e) {
+ if (!kV(e) || JV(e)) return e;
+ let t = e[vV], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = WV(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = WV(e, !0);
- return jV(n, (e, t) => {
- FV(n, e, xH(t));
+ t.finalized_ = !0, n = GV(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = GV(e, !0);
+ return MV(n, (e, t) => {
+ IV(n, e, SH(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var SH = new QSe().produce;
+var CH = new QSe().produce;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function CH(e) {
+function wH(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var $Se = CH(), eCe = CH, tCe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? fV : fV.apply(null, arguments);
+var $Se = wH(), eCe = wH, tCe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? pV : pV.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
-function wH(e, t) {
+function TH(e, t) {
function n(...n) {
if (t) {
let r = t(...n);
- if (!r) throw Error(aU(0));
+ if (!r) throw Error(oU(0));
return {
type: e,
payload: r.payload,
@@ -54297,9 +54282,9 @@ function wH(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => mV(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => hV(t) && t.type === e, n;
}
-var TH = class e extends Array {
+var EH = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -54313,29 +54298,29 @@ var TH = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function EH(e) {
- return OV(e) ? SH(e, () => {}) : e;
+function DH(e) {
+ return kV(e) ? CH(e, () => {}) : e;
}
-function DH(e, t, n) {
+function OH(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
function nCe(e) {
return typeof e == "boolean";
}
var rCe = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new TH();
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new EH();
return t && (nCe(t) ? a.push($Se) : a.push(eCe(t.extraArgument))), a;
-}, OH = "RTK_autoBatch", kH = () => (e) => ({
+}, kH = "RTK_autoBatch", AH = () => (e) => ({
payload: e,
- meta: { [OH]: !0 }
-}), AH = (e) => (t) => {
+ meta: { [kH]: !0 }
+}), jH = (e) => (t) => {
setTimeout(t, e);
}, iCe = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
-}, jH = (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 ? iCe(window.requestAnimationFrame, 100) : AH(10) : e.type === "callback" ? e.queueNotification : AH(e.timeout), l = () => {
+}, MH = (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 ? iCe(window.requestAnimationFrame, 100) : jH(10) : e.type === "callback" ? e.queueNotification : jH(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -54347,37 +54332,37 @@ var rCe = () => function(e) {
},
dispatch(e) {
try {
- return i = !e?.meta?.[OH], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
+ return i = !e?.meta?.[kH], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
} finally {
i = !0;
}
}
});
}, aCe = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new TH(e);
- return n && r.push(jH(typeof n == "object" ? n : void 0)), r;
+ let { autoBatch: n = !0 } = t ?? {}, r = new EH(e);
+ return n && r.push(MH(typeof n == "object" ? n : void 0)), r;
};
function oCe(e) {
let t = rCe(), { 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 (cV(n)) c = dV(n);
- else throw Error(aU(1));
+ else if (lV(n)) c = fV(n);
+ else throw Error(oU(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = fV;
+ let u = pV;
i && (u = tCe({
trace: !1,
...typeof i == "object" && i
}));
- let d = aCe(pV(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return lV(c, o, p);
+ let d = aCe(mV(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return uV(c, o, p);
}
-function MH(e) {
+function NH(e) {
let t = {}, n = [], r, i = {
addCase(e, n) {
let r = typeof e == "string" ? e : e.type;
- if (!r) throw Error(aU(28));
- if (r in t) throw Error(aU(29));
+ if (!r) throw Error(oU(28));
+ if (r in t) throw Error(oU(29));
return t[r] = n, i;
},
addAsyncThunk(e, r) {
@@ -54406,21 +54391,21 @@ function sCe(e) {
return typeof e == "function";
}
function cCe(e, t) {
- let [n, r, i] = MH(t), a;
- if (sCe(e)) a = () => EH(e());
+ let [n, r, i] = NH(t), a;
+ if (sCe(e)) a = () => DH(e());
else {
- let t = EH(e);
+ let t = DH(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 (DV(e)) {
+ if (OV(e)) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (OV(e)) return SH(e, (e) => n(e, t));
+ if (kV(e)) return CH(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -54447,7 +54432,7 @@ function pCe({ creators: e } = {}) {
let t = e?.asyncThunk?.[dCe];
return function(e) {
let { name: n, reducerPath: r = n } = e;
- if (!n) throw Error(aU(11));
+ if (!n) throw Error(oU(11));
let i = (typeof e.reducers == "function" ? e.reducers(hCe()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
@@ -54456,8 +54441,8 @@ function pCe({ creators: e } = {}) {
}, s = {
addCase(e, t) {
let n = typeof e == "string" ? e : e.type;
- if (!n) throw Error(aU(12));
- if (n in o.sliceCaseReducersByType) throw Error(aU(13));
+ if (!n) throw Error(oU(12));
+ if (n in o.sliceCaseReducersByType) throw Error(oU(13));
return o.sliceCaseReducersByType[n] = t, s;
},
addMatcher(e, t) {
@@ -54482,7 +54467,7 @@ function pCe({ creators: e } = {}) {
_Ce(a) ? yCe(o, a, s, t) : gCe(o, a, s);
});
function c() {
- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? MH(e.extraReducers) : [e.extraReducers], i = {
+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? NH(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
@@ -54503,12 +54488,12 @@ function pCe({ creators: e } = {}) {
function h(t, n = !1) {
function r(e) {
let i = e[t];
- return i === void 0 && n && (i = DH(d, r, m)), i;
+ return i === void 0 && n && (i = OH(d, r, m)), i;
}
function i(t = l) {
- return DH(DH(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
+ return OH(OH(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = mCe(a, t, () => DH(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = mCe(a, t, () => OH(d, t, m), n);
return r;
});
}
@@ -54549,7 +54534,7 @@ function mCe(e, t, n, r) {
}
return i.unwrapped = e, i;
}
-var NH = /* @__PURE__ */ pCe();
+var PH = /* @__PURE__ */ pCe();
function hCe() {
function e(e, t) {
return {
@@ -54577,10 +54562,10 @@ function hCe() {
function gCe({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !vCe(r)) throw Error(aU(17));
+ if (n && !vCe(r)) throw Error(oU(17));
a = r.reducer, o = r.prepare;
} else a = r;
- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? wH(e, o) : wH(e));
+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? TH(e, o) : TH(e));
}
function _Ce(e) {
return e._reducerDefinitionType === "asyncThunk";
@@ -54589,39 +54574,39 @@ function vCe(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
function yCe({ type: e, reducerName: t }, n, r, i) {
- if (!i) throw Error(aU(18));
+ if (!i) throw Error(oU(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 || PH,
- pending: s || PH,
- rejected: c || PH,
- settled: l || PH
+ fulfilled: o || FH,
+ pending: s || FH,
+ rejected: c || FH,
+ settled: l || FH
});
}
-function PH() {}
-var bCe = "task", FH = "listener", IH = "completed", LH = "cancelled", xCe = `task-${LH}`, SCe = `task-${IH}`, RH = `${FH}-${LH}`, CCe = `${FH}-${IH}`, zH = class {
+function FH() {}
+var bCe = "task", IH = "listener", LH = "completed", RH = "cancelled", xCe = `task-${RH}`, SCe = `task-${LH}`, zH = `${IH}-${RH}`, CCe = `${IH}-${LH}`, BH = class {
constructor(e) {
- this.code = e, this.message = `${bCe} ${LH} (reason: ${e})`;
+ this.code = e, this.message = `${bCe} ${RH} (reason: ${e})`;
}
code;
name = "TaskAbortError";
message;
-}, BH = (e, t) => {
- if (typeof e != "function") throw TypeError(aU(32));
-}, VH = () => {}, HH = (e, t = VH) => (e.catch(t), e), UH = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), WH = (e) => {
- if (e.aborted) throw new zH(e.reason);
+}, VH = (e, t) => {
+ if (typeof e != "function") throw TypeError(oU(32));
+}, HH = () => {}, UH = (e, t = HH) => (e.catch(t), e), WH = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), GH = (e) => {
+ if (e.aborted) throw new BH(e.reason);
};
-function GH(e, t) {
- let n = VH;
+function KH(e, t) {
+ let n = HH;
return new Promise((r, i) => {
- let a = () => i(new zH(e.reason));
+ let a = () => i(new BH(e.reason));
if (e.aborted) {
a();
return;
}
- n = UH(e, a), t.finally(() => n()).then(r, i);
+ n = WH(e, a), t.finally(() => n()).then(r, i);
}).finally(() => {
- n = VH;
+ n = HH;
});
}
var wCe = async (e, t) => {
@@ -54632,32 +54617,32 @@ var wCe = async (e, t) => {
};
} catch (e) {
return {
- status: e instanceof zH ? "cancelled" : "rejected",
+ status: e instanceof BH ? "cancelled" : "rejected",
error: e
};
} finally {
t?.();
}
-}, KH = (e) => (t) => HH(GH(e, t).then((t) => (WH(e), t))), qH = (e) => {
- let t = KH(e);
+}, qH = (e) => (t) => UH(KH(e, t).then((t) => (GH(e), t))), JH = (e) => {
+ let t = qH(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: JH } = Object, YH = {}, XH = "listenerMiddleware", TCe = (e, t) => {
- let n = (t) => UH(e, () => t.abort(e.reason));
+}, { assign: YH } = Object, XH = {}, ZH = "listenerMiddleware", TCe = (e, t) => {
+ let n = (t) => WH(e, () => t.abort(e.reason));
return (r, i) => {
- BH(r, "taskExecutor");
+ VH(r, "taskExecutor");
let a = new AbortController();
n(a);
let o = wCe(async () => {
- WH(e), WH(a.signal);
+ GH(e), GH(a.signal);
let t = await r({
- pause: KH(a.signal),
- delay: qH(a.signal),
+ pause: qH(a.signal),
+ delay: JH(a.signal),
signal: a.signal
});
- return WH(a.signal), t;
+ return GH(a.signal), t;
}, () => a.abort(SCe));
- return i?.autoJoin && t.push(o.catch(VH)), {
- result: KH(e)(o),
+ return i?.autoJoin && t.push(o.catch(HH)), {
+ result: qH(e)(o),
cancel() {
a.abort(xCe);
}
@@ -54665,7 +54650,7 @@ var wCe = async (e, t) => {
};
}, ECe = (e, t) => {
let n = async (n, r) => {
- WH(t);
+ GH(t);
let i = () => {}, a = [new Promise((t, r) => {
let a = e({
predicate: n,
@@ -54683,26 +54668,26 @@ var wCe = async (e, t) => {
})];
r != null && a.push(new Promise((e) => setTimeout(e, r, null)));
try {
- let e = await GH(t, Promise.race(a));
- return WH(t), e;
+ let e = await KH(t, Promise.race(a));
+ return GH(t), e;
} finally {
i();
}
};
- return ((e, t) => HH(n(e, t)));
-}, ZH = (e) => {
+ return ((e, t) => UH(n(e, t)));
+}, QH = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
- if (t) i = wH(t).match;
+ if (t) i = TH(t).match;
else if (n) t = n.type, i = n.match;
else if (r) i = r;
- else if (!i) throw Error(aU(21));
- return BH(a, "options.listener"), {
+ else if (!i) throw Error(oU(21));
+ return VH(a, "options.listener"), {
predicate: i,
type: t,
effect: a
};
-}, QH = /* @__PURE__ */ JH((e) => {
- let { type: t, predicate: n, effect: r } = ZH(e);
+}, $H = /* @__PURE__ */ YH((e) => {
+ let { type: t, predicate: n, effect: r } = QH(e);
return {
id: uCe(),
effect: r,
@@ -54710,20 +54695,20 @@ var wCe = async (e, t) => {
predicate: n,
pending: /* @__PURE__ */ new Set(),
unsubscribe: () => {
- throw Error(aU(22));
+ throw Error(oU(22));
}
};
-}, { withTypes: () => QH }), $H = (e, t) => {
- let { type: n, effect: r, predicate: i } = ZH(t);
+}, { withTypes: () => $H }), eU = (e, t) => {
+ let { type: n, effect: r, predicate: i } = QH(t);
return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);
-}, eU = (e) => {
+}, tU = (e) => {
e.pending.forEach((e) => {
- e.abort(RH);
+ e.abort(zH);
});
}, DCe = (e, t) => () => {
- for (let e of t.keys()) eU(e);
+ for (let e of t.keys()) tU(e);
e.clear();
-}, tU = (e, t, n) => {
+}, nU = (e, t, n) => {
try {
e(t, n);
} catch (e) {
@@ -54731,9 +54716,9 @@ var wCe = async (e, t) => {
throw e;
}, 0);
}
-}, nU = /* @__PURE__ */ JH(/* @__PURE__ */ wH(`${XH}/add`), { withTypes: () => nU }), OCe = /* @__PURE__ */ wH(`${XH}/removeAll`), rU = /* @__PURE__ */ JH(/* @__PURE__ */ wH(`${XH}/remove`), { withTypes: () => rU }), kCe = (...e) => {
- console.error(`${XH}/error`, ...e);
-}, iU = (e = {}) => {
+}, rU = /* @__PURE__ */ YH(/* @__PURE__ */ TH(`${ZH}/add`), { withTypes: () => rU }), OCe = /* @__PURE__ */ TH(`${ZH}/removeAll`), iU = /* @__PURE__ */ YH(/* @__PURE__ */ TH(`${ZH}/remove`), { withTypes: () => iU }), kCe = (...e) => {
+ console.error(`${ZH}/error`, ...e);
+}, aU = (e = {}) => {
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {
let t = n.get(e) ?? 0;
n.set(e, t + 1);
@@ -54741,28 +54726,28 @@ var wCe = async (e, t) => {
let t = n.get(e) ?? 1;
t === 1 ? n.delete(e) : n.set(e, t - 1);
}, { extra: a, onError: o = kCe } = e;
- BH(o, "onError");
+ VH(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
- e.unsubscribe(), t?.cancelActive && eU(e);
+ e.unsubscribe(), t?.cancelActive && tU(e);
}), c = ((e) => {
- let n = $H(t, e) ?? QH(e);
+ let n = eU(t, e) ?? $H(e);
return s(n);
});
- JH(c, { withTypes: () => c });
+ YH(c, { withTypes: () => c });
let l = (e) => {
- let n = $H(t, e);
- return n && (n.unsubscribe(), e.cancelActive && eU(n)), !!n;
+ let n = eU(t, e);
+ return n && (n.unsubscribe(), e.cancelActive && tU(n)), !!n;
};
- JH(l, { withTypes: () => l });
+ YH(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
let u = new AbortController(), d = ECe(c, u.signal), f = [];
try {
- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, JH({}, s, {
+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, YH({}, s, {
getOriginalState: l,
condition: (e, t) => d(e, t).then(Boolean),
take: d,
- delay: qH(u.signal),
- pause: KH(u.signal),
+ delay: JH(u.signal),
+ pause: qH(u.signal),
extra: a,
signal: u.signal,
fork: TCe(u.signal, f),
@@ -54772,33 +54757,33 @@ var wCe = async (e, t) => {
},
cancelActiveListeners: () => {
e.pending.forEach((e, t, n) => {
- e !== u && (e.abort(RH), n.delete(e));
+ e !== u && (e.abort(zH), n.delete(e));
});
},
cancel: () => {
- u.abort(RH), e.pending.delete(u);
+ u.abort(zH), e.pending.delete(u);
},
throwIfCancelled: () => {
- WH(u.signal);
+ GH(u.signal);
}
})));
} catch (e) {
- e instanceof zH || tU(o, e, { raisedBy: "effect" });
+ e instanceof BH || nU(o, e, { raisedBy: "effect" });
} finally {
await Promise.all(f), u.abort(CCe), i(e), e.pending.delete(u);
}
}, d = DCe(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!mV(r)) return n(r);
- if (nU.match(r)) return c(r.payload);
+ if (!hV(r)) return n(r);
+ if (rU.match(r)) return c(r.payload);
if (OCe.match(r)) {
d();
return;
}
- if (rU.match(r)) return l(r.payload);
+ if (iU.match(r)) return l(r.payload);
let i = e.getState(), a = () => {
- if (i === YH) throw Error(aU(23));
+ if (i === XH) throw Error(oU(23));
return i;
}, s;
try {
@@ -54809,13 +54794,13 @@ var wCe = async (e, t) => {
try {
s = t.predicate(r, n, i);
} catch (e) {
- s = !1, tU(o, e, { raisedBy: "predicate" });
+ s = !1, nU(o, e, { raisedBy: "predicate" });
}
s && u(t, r, e, a);
}
}
} finally {
- i = YH;
+ i = XH;
}
return s;
},
@@ -54824,12 +54809,12 @@ var wCe = async (e, t) => {
clearListeners: d
};
};
-function aU(e) {
+function oU(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 oU = NH({
+var sU = PH({
name: "chartLayout",
initialState: {
layoutType: "horizontal",
@@ -54857,23 +54842,23 @@ var oU = NH({
e.scale = t.payload;
}
}
-}), { setMargin: ACe, setLayout: jCe, setChartSize: MCe, setScale: NCe } = oU.actions, PCe = oU.reducer;
+}), { setMargin: ACe, setLayout: jCe, setChartSize: MCe, setScale: NCe } = sU.actions, PCe = sU.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
-function sU(e, t, n) {
+function cU(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 cU(e) {
+function lU(e) {
return Number.isFinite(e);
}
-function lU(e) {
+function uU(e) {
return typeof e == "number" && e > 0 && Number.isFinite(e);
}
//#endregion
//#region node_modules/recharts/es6/util/ChartUtils.js
-function uU(e, t) {
+function dU(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54883,12 +54868,12 @@ function uU(e, t) {
}
return n;
}
-function dU(e) {
+function fU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? uU(Object(n), !0).forEach(function(t) {
+ t % 2 ? dU(Object(n), !0).forEach(function(t) {
FCe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : uU(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -54916,59 +54901,59 @@ function LCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function fU(e, t, n) {
- return oB(e) || oB(t) ? n : eB(t) ? Jz(e, t, n) : typeof t == "function" ? t(e) : n;
+function pU(e, t, n) {
+ return sB(e) || sB(t) ? n : tB(t) ? Yz(e, t, n) : typeof t == "function" ? t(e) : n;
}
var RCe = (e, t, n) => {
if (t && n) {
var { width: r, height: i } = n, { align: a, verticalAlign: o, layout: s } = t;
- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return dU(dU({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return dU(dU({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return fU(fU({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return fU(fU({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
-}, pU = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", mU = (e, t, n, r) => {
+}, mU = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", hU = (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;
-}, hU = (e, t, n) => {
+}, gU = (e, t, n) => {
if (!e) return null;
var { duplicateDomain: r, type: i, range: a, scale: o, realScaleType: s, isCategorical: c, categoricalDomain: l, tickCount: u, ticks: d, niceTicks: f, axisType: p } = e;
if (!o) return null;
var m = s === "scaleBand" && o.bandwidth ? o.bandwidth() / 2 : 2, h = (t || n) && i === "category" && o.bandwidth ? o.bandwidth() / m : 0;
- return h = p === "angleAxis" && a && a.length >= 2 ? Zz(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? Qz(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 cU(i) ? {
+ return lU(i) ? {
coordinate: i + h,
value: e,
offset: h,
index: t
} : null;
- }).filter(cB) : c && l ? l.map((e, t) => {
+ }).filter(lB) : c && l ? l.map((e, t) => {
var n = o.map(e);
- return cU(n) ? {
+ return lU(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(cB) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(lB) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
- return cU(n) ? {
+ return lU(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(cB) : o.domain().map((e, t) => {
+ }).filter(lB) : o.domain().map((e, t) => {
var n = o.map(e);
- return cU(n) ? {
+ return lU(n) ? {
coordinate: n + h,
value: r ? r[e] : e,
index: t,
offset: h
} : null;
- }).filter(cB);
-}, gU = (e, t) => {
+ }).filter(lB);
+}, _U = (e, t) => {
if (!t || t.length !== 2 || !Z(t[0]) || !Z(t[1])) return e;
var n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]), i = [e[0], e[1]];
return (!Z(e[0]) || e[0] < n) && (i[0] = n), (!Z(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
@@ -54980,14 +54965,14 @@ var RCe = (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 = Qz(c) ? l : c;
+ var c = s[1], l = s[0], u = $z(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
expand: Qbe,
- none: Bz,
+ none: Vz,
silhouette: $be,
wiggle: exe,
positive: (e) => {
@@ -54997,44 +54982,44 @@ var RCe = (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 = Qz(o[1]) ? o[0] : o[1];
+ var s = $z(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
}, BCe = (e, t, n) => {
- var r = zCe[n] ?? Bz, i = Zbe().keys(t).value((e, t) => Number(fU(e, t, 0))).order(Vz).offset(r)(e);
+ var r = zCe[n] ?? Vz, i = Zbe().keys(t).value((e, t) => Number(pU(e, t, 0))).order(Hz).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
- var a = fU(e[i], t[r], 0);
+ var a = pU(e[i], t[r], 0);
Array.isArray(a) && a.length === 2 && Z(a[0]) && Z(a[1]) && (n[0] = a[0], n[1] = a[1]);
});
}), i;
};
-function _U(e) {
+function vU(e) {
return e == null ? void 0 : String(e);
}
-function vU(e) {
+function yU(e) {
var { axis: t, ticks: n, bandSize: r, entry: i, index: a, dataKey: o } = e;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !oB(i[t.dataKey])) {
- var s = aB(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !sB(i[t.dataKey])) {
+ var s = oB(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 = fU(i, oB(o) ? t.dataKey : o), l = t.scale.map(c);
+ var c = pU(i, sB(o) ? t.dataKey : o), l = t.scale.map(c);
return Z(l) ? l : null;
}
-var yU = (e) => {
+var bU = (e) => {
var { axis: t, ticks: n, offset: r, bandSize: i, entry: a, index: o } = e;
if (t.type === "category") return n[o] ? n[o].coordinate + r : null;
- var s = fU(a, t.dataKey, t.scale.domain()[o]);
- if (oB(s)) return null;
+ var s = pU(a, t.dataKey, t.scale.domain()[o]);
+ if (sB(s)) return null;
var c = t.scale.map(s);
return Z(c) ? c - i / 2 + r : null;
-}, bU = (e) => {
+}, xU = (e) => {
var { numericAxis: t } = e, n = t.scale.domain();
if (t.type === "number") {
var r = Math.min(n[0], n[1]), i = Math.max(n[0], n[1]);
@@ -55049,18 +55034,18 @@ var yU = (e) => {
var a = e[i];
if (!a) return r;
var { stackedData: o } = a, s = o.reduce((e, r) => {
- var i = VCe(sU(r, t, n));
- return !cU(i[0]) || !cU(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
+ var i = VCe(cU(r, t, n));
+ return !lU(i[0]) || !lU(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
}, [Infinity, -Infinity]);
return [Math.min(s[0], r[0]), Math.max(s[1], r[1])];
}, [Infinity, -Infinity]));
-}, xU = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, SU = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, CU = (e, t, n) => {
+}, SU = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, CU = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, wU = (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 = eV(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
+ for (var i = tV(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
var c = i[o], l = i[o - 1];
a = Math.min((c?.coordinate || 0) - (l?.coordinate || 0), a);
}
@@ -55068,26 +55053,26 @@ var yU = (e) => {
}
return n ? void 0 : 0;
};
-function wU(e) {
+function TU(e) {
var { tooltipEntrySettings: t, dataKey: n, payload: r, value: i, name: a } = e;
- return dU(dU({}, t), {}, {
+ return fU(fU({}, t), {}, {
dataKey: n,
payload: r,
value: i,
name: a
});
}
-function TU(e, t) {
+function EU(e, t) {
if (e) return String(e);
if (typeof t == "string") return t;
}
var WCe = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, GCe = (e, t) => t === "centric" ? e.angle : e.radius, EU = (e) => e.layout.width, DU = (e) => e.layout.height, KCe = (e) => e.layout.scale, OU = (e) => e.layout.margin, kU = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), AU = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), qCe = "data-recharts-item-index";
+}, GCe = (e, t) => t === "centric" ? e.angle : e.radius, DU = (e) => e.layout.width, OU = (e) => e.layout.height, KCe = (e) => e.layout.scale, kU = (e) => e.layout.margin, AU = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), jU = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), qCe = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
-function jU(e, t) {
+function MU(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55097,12 +55082,12 @@ function jU(e, t) {
}
return n;
}
-function MU(e) {
+function NU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? jU(Object(n), !0).forEach(function(t) {
+ t % 2 ? MU(Object(n), !0).forEach(function(t) {
JCe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jU(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : MU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -55132,56 +55117,56 @@ function XCe(e, t) {
}
var ZCe = (e) => e.brush.height;
function QCe(e) {
- return AU(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+ return jU(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
function $Ce(e) {
- return AU(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+ return jU(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
function ewe(e) {
- return kU(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
+ return AU(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
}
function twe(e) {
- return kU(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
+ return AU(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
}
-var NU = $([
- EU,
+var PU = $([
DU,
OU,
+ kU,
ZCe,
QCe,
$Ce,
ewe,
twe,
- tV,
+ nV,
ISe
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
right: (n.right || 0) + a
- }, d = MU(MU({}, {
+ }, d = NU(NU({}, {
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
d.bottom += r, d = RCe(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
- return MU(MU({ brushBottom: f }, d), {}, {
+ return NU(NU({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), nwe = $(NU, (e) => ({
+}), nwe = $(PU, (e) => ({
x: e.left,
y: e.top,
width: e.width,
height: e.height
-})), PU = $(EU, DU, (e, t) => ({
+})), FU = $(DU, OU, (e, t) => ({
x: 0,
y: 0,
width: e,
height: t
-})), rwe = /*#__PURE__*/ (0, R.createContext)(null), FU = () => (0, R.useContext)(rwe) != null, IU = (e) => e.brush, LU = $([
- IU,
- NU,
- OU
+})), rwe = /*#__PURE__*/ (0, R.createContext)(null), IU = () => (0, R.useContext)(rwe) != null, LU = (e) => e.brush, RU = $([
+ LU,
+ PU,
+ kU
], (e, t, n) => ({
height: e.height,
x: Z(e.x) ? e.x : t.left,
@@ -55238,7 +55223,7 @@ function owe(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/recharts/es6/util/LogUtils.js
-var RU = function(e, t) {
+var zU = 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.");
@@ -55247,7 +55232,7 @@ var RU = function(e, t) {
console.warn(t.replace(/%s/g, () => n[r++]));
}
}
-}, zU = {
+}, BU = {
width: "100%",
height: "100%",
debounce: 0,
@@ -55256,8 +55241,8 @@ var RU = function(e, t) {
width: -1,
height: -1
}
-}, BU = (e, t, n) => {
- var { width: r = zU.width, height: i = zU.height, aspect: a, maxHeight: o } = n, s = $z(r) ? e : Number(r), c = $z(i) ? t : Number(i);
+}, VU = (e, t, n) => {
+ var { width: r = BU.width, height: i = BU.height, aspect: a, maxHeight: o } = n, s = eB(r) ? e : Number(r), c = eB(i) ? t : Number(i);
return a && a > 0 && (s ? c = s / a : c && (s = c * a), o && c != null && c > o && (c = o)), {
calculatedWidth: s,
calculatedHeight: c
@@ -55273,28 +55258,28 @@ var RU = function(e, t) {
height: 0,
overflowY: "visible"
}, uwe = {}, dwe = (e) => {
- var { width: t, height: n } = e, r = $z(t), i = $z(n);
+ var { width: t, height: n } = e, r = eB(t), i = eB(n);
return r && i ? swe : r ? cwe : i ? lwe : uwe;
};
function fwe(e) {
var { width: t, height: n, aspect: r } = e, i = t, a = n;
- return i === void 0 && a === void 0 ? (i = zU.width, a = zU.height) : i === void 0 ? i = r && r > 0 ? void 0 : zU.width : a === void 0 && (a = r && r > 0 ? void 0 : zU.height), {
+ return i === void 0 && a === void 0 ? (i = BU.width, a = BU.height) : i === void 0 ? i = r && r > 0 ? void 0 : BU.width : a === void 0 && (a = r && r > 0 ? void 0 : BU.height), {
width: i,
height: a
};
}
//#endregion
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
-function VU() {
- return VU = Object.assign ? Object.assign.bind() : function(e) {
+function HU() {
+ return HU = 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;
- }, VU.apply(null, arguments);
+ }, HU.apply(null, arguments);
}
-function HU(e, t) {
+function UU(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55304,12 +55289,12 @@ function HU(e, t) {
}
return n;
}
-function UU(e) {
+function WU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? HU(Object(n), !0).forEach(function(t) {
+ t % 2 ? UU(Object(n), !0).forEach(function(t) {
pwe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HU(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -55337,19 +55322,19 @@ function hwe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var WU = /*#__PURE__*/ (0, R.createContext)(zU.initialDimension);
+var GU = /*#__PURE__*/ (0, R.createContext)(BU.initialDimension);
function gwe(e) {
- return lU(e.width) && lU(e.height);
+ return uU(e.width) && uU(e.height);
}
-function GU(e) {
+function KU(e) {
var { children: t, width: n, height: r } = e, i = (0, R.useMemo)(() => ({
width: n,
height: r
}), [n, r]);
- return gwe(i) ? /*#__PURE__*/ R.createElement(WU.Provider, { value: i }, t) : null;
+ return gwe(i) ? /*#__PURE__*/ R.createElement(GU.Provider, { value: i }, t) : null;
}
-var KU = () => (0, R.useContext)(WU), _we = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { aspect: n, initialDimension: r = zU.initialDimension, width: i, height: a, minWidth: o = zU.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = zU.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, R.useRef)(null), g = (0, R.useRef)();
+var qU = () => (0, R.useContext)(GU), _we = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var { aspect: n, initialDimension: r = BU.initialDimension, width: i, height: a, minWidth: o = BU.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = BU.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, R.useRef)(null), g = (0, R.useRef)();
g.current = p, (0, R.useImperativeHandle)(t, () => h.current);
var [_, v] = (0, R.useState)({
containerWidth: r.width,
@@ -55364,7 +55349,7 @@ var KU = () => (0, R.useContext)(WU), _we = /*#__PURE__*/ (0, R.forwardRef)((e,
});
}, []);
(0, R.useEffect)(() => {
- if (h.current == null || typeof ResizeObserver > "u") return lB;
+ if (h.current == null || typeof ResizeObserver > "u") return uB;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -55382,17 +55367,17 @@ var KU = () => (0, R.useContext)(WU), _we = /*#__PURE__*/ (0, R.forwardRef)((e,
};
}, [y, u]);
var { containerWidth: b, containerHeight: x } = _;
- RU(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
- var { calculatedWidth: S, calculatedHeight: C } = BU(b, x, {
+ zU(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
+ var { calculatedWidth: S, calculatedHeight: C } = VU(b, x, {
width: i,
height: a,
aspect: n,
maxHeight: c
});
- return RU(S != null && S > 0 || C != null && C > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", S, C, i, a, o, s, n), /*#__PURE__*/ R.createElement("div", {
+ return zU(S != null && S > 0 || C != null && C > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", S, C, i, a, o, s, n), /*#__PURE__*/ R.createElement("div", {
id: d ? `${d}` : void 0,
className: Sh("recharts-responsive-container", f),
- style: UU(UU({}, m), {}, {
+ style: WU(WU({}, m), {}, {
width: i,
height: a,
minWidth: o,
@@ -55403,27 +55388,27 @@ var KU = () => (0, R.useContext)(WU), _we = /*#__PURE__*/ (0, R.forwardRef)((e,
}, /*#__PURE__*/ R.createElement("div", { style: dwe({
width: i,
height: a
- }) }, /*#__PURE__*/ R.createElement(GU, {
+ }) }, /*#__PURE__*/ R.createElement(KU, {
width: S,
height: C
}, l)));
-}), qU = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var n = KU();
- if (lU(n.width) && lU(n.height)) return e.children;
+}), JU = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var n = qU();
+ if (uU(n.width) && uU(n.height)) return e.children;
var { width: r, height: i } = fwe({
width: e.width,
height: e.height,
aspect: e.aspect
- }), { calculatedWidth: a, calculatedHeight: o } = BU(void 0, void 0, {
+ }), { calculatedWidth: a, calculatedHeight: o } = VU(void 0, void 0, {
width: r,
height: i,
aspect: e.aspect,
maxHeight: e.maxHeight
});
- return Z(a) && Z(o) ? /*#__PURE__*/ R.createElement(GU, {
+ return Z(a) && Z(o) ? /*#__PURE__*/ R.createElement(KU, {
width: a,
height: o
- }, e.children) : /*#__PURE__*/ R.createElement(_we, VU({}, e, {
+ }, e.children) : /*#__PURE__*/ R.createElement(_we, HU({}, e, {
width: r,
height: i,
ref: t
@@ -55431,7 +55416,7 @@ var KU = () => (0, R.useContext)(WU), _we = /*#__PURE__*/ (0, R.forwardRef)((e,
});
//#endregion
//#region node_modules/recharts/es6/context/chartLayoutContext.js
-function JU(e) {
+function YU(e) {
if (e) return {
x: e.x,
y: e.y,
@@ -55441,8 +55426,8 @@ function JU(e) {
height: e.height
};
}
-var YU = () => {
- var e = FU(), t = Q(nwe), n = Q(LU), r = Q(IU)?.padding;
+var XU = () => {
+ var e = IU(), t = Q(nwe), n = Q(RU), r = Q(LU)?.padding;
return !e || !n || !r ? t : {
width: n.width - r.left - r.right,
height: n.height - r.top - r.bottom,
@@ -55457,16 +55442,16 @@ var YU = () => {
width: 0,
height: 0,
brushBottom: 0
-}, XU = () => Q(NU) ?? vwe, ZU = () => Q(EU), QU = () => Q(DU), ywe = () => Q((e) => e.layout.margin), $U = (e) => e.layout.layoutType, eW = () => Q($U), tW = () => {
- var e = eW();
+}, ZU = () => Q(PU) ?? vwe, QU = () => Q(DU), $U = () => Q(OU), ywe = () => Q((e) => e.layout.margin), eW = (e) => e.layout.layoutType, tW = () => Q(eW), nW = () => {
+ var e = tW();
if (e === "horizontal" || e === "vertical") return e;
-}, nW = (e) => {
+}, rW = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, rW = () => Q(nW), bwe = () => eW() !== void 0, iW = (e) => {
- var t = KB(), n = FU(), { width: r, height: i } = e, a = KU(), o = r, s = i;
+}, iW = () => Q(rW), bwe = () => tW() !== void 0, aW = (e) => {
+ var t = qB(), n = IU(), { width: r, height: i } = e, a = qU(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, R.useEffect)(() => {
- !n && lU(o) && lU(s) && t(MCe({
+ !n && uU(o) && uU(s) && t(MCe({
width: o,
height: s
}));
@@ -55476,64 +55461,64 @@ var YU = () => {
o,
s
]), null;
-}, aW = Symbol.for("immer-nothing"), oW = Symbol.for("immer-draftable"), sW = Symbol.for("immer-state");
-function cW(e, ...t) {
+}, oW = Symbol.for("immer-nothing"), sW = Symbol.for("immer-draftable"), cW = Symbol.for("immer-state");
+function lW(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var lW = Object.getPrototypeOf;
-function uW(e) {
- return !!e && !!e[sW];
-}
+var uW = Object.getPrototypeOf;
function dW(e) {
- return e ? pW(e) || Array.isArray(e) || !!e[oW] || !!e.constructor?.[oW] || vW(e) || yW(e) : !1;
+ return !!e && !!e[cW];
+}
+function fW(e) {
+ return e ? mW(e) || Array.isArray(e) || !!e[sW] || !!e.constructor?.[sW] || yW(e) || bW(e) : !1;
}
-var xwe = Object.prototype.constructor.toString(), fW = /* @__PURE__ */ new WeakMap();
-function pW(e) {
+var xwe = Object.prototype.constructor.toString(), pW = /* @__PURE__ */ new WeakMap();
+function mW(e) {
if (!e || typeof e != "object") return !1;
let t = Object.getPrototypeOf(e);
if (t === null || t === Object.prototype) return !0;
let n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
if (n === Object) return !0;
if (typeof n != "function") return !1;
- let r = fW.get(n);
- return r === void 0 && (r = Function.toString.call(n), fW.set(n, r)), r === xwe;
+ let r = pW.get(n);
+ return r === void 0 && (r = Function.toString.call(n), pW.set(n, r)), r === xwe;
}
-function mW(e, t, n = !0) {
- hW(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
+function hW(e, t, n = !0) {
+ gW(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function hW(e) {
- let t = e[sW];
- return t ? t.type_ : Array.isArray(e) ? 1 : vW(e) ? 2 : yW(e) ? 3 : 0;
+function gW(e) {
+ let t = e[cW];
+ return t ? t.type_ : Array.isArray(e) ? 1 : yW(e) ? 2 : bW(e) ? 3 : 0;
}
-function gW(e, t) {
- return hW(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
+function _W(e, t) {
+ return gW(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
}
-function _W(e, t, n) {
- let r = hW(e);
+function vW(e, t, n) {
+ let r = gW(e);
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
}
function Swe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function vW(e) {
+function yW(e) {
return e instanceof Map;
}
-function yW(e) {
+function bW(e) {
return e instanceof Set;
}
-function bW(e) {
+function xW(e) {
return e.copy_ || e.base_;
}
-function xW(e, t) {
- if (vW(e)) return new Map(e);
- if (yW(e)) return new Set(e);
+function SW(e, t) {
+ if (yW(e)) return new Map(e);
+ if (bW(e)) return new Set(e);
if (Array.isArray(e)) return Array.prototype.slice.call(e);
- let n = pW(e);
+ let n = mW(e);
if (t === !0 || t === "class_only" && !n) {
let t = Object.getOwnPropertyDescriptors(e);
- delete t[sW];
+ delete t[cW];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
@@ -55544,38 +55529,38 @@ function xW(e, t) {
value: e[i]
});
}
- return Object.create(lW(e), t);
+ return Object.create(uW(e), t);
}
{
- let t = lW(e);
+ let t = uW(e);
if (t !== null && n) return { ...e };
let r = Object.create(t);
return Object.assign(r, e);
}
}
-function SW(e, t = !1) {
- return wW(e) || uW(e) || !dW(e) ? e : (hW(e) > 1 && Object.defineProperties(e, {
- set: CW,
- add: CW,
- clear: CW,
- delete: CW
- }), Object.freeze(e), t && Object.values(e).forEach((e) => SW(e, !0)), e);
+function CW(e, t = !1) {
+ return TW(e) || dW(e) || !fW(e) ? e : (gW(e) > 1 && Object.defineProperties(e, {
+ set: wW,
+ add: wW,
+ clear: wW,
+ delete: wW
+ }), Object.freeze(e), t && Object.values(e).forEach((e) => CW(e, !0)), e);
}
function Cwe() {
- cW(2);
+ lW(2);
}
-var CW = { value: Cwe };
-function wW(e) {
+var wW = { value: Cwe };
+function TW(e) {
return typeof e != "object" || !e || Object.isFrozen(e);
}
var wwe = {};
-function TW(e) {
+function EW(e) {
let t = wwe[e];
- return t || cW(0, e), t;
+ return t || lW(0, e), t;
}
-var EW;
-function DW() {
- return EW;
+var DW;
+function OW() {
+ return DW;
}
function Twe(e, t) {
return {
@@ -55586,62 +55571,62 @@ function Twe(e, t) {
unfinalizedDrafts_: 0
};
}
-function OW(e, t) {
- t && (TW("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
-}
-function kW(e) {
- AW(e), e.drafts_.forEach(Ewe), e.drafts_ = null;
+function kW(e, t) {
+ t && (EW("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function AW(e) {
- e === EW && (EW = e.parent_);
+ jW(e), e.drafts_.forEach(Ewe), e.drafts_ = null;
}
function jW(e) {
- return EW = Twe(EW, e);
+ e === DW && (DW = e.parent_);
+}
+function MW(e) {
+ return DW = Twe(DW, e);
}
function Ewe(e) {
- let t = e[sW];
+ let t = e[cW];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function MW(e, t) {
+function NW(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
- return e !== void 0 && e !== n ? (n[sW].modified_ && (kW(t), cW(4)), dW(e) && (e = NW(t, e), t.parent_ || FW(t, e)), t.patches_ && TW("Patches").generateReplacementPatches_(n[sW].base_, e, t.patches_, t.inversePatches_)) : e = NW(t, n, []), kW(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === aW ? void 0 : e;
+ return e !== void 0 && e !== n ? (n[cW].modified_ && (AW(t), lW(4)), fW(e) && (e = PW(t, e), t.parent_ || IW(t, e)), t.patches_ && EW("Patches").generateReplacementPatches_(n[cW].base_, e, t.patches_, t.inversePatches_)) : e = PW(t, n, []), AW(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === oW ? void 0 : e;
}
-function NW(e, t, n) {
- if (wW(t)) return t;
- let r = e.immer_.shouldUseStrictIteration(), i = t[sW];
- if (!i) return mW(t, (r, a) => PW(e, i, t, r, a, n), r), t;
+function PW(e, t, n) {
+ if (TW(t)) return t;
+ let r = e.immer_.shouldUseStrictIteration(), i = t[cW];
+ if (!i) return hW(t, (r, a) => FW(e, i, t, r, a, n), r), t;
if (i.scope_ !== e) return t;
- if (!i.modified_) return FW(e, i.base_, !0), i.base_;
+ if (!i.modified_) return IW(e, i.base_, !0), i.base_;
if (!i.finalized_) {
i.finalized_ = !0, i.scope_.unfinalizedDrafts_--;
let t = i.copy_, a = t, o = !1;
- i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), mW(a, (r, a) => PW(e, i, t, r, a, n, o), r), FW(e, t, !1), n && e.patches_ && TW("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
+ i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), hW(a, (r, a) => FW(e, i, t, r, a, n, o), r), IW(e, t, !1), n && e.patches_ && EW("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
}
return i.copy_;
}
-function PW(e, t, n, r, i, a, o) {
+function FW(e, t, n, r, i, a, o) {
if (i == null || typeof i != "object" && !o) return;
- let s = wW(i);
+ let s = TW(i);
if (!(s && !o)) {
- if (uW(i)) {
- let o = NW(e, i, a && t && t.type_ !== 3 && !gW(t.assigned_, r) ? a.concat(r) : void 0);
- if (_W(n, r, o), uW(o)) e.canAutoFreeze_ = !1;
+ if (dW(i)) {
+ let o = PW(e, i, a && t && t.type_ !== 3 && !_W(t.assigned_, r) ? a.concat(r) : void 0);
+ if (vW(n, r, o), dW(o)) e.canAutoFreeze_ = !1;
else return;
} else o && n.add(i);
- if (dW(i) && !s) {
+ if (fW(i) && !s) {
if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1 || t && t.base_ && t.base_[r] === i && s) return;
- NW(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (vW(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && FW(e, i);
+ PW(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (yW(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && IW(e, i);
}
}
}
-function FW(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && SW(t, n);
+function IW(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && CW(t, n);
}
function Dwe(e, t) {
let n = Array.isArray(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : DW(),
+ scope_: t ? t.scope_ : OW(),
modified_: !1,
finalized_: !1,
assigned_: {},
@@ -55651,41 +55636,41 @@ function Dwe(e, t) {
copy_: null,
revoke_: null,
isManual_: !1
- }, i = r, a = IW;
- n && (i = [r], a = LW);
+ }, i = r, a = LW;
+ n && (i = [r], a = RW);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, s;
}
-var IW = {
+var LW = {
get(e, t) {
- if (t === sW) return e;
- let n = bW(e);
- if (!gW(n, t)) return Owe(e, n, t);
+ if (t === cW) return e;
+ let n = xW(e);
+ if (!_W(n, t)) return Owe(e, n, t);
let r = n[t];
- return e.finalized_ || !dW(r) ? r : r === RW(e.base_, t) ? (VW(e), e.copy_[t] = HW(r, e)) : r;
+ return e.finalized_ || !fW(r) ? r : r === zW(e.base_, t) ? (HW(e), e.copy_[t] = UW(r, e)) : r;
},
has(e, t) {
- return t in bW(e);
+ return t in xW(e);
},
ownKeys(e) {
- return Reflect.ownKeys(bW(e));
+ return Reflect.ownKeys(xW(e));
},
set(e, t, n) {
- let r = zW(bW(e), t);
+ let r = BW(xW(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = RW(bW(e), t), i = r?.[sW];
+ let r = zW(xW(e), t), i = r?.[cW];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0;
- if (Swe(n, r) && (n !== void 0 || gW(e.base_, t))) return !0;
- VW(e), BW(e);
+ if (Swe(n, r) && (n !== void 0 || _W(e.base_, t))) return !0;
+ HW(e), VW(e);
}
return e.copy_[t] === n && (n !== void 0 || t in e.copy_) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_[t] = !0, !0);
},
deleteProperty(e, t) {
- return RW(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, VW(e), BW(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
+ return zW(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, HW(e), VW(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = bW(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = xW(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
writable: !0,
configurable: e.type_ !== 1 || t !== "length",
@@ -55694,46 +55679,46 @@ var IW = {
};
},
defineProperty() {
- cW(11);
+ lW(11);
},
getPrototypeOf(e) {
- return lW(e.base_);
+ return uW(e.base_);
},
setPrototypeOf() {
- cW(12);
+ lW(12);
}
-}, LW = {};
-mW(IW, (e, t) => {
- LW[e] = function() {
+}, RW = {};
+hW(LW, (e, t) => {
+ RW[e] = function() {
return arguments[0] = arguments[0][0], t.apply(this, arguments);
};
-}), LW.deleteProperty = function(e, t) {
- return LW.set.call(this, e, t, void 0);
-}, LW.set = function(e, t, n) {
- return IW.set.call(this, e[0], t, n, e[0]);
+}), RW.deleteProperty = function(e, t) {
+ return RW.set.call(this, e, t, void 0);
+}, RW.set = function(e, t, n) {
+ return LW.set.call(this, e[0], t, n, e[0]);
};
-function RW(e, t) {
- let n = e[sW];
- return (n ? bW(n) : e)[t];
+function zW(e, t) {
+ let n = e[cW];
+ return (n ? xW(n) : e)[t];
}
function Owe(e, t, n) {
- let r = zW(t, n);
+ let r = BW(t, n);
return r ? "value" in r ? r.value : r.get?.call(e.draft_) : void 0;
}
-function zW(e, t) {
+function BW(e, t) {
if (!(t in e)) return;
- let n = lW(e);
+ let n = uW(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = lW(n);
+ n = uW(n);
}
}
-function BW(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && BW(e.parent_));
-}
function VW(e) {
- e.copy_ ||= xW(e.base_, e.scope_.immer_.useStrictShallowCopy_);
+ e.modified_ || (e.modified_ = !0, e.parent_ && VW(e.parent_));
+}
+function HW(e) {
+ e.copy_ ||= SW(e.base_, e.scope_.immer_.useStrictShallowCopy_);
}
var kwe = class {
constructor(e) {
@@ -55746,25 +55731,25 @@ var kwe = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- typeof t != "function" && cW(6), n !== void 0 && typeof n != "function" && cW(7);
+ typeof t != "function" && lW(6), n !== void 0 && typeof n != "function" && lW(7);
let r;
- if (dW(e)) {
- let i = jW(this), a = HW(e, void 0), o = !0;
+ if (fW(e)) {
+ let i = MW(this), a = UW(e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? kW(i) : AW(i);
+ o ? AW(i) : jW(i);
}
- return OW(i, n), MW(r, i);
+ return kW(i, n), NW(r, i);
}
if (!e || typeof e != "object") {
- if (r = t(e), r === void 0 && (r = e), r === aW && (r = void 0), this.autoFreeze_ && SW(r, !0), n) {
+ if (r = t(e), r === void 0 && (r = e), r === oW && (r = void 0), this.autoFreeze_ && CW(r, !0), n) {
let t = [], i = [];
- TW("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
+ EW("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
}
return r;
}
- cW(1, e);
+ lW(1, e);
}, this.produceWithPatches = (e, t) => {
if (typeof e == "function") return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
@@ -55778,15 +55763,15 @@ var kwe = class {
}, typeof e?.autoFreeze == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof e?.useStrictShallowCopy == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy), typeof e?.useStrictIteration == "boolean" && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- dW(e) || cW(8), uW(e) && (e = Awe(e));
- let t = jW(this), n = HW(e, void 0);
- return n[sW].isManual_ = !0, AW(t), n;
+ fW(e) || lW(8), dW(e) && (e = Awe(e));
+ let t = MW(this), n = UW(e, void 0);
+ return n[cW].isManual_ = !0, jW(t), n;
}
finishDraft(e, t) {
- let n = e && e[sW];
- (!n || !n.isManual_) && cW(9);
+ let n = e && e[cW];
+ (!n || !n.isManual_) && lW(9);
let { scope_: r } = n;
- return OW(r, t), MW(void 0, r);
+ return kW(r, t), NW(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -55810,35 +55795,35 @@ var kwe = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = TW("Patches").applyPatches_;
- return uW(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = EW("Patches").applyPatches_;
+ return dW(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function HW(e, t) {
- let n = vW(e) ? TW("MapSet").proxyMap_(e, t) : yW(e) ? TW("MapSet").proxySet_(e, t) : Dwe(e, t);
- return (t ? t.scope_ : DW()).drafts_.push(n), n;
+function UW(e, t) {
+ let n = yW(e) ? EW("MapSet").proxyMap_(e, t) : bW(e) ? EW("MapSet").proxySet_(e, t) : Dwe(e, t);
+ return (t ? t.scope_ : OW()).drafts_.push(n), n;
}
function Awe(e) {
- return uW(e) || cW(10, e), UW(e);
+ return dW(e) || lW(10, e), WW(e);
}
-function UW(e) {
- if (!dW(e) || wW(e)) return e;
- let t = e[sW], n, r = !0;
+function WW(e) {
+ if (!fW(e) || TW(e)) return e;
+ let t = e[cW], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = xW(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = xW(e, !0);
- return mW(n, (e, t) => {
- _W(n, e, UW(t));
+ t.finalized_ = !0, n = SW(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = SW(e, !0);
+ return hW(n, (e, t) => {
+ vW(n, e, WW(t));
}, r), t && (t.finalized_ = !1), n;
}
new kwe().produce;
-function WW(e) {
+function GW(e) {
return e;
}
//#endregion
//#region node_modules/recharts/es6/state/legendSlice.js
-var GW = NH({
+var KW = PH({
name: "legend",
initialState: {
settings: {
@@ -55862,26 +55847,26 @@ var GW = NH({
},
addLegendPayload: {
reducer(e, t) {
- e.payload.push(WW(t.payload));
+ e.payload.push(GW(t.payload));
},
- prepare: kH()
+ prepare: AH()
},
replaceLegendPayload: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = bH(e).payload.indexOf(WW(n));
- i > -1 && (e.payload[i] = WW(r));
+ var { prev: n, next: r } = t.payload, i = xH(e).payload.indexOf(GW(n));
+ i > -1 && (e.payload[i] = GW(r));
},
- prepare: kH()
+ prepare: AH()
},
removeLegendPayload: {
reducer(e, t) {
- var n = bH(e).payload.indexOf(WW(t.payload));
+ var n = xH(e).payload.indexOf(GW(t.payload));
n > -1 && e.payload.splice(n, 1);
},
- prepare: kH()
+ prepare: AH()
}
}
-}), { setLegendSize: KW, setLegendSettings: jwe, addLegendPayload: qW, replaceLegendPayload: JW, removeLegendPayload: YW } = GW.actions, Mwe = GW.reducer, Nwe = /* @__PURE__ */ Ct(((e) => {
+}), { setLegendSize: qW, setLegendSettings: jwe, addLegendPayload: JW, replaceLegendPayload: YW, removeLegendPayload: XW } = KW.actions, Mwe = KW.reducer, Nwe = /* @__PURE__ */ Ct(((e) => {
var t = At();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
@@ -55920,12 +55905,12 @@ function Fwe() {
}
};
}
-var XW = {
+var ZW = {
notify() {},
get: () => []
};
function Iwe(e, t) {
- let n, r = XW, i = 0, a = !1;
+ let n, r = ZW, i = 0, a = !1;
function o(e) {
u();
let t = r.subscribe(e), n = !1;
@@ -55946,7 +55931,7 @@ function Iwe(e, t) {
i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = Fwe());
}
function d() {
- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = XW);
+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = ZW);
}
function f() {
a || (a = !0, u());
@@ -55966,15 +55951,15 @@ function Iwe(e, t) {
return m;
}
var Lwe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, Rwe = typeof navigator < "u" && navigator.product === "ReactNative", zwe = Lwe || Rwe ? R.useLayoutEffect : R.useEffect;
-function ZW(e, t) {
+function QW(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
function Bwe(e, t) {
- if (ZW(e, t)) return !0;
+ if (QW(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]) || !ZW(e[n[r]], t[n[r]])) return !1;
+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !QW(e[n[r]], t[n[r]])) return !1;
return !0;
}
var Vwe = /* @__PURE__ */ Symbol.for("react-redux-context"), Hwe = typeof globalThis < "u" ? globalThis : {};
@@ -56028,7 +56013,7 @@ var Kwe = Gwe, qwe = /* @__PURE__ */ new Set([
function Jwe(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
-function QW(e, t) {
+function $W(e, t) {
for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (qwe.has(n)) {
if (e[n] == null && t[n] == null) continue;
if (!Bwe(e[n], t[n])) return !1;
@@ -56038,16 +56023,16 @@ function QW(e, t) {
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
var Ywe = ["contextPayload"];
-function $W() {
- return $W = Object.assign ? Object.assign.bind() : function(e) {
+function eG() {
+ return eG = 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;
- }, $W.apply(null, arguments);
+ }, eG.apply(null, arguments);
}
-function eG(e, t) {
+function tG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56057,12 +56042,12 @@ function eG(e, t) {
}
return n;
}
-function tG(e) {
+function nG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? eG(Object(n), !0).forEach(function(t) {
+ t % 2 ? tG(Object(n), !0).forEach(function(t) {
Xwe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eG(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -56112,23 +56097,23 @@ function tTe(e) {
return e.value;
}
function nTe(e) {
- var { contextPayload: t } = e, n = $we(e, Ywe), r = WB(t, e.payloadUniqBy, tTe), i = tG(tG({}, n), {}, { payload: r });
+ var { contextPayload: t } = e, n = $we(e, Ywe), r = GB(t, e.payloadUniqBy, tTe), i = nG(nG({}, n), {}, { payload: r });
return /*#__PURE__*/ R.isValidElement(e.content) ? /*#__PURE__*/ R.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ R.createElement(e.content, i) : /*#__PURE__*/ R.createElement(Oxe, i);
}
function rTe(e, t, n, r, i, a) {
var { layout: o, align: s, verticalAlign: c } = t, l, u;
- return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), tG(tG({}, 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 }), nG(nG({}, l), u);
}
function iTe(e) {
- var t = KB();
+ var t = qB();
return (0, R.useEffect)(() => {
t(jwe(e));
}, [t, e]), null;
}
function aTe(e) {
- var t = KB();
- return (0, R.useEffect)(() => (t(KW(e)), () => {
- t(KW({
+ var t = qB();
+ return (0, R.useEffect)(() => (t(qW(e)), () => {
+ t(qW({
width: 0,
height: 0
}));
@@ -56146,9 +56131,9 @@ var sTe = {
verticalAlign: "bottom"
};
function cTe(e) {
- var t = yB(e, sTe), n = RSe(), r = Sbe(), i = ywe(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = rV([n]), d = ZU(), f = QU();
+ var t = bB(e, sTe), n = RSe(), r = Sbe(), i = ywe(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = iV([n]), d = QU(), f = $U();
if (d == null || f == null) return null;
- var p = d - (i?.left || 0) - (i?.right || 0), m = oTe(t.layout, o, a, p), h = c ? s : tG(tG({
+ var p = d - (i?.left || 0) - (i?.right || 0), m = oTe(t.layout, o, a, p), h = c ? s : nG(nG({
position: "absolute",
width: m?.width || a || "auto",
height: m?.height || o || "auto"
@@ -56166,7 +56151,7 @@ function cTe(e) {
}), !c && /*#__PURE__*/ R.createElement(aTe, {
width: l.width,
height: l.height
- }), /*#__PURE__*/ R.createElement(nTe, $W({}, t, m, {
+ }), /*#__PURE__*/ R.createElement(nTe, eG({}, t, m, {
margin: i,
chartWidth: d,
chartHeight: f,
@@ -56174,20 +56159,20 @@ function cTe(e) {
})));
return /*#__PURE__*/ (0, rp.createPortal)(_, g);
}
-var nG = /*#__PURE__*/ R.memo(cTe, QW);
-nG.displayName = "Legend";
+var rG = /*#__PURE__*/ R.memo(cTe, $W);
+rG.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
-function rG() {
- return rG = Object.assign ? Object.assign.bind() : function(e) {
+function iG() {
+ return iG = 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;
- }, rG.apply(null, arguments);
+ }, iG.apply(null, arguments);
}
-function iG(e, t) {
+function aG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56197,12 +56182,12 @@ function iG(e, t) {
}
return n;
}
-function aG(e) {
+function oG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? iG(Object(n), !0).forEach(function(t) {
+ t % 2 ? aG(Object(n), !0).forEach(function(t) {
lTe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iG(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : aG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -56231,9 +56216,9 @@ function dTe(e, t) {
return (t === "string" ? String : Number)(e);
}
function fTe(e) {
- return Array.isArray(e) && eB(e[0]) && eB(e[1]) ? e.join(" ~ ") : e;
+ return Array.isArray(e) && tB(e[0]) && tB(e[1]) ? e.join(" ~ ") : e;
}
-var oG = {
+var sG = {
separator: " : ",
contentStyle: {
margin: 0,
@@ -56252,10 +56237,10 @@ var oG = {
accessibilityLayer: !1
};
function pTe(e, t) {
- return t == null ? e : eV(e, t);
+ return t == null ? e : tV(e, t);
}
var mTe = (e) => {
- var { separator: t = oG.separator, contentStyle: n, itemStyle: r, labelStyle: i = oG.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = oG.accessibilityLayer } = e, p = () => {
+ var { separator: t = sG.separator, contentStyle: n, itemStyle: r, labelStyle: i = sG.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = sG.accessibilityLayer } = e, p = () => {
if (a && a.length) {
var e = {
padding: 0,
@@ -56269,12 +56254,12 @@ var mTe = (e) => {
else if (d != null) l = d;
else return null;
}
- var f = aG(aG({}, oG.itemStyle), {}, { color: e.color || oG.itemStyle.color }, r);
+ var f = oG(oG({}, sG.itemStyle), {}, { color: e.color || sG.itemStyle.color }, r);
return /*#__PURE__*/ R.createElement("li", {
className: "recharts-tooltip-item",
key: `tooltip-item-${n}`,
style: f
- }, eB(u) ? /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, eB(u) ? /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, tB(u) ? /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, tB(u) ? /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
});
return /*#__PURE__*/ R.createElement("ul", {
className: "recharts-tooltip-item-list",
@@ -56282,30 +56267,30 @@ var mTe = (e) => {
}, n);
}
return null;
- }, m = aG(aG({}, oG.contentStyle), n), h = aG({ margin: 0 }, i), g = !oB(u), _ = g ? u : "", v = Sh("recharts-default-tooltip", c), y = Sh("recharts-tooltip-label", l);
+ }, m = oG(oG({}, sG.contentStyle), n), h = oG({ margin: 0 }, i), g = !sB(u), _ = g ? u : "", v = Sh("recharts-default-tooltip", c), y = Sh("recharts-tooltip-label", l);
g && d && a != null && (_ = d(u, a));
var b = f ? {
role: "status",
"aria-live": "assertive"
} : {};
- return /*#__PURE__*/ R.createElement("div", rG({
+ return /*#__PURE__*/ R.createElement("div", iG({
className: v,
style: m
}, b), /*#__PURE__*/ R.createElement("p", {
className: y,
style: h
}, /*#__PURE__*/ R.isValidElement(_) ? _ : `${_}`), p());
-}, sG = "recharts-tooltip-wrapper", hTe = { visibility: "hidden" };
+}, cG = "recharts-tooltip-wrapper", hTe = { visibility: "hidden" };
function gTe(e) {
var { coordinate: t, translateX: n, translateY: r } = e;
- return Sh(sG, {
- [`${sG}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
- [`${sG}-left`]: Z(n) && t && Z(t.x) && n < t.x,
- [`${sG}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
- [`${sG}-top`]: Z(r) && t && Z(t.y) && r < t.y
+ return Sh(cG, {
+ [`${cG}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
+ [`${cG}-left`]: Z(n) && t && Z(t.x) && n < t.x,
+ [`${cG}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
+ [`${cG}-top`]: Z(r) && t && Z(t.y) && r < t.y
});
}
-function cG(e) {
+function lG(e) {
var { allowEscapeViewBox: t, coordinate: n, key: r, offset: i, position: a, reverseDirection: o, tooltipDimension: s, viewBox: c, viewBoxDimension: l } = e;
if (a && Z(a[r])) return a[r];
var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;
@@ -56319,7 +56304,7 @@ function _Te(e) {
}
function vTe(e) {
var { allowEscapeViewBox: t, coordinate: n, offsetTop: r, offsetLeft: i, position: a, reverseDirection: o, tooltipBox: s, useTranslate3d: c, viewBox: l } = e, u, d, f;
- return s.height > 0 && s.width > 0 && n ? (d = cG({
+ return s.height > 0 && s.width > 0 && n ? (d = lG({
allowEscapeViewBox: t,
coordinate: n,
key: "x",
@@ -56329,7 +56314,7 @@ function vTe(e) {
tooltipDimension: s.width,
viewBox: l,
viewBoxDimension: l.width
- }), f = cG({
+ }), f = lG({
allowEscapeViewBox: t,
coordinate: n,
key: "y",
@@ -56352,14 +56337,14 @@ function vTe(e) {
})
};
}
-var lG = {
+var uG = {
devToolsEnabled: !0,
isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)
};
//#endregion
//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js
-function uG() {
- var [e, t] = (0, R.useState)(() => lG.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
+function dG() {
+ var [e, t] = (0, R.useState)(() => uG.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
return (0, R.useEffect)(() => {
if (window.matchMedia) {
var e = window.matchMedia("(prefers-reduced-motion: reduce)"), n = () => {
@@ -56373,7 +56358,7 @@ function uG() {
}
//#endregion
//#region node_modules/recharts/es6/component/TooltipBoundingBox.js
-function dG(e, t) {
+function fG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56383,12 +56368,12 @@ function dG(e, t) {
}
return n;
}
-function fG(e) {
+function pG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? dG(Object(n), !0).forEach(function(t) {
+ t % 2 ? fG(Object(n), !0).forEach(function(t) {
yTe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dG(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -56420,7 +56405,7 @@ function STe(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) return `transform ${e.animationDuration}ms ${e.animationEasing}`;
}
function CTe(e) {
- var t = uG(), [n, r] = R.useState(() => ({
+ var t = dG(), [n, r] = R.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
x: 0,
@@ -56440,7 +56425,7 @@ function CTe(e) {
return document.addEventListener("keydown", t), () => {
document.removeEventListener("keydown", t);
};
- }, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(fG(fG({}, n), {}, { dismissed: !1 }));
+ }, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(pG(pG({}, n), {}, { dismissed: !1 }));
var { cssClasses: i, cssProperties: a } = vTe({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
@@ -56454,7 +56439,7 @@ function CTe(e) {
},
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = fG(fG({}, e.hasPortalFromProps ? {} : fG(fG({ transition: STe({
+ }), o = pG(pG({}, e.hasPortalFromProps ? {} : pG(pG({ transition: STe({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -56474,19 +56459,19 @@ function CTe(e) {
ref: e.innerRef
}, e.children);
}
-var wTe = /*#__PURE__*/ R.memo(CTe), pG = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
+var wTe = /*#__PURE__*/ R.memo(CTe), mG = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
-function mG() {
- return mG = Object.assign ? Object.assign.bind() : function(e) {
+function hG() {
+ return hG = 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;
- }, mG.apply(null, arguments);
+ }, hG.apply(null, arguments);
}
-function hG(e, t) {
+function gG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56496,12 +56481,12 @@ function hG(e, t) {
}
return n;
}
-function gG(e) {
+function _G(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? hG(Object(n), !0).forEach(function(t) {
+ t % 2 ? gG(Object(n), !0).forEach(function(t) {
TTe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hG(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : gG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -56529,40 +56514,40 @@ function DTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var _G = {
+var vG = {
curveBasisClosed: Bbe,
curveBasisOpen: Vbe,
curveBasis: zbe,
curveBumpX: Tbe,
curveBumpY: Ebe,
curveLinearClosed: Hbe,
- curveLinear: dz,
+ curveLinear: fz,
curveMonotoneX: Ube,
curveMonotoneY: Wbe,
curveNatural: Gbe,
curveStep: Kbe,
curveStepAfter: Jbe,
curveStepBefore: qbe
-}, vG = (e) => cU(e.x) && cU(e.y), yG = (e) => e.base != null && vG(e.base) && vG(e), bG = (e) => e.x, xG = (e) => e.y, OTe = (e, t) => {
+}, yG = (e) => lU(e.x) && lU(e.y), bG = (e) => e.base != null && yG(e.base) && yG(e), xG = (e) => e.x, SG = (e) => e.y, OTe = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${sB(e)}`;
+ var n = `curve${cB(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
- var r = _G[`${n}${t === "vertical" ? "Y" : "X"}`];
+ var r = vG[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return _G[n] || dz;
-}, SG = {
+ return vG[n] || fz;
+}, CG = {
connectNulls: !1,
type: "linear"
}, kTe = (e) => {
- var { type: t = SG.type, points: n = [], baseLine: r, layout: i, connectNulls: a = SG.connectNulls } = e, o = OTe(t, i), s = a ? n.filter(vG) : n;
+ var { type: t = CG.type, points: n = [], baseLine: r, layout: i, connectNulls: a = CG.connectNulls } = e, o = OTe(t, i), s = a ? n.filter(yG) : n;
if (Array.isArray(r)) {
- var c, l = n.map((e, t) => gG(gG({}, e), {}, { base: r[t] }));
- return c = i === "vertical" ? hz().y(xG).x1(bG).x0((e) => e.base.x) : hz().x(bG).y1(xG).y0((e) => e.base.y), c.defined(yG).curve(o)(a ? l.filter(yG) : l);
+ var c, l = n.map((e, t) => _G(_G({}, e), {}, { base: r[t] }));
+ return c = i === "vertical" ? gz().y(SG).x1(xG).x0((e) => e.base.x) : gz().x(xG).y1(SG).y0((e) => e.base.y), c.defined(bG).curve(o)(a ? l.filter(bG) : l);
}
- return (i === "vertical" && Z(r) ? hz().y(xG).x1(bG).x0(r) : Z(r) ? hz().x(bG).y1(xG).y0(r) : mz().x(bG).y(xG)).defined(vG).curve(o)(s);
-}, CG = (e) => {
- var { className: t, points: n, path: r, pathRef: i } = e, a = eW();
+ return (i === "vertical" && Z(r) ? gz().y(SG).x1(xG).x0(r) : Z(r) ? gz().x(xG).y1(SG).y0(r) : hz().x(xG).y(SG)).defined(yG).curve(o)(s);
+}, wG = (e) => {
+ var { className: t, points: n, path: r, pathRef: i } = e, a = tW();
if ((!n || !n.length) && !r) return null;
var o = {
type: e.type,
@@ -56571,7 +56556,7 @@ var _G = {
layout: e.layout || a,
connectNulls: e.connectNulls
}, s = n && n.length ? kTe(o) : r;
- return /*#__PURE__*/ R.createElement("path", mG({}, UR(e), gB(e), {
+ return /*#__PURE__*/ R.createElement("path", hG({}, WR(e), _B(e), {
className: Sh("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
@@ -56585,16 +56570,16 @@ var _G = {
"height",
"className"
];
-function wG() {
- return wG = Object.assign ? Object.assign.bind() : function(e) {
+function TG() {
+ return TG = 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;
- }, wG.apply(null, arguments);
+ }, TG.apply(null, arguments);
}
-function TG(e, t) {
+function EG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56607,9 +56592,9 @@ function TG(e, t) {
function jTe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? TG(Object(n), !0).forEach(function(t) {
+ t % 2 ? EG(Object(n), !0).forEach(function(t) {
MTe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : TG(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -56664,7 +56649,7 @@ var LTe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, RTe = (e) => {
width: a,
height: o
}, c);
- return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ R.createElement("path", wG({}, GR(l), {
+ return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ R.createElement("path", TG({}, KR(l), {
className: Sh("recharts-cross", s),
d: LTe(t, n, a, o, r, i)
}));
@@ -56684,7 +56669,7 @@ function zTe(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/animation/util.js
-function EG(e, t) {
+function DG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56694,12 +56679,12 @@ function EG(e, t) {
}
return n;
}
-function DG(e) {
+function OG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? EG(Object(n), !0).forEach(function(t) {
+ t % 2 ? DG(Object(n), !0).forEach(function(t) {
BTe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EG(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -56727,10 +56712,10 @@ function HTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var UTe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), OG = (e, t, n) => e.map((e) => `${UTe(e)} ${t}ms ${n}`).join(","), WTe = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), kG = (e, t) => Object.keys(t).reduce((n, r) => DG(DG({}, n), {}, { [r]: e(r, t[r]) }), {});
+var UTe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), kG = (e, t, n) => e.map((e) => `${UTe(e)} ${t}ms ${n}`).join(","), WTe = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), AG = (e, t) => Object.keys(t).reduce((n, r) => OG(OG({}, n), {}, { [r]: e(r, t[r]) }), {});
//#endregion
//#region node_modules/recharts/es6/animation/configUpdate.js
-function AG(e, t) {
+function jG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56740,12 +56725,12 @@ function AG(e, t) {
}
return n;
}
-function jG(e) {
+function MG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? AG(Object(n), !0).forEach(function(t) {
+ t % 2 ? jG(Object(n), !0).forEach(function(t) {
GTe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AG(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -56773,34 +56758,34 @@ function qTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var MG = (e, t, n) => e + (t - e) * n, NG = (e) => {
+var NG = (e, t, n) => e + (t - e) * n, PG = (e) => {
var { from: t, to: n } = e;
return t !== n;
-}, PG = (e, t, n) => {
- var r = kG((t, n) => {
- if (NG(n)) {
+}, FG = (e, t, n) => {
+ var r = AG((t, n) => {
+ if (PG(n)) {
var [r, i] = e(n.from, n.to, n.velocity);
- return jG(jG({}, n), {}, {
+ return MG(MG({}, n), {}, {
from: r,
velocity: i
});
}
return n;
}, t);
- return n < 1 ? kG((e, t) => NG(t) && r[e] != null ? jG(jG({}, t), {}, {
- velocity: MG(t.velocity, r[e].velocity, n),
- from: MG(t.from, r[e].from, n)
- }) : t, t) : PG(e, r, n - 1);
+ return n < 1 ? AG((e, t) => PG(t) && r[e] != null ? MG(MG({}, t), {}, {
+ velocity: NG(t.velocity, r[e].velocity, n),
+ from: NG(t.from, r[e].from, n)
+ }) : t, t) : FG(e, r, n - 1);
};
function JTe(e, t, n, r, i, a) {
- var o, s = r.reduce((n, r) => jG(jG({}, n), {}, { [r]: {
+ var o, s = r.reduce((n, r) => MG(MG({}, n), {}, { [r]: {
from: e[r],
velocity: 0,
to: t[r]
- } }), {}), c = () => kG((e, t) => t.from, s), l = () => !Object.values(s).filter(NG).length, u = null, d = (r) => {
+ } }), {}), c = () => AG((e, t) => t.from, s), l = () => !Object.values(s).filter(PG).length, u = null, d = (r) => {
o ||= r;
var f = (r - o) / n.dt;
- s = PG(n, s, f), i(jG(jG(jG({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));
+ s = FG(n, s, f), i(MG(MG(MG({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));
};
return () => (u = a.setTimeout(d), () => {
var e;
@@ -56810,14 +56795,14 @@ function JTe(e, t, n, r, i, a) {
function YTe(e, t, n, r, i, a, o) {
var s = null, c = i.reduce((n, r) => {
var i = e[r], a = t[r];
- return i == null || a == null ? n : jG(jG({}, n), {}, { [r]: [i, a] });
+ return i == null || a == null ? n : MG(MG({}, n), {}, { [r]: [i, a] });
}, {}), l, u = (i) => {
l ||= i;
- var d = (i - l) / r, f = kG((e, t) => MG(...t, n(d)), c);
- if (a(jG(jG(jG({}, e), t), f)), d < 1) s = o.setTimeout(u);
+ var d = (i - l) / r, f = AG((e, t) => NG(...t, n(d)), c);
+ if (a(MG(MG(MG({}, e), t), f)), d < 1) s = o.setTimeout(u);
else {
- var p = kG((e, t) => MG(...t, n(1)), c);
- a(jG(jG(jG({}, e), t), p));
+ var p = AG((e, t) => NG(...t, n(1)), c);
+ a(MG(MG(MG({}, e), t), p));
}
};
return () => (s = o.setTimeout(u), () => {
@@ -56827,13 +56812,13 @@ function YTe(e, t, n, r, i, a, o) {
}
var XTe = (e, t, n, r, i, a) => {
var o = WTe(e, t);
- return n == null ? () => (i(jG(jG({}, e), t)), () => {}) : n.isStepper === !0 ? JTe(e, t, n, o, i, a) : YTe(e, t, n, r, o, i, a);
-}, FG = (e, t) => [
+ return n == null ? () => (i(MG(MG({}, e), t)), () => {}) : n.isStepper === !0 ? JTe(e, t, n, o, i, a) : YTe(e, t, n, r, o, i, a);
+}, IG = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], IG = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), LG = (e, t) => (n) => IG(FG(e, t), n), ZTe = (e, t) => (n) => IG([...FG(e, t).map((e, t) => e * t).slice(1), 0], n), QTe = (e) => {
+], LG = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), RG = (e, t) => (n) => LG(IG(e, t), n), ZTe = (e, t) => (n) => LG([...IG(e, t).map((e, t) => e * t).slice(1), 0], n), QTe = (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(",");
@@ -56889,7 +56874,7 @@ var XTe = (e, t, n, r, i, a) => {
1
];
}, eEe = (e, t, n, r) => {
- var i = LG(e, n), a = LG(t, r), o = ZTe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+ var i = RG(e, n), a = RG(t, r), o = ZTe(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);
@@ -56898,7 +56883,7 @@ var XTe = (e, t, n, r, i, a) => {
return a(n);
};
return c.isStepper = !1, c;
-}, RG = function() {
+}, zG = function() {
return eEe(...$Te(...arguments));
}, tEe = function() {
var { stiff: e = 100, damping: t = 8, dt: n = 17 } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = (r, i, a) => {
@@ -56912,9 +56897,9 @@ var XTe = (e, t, n, r, i, a) => {
case "ease-in-out":
case "ease-out":
case "ease-in":
- case "linear": return RG(e);
+ case "linear": return zG(e);
case "spring": return tEe();
- default: if (e.split("(")[0] === "cubic-bezier") return RG(e);
+ default: if (e.split("(")[0] === "cubic-bezier") return zG(e);
}
return typeof e == "function" ? e : null;
};
@@ -56987,14 +56972,14 @@ var cEe = {
canBegin: !0,
onAnimationEnd: () => {},
onAnimationStart: () => {}
-}, zG = { t: 0 }, BG = { t: 1 };
-function VG(e) {
- var t = yB(e, cEe), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = uG(), d = n === "auto" ? !lG.isSsr && !u : n, f = sEe(t.animationId, t.animationManager), [p, m] = (0, R.useState)(d ? zG : BG), h = (0, R.useRef)(null);
+}, BG = { t: 0 }, VG = { t: 1 };
+function HG(e) {
+ var t = bB(e, cEe), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = dG(), d = n === "auto" ? !uG.isSsr && !u : n, f = sEe(t.animationId, t.animationManager), [p, m] = (0, R.useState)(d ? BG : VG), h = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
- d || m(BG);
+ d || m(VG);
}, [d]), (0, R.useEffect)(() => {
- if (!d || !r) return lB;
- var e = XTe(zG, BG, nEe(a), i, m, f.getTimeoutController());
+ if (!d || !r) return uB;
+ var e = XTe(BG, VG, nEe(a), i, m, f.getTimeoutController());
return f.start([
c,
o,
@@ -57019,14 +57004,14 @@ function VG(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
-function HG(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, R.useRef)(tB(t)), r = (0, R.useRef)(e);
- return r.current !== e && (n.current = tB(t), r.current = e), n.current;
+function UG(e) {
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, R.useRef)(nB(t)), r = (0, R.useRef)(e);
+ return r.current !== e && (n.current = nB(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/shape/Rectangle.js
var lEe = ["radius"], uEe = ["radius"], dEe, fEe, pEe, mEe, hEe, gEe, _Ee, vEe, yEe, bEe;
-function UG(e, t) {
+function WG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -57036,12 +57021,12 @@ function UG(e, t) {
}
return n;
}
-function WG(e) {
+function GG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? UG(Object(n), !0).forEach(function(t) {
+ t % 2 ? WG(Object(n), !0).forEach(function(t) {
xEe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UG(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : WG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -57069,16 +57054,16 @@ function CEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function GG() {
- return GG = Object.assign ? Object.assign.bind() : function(e) {
+function KG() {
+ return KG = 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;
- }, GG.apply(null, arguments);
+ }, KG.apply(null, arguments);
}
-function KG(e, t) {
+function qG(e, t) {
if (e == null) return {};
var n, r, i = wEe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -57096,11 +57081,11 @@ function wEe(e, t) {
}
return n;
}
-function qG(e, t) {
+function JG(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var JG = (e, t, n, r, i) => {
- var a = Yz(n), o = Yz(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 YG = (e, t, n, r, i) => {
+ var a = Xz(n), o = Xz(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,
@@ -57111,44 +57096,44 @@ var JG = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = Xz(dEe ||= qG([
+ d = Zz(dEe ||= JG([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += Xz(fEe ||= qG([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += Zz(fEe ||= JG([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += Xz(pEe ||= qG([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += Zz(pEe ||= JG([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += Xz(mEe ||= qG([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += Zz(mEe ||= JG([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += Xz(hEe ||= qG([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += Zz(hEe ||= JG([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += Xz(gEe ||= qG([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += Zz(gEe ||= JG([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += Xz(_Ee ||= qG([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += Zz(_Ee ||= JG([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += Xz(vEe ||= qG([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += Zz(vEe ||= JG([
"A ",
",",
",0,0,",
@@ -57158,8 +57143,8 @@ var JG = (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 = Xz(yEe ||= qG(/* @__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 = Xz(bEe ||= qG([
+ d = Zz(yEe ||= JG(/* @__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 = Zz(bEe ||= JG([
"M ",
",",
" h ",
@@ -57168,7 +57153,7 @@ var JG = (e, t, n, r, i) => {
" Z"
]), e, t, n, r, -n);
return d;
-}, YG = {
+}, XG = {
x: 0,
y: 0,
width: 0,
@@ -57179,15 +57164,15 @@ var JG = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, XG = (e) => {
- var t = yB(e, YG), n = (0, R.useRef)(null), [r, i] = (0, R.useState)(-1);
+}, ZG = (e) => {
+ var t = bB(e, XG), n = (0, R.useRef)(null), [r, i] = (0, R.useState)(-1);
(0, R.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
e && i(e);
} catch {}
}, []);
- var { x: a, y: o, width: s, height: c, radius: l, className: u } = t, { animationEasing: d, animationDuration: f, animationBegin: p, isAnimationActive: m, isUpdateAnimationActive: h } = t, g = (0, R.useRef)(s), _ = (0, R.useRef)(c), v = (0, R.useRef)(a), y = (0, R.useRef)(o), b = HG((0, R.useMemo)(() => ({
+ var { x: a, y: o, width: s, height: c, radius: l, className: u } = t, { animationEasing: d, animationDuration: f, animationBegin: p, isAnimationActive: m, isUpdateAnimationActive: h } = t, g = (0, R.useRef)(s), _ = (0, R.useRef)(c), v = (0, R.useRef)(a), y = (0, R.useRef)(o), b = UG((0, R.useMemo)(() => ({
x: a,
y: o,
width: s,
@@ -57203,19 +57188,19 @@ var JG = (e, t, n, r, i) => {
if (a !== +a || o !== +o || s !== +s || c !== +c || s === 0 || c === 0) return null;
var x = Sh("recharts-rectangle", u);
if (!h) {
- var S = GR(t), { radius: C } = S, w = KG(S, lEe);
- return /*#__PURE__*/ R.createElement("path", GG({}, w, {
- x: Yz(a),
- y: Yz(o),
- width: Yz(s),
- height: Yz(c),
+ var S = KR(t), { radius: C } = S, w = qG(S, lEe);
+ return /*#__PURE__*/ R.createElement("path", KG({}, w, {
+ x: Xz(a),
+ y: Xz(o),
+ width: Xz(s),
+ height: Xz(c),
radius: typeof l == "number" ? l : void 0,
className: x,
- d: JG(a, o, s, c, l)
+ d: YG(a, o, s, c, l)
}));
}
- var T = g.current, E = _.current, D = v.current, O = y.current, k = `0px ${r === -1 ? 1 : r}px`, A = `${r}px ${r}px`, j = OG(["strokeDasharray"], f, typeof d == "string" ? d : YG.animationEasing);
- return /*#__PURE__*/ R.createElement(VG, {
+ var T = g.current, E = _.current, D = v.current, O = y.current, k = `0px ${r === -1 ? 1 : r}px`, A = `${r}px ${r}px`, j = kG(["strokeDasharray"], f, typeof d == "string" ? d : XG.animationEasing);
+ return /*#__PURE__*/ R.createElement(HG, {
animationId: b,
key: b,
canBegin: r > 0,
@@ -57224,24 +57209,24 @@ var JG = (e, t, n, r, i) => {
isActive: h,
begin: p
}, (e) => {
- var r = iB(T, s, e), i = iB(E, c, e), u = iB(D, a, e), d = iB(O, o, e);
+ var r = aB(T, s, e), i = aB(E, c, e), u = aB(D, a, e), d = aB(O, o, e);
n.current && (g.current = r, _.current = i, v.current = u, y.current = d);
var f = m ? e > 0 ? {
transition: j,
strokeDasharray: A
- } : { strokeDasharray: k } : { strokeDasharray: A }, p = GR(t), { radius: h } = p, b = KG(p, uEe);
- return /*#__PURE__*/ R.createElement("path", GG({}, b, {
+ } : { strokeDasharray: k } : { strokeDasharray: A }, p = KR(t), { radius: h } = p, b = qG(p, uEe);
+ return /*#__PURE__*/ R.createElement("path", KG({}, b, {
radius: typeof l == "number" ? l : void 0,
className: x,
- d: JG(u, d, r, i, l),
+ d: YG(u, d, r, i, l),
ref: n,
- style: WG(WG({}, f), t.style)
+ style: GG(GG({}, f), t.style)
}));
});
};
//#endregion
//#region node_modules/recharts/es6/util/PolarUtils.js
-function ZG(e, t) {
+function QG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -57251,12 +57236,12 @@ function ZG(e, t) {
}
return n;
}
-function QG(e) {
+function $G(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? ZG(Object(n), !0).forEach(function(t) {
+ t % 2 ? QG(Object(n), !0).forEach(function(t) {
TEe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ZG(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : QG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -57284,9 +57269,9 @@ function DEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var $G = Math.PI / 180, eK = (e) => e * Math.PI / 180, OEe = (e) => e * 180 / Math.PI, tK = (e, t, n, r) => ({
- x: e + Math.cos(-$G * r) * n,
- y: t + Math.sin(-$G * r) * n
+var eK = Math.PI / 180, tK = (e) => e * Math.PI / 180, OEe = (e) => e * 180 / Math.PI, nK = (e, t, n, r) => ({
+ x: e + Math.cos(-eK * r) * n,
+ y: t + Math.sin(-eK * r) * n
}), kEe = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
@@ -57344,17 +57329,17 @@ var $G = Math.PI / 180, eK = (e) => e * Math.PI / 180, OEe = (e) => e * 180 / Ma
for (; u < l;) u += 360;
d = u >= l && u <= c;
}
- return d ? QG(QG({}, t), {}, {
+ return d ? $G($G({}, t), {}, {
radius: i,
angle: NEe(u, t)
}) : null;
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js
-function nK(e) {
+function rK(e) {
var { cx: t, cy: n, radius: r, startAngle: i, endAngle: a } = e;
return {
- points: [tK(t, n, r, i), tK(t, n, r, a)],
+ points: [nK(t, n, r, i), nK(t, n, r, a)],
cx: t,
cy: n,
radius: r,
@@ -57365,28 +57350,28 @@ function nK(e) {
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
var FEe, IEe, LEe, REe, zEe, BEe, VEe;
-function rK() {
- return rK = Object.assign ? Object.assign.bind() : function(e) {
+function iK() {
+ return iK = 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;
- }, rK.apply(null, arguments);
+ }, iK.apply(null, arguments);
}
-function iK(e, t) {
+function aK(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var HEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) => {
- var { cx: t, cy: n, radius: r, angle: i, sign: a, isExternal: o, cornerRadius: s, cornerIsExternal: c } = e, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / $G, d = c ? i : i + a * u, f = tK(t, n, l, d), p = tK(t, n, r, d), m = c ? i - a * u : i;
+var HEe = (e, t) => Qz(t - e) * Math.min(Math.abs(t - e), 359.999), oK = (e) => {
+ var { cx: t, cy: n, radius: r, angle: i, sign: a, isExternal: o, cornerRadius: s, cornerIsExternal: c } = e, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / eK, d = c ? i : i + a * u, f = nK(t, n, l, d), p = nK(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
circleTangency: p,
- lineTangency: tK(t, n, l * Math.cos(u * $G), m),
+ lineTangency: nK(t, n, l * Math.cos(u * eK), m),
theta: u
};
-}, oK = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = HEe(a, o), c = a + s, l = tK(t, n, i, a), u = tK(t, n, i, c), d = Xz(FEe ||= iK([
+}, sK = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = HEe(a, o), c = a + s, l = nK(t, n, i, a), u = nK(t, n, i, c), d = Zz(FEe ||= aK([
"M ",
",",
"\n A ",
@@ -57398,8 +57383,8 @@ var HEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) =>
"\n "
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
- var f = tK(t, n, r, a), p = tK(t, n, r, c);
- d += Xz(IEe ||= iK([
+ var f = nK(t, n, r, a), p = nK(t, n, r, c);
+ d += Zz(IEe ||= aK([
"L ",
",",
"\n A ",
@@ -57410,14 +57395,14 @@ var HEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) =>
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += Xz(LEe ||= iK([
+ } else d += Zz(LEe ||= aK([
"L ",
",",
" Z"
]), t, n);
return d;
}, UEe = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = Zz(l - c), { circleTangency: d, lineTangency: f, theta: p } = aK({
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = Qz(l - c), { circleTangency: d, lineTangency: f, theta: p } = oK({
cx: t,
cy: n,
radius: i,
@@ -57425,7 +57410,7 @@ var HEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) =>
sign: u,
cornerRadius: a,
cornerIsExternal: s
- }), { circleTangency: m, lineTangency: h, theta: g } = aK({
+ }), { circleTangency: m, lineTangency: h, theta: g } = oK({
cx: t,
cy: n,
radius: i,
@@ -57434,7 +57419,7 @@ var HEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) =>
cornerRadius: a,
cornerIsExternal: s
}), _ = s ? Math.abs(c - l) : Math.abs(c - l) - p - g;
- if (_ < 0) return o ? Xz(REe ||= iK([
+ if (_ < 0) return o ? Zz(REe ||= aK([
"M ",
",",
"\n a",
@@ -57444,7 +57429,7 @@ var HEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) =>
",",
",0,0,1,",
",0\n "
- ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : oK({
+ ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : sK({
cx: t,
cy: n,
innerRadius: r,
@@ -57452,7 +57437,7 @@ var HEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) =>
startAngle: c,
endAngle: l
});
- var v = Xz(zEe ||= iK([
+ var v = Zz(zEe ||= aK([
"M ",
",",
"\n A",
@@ -57474,7 +57459,7 @@ var HEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) =>
"\n "
]), f.x, f.y, a, a, +(u < 0), d.x, d.y, i, i, +(_ > 180), +(u < 0), m.x, m.y, a, a, +(u < 0), h.x, h.y);
if (r > 0) {
- var { circleTangency: y, lineTangency: b, theta: x } = aK({
+ var { circleTangency: y, lineTangency: b, theta: x } = oK({
cx: t,
cy: n,
radius: r,
@@ -57483,7 +57468,7 @@ var HEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) =>
isExternal: !0,
cornerRadius: a,
cornerIsExternal: s
- }), { circleTangency: S, lineTangency: C, theta: w } = aK({
+ }), { circleTangency: S, lineTangency: C, theta: w } = oK({
cx: t,
cy: n,
radius: r,
@@ -57494,7 +57479,7 @@ var HEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) =>
cornerIsExternal: s
}), T = s ? Math.abs(c - l) : Math.abs(c - l) - x - w;
if (T < 0 && a === 0) return `${v}L${t},${n}Z`;
- v += Xz(BEe ||= iK([
+ v += Zz(BEe ||= aK([
"L",
",",
"\n A",
@@ -57515,7 +57500,7 @@ var HEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) =>
",",
"Z"
]), C.x, C.y, a, a, +(u < 0), S.x, S.y, r, r, +(T > 180), +(u > 0), y.x, y.y, a, a, +(u < 0), b.x, b.y);
- } else v += Xz(VEe ||= iK([
+ } else v += Zz(VEe ||= aK([
"L",
",",
"Z"
@@ -57531,10 +57516,10 @@ var HEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) =>
cornerRadius: 0,
forceCornerRadius: !1,
cornerIsExternal: !1
-}, sK = (e) => {
- var t = yB(e, WEe), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
+}, cK = (e) => {
+ var t = bB(e, WEe), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
if (a < i || l === u) return null;
- var f = Sh("recharts-sector", d), p = a - i, m = nB(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? UEe({
+ var f = Sh("recharts-sector", d), p = a - i, m = rB(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? UEe({
cx: n,
cy: r,
innerRadius: i,
@@ -57544,7 +57529,7 @@ var HEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) =>
cornerIsExternal: c,
startAngle: l,
endAngle: u
- }) : oK({
+ }) : sK({
cx: n,
cy: r,
innerRadius: i,
@@ -57552,7 +57537,7 @@ var HEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) =>
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ R.createElement("path", rK({}, GR(t), {
+ return /*#__PURE__*/ R.createElement("path", iK({}, KR(t), {
className: f,
d: h
}));
@@ -57574,9 +57559,9 @@ function GEe(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (hB(t)) {
+ if (gB(t)) {
if (e === "centric") {
- var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = tK(r, i, a, s), l = tK(r, i, o, s);
+ var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = nK(r, i, a, s), l = nK(r, i, o, s);
return [{
x: c.x,
y: c.y
@@ -57585,30 +57570,30 @@ function GEe(e, t, n) {
y: l.y
}];
}
- return nK(t);
+ return rK(t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
function KEe(e) {
- return Gz(e) ? NaN : Number(e);
+ return Kz(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
-function cK(e) {
+function lK(e) {
return e ? (e = KEe(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 lK(e, t, n) {
- n && typeof n != "number" && QB(e, t, n) && (t = n = void 0), e = cK(e), t === void 0 ? (t = e, e = 0) : t = cK(t), n = n === void 0 ? e < t ? 1 : -1 : cK(n);
+function uK(e, t, n) {
+ n && typeof n != "number" && $B(e, t, n) && (t = n = void 0), e = lK(e), t === void 0 ? (t = e, e = 0) : t = lK(t), n = n === void 0 ? e < t ? 1 : -1 : lK(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 uK = (e) => e.chartData, dK = $([uK], (e) => {
+var dK = (e) => e.chartData, fK = $([dK], (e) => {
var t = e.chartData == null ? 0 : e.chartData.length - 1;
return {
chartData: e.chartData,
@@ -57616,35 +57601,35 @@ var uK = (e) => e.chartData, dK = $([uK], (e) => {
dataEndIndex: t,
dataStartIndex: 0
};
-}), fK = (e, t, n, r) => r ? dK(e) : uK(e), pK = (e, t, n) => n ? dK(e) : uK(e);
+}), pK = (e, t, n, r) => r ? fK(e) : dK(e), mK = (e, t, n) => n ? fK(e) : dK(e);
//#endregion
//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.js
-function mK(e) {
+function hK(e) {
if (Array.isArray(e) && e.length === 2) {
var [t, n] = e;
- if (cU(t) && cU(n)) return !0;
+ if (lU(t) && lU(n)) return !0;
}
return !1;
}
-function hK(e, t, n) {
+function gK(e, t, n) {
return n ? e : [Math.min(e[0], t[0]), Math.max(e[1], t[1])];
}
-function gK(e, t) {
+function _K(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
var [n, r] = e, i, a;
- if (cU(n)) i = n;
+ if (lU(n)) i = n;
else if (typeof n == "function") return;
- if (cU(r)) a = r;
+ if (lU(r)) a = r;
else if (typeof r == "function") return;
var o = [i, a];
- if (mK(o)) return o;
+ if (hK(o)) return o;
}
}
function qEe(e, t, n) {
if (!(!n && t == null)) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
- if (mK(r)) return hK(r, t, n);
+ if (hK(r)) return gK(r, t, n);
} catch {}
if (Array.isArray(e) && e.length === 2) {
var [i, a] = e, o, s;
@@ -57653,8 +57638,8 @@ function qEe(e, t, n) {
else if (typeof i == "function") try {
t != null && (o = i(t?.[0]));
} catch {}
- else if (typeof i == "string" && xU.test(i)) {
- var c = xU.exec(i);
+ else if (typeof i == "string" && SU.test(i)) {
+ var c = SU.exec(i);
if (c == null || c[1] == null || t == null) o = void 0;
else {
var l = +c[1];
@@ -57666,8 +57651,8 @@ function qEe(e, t, n) {
else if (typeof a == "function") try {
t != null && (s = a(t?.[1]));
} catch {}
- else if (typeof a == "string" && SU.test(a)) {
- var u = SU.exec(a);
+ else if (typeof a == "string" && CU.test(a)) {
+ var u = CU.exec(a);
if (u == null || u[1] == null || t == null) s = void 0;
else {
var d = +u[1];
@@ -57675,13 +57660,13 @@ function qEe(e, t, n) {
}
} else s = t?.[1];
var f = [o, s];
- if (mK(f)) return t == null ? f : hK(f, t, n);
+ if (hK(f)) return t == null ? f : gK(f, t, n);
}
}
}
//#endregion
//#region node_modules/recharts/es6/util/scale/util/arithmetic.js
-var _K = /* @__PURE__ */ Dt((/* @__PURE__ */ Ct(((e, t) => {
+var vK = /* @__PURE__ */ Dt((/* @__PURE__ */ Ct(((e, t) => {
(function(e) {
var n = 1e9, r = {
precision: 20,
@@ -58057,75 +58042,75 @@ var _K = /* @__PURE__ */ Dt((/* @__PURE__ */ Ct(((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 vK(e) {
- return e === 0 ? 1 : Math.floor(new _K.default(e).abs().log(10).toNumber()) + 1;
+function yK(e) {
+ return e === 0 ? 1 : Math.floor(new vK.default(e).abs().log(10).toNumber()) + 1;
}
-function yK(e, t, n) {
- for (var r = new _K.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
+function bK(e, t, n) {
+ for (var r = new vK.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
-var bK = (e) => {
+var xK = (e) => {
var [t, n] = e, [r, i] = [t, n];
return t > n && ([r, i] = [n, t]), [r, i];
-}, xK = (e, t, n) => {
- if (e.lte(0)) return new _K.default(0);
- var r = vK(e.toNumber()), i = new _K.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new _K.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
- return t ? new _K.default(s.toNumber()) : new _K.default(Math.ceil(s.toNumber()));
}, SK = (e, t, n) => {
- if (e.lte(0)) return new _K.default(0);
+ if (e.lte(0)) return new vK.default(0);
+ var r = yK(e.toNumber()), i = new vK.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new vK.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
+ return t ? new vK.default(s.toNumber()) : new vK.default(Math.ceil(s.toNumber()));
+}, CK = (e, t, n) => {
+ if (e.lte(0)) return new vK.default(0);
var r = [
1,
2,
2.5,
5
- ], i = e.toNumber(), a = Math.floor(new _K.default(i).abs().log(10).toNumber()), o = new _K.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
+ ], i = e.toNumber(), a = Math.floor(new vK.default(i).abs().log(10).toNumber()), o = new vK.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 _K.default(10).pow(l));
+ c %= r.length, o = o.mul(new vK.default(10).pow(l));
}
- var u = r[c] ?? 1, d = new _K.default(u).mul(o);
- return t ? d : new _K.default(Math.ceil(d.toNumber()));
+ var u = r[c] ?? 1, d = new vK.default(u).mul(o);
+ return t ? d : new vK.default(Math.ceil(d.toNumber()));
}, JEe = (e, t, n) => {
- var r = new _K.default(1), i = new _K.default(e);
+ var r = new vK.default(1), i = new vK.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
- a < 1 ? (r = new _K.default(10).pow(vK(e) - 1), i = new _K.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new _K.default(Math.floor(e)));
- } else e === 0 ? i = new _K.default(Math.floor((t - 1) / 2)) : n || (i = new _K.default(Math.floor(e)));
- for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new _K.default(c - o).mul(r)).toNumber());
+ a < 1 ? (r = new vK.default(10).pow(yK(e) - 1), i = new vK.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new vK.default(Math.floor(e)));
+ } else e === 0 ? i = new vK.default(Math.floor((t - 1) / 2)) : n || (i = new vK.default(Math.floor(e)));
+ for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new vK.default(c - o).mul(r)).toNumber());
return s;
-}, CK = 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] : xK;
+}, wK = 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] : SK;
if (!Number.isFinite((t - e) / (n - 1))) return {
- step: new _K.default(0),
- tickMin: new _K.default(0),
- tickMax: new _K.default(0)
- };
- var o = a(new _K.default(t).sub(e).div(n - 1), r, i), s;
- e <= 0 && t >= 0 ? s = new _K.default(0) : (s = new _K.default(e).add(t).div(2), s = s.sub(new _K.default(s).mod(o)));
- var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new _K.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
- return u > n ? CK(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 vK.default(0),
+ tickMin: new vK.default(0),
+ tickMax: new vK.default(0)
+ };
+ var o = a(new vK.default(t).sub(e).div(n - 1), r, i), s;
+ e <= 0 && t >= 0 ? s = new vK.default(0) : (s = new vK.default(e).add(t).div(2), s = s.sub(new vK.default(s).mod(o)));
+ var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new vK.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
+ return u > n ? wK(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 _K.default(c).mul(o)),
- tickMax: s.add(new _K.default(l).mul(o))
+ tickMin: s.sub(new vK.default(c).mul(o)),
+ tickMax: s.add(new vK.default(l).mul(o))
});
-}, wK = function(e) {
- var [t, n] = e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", o = Math.max(r, 2), [s, c] = bK([t, n]);
+}, TK = function(e) {
+ var [t, n] = e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", o = Math.max(r, 2), [s, c] = xK([t, n]);
if (s === -Infinity || c === Infinity) {
var l = c === Infinity ? [s, ...Array(r - 1).fill(Infinity)] : [...Array(r - 1).fill(-Infinity), c];
return t > n ? l.reverse() : l;
}
if (s === c) return JEe(s, r, i);
- var { step: u, tickMin: d, tickMax: f } = CK(s, c, o, i, 0, a === "snap125" ? SK : xK), p = yK(d, f.add(new _K.default(.1).mul(u)), u);
+ var { step: u, tickMin: d, tickMax: f } = wK(s, c, o, i, 0, a === "snap125" ? CK : SK), p = bK(d, f.add(new vK.default(.1).mul(u)), u);
return t > n ? p.reverse() : p;
-}, TK = function(e, t) {
- var [n, r] = e, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", [o, s] = bK([n, r]);
+}, EK = function(e, t) {
+ var [n, r] = e, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", [o, s] = xK([n, r]);
if (o === -Infinity || s === Infinity) return [n, r];
if (o === s) return [o];
- var c = a === "snap125" ? SK : xK, l = Math.max(t, 2), u = c(new _K.default(s).sub(o).div(l - 1), i, 0), d = [...yK(new _K.default(o), new _K.default(s), u), s];
+ var c = a === "snap125" ? CK : SK, l = Math.max(t, 2), u = c(new vK.default(s).sub(o).div(l - 1), i, 0), d = [...bK(new vK.default(o), new vK.default(s), u), s];
return i === !1 && (d = d.map((e) => Math.round(e))), n > r ? d.reverse() : d;
-}, EK = (e) => e.rootProps.maxBarSize, DK = (e) => e.rootProps.barGap, OK = (e) => e.rootProps.barCategoryGap, kK = (e) => e.rootProps.barSize, AK = (e) => e.rootProps.stackOffset, jK = (e) => e.rootProps.reverseStackOrder, MK = (e) => e.options.chartName, NK = (e) => e.rootProps.syncId, PK = (e) => e.rootProps.syncMethod, FK = (e) => e.options.eventEmitter, YEe = (e) => e.rootProps.baseValue, IK = {
+}, DK = (e) => e.rootProps.maxBarSize, OK = (e) => e.rootProps.barGap, kK = (e) => e.rootProps.barCategoryGap, AK = (e) => e.rootProps.barSize, jK = (e) => e.rootProps.stackOffset, MK = (e) => e.rootProps.reverseStackOrder, NK = (e) => e.options.chartName, PK = (e) => e.rootProps.syncId, FK = (e) => e.rootProps.syncMethod, IK = (e) => e.options.eventEmitter, YEe = (e) => e.rootProps.baseValue, LK = {
grid: -100,
barBackground: -50,
area: 100,
@@ -58138,7 +58123,7 @@ var bK = (e) => {
cursorLine: 1100,
activeDot: 1200,
label: 2e3
-}, LK = {
+}, RK = {
allowDecimals: !1,
allowDuplicatedCategory: !0,
allowDataOverflow: !1,
@@ -58159,8 +58144,8 @@ var bK = (e) => {
tickLine: !0,
tickSize: 8,
type: "auto",
- zIndex: IK.axis
-}, RK = {
+ zIndex: LK.axis
+}, zK = {
allowDataOverflow: !1,
allowDecimals: !1,
allowDuplicatedCategory: !0,
@@ -58179,19 +58164,19 @@ var bK = (e) => {
tickCount: 5,
tickLine: !0,
type: "auto",
- zIndex: IK.axis
-}, zK = (e, t) => {
+ zIndex: LK.axis
+}, BK = (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 BK(e, t, n) {
+function VK(e, t, n) {
if (n !== "auto") return n;
- if (e != null) return pU(e, t) ? "category" : "number";
+ if (e != null) return mU(e, t) ? "category" : "number";
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js
-function VK(e, t) {
+function HK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -58201,12 +58186,12 @@ function VK(e, t) {
}
return n;
}
-function HK(e) {
+function UK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? VK(Object(n), !0).forEach(function(t) {
+ t % 2 ? HK(Object(n), !0).forEach(function(t) {
XEe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : VK(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -58234,81 +58219,81 @@ function QEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var UK = {
- allowDataOverflow: LK.allowDataOverflow,
- allowDecimals: LK.allowDecimals,
+var WK = {
+ allowDataOverflow: RK.allowDataOverflow,
+ allowDecimals: RK.allowDecimals,
allowDuplicatedCategory: !1,
dataKey: void 0,
domain: void 0,
- id: LK.angleAxisId,
+ id: RK.angleAxisId,
includeHidden: !1,
name: void 0,
- reversed: LK.reversed,
- scale: LK.scale,
- tick: LK.tick,
+ reversed: RK.reversed,
+ scale: RK.scale,
+ tick: RK.tick,
tickCount: void 0,
ticks: void 0,
- type: LK.type,
+ type: RK.type,
unit: void 0,
niceTicks: "auto"
-}, WK = {
- allowDataOverflow: RK.allowDataOverflow,
- allowDecimals: RK.allowDecimals,
- allowDuplicatedCategory: RK.allowDuplicatedCategory,
+}, GK = {
+ allowDataOverflow: zK.allowDataOverflow,
+ allowDecimals: zK.allowDecimals,
+ allowDuplicatedCategory: zK.allowDuplicatedCategory,
dataKey: void 0,
domain: void 0,
- id: RK.radiusAxisId,
- includeHidden: RK.includeHidden,
+ id: zK.radiusAxisId,
+ includeHidden: zK.includeHidden,
name: void 0,
- reversed: RK.reversed,
- scale: RK.scale,
- tick: RK.tick,
- tickCount: RK.tickCount,
+ reversed: zK.reversed,
+ scale: zK.scale,
+ tick: zK.tick,
+ tickCount: zK.tickCount,
ticks: void 0,
- type: RK.type,
+ type: zK.type,
unit: void 0,
niceTicks: "auto"
-}, GK = $([(e, t) => {
+}, KK = $([(e, t) => {
if (t != null) return e.polarAxis.angleAxis[t];
-}, nW], (e, t) => {
+}, rW], (e, t) => {
if (e != null) return e;
- var n = BK(t, "angleAxis", UK.type) ?? "category";
- return HK(HK({}, UK), {}, { type: n });
-}), KK = $([(e, t) => e.polarAxis.radiusAxis[t], nW], (e, t) => {
+ var n = VK(t, "angleAxis", WK.type) ?? "category";
+ return UK(UK({}, WK), {}, { type: n });
+}), qK = $([(e, t) => e.polarAxis.radiusAxis[t], rW], (e, t) => {
if (e != null) return e;
- var n = BK(t, "radiusAxis", WK.type) ?? "category";
- return HK(HK({}, WK), {}, { type: n });
-}), qK = (e) => e.polarOptions, JK = $([
- EU,
+ var n = VK(t, "radiusAxis", GK.type) ?? "category";
+ return UK(UK({}, GK), {}, { type: n });
+}), JK = (e) => e.polarOptions, YK = $([
DU,
- NU
-], kEe), YK = $([qK, JK], (e, t) => {
- if (e != null) return nB(e.innerRadius, t, 0);
-}), XK = $([qK, JK], (e, t) => {
- if (e != null) return nB(e.outerRadius, t, t * .8);
-}), ZK = $([qK], (e) => {
+ OU,
+ PU
+], kEe), XK = $([JK, YK], (e, t) => {
+ if (e != null) return rB(e.innerRadius, t, 0);
+}), ZK = $([JK, YK], (e, t) => {
+ if (e != null) return rB(e.outerRadius, t, t * .8);
+}), QK = $([JK], (e) => {
if (e == null) return [0, 0];
var { startAngle: t, endAngle: n } = e;
return [t, n];
-}), $Ee = $([GK, ZK], zK), QK = $([
- JK,
+}), $Ee = $([KK, QK], BK), $K = $([
YK,
- XK
+ XK,
+ ZK
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), eDe = $([KK, QK], zK), $K = $([
- $U,
- qK,
- YK,
+}), eDe = $([qK, $K], BK), eq = $([
+ eW,
+ JK,
XK,
- EU,
- DU
+ ZK,
+ DU,
+ OU
], (e, t, n, r, i, a) => {
if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {
var { cx: o, cy: s, startAngle: c, endAngle: l } = t;
return {
- cx: nB(o, i, i / 2),
- cy: nB(s, a, a / 2),
+ cx: rB(o, i, i / 2),
+ cy: rB(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -58316,22 +58301,22 @@ var UK = {
clockWise: !1
};
}
-}), eq = (e, t) => t, tq = (e, t, n) => n;
+}), tq = (e, t) => t, nq = (e, t, n) => n;
//#endregion
//#region node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js
-function nq(e) {
+function rq(e) {
return e?.id;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js
-function rq(e, t, n) {
+function iq(e, t, n) {
var { chartData: r = [] } = t, { allowDuplicatedCategory: i, dataKey: a } = n, o = /* @__PURE__ */ new Map();
return e.forEach((e) => {
var t = e.data ?? r;
if (t != null && t.length !== 0) {
- var n = nq(e);
+ var n = rq(e);
t.forEach((t, r) => {
- var s = a == null || i ? r : String(fU(t, a, null)), c = fU(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
+ var s = a == null || i ? r : String(pU(t, a, null)), c = pU(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
Object.assign(l, { [n]: c }), o.set(s, l);
});
}
@@ -58339,15 +58324,15 @@ function rq(e, t, n) {
}
//#endregion
//#region node_modules/recharts/es6/state/types/StackedGraphicalItem.js
-function iq(e) {
+function aq(e) {
return "stackId" in e && e.stackId != null && e.dataKey != null;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js
-var aq = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
+var oq = (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 oq(e, t) {
+function sq(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
function tDe(e, t) {
@@ -58359,13 +58344,13 @@ function tDe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js
-var sq = (e) => {
- var t = $U(e);
+var cq = (e) => {
+ var t = eW(e);
return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";
-}, cq = (e) => e.tooltip.settings.axisId;
+}, lq = (e) => e.tooltip.settings.axisId;
//#endregion
//#region node_modules/recharts/es6/util/scale/RechartsScale.js
-function lq(e) {
+function uq(e) {
if (e != null) {
var t = e.ticks, n = e.bandwidth, r = e.range(), i = [Math.min(...r), Math.max(...r)];
return {
@@ -58406,13 +58391,13 @@ function lq(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js
-var uq = (e, t) => {
+var dq = (e, t) => {
if (t != null) switch (e) {
case "linear":
- if (!mK(t)) {
+ if (!hK(t)) {
for (var n, r, i = 0; i < t.length; i++) {
var a = t[i];
- cU(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
+ lU(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;
}
@@ -58422,12 +58407,12 @@ var uq = (e, t) => {
};
//#endregion
//#region node_modules/d3-array/src/ascending.js
-function dq(e, t) {
+function fq(e, t) {
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
}
//#endregion
//#region node_modules/d3-array/src/bisector.js
-function fq(e) {
+function pq(e) {
let t = e, n = e;
e.length === 1 && (t = (t, n) => e(t) - n, n = nDe(e));
function r(e, t, r, i) {
@@ -58456,11 +58441,11 @@ function fq(e) {
};
}
function nDe(e) {
- return (t, n) => dq(e(t), n);
+ return (t, n) => fq(e(t), n);
}
//#endregion
//#region node_modules/d3-array/src/number.js
-function pq(e) {
+function mq(e) {
return e === null ? NaN : +e;
}
function* rDe(e, t) {
@@ -58472,11 +58457,11 @@ function* rDe(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/bisect.js
-var mq = fq(dq), hq = mq.right;
-mq.left, fq(pq).center;
+var hq = pq(fq), gq = hq.right;
+hq.left, pq(mq).center;
//#endregion
//#region node_modules/internmap/src/index.js
-var gq = class extends Map {
+var _q = class extends Map {
constructor(e, t = oDe) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
@@ -58484,10 +58469,10 @@ var gq = class extends Map {
}), e != null) for (let [t, n] of e) this.set(t, n);
}
get(e) {
- return super.get(_q(this, e));
+ return super.get(vq(this, e));
}
has(e) {
- return super.has(_q(this, e));
+ return super.has(vq(this, e));
}
set(e, t) {
return super.set(iDe(this, e), t);
@@ -58496,7 +58481,7 @@ var gq = class extends Map {
return super.delete(aDe(this, e));
}
};
-function _q({ _intern: e, _key: t }, n) {
+function vq({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
@@ -58513,11 +58498,11 @@ function oDe(e) {
}
//#endregion
//#region node_modules/d3-array/src/ticks.js
-var vq = Math.sqrt(50), yq = Math.sqrt(10), bq = Math.sqrt(2);
-function xq(e, t, n) {
+var yq = Math.sqrt(50), bq = Math.sqrt(10), xq = Math.sqrt(2);
+function Sq(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 = Sq(e, t, n)) === 0 || !isFinite(s)) return [];
+ if ((r = t < e) && (a = e, e = t, t = a), (s = Cq(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;
@@ -58528,17 +58513,17 @@ function xq(e, t, n) {
}
return r && o.reverse(), o;
}
-function Sq(e, t, n) {
+function Cq(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 >= vq ? 10 : a >= yq ? 5 : a >= bq ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= vq ? 10 : a >= yq ? 5 : a >= bq ? 2 : 1);
+ return i >= 0 ? (a >= yq ? 10 : a >= bq ? 5 : a >= xq ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= yq ? 10 : a >= bq ? 5 : a >= xq ? 2 : 1);
}
-function Cq(e, t, n) {
+function wq(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 >= vq ? i *= 10 : a >= yq ? i *= 5 : a >= bq && (i *= 2), t < e ? -i : i;
+ return a >= yq ? i *= 10 : a >= bq ? i *= 5 : a >= xq && (i *= 2), t < e ? -i : i;
}
//#endregion
//#region node_modules/d3-array/src/max.js
-function wq(e, t) {
+function Tq(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 {
@@ -58549,7 +58534,7 @@ function wq(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/min.js
-function Tq(e, t) {
+function Eq(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 {
@@ -58560,22 +58545,22 @@ function Tq(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/quickselect.js
-function Eq(e, t, n = 0, r = e.length - 1, i = dq) {
+function Dq(e, t, n = 0, r = e.length - 1, i = fq) {
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);
- Eq(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
+ Dq(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 (Dq(e, n, t), i(e[r], a) > 0 && Dq(e, n, r); o < s;) {
- for (Dq(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
+ for (Oq(e, n, t), i(e[r], a) > 0 && Oq(e, n, r); o < s;) {
+ for (Oq(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
for (; i(e[s], a) > 0;) --s;
}
- i(e[n], a) === 0 ? Dq(e, n, s) : (++s, Dq(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
+ i(e[n], a) === 0 ? Oq(e, n, s) : (++s, Oq(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
}
return e;
}
-function Dq(e, t, n) {
+function Oq(e, t, n) {
let r = e[t];
e[t] = e[n], e[n] = r;
}
@@ -58583,13 +58568,13 @@ function Dq(e, t, n) {
//#region node_modules/d3-array/src/quantile.js
function sDe(e, t, n) {
if (e = Float64Array.from(rDe(e, n)), r = e.length) {
- if ((t = +t) <= 0 || r < 2) return Tq(e);
- if (t >= 1) return wq(e);
- var r, i = (r - 1) * t, a = Math.floor(i), o = wq(Eq(e, a).subarray(0, a + 1));
- return o + (Tq(e.subarray(a + 1)) - o) * (i - a);
+ if ((t = +t) <= 0 || r < 2) return Eq(e);
+ if (t >= 1) return Tq(e);
+ var r, i = (r - 1) * t, a = Math.floor(i), o = Tq(Dq(e, a).subarray(0, a + 1));
+ return o + (Eq(e.subarray(a + 1)) - o) * (i - a);
}
}
-function cDe(e, t, n = pq) {
+function cDe(e, t, n = mq) {
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);
@@ -58606,7 +58591,7 @@ function lDe(e, t, n) {
}
//#endregion
//#region node_modules/d3-array/src/sum.js
-function Oq(e, t) {
+function kq(e, t) {
let n = 0;
if (t === void 0) for (let t of e) (t = +t) && (n += t);
else {
@@ -58617,7 +58602,7 @@ function Oq(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/init.js
-function kq(e, t) {
+function Aq(e, t) {
switch (arguments.length) {
case 0: break;
case 1:
@@ -58627,7 +58612,7 @@ function kq(e, t) {
}
return this;
}
-function Aq(e, t) {
+function jq(e, t) {
switch (arguments.length) {
case 0: break;
case 1:
@@ -58639,20 +58624,20 @@ function Aq(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/ordinal.js
-var jq = Symbol("implicit");
-function Mq() {
- var e = new gq(), t = [], n = [], r = jq;
+var Mq = Symbol("implicit");
+function Nq() {
+ var e = new _q(), t = [], n = [], r = Mq;
function i(i) {
let a = e.get(i);
if (a === void 0) {
- if (r !== jq) return r;
+ if (r !== Mq) 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 gq();
+ t = [], e = new _q();
for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);
return i;
}, i.range = function(e) {
@@ -58660,13 +58645,13 @@ function Mq() {
}, i.unknown = function(e) {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
- return Mq(t, n).unknown(r);
- }, kq.apply(i, arguments), i;
+ return Nq(t, n).unknown(r);
+ }, Aq.apply(i, arguments), i;
}
//#endregion
//#region node_modules/d3-scale/src/band.js
-function Nq() {
- var e = Mq().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
+function Pq() {
+ var e = Nq().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;
@@ -58697,32 +58682,32 @@ function Nq() {
}, e.align = function(e) {
return arguments.length ? (u = Math.max(0, Math.min(1, e)), d()) : u;
}, e.copy = function() {
- return Nq(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
- }, kq.apply(d(), arguments);
+ return Pq(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
+ }, Aq.apply(d(), arguments);
}
-function Pq(e) {
+function Fq(e) {
var t = e.copy;
return e.padding = e.paddingOuter, delete e.paddingInner, delete e.paddingOuter, e.copy = function() {
- return Pq(t());
+ return Fq(t());
}, e;
}
function uDe() {
- return Pq(Nq.apply(null, arguments).paddingInner(1));
+ return Fq(Pq.apply(null, arguments).paddingInner(1));
}
//#endregion
//#region node_modules/d3-color/src/define.js
-function Fq(e, t, n) {
+function Iq(e, t, n) {
e.prototype = t.prototype = n, n.constructor = e;
}
-function Iq(e, t) {
+function Lq(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 Lq() {}
-var Rq = .7, zq = 1 / Rq, Bq = "\\s*([+-]?\\d+)\\s*", Vq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Hq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", dDe = /^#([0-9a-f]{3,8})$/, fDe = RegExp(`^rgb\\(${Bq},${Bq},${Bq}\\)$`), pDe = RegExp(`^rgb\\(${Hq},${Hq},${Hq}\\)$`), mDe = RegExp(`^rgba\\(${Bq},${Bq},${Bq},${Vq}\\)$`), hDe = RegExp(`^rgba\\(${Hq},${Hq},${Hq},${Vq}\\)$`), gDe = RegExp(`^hsl\\(${Vq},${Hq},${Hq}\\)$`), _De = RegExp(`^hsla\\(${Vq},${Hq},${Hq},${Vq}\\)$`), Uq = {
+function Rq() {}
+var zq = .7, Bq = 1 / zq, Vq = "\\s*([+-]?\\d+)\\s*", Hq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Uq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", dDe = /^#([0-9a-f]{3,8})$/, fDe = RegExp(`^rgb\\(${Vq},${Vq},${Vq}\\)$`), pDe = RegExp(`^rgb\\(${Uq},${Uq},${Uq}\\)$`), mDe = RegExp(`^rgba\\(${Vq},${Vq},${Vq},${Hq}\\)$`), hDe = RegExp(`^rgba\\(${Uq},${Uq},${Uq},${Hq}\\)$`), gDe = RegExp(`^hsl\\(${Hq},${Uq},${Uq}\\)$`), _De = RegExp(`^hsla\\(${Hq},${Uq},${Uq},${Hq}\\)$`), Wq = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -58872,143 +58857,143 @@ var Rq = .7, zq = 1 / Rq, Bq = "\\s*([+-]?\\d+)\\s*", Vq = "\\s*([+-]?(?:\\d*\\.
yellow: 16776960,
yellowgreen: 10145074
};
-Fq(Lq, Kq, {
+Iq(Rq, qq, {
copy(e) {
return Object.assign(new this.constructor(), this, e);
},
displayable() {
return this.rgb().displayable();
},
- hex: Wq,
- formatHex: Wq,
+ hex: Gq,
+ formatHex: Gq,
formatHex8: vDe,
formatHsl: yDe,
- formatRgb: Gq,
- toString: Gq
+ formatRgb: Kq,
+ toString: Kq
});
-function Wq() {
+function Gq() {
return this.rgb().formatHex();
}
function vDe() {
return this.rgb().formatHex8();
}
function yDe() {
- return rJ(this).formatHsl();
+ return iJ(this).formatHsl();
}
-function Gq() {
+function Kq() {
return this.rgb().formatRgb();
}
-function Kq(e) {
+function qq(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = dDe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? qq(t) : n === 3 ? new Xq(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Jq(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Jq(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 = fDe.exec(e)) ? new Xq(t[1], t[2], t[3], 1) : (t = pDe.exec(e)) ? new Xq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = mDe.exec(e)) ? Jq(t[1], t[2], t[3], t[4]) : (t = hDe.exec(e)) ? Jq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = gDe.exec(e)) ? nJ(t[1], t[2] / 100, t[3] / 100, 1) : (t = _De.exec(e)) ? nJ(t[1], t[2] / 100, t[3] / 100, t[4]) : Uq.hasOwnProperty(e) ? qq(Uq[e]) : e === "transparent" ? new Xq(NaN, NaN, NaN, 0) : null;
+ return e = (e + "").trim().toLowerCase(), (t = dDe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? Jq(t) : n === 3 ? new Zq(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Yq(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Yq(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 = fDe.exec(e)) ? new Zq(t[1], t[2], t[3], 1) : (t = pDe.exec(e)) ? new Zq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = mDe.exec(e)) ? Yq(t[1], t[2], t[3], t[4]) : (t = hDe.exec(e)) ? Yq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = gDe.exec(e)) ? rJ(t[1], t[2] / 100, t[3] / 100, 1) : (t = _De.exec(e)) ? rJ(t[1], t[2] / 100, t[3] / 100, t[4]) : Wq.hasOwnProperty(e) ? Jq(Wq[e]) : e === "transparent" ? new Zq(NaN, NaN, NaN, 0) : null;
}
-function qq(e) {
- return new Xq(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
+function Jq(e) {
+ return new Zq(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
}
-function Jq(e, t, n, r) {
- return r <= 0 && (e = t = n = NaN), new Xq(e, t, n, r);
+function Yq(e, t, n, r) {
+ return r <= 0 && (e = t = n = NaN), new Zq(e, t, n, r);
}
function bDe(e) {
- return e instanceof Lq || (e = Kq(e)), e ? (e = e.rgb(), new Xq(e.r, e.g, e.b, e.opacity)) : new Xq();
-}
-function Yq(e, t, n, r) {
- return arguments.length === 1 ? bDe(e) : new Xq(e, t, n, r ?? 1);
+ return e instanceof Rq || (e = qq(e)), e ? (e = e.rgb(), new Zq(e.r, e.g, e.b, e.opacity)) : new Zq();
}
function Xq(e, t, n, r) {
+ return arguments.length === 1 ? bDe(e) : new Zq(e, t, n, r ?? 1);
+}
+function Zq(e, t, n, r) {
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
}
-Fq(Xq, Yq, Iq(Lq, {
+Iq(Zq, Xq, Lq(Rq, {
brighter(e) {
- return e = e == null ? zq : zq ** +e, new Xq(this.r * e, this.g * e, this.b * e, this.opacity);
+ return e = e == null ? Bq : Bq ** +e, new Zq(this.r * e, this.g * e, this.b * e, this.opacity);
},
darker(e) {
- return e = e == null ? Rq : Rq ** +e, new Xq(this.r * e, this.g * e, this.b * e, this.opacity);
+ return e = e == null ? zq : zq ** +e, new Zq(this.r * e, this.g * e, this.b * e, this.opacity);
},
rgb() {
return this;
},
clamp() {
- return new Xq(eJ(this.r), eJ(this.g), eJ(this.b), $q(this.opacity));
+ return new Zq(tJ(this.r), tJ(this.g), tJ(this.b), eJ(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: Zq,
- formatHex: Zq,
+ hex: Qq,
+ formatHex: Qq,
formatHex8: xDe,
- formatRgb: Qq,
- toString: Qq
+ formatRgb: $q,
+ toString: $q
}));
-function Zq() {
- return `#${tJ(this.r)}${tJ(this.g)}${tJ(this.b)}`;
+function Qq() {
+ return `#${nJ(this.r)}${nJ(this.g)}${nJ(this.b)}`;
}
function xDe() {
- return `#${tJ(this.r)}${tJ(this.g)}${tJ(this.b)}${tJ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
+ return `#${nJ(this.r)}${nJ(this.g)}${nJ(this.b)}${nJ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
-function Qq() {
- let e = $q(this.opacity);
- return `${e === 1 ? "rgb(" : "rgba("}${eJ(this.r)}, ${eJ(this.g)}, ${eJ(this.b)}${e === 1 ? ")" : `, ${e})`}`;
+function $q() {
+ let e = eJ(this.opacity);
+ return `${e === 1 ? "rgb(" : "rgba("}${tJ(this.r)}, ${tJ(this.g)}, ${tJ(this.b)}${e === 1 ? ")" : `, ${e})`}`;
}
-function $q(e) {
+function eJ(e) {
return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
}
-function eJ(e) {
+function tJ(e) {
return Math.max(0, Math.min(255, Math.round(e) || 0));
}
-function tJ(e) {
- return e = eJ(e), (e < 16 ? "0" : "") + e.toString(16);
+function nJ(e) {
+ return e = tJ(e), (e < 16 ? "0" : "") + e.toString(16);
}
-function nJ(e, t, n, r) {
- return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new iJ(e, t, n, r);
+function rJ(e, t, n, r) {
+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new aJ(e, t, n, r);
}
-function rJ(e) {
- if (e instanceof iJ) return new iJ(e.h, e.s, e.l, e.opacity);
- if (e instanceof Lq || (e = Kq(e)), !e) return new iJ();
- if (e instanceof iJ) return e;
+function iJ(e) {
+ if (e instanceof aJ) return new aJ(e.h, e.s, e.l, e.opacity);
+ if (e instanceof Rq || (e = qq(e)), !e) return new aJ();
+ if (e instanceof aJ) 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 iJ(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 aJ(o, s, c, e.opacity);
}
function SDe(e, t, n, r) {
- return arguments.length === 1 ? rJ(e) : new iJ(e, t, n, r ?? 1);
+ return arguments.length === 1 ? iJ(e) : new aJ(e, t, n, r ?? 1);
}
-function iJ(e, t, n, r) {
+function aJ(e, t, n, r) {
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
}
-Fq(iJ, SDe, Iq(Lq, {
+Iq(aJ, SDe, Lq(Rq, {
brighter(e) {
- return e = e == null ? zq : zq ** +e, new iJ(this.h, this.s, this.l * e, this.opacity);
+ return e = e == null ? Bq : Bq ** +e, new aJ(this.h, this.s, this.l * e, this.opacity);
},
darker(e) {
- return e = e == null ? Rq : Rq ** +e, new iJ(this.h, this.s, this.l * e, this.opacity);
+ return e = e == null ? zq : zq ** +e, new aJ(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 Xq(sJ(e >= 240 ? e - 240 : e + 120, i, r), sJ(e, i, r), sJ(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
+ return new Zq(cJ(e >= 240 ? e - 240 : e + 120, i, r), cJ(e, i, r), cJ(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
},
clamp() {
- return new iJ(aJ(this.h), oJ(this.s), oJ(this.l), $q(this.opacity));
+ return new aJ(oJ(this.h), sJ(this.s), sJ(this.l), eJ(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 = $q(this.opacity);
- return `${e === 1 ? "hsl(" : "hsla("}${aJ(this.h)}, ${oJ(this.s) * 100}%, ${oJ(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
+ let e = eJ(this.opacity);
+ return `${e === 1 ? "hsl(" : "hsla("}${oJ(this.h)}, ${sJ(this.s) * 100}%, ${sJ(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
}
}));
-function aJ(e) {
+function oJ(e) {
return e = (e || 0) % 360, e < 0 ? e + 360 : e;
}
-function oJ(e) {
+function sJ(e) {
return Math.max(0, Math.min(1, e || 0));
}
-function sJ(e, t, n) {
+function cJ(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 cJ = (e) => () => e;
+var lJ = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
function CDe(e, t) {
@@ -59022,20 +59007,20 @@ function wDe(e, t, n) {
};
}
function TDe(e) {
- return (e = +e) == 1 ? lJ : function(t, n) {
- return n - t ? wDe(t, n, e) : cJ(isNaN(t) ? n : t);
+ return (e = +e) == 1 ? uJ : function(t, n) {
+ return n - t ? wDe(t, n, e) : lJ(isNaN(t) ? n : t);
};
}
-function lJ(e, t) {
+function uJ(e, t) {
var n = t - e;
- return n ? CDe(e, n) : cJ(isNaN(e) ? t : e);
+ return n ? CDe(e, n) : lJ(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
-var uJ = (function e(t) {
+var dJ = (function e(t) {
var n = TDe(t);
function r(e, t) {
- var r = n((e = Yq(e)).r, (t = Yq(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = lJ(e.opacity, t.opacity);
+ var r = n((e = Xq(e)).r, (t = Xq(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = uJ(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 + "";
};
@@ -59059,7 +59044,7 @@ function DDe(e) {
//#region node_modules/d3-interpolate/src/array.js
function ODe(e, t) {
var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o;
- for (o = 0; o < r; ++o) i[o] = mJ(e[o], t[o]);
+ for (o = 0; o < r; ++o) i[o] = hJ(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);
@@ -59076,7 +59061,7 @@ function kDe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/number.js
-function dJ(e, t) {
+function fJ(e, t) {
return e = +e, t = +t, function(n) {
return e * (1 - n) + t * n;
};
@@ -59085,7 +59070,7 @@ function dJ(e, t) {
//#region node_modules/d3-interpolate/src/object.js
function ADe(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] = mJ(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] = hJ(e[i], t[i]) : r[i] = t[i];
return function(e) {
for (i in n) r[i] = n[i](e);
return r;
@@ -59093,7 +59078,7 @@ function ADe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/string.js
-var fJ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, pJ = new RegExp(fJ.source, "g");
+var pJ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, mJ = new RegExp(pJ.source, "g");
function jDe(e) {
return function() {
return e;
@@ -59105,11 +59090,11 @@ function MDe(e) {
};
}
function NDe(e, t) {
- var n = fJ.lastIndex = pJ.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
- for (e += "", t += ""; (r = fJ.exec(e)) && (i = pJ.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({
+ var n = pJ.lastIndex = mJ.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
+ for (e += "", t += ""; (r = pJ.exec(e)) && (i = mJ.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: dJ(r, i)
- })), n = pJ.lastIndex;
+ x: fJ(r, i)
+ })), n = mJ.lastIndex;
return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? MDe(c[0].x) : jDe(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("");
@@ -59117,13 +59102,13 @@ function NDe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/value.js
-function mJ(e, t) {
+function hJ(e, t) {
var n = typeof t, r;
- return t == null || n === "boolean" ? cJ(t) : (n === "number" ? dJ : n === "string" ? (r = Kq(t)) ? (t = r, uJ) : NDe : t instanceof Kq ? uJ : t instanceof Date ? kDe : DDe(t) ? EDe : Array.isArray(t) ? ODe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? ADe : dJ)(e, t);
+ return t == null || n === "boolean" ? lJ(t) : (n === "number" ? fJ : n === "string" ? (r = qq(t)) ? (t = r, dJ) : NDe : t instanceof qq ? dJ : t instanceof Date ? kDe : DDe(t) ? EDe : Array.isArray(t) ? ODe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? ADe : fJ)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
-function hJ(e, t) {
+function gJ(e, t) {
return e = +e, t = +t, function(n) {
return Math.round(e * (1 - n) + t * n);
};
@@ -59131,7 +59116,7 @@ function hJ(e, t) {
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
function PDe(e, t) {
- t === void 0 && (t = e, e = mJ);
+ t === void 0 && (t = e, e = hJ);
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)));
@@ -59147,16 +59132,16 @@ function FDe(e) {
}
//#endregion
//#region node_modules/d3-scale/src/number.js
-function gJ(e) {
+function _J(e) {
return +e;
}
//#endregion
//#region node_modules/d3-scale/src/continuous.js
-var _J = [0, 1];
-function vJ(e) {
+var vJ = [0, 1];
+function yJ(e) {
return e;
}
-function yJ(e, t) {
+function bJ(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
} : FDe(isNaN(t) ? NaN : .5);
@@ -59169,40 +59154,40 @@ function IDe(e, t) {
}
function LDe(e, t, n) {
var r = e[0], i = e[1], a = t[0], o = t[1];
- return i < r ? (r = yJ(i, r), a = n(o, a)) : (r = yJ(r, i), a = n(a, o)), function(e) {
+ return i < r ? (r = bJ(i, r), a = n(o, a)) : (r = bJ(r, i), a = n(a, o)), function(e) {
return a(r(e));
};
}
function RDe(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] = yJ(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] = bJ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
- var n = hq(e, t, 1, r) - 1;
+ var n = gq(e, t, 1, r) - 1;
return a[n](i[n](t));
};
}
-function bJ(e, t) {
+function xJ(e, t) {
return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
}
-function xJ() {
- var e = _J, t = _J, n = mJ, r, i, a, o = vJ, s, c, l;
+function SJ() {
+ var e = vJ, t = vJ, n = hJ, r, i, a, o = yJ, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== vJ && (o = IDe(e[0], e[n - 1])), s = n > 2 ? RDe : LDe, c = l = null, d;
+ return o !== yJ && (o = IDe(e[0], e[n - 1])), s = n > 2 ? RDe : LDe, 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), dJ))(n)));
+ return o(i((l ||= s(t, e.map(r), fJ))(n)));
}, d.domain = function(t) {
- return arguments.length ? (e = Array.from(t, gJ), u()) : e.slice();
+ return arguments.length ? (e = Array.from(t, _J), 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 = hJ, u();
+ return t = Array.from(e), n = gJ, u();
}, d.clamp = function(e) {
- return arguments.length ? (o = e ? !0 : vJ, u()) : o !== vJ;
+ return arguments.length ? (o = e ? !0 : yJ, u()) : o !== yJ;
}, d.interpolate = function(e) {
return arguments.length ? (n = e, u()) : n;
}, d.unknown = function(e) {
@@ -59211,23 +59196,23 @@ function xJ() {
return r = e, i = t, u();
};
}
-function SJ() {
- return xJ()(vJ, vJ);
+function CJ() {
+ return SJ()(yJ, yJ);
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
function zDe(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
-function CJ(e, t) {
+function wJ(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 wJ(e) {
- return e = CJ(Math.abs(e)), e ? e[1] : NaN;
+function TJ(e) {
+ return e = wJ(Math.abs(e)), e ? e[1] : NaN;
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
@@ -59249,10 +59234,10 @@ function VDe(e) {
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
var HDe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
-function TJ(e) {
+function EJ(e) {
if (!(t = HDe.exec(e))) throw Error("invalid format: " + e);
var t;
- return new EJ({
+ return new DJ({
fill: t[1],
align: t[2],
sign: t[3],
@@ -59265,11 +59250,11 @@ function TJ(e) {
type: t[10]
});
}
-TJ.prototype = EJ.prototype;
-function EJ(e) {
+EJ.prototype = DJ.prototype;
+function DJ(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 + "";
}
-EJ.prototype.toString = function() {
+DJ.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
@@ -59290,24 +59275,24 @@ function UDe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
-var DJ;
+var OJ;
function WDe(e, t) {
- var n = CJ(e, t);
- if (!n) return DJ = void 0, e.toPrecision(t);
- var r = n[0], i = n[1], a = i - (DJ = 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") + CJ(e, Math.max(0, t + a - 1))[0];
+ var n = wJ(e, t);
+ if (!n) return OJ = void 0, e.toPrecision(t);
+ var r = n[0], i = n[1], a = i - (OJ = 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") + wJ(e, Math.max(0, t + a - 1))[0];
}
//#endregion
//#region node_modules/d3-format/src/formatRounded.js
-function OJ(e, t) {
- var n = CJ(e, t);
+function kJ(e, t) {
+ var n = wJ(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 kJ = {
+var AJ = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
@@ -59316,20 +59301,20 @@ var kJ = {
f: (e, t) => e.toFixed(t),
g: (e, t) => e.toPrecision(t),
o: (e) => Math.round(e).toString(8),
- p: (e, t) => OJ(e * 100, t),
- r: OJ,
+ p: (e, t) => kJ(e * 100, t),
+ r: kJ,
s: WDe,
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 AJ(e) {
+function jJ(e) {
return e;
}
//#endregion
//#region node_modules/d3-format/src/locale.js
-var jJ = Array.prototype.map, MJ = [
+var MJ = Array.prototype.map, NJ = [
"y",
"z",
"a",
@@ -59349,12 +59334,12 @@ var jJ = Array.prototype.map, MJ = [
"Y"
];
function GDe(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? AJ : BDe(jJ.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 ? AJ : VDe(jJ.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 + "";
+ var t = e.grouping === void 0 || e.thousands === void 0 ? jJ : BDe(MJ.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 ? jJ : VDe(MJ.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 = TJ(e);
+ e = EJ(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") : kJ[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 = kJ[y], C = /[defgprs%]/.test(y);
+ y === "n" ? (g = !0, y = "g") : AJ[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 = AJ[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;
@@ -59362,7 +59347,7 @@ function GDe(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = UDe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && DJ !== void 0 ? MJ[8 + DJ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = UDe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && OJ !== void 0 ? NJ[8 + OJ / 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;
@@ -59390,7 +59375,7 @@ function GDe(e) {
}, w;
}
function u(e, t) {
- var n = Math.max(-8, Math.min(8, Math.floor(wJ(t) / 3))) * 3, r = 10 ** -n, i = l((e = TJ(e), e.type = "f", e), { suffix: MJ[8 + n / 3] });
+ var n = Math.max(-8, Math.min(8, Math.floor(TJ(t) / 3))) * 3, r = 10 ** -n, i = l((e = EJ(e), e.type = "f", e), { suffix: NJ[8 + n / 3] });
return function(e) {
return i(r * e);
};
@@ -59402,38 +59387,38 @@ function GDe(e) {
}
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
-var NJ, PJ, FJ;
+var PJ, FJ, IJ;
KDe({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
function KDe(e) {
- return NJ = GDe(e), PJ = NJ.format, FJ = NJ.formatPrefix, NJ;
+ return PJ = GDe(e), FJ = PJ.format, IJ = PJ.formatPrefix, PJ;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
function qDe(e) {
- return Math.max(0, -wJ(Math.abs(e)));
+ return Math.max(0, -TJ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
function JDe(e, t) {
- return Math.max(0, Math.max(-8, Math.min(8, Math.floor(wJ(t) / 3))) * 3 - wJ(Math.abs(e)));
+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(TJ(t) / 3))) * 3 - TJ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
function YDe(e, t) {
- return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, wJ(t) - wJ(e)) + 1;
+ return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, TJ(t) - TJ(e)) + 1;
}
//#endregion
//#region node_modules/d3-scale/src/tickFormat.js
-function IJ(e, t, n, r) {
- var i = Cq(e, t, n), a;
- switch (r = TJ(r ?? ",f"), r.type) {
+function LJ(e, t, n, r) {
+ var i = wq(e, t, n), a;
+ switch (r = EJ(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = JDe(i, o)) && (r.precision = a), FJ(r, o);
+ return r.precision == null && !isNaN(a = JDe(i, o)) && (r.precision = a), IJ(r, o);
case "":
case "e":
case "g":
@@ -59444,23 +59429,23 @@ function IJ(e, t, n, r) {
case "f":
case "%": r.precision == null && !isNaN(a = qDe(i)) && (r.precision = a - (r.type === "%") * 2);
}
- return PJ(r);
+ return FJ(r);
}
//#endregion
//#region node_modules/d3-scale/src/linear.js
-function LJ(e) {
+function RJ(e) {
var t = e.domain;
return e.ticks = function(e) {
var n = t();
- return xq(n[0], n[n.length - 1], e ?? 10);
+ return Sq(n[0], n[n.length - 1], e ?? 10);
}, e.tickFormat = function(e, n) {
var r = t();
- return IJ(r[0], r[r.length - 1], e ?? 10, n);
+ return LJ(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 = Sq(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
+ if (l = Cq(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;
@@ -59469,40 +59454,40 @@ function LJ(e) {
return e;
}, e;
}
-function RJ() {
- var e = SJ();
+function zJ() {
+ var e = CJ();
return e.copy = function() {
- return bJ(e, RJ());
- }, kq.apply(e, arguments), LJ(e);
+ return xJ(e, zJ());
+ }, Aq.apply(e, arguments), RJ(e);
}
//#endregion
//#region node_modules/d3-scale/src/identity.js
-function zJ(e) {
+function BJ(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, gJ), n) : e.slice();
+ return arguments.length ? (e = Array.from(t, _J), n) : e.slice();
}, n.unknown = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.copy = function() {
- return zJ(e).unknown(t);
- }, e = arguments.length ? Array.from(e, gJ) : [0, 1], LJ(n);
+ return BJ(e).unknown(t);
+ }, e = arguments.length ? Array.from(e, _J) : [0, 1], RJ(n);
}
//#endregion
//#region node_modules/d3-scale/src/nice.js
-function BJ(e, t) {
+function VJ(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 VJ(e) {
+function HJ(e) {
return Math.log(e);
}
-function HJ(e) {
+function UJ(e) {
return Math.exp(e);
}
function XDe(e) {
@@ -59520,13 +59505,13 @@ function $De(e) {
function eOe(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 UJ(e) {
+function WJ(e) {
return (t, n) => -e(-t, n);
}
-function WJ(e) {
- let t = e(VJ, HJ), n = t.domain, r = 10, i, a;
+function GJ(e) {
+ let t = e(HJ, UJ), n = t.domain, r = 10, i, a;
function o() {
- return i = eOe(r), a = $De(r), n()[0] < 0 ? (i = UJ(i), a = UJ(a), e(XDe, ZDe)) : e(VJ, HJ), t;
+ return i = eOe(r), a = $De(r), n()[0] < 0 ? (i = WJ(i), a = WJ(a), e(XDe, ZDe)) : e(HJ, UJ), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -59546,52 +59531,52 @@ function WJ(e) {
if (f > s) break;
m.push(f);
}
- m.length * 2 < p && (m = xq(o, s, p));
- } else m = xq(l, u, Math.min(u - l, p)).map(a);
+ m.length * 2 < p && (m = Sq(o, s, p));
+ } else m = Sq(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 = TJ(n)).precision == null && (n.trim = !0), n = PJ(n)), e === Infinity) return n;
+ if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = EJ(n)).precision == null && (n.trim = !0), n = FJ(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(BJ(n(), {
+ }, t.nice = () => n(VJ(n(), {
floor: (e) => a(Math.floor(i(e))),
ceil: (e) => a(Math.ceil(i(e)))
})), t;
}
-function GJ() {
- let e = WJ(xJ()).domain([1, 10]);
- return e.copy = () => bJ(e, GJ()).base(e.base()), kq.apply(e, arguments), e;
+function KJ() {
+ let e = GJ(SJ()).domain([1, 10]);
+ return e.copy = () => xJ(e, KJ()).base(e.base()), Aq.apply(e, arguments), e;
}
//#endregion
//#region node_modules/d3-scale/src/symlog.js
-function KJ(e) {
+function qJ(e) {
return function(t) {
return Math.sign(t) * Math.log1p(Math.abs(t / e));
};
}
-function qJ(e) {
+function JJ(e) {
return function(t) {
return Math.sign(t) * Math.expm1(Math.abs(t)) * e;
};
}
-function JJ(e) {
- var t = 1, n = e(KJ(t), qJ(t));
+function YJ(e) {
+ var t = 1, n = e(qJ(t), JJ(t));
return n.constant = function(n) {
- return arguments.length ? e(KJ(t = +n), qJ(t)) : t;
- }, LJ(n);
+ return arguments.length ? e(qJ(t = +n), JJ(t)) : t;
+ }, RJ(n);
}
-function YJ() {
- var e = JJ(xJ());
+function XJ() {
+ var e = YJ(SJ());
return e.copy = function() {
- return bJ(e, YJ()).constant(e.constant());
- }, kq.apply(e, arguments);
+ return xJ(e, XJ()).constant(e.constant());
+ }, Aq.apply(e, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/pow.js
-function XJ(e) {
+function ZJ(e) {
return function(t) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
@@ -59602,44 +59587,44 @@ function tOe(e) {
function nOe(e) {
return e < 0 ? -e * e : e * e;
}
-function ZJ(e) {
- var t = e(vJ, vJ), n = 1;
+function QJ(e) {
+ var t = e(yJ, yJ), n = 1;
function r() {
- return n === 1 ? e(vJ, vJ) : n === .5 ? e(tOe, nOe) : e(XJ(n), XJ(1 / n));
+ return n === 1 ? e(yJ, yJ) : n === .5 ? e(tOe, nOe) : e(ZJ(n), ZJ(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
- }, LJ(t);
+ }, RJ(t);
}
-function QJ() {
- var e = ZJ(xJ());
+function $J() {
+ var e = QJ(SJ());
return e.copy = function() {
- return bJ(e, QJ()).exponent(e.exponent());
- }, kq.apply(e, arguments), e;
+ return xJ(e, $J()).exponent(e.exponent());
+ }, Aq.apply(e, arguments), e;
}
function rOe() {
- return QJ.apply(null, arguments).exponent(.5);
+ return $J.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/radial.js
-function $J(e) {
+function eY(e) {
return Math.sign(e) * e * e;
}
function iOe(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
-function eY() {
- var e = SJ(), t = [0, 1], n = !1, r;
+function tY() {
+ var e = CJ(), t = [0, 1], n = !1, r;
function i(t) {
var i = iOe(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
- return e.invert($J(t));
+ return e.invert(eY(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, gJ)).map($J)), i) : t.slice();
+ return arguments.length ? (e.range((t = Array.from(n, _J)).map(eY)), i) : t.slice();
}, i.rangeRound = function(e) {
return i.range(e).round(!0);
}, i.round = function(e) {
@@ -59649,12 +59634,12 @@ function eY() {
}, i.unknown = function(e) {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
- return eY(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
- }, kq.apply(i, arguments), LJ(i);
+ return tY(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
+ }, Aq.apply(i, arguments), RJ(i);
}
//#endregion
//#region node_modules/d3-scale/src/quantile.js
-function tY() {
+function nY() {
var e = [], t = [], n = [], r;
function i() {
var r = 0, i = Math.max(1, t.length);
@@ -59662,7 +59647,7 @@ function tY() {
return a;
}
function a(e) {
- return e == null || isNaN(e = +e) ? r : t[hq(n, e)];
+ return e == null || isNaN(e = +e) ? r : t[gq(n, e)];
}
return a.invertExtent = function(r) {
var i = t.indexOf(r);
@@ -59671,7 +59656,7 @@ function tY() {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(dq), i();
+ return e.sort(fq), i();
}, a.range = function(e) {
return arguments.length ? (t = Array.from(e), i()) : t.slice();
}, a.unknown = function(e) {
@@ -59679,15 +59664,15 @@ function tY() {
}, a.quantiles = function() {
return n.slice();
}, a.copy = function() {
- return tY().domain(e).range(t).unknown(r);
- }, kq.apply(a, arguments);
+ return nY().domain(e).range(t).unknown(r);
+ }, Aq.apply(a, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/quantize.js
-function nY() {
+function rY() {
var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;
function o(e) {
- return e != null && e <= e ? i[hq(r, e, 0, n)] : a;
+ return e != null && e <= e ? i[gq(r, e, 0, n)] : a;
}
function s() {
var i = -1;
@@ -59706,15 +59691,15 @@ function nY() {
}, o.thresholds = function() {
return r.slice();
}, o.copy = function() {
- return nY().domain([e, t]).range(i).unknown(a);
- }, kq.apply(LJ(o), arguments);
+ return rY().domain([e, t]).range(i).unknown(a);
+ }, Aq.apply(RJ(o), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/threshold.js
-function rY() {
+function iY() {
var e = [.5], t = [0, 1], n, r = 1;
function i(i) {
- return i != null && i <= i ? t[hq(e, i, 0, r)] : n;
+ return i != null && i <= i ? t[gq(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();
@@ -59726,13 +59711,13 @@ function rY() {
}, i.unknown = function(e) {
return arguments.length ? (n = e, i) : n;
}, i.copy = function() {
- return rY().domain(e).range(t).unknown(n);
- }, kq.apply(i, arguments);
+ return iY().domain(e).range(t).unknown(n);
+ }, Aq.apply(i, arguments);
}
//#endregion
//#region node_modules/d3-time/src/interval.js
-var iY = /* @__PURE__ */ new Date(), aY = /* @__PURE__ */ new Date();
-function oY(e, t, n, r) {
+var aY = /* @__PURE__ */ new Date(), oY = /* @__PURE__ */ new Date();
+function sY(e, t, n, r) {
function i(t) {
return e(t = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+t)), t;
}
@@ -59747,226 +59732,226 @@ function oY(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) => oY((t) => {
+ }, i.filter = (n) => sY((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) => (iY.setTime(+t), aY.setTime(+r), e(iY), e(aY), Math.floor(n(iY, aY))), 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) => (aY.setTime(+t), oY.setTime(+r), e(aY), e(oY), Math.floor(n(aY, oY))), 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 sY = oY(() => {}, (e, t) => {
+var cY = sY(() => {}, (e, t) => {
e.setTime(+e + t);
}, (e, t) => t - e);
-sY.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? oY((t) => {
+cY.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? sY((t) => {
t.setTime(Math.floor(t / e) * e);
}, (t, n) => {
t.setTime(+t + n * e);
-}, (t, n) => (n - t) / e) : sY), sY.range;
+}, (t, n) => (n - t) / e) : cY), cY.range;
//#endregion
//#region node_modules/d3-time/src/duration.js
-var cY = 1e3, lY = cY * 60, uY = lY * 60, dY = uY * 24, fY = dY * 7, pY = dY * 30, mY = dY * 365, hY = oY((e) => {
+var lY = 1e3, uY = lY * 60, dY = uY * 60, fY = dY * 24, pY = fY * 7, mY = fY * 30, hY = fY * 365, gY = sY((e) => {
e.setTime(e - e.getMilliseconds());
}, (e, t) => {
- e.setTime(+e + t * cY);
-}, (e, t) => (t - e) / cY, (e) => e.getUTCSeconds());
-hY.range;
+ e.setTime(+e + t * lY);
+}, (e, t) => (t - e) / lY, (e) => e.getUTCSeconds());
+gY.range;
//#endregion
//#region node_modules/d3-time/src/minute.js
-var gY = oY((e) => {
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * cY);
+var _Y = sY((e) => {
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * lY);
}, (e, t) => {
- e.setTime(+e + t * lY);
-}, (e, t) => (t - e) / lY, (e) => e.getMinutes());
-gY.range;
-var _Y = oY((e) => {
+ e.setTime(+e + t * uY);
+}, (e, t) => (t - e) / uY, (e) => e.getMinutes());
+_Y.range;
+var vY = sY((e) => {
e.setUTCSeconds(0, 0);
}, (e, t) => {
- e.setTime(+e + t * lY);
-}, (e, t) => (t - e) / lY, (e) => e.getUTCMinutes());
-_Y.range;
+ e.setTime(+e + t * uY);
+}, (e, t) => (t - e) / uY, (e) => e.getUTCMinutes());
+vY.range;
//#endregion
//#region node_modules/d3-time/src/hour.js
-var vY = oY((e) => {
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * cY - e.getMinutes() * lY);
+var yY = sY((e) => {
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * lY - e.getMinutes() * uY);
}, (e, t) => {
- e.setTime(+e + t * uY);
-}, (e, t) => (t - e) / uY, (e) => e.getHours());
-vY.range;
-var yY = oY((e) => {
+ e.setTime(+e + t * dY);
+}, (e, t) => (t - e) / dY, (e) => e.getHours());
+yY.range;
+var bY = sY((e) => {
e.setUTCMinutes(0, 0, 0);
}, (e, t) => {
- e.setTime(+e + t * uY);
-}, (e, t) => (t - e) / uY, (e) => e.getUTCHours());
-yY.range;
+ e.setTime(+e + t * dY);
+}, (e, t) => (t - e) / dY, (e) => e.getUTCHours());
+bY.range;
//#endregion
//#region node_modules/d3-time/src/day.js
-var bY = oY((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * lY) / dY, (e) => e.getDate() - 1);
-bY.range;
-var xY = oY((e) => {
+var xY = sY((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * uY) / fY, (e) => e.getDate() - 1);
+xY.range;
+var SY = sY((e) => {
e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t);
-}, (e, t) => (t - e) / dY, (e) => e.getUTCDate() - 1);
-xY.range;
-var SY = oY((e) => {
+}, (e, t) => (t - e) / fY, (e) => e.getUTCDate() - 1);
+SY.range;
+var CY = sY((e) => {
e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t);
-}, (e, t) => (t - e) / dY, (e) => Math.floor(e / dY));
-SY.range;
+}, (e, t) => (t - e) / fY, (e) => Math.floor(e / fY));
+CY.range;
//#endregion
//#region node_modules/d3-time/src/week.js
-function CY(e) {
- return oY((t) => {
+function wY(e) {
+ return sY((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()) * lY) / fY);
+ }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * uY) / pY);
}
-var wY = CY(0), TY = CY(1), aOe = CY(2), oOe = CY(3), EY = CY(4), sOe = CY(5), cOe = CY(6);
-wY.range, TY.range, aOe.range, oOe.range, EY.range, sOe.range, cOe.range;
-function DY(e) {
- return oY((t) => {
+var TY = wY(0), EY = wY(1), aOe = wY(2), oOe = wY(3), DY = wY(4), sOe = wY(5), cOe = wY(6);
+TY.range, EY.range, aOe.range, oOe.range, DY.range, sOe.range, cOe.range;
+function OY(e) {
+ return sY((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) / fY);
+ }, (e, t) => (t - e) / pY);
}
-var OY = DY(0), kY = DY(1), lOe = DY(2), uOe = DY(3), AY = DY(4), dOe = DY(5), fOe = DY(6);
-OY.range, kY.range, lOe.range, uOe.range, AY.range, dOe.range, fOe.range;
+var kY = OY(0), AY = OY(1), lOe = OY(2), uOe = OY(3), jY = OY(4), dOe = OY(5), fOe = OY(6);
+kY.range, AY.range, lOe.range, uOe.range, jY.range, dOe.range, fOe.range;
//#endregion
//#region node_modules/d3-time/src/month.js
-var jY = oY((e) => {
+var MY = sY((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());
-jY.range;
-var MY = oY((e) => {
+MY.range;
+var NY = sY((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());
-MY.range;
+NY.range;
//#endregion
//#region node_modules/d3-time/src/year.js
-var NY = oY((e) => {
+var PY = sY((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());
-NY.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : oY((t) => {
+PY.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : sY((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);
-}), NY.range;
-var PY = oY((e) => {
+}), PY.range;
+var FY = sY((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());
-PY.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : oY((t) => {
+FY.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : sY((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);
-}), PY.range;
+}), FY.range;
//#endregion
//#region node_modules/d3-time/src/ticks.js
-function FY(e, t, n, r, i, a) {
+function IY(e, t, n, r, i, a) {
let o = [
[
- hY,
+ gY,
1,
- cY
+ lY
],
[
- hY,
+ gY,
5,
- 5 * cY
+ 5 * lY
],
[
- hY,
+ gY,
15,
- 15 * cY
+ 15 * lY
],
[
- hY,
+ gY,
30,
- 30 * cY
+ 30 * lY
],
[
a,
1,
- lY
+ uY
],
[
a,
5,
- 5 * lY
+ 5 * uY
],
[
a,
15,
- 15 * lY
+ 15 * uY
],
[
a,
30,
- 30 * lY
+ 30 * uY
],
[
i,
1,
- uY
+ dY
],
[
i,
3,
- 3 * uY
+ 3 * dY
],
[
i,
6,
- 6 * uY
+ 6 * dY
],
[
i,
12,
- 12 * uY
+ 12 * dY
],
[
r,
1,
- dY
+ fY
],
[
r,
2,
- 2 * dY
+ 2 * fY
],
[
n,
1,
- fY
+ pY
],
[
t,
1,
- pY
+ mY
],
[
t,
3,
- 3 * pY
+ 3 * mY
],
[
e,
1,
- mY
+ hY
]
];
function s(e, t, n) {
@@ -59976,32 +59961,32 @@ function FY(e, t, n, r, i, a) {
return r ? a.reverse() : a;
}
function c(t, n, r) {
- let i = Math.abs(n - t) / r, a = fq(([, , e]) => e).right(o, i);
- if (a === o.length) return e.every(Cq(t / mY, n / mY, r));
- if (a === 0) return sY.every(Math.max(Cq(t, n, r), 1));
+ let i = Math.abs(n - t) / r, a = pq(([, , e]) => e).right(o, i);
+ if (a === o.length) return e.every(wq(t / hY, n / hY, r));
+ if (a === 0) return cY.every(Math.max(wq(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 [pOe, mOe] = FY(PY, MY, OY, SY, yY, _Y), [hOe, gOe] = FY(NY, jY, wY, bY, vY, gY);
+var [pOe, mOe] = IY(FY, NY, kY, CY, bY, vY), [hOe, gOe] = IY(PY, MY, TY, xY, yY, _Y);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
-function IY(e) {
+function LY(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 LY(e) {
+function RY(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 RY(e, t, n) {
+function zY(e, t, n) {
return {
y: e,
m: t,
@@ -60013,27 +59998,27 @@ function RY(e, t, n) {
};
}
function _Oe(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 = HY(i), u = UY(i), d = HY(a), f = UY(a), p = HY(o), m = UY(o), h = HY(s), g = UY(s), _ = HY(c), v = UY(c), y = {
+ 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 = UY(i), u = WY(i), d = UY(a), f = WY(a), p = UY(o), m = WY(o), h = UY(s), g = WY(s), _ = UY(c), v = WY(c), y = {
a: N,
A: ee,
b: te,
B: P,
c: null,
- d: JY,
- e: JY,
+ d: YY,
+ e: YY,
f: BOe,
g: XOe,
G: QOe,
H: LOe,
I: ROe,
j: zOe,
- L: YY,
+ L: XY,
m: VOe,
M: HOe,
p: F,
q: ne,
- Q: tX,
- s: nX,
+ Q: nX,
+ s: rX,
S: UOe,
u: WOe,
U: GOe,
@@ -60045,28 +60030,28 @@ function _Oe(e) {
y: YOe,
Y: ZOe,
Z: $Oe,
- "%": eX
+ "%": tX
}, b = {
a: re,
A: ie,
b: ae,
B: oe,
c: null,
- d: ZY,
- e: ZY,
+ d: QY,
+ e: QY,
f: rke,
g: pke,
G: hke,
H: eke,
I: tke,
j: nke,
- L: QY,
+ L: $Y,
m: ike,
M: ake,
p: se,
q: ce,
- Q: tX,
- s: nX,
+ Q: nX,
+ s: rX,
S: oke,
u: ske,
U: cke,
@@ -60078,20 +60063,20 @@ function _Oe(e) {
y: fke,
Y: mke,
Z: gke,
- "%": eX
+ "%": tX
}, x = {
a: E,
A: D,
b: O,
B: k,
c: A,
- d: KY,
- e: KY,
+ d: qY,
+ e: qY,
f: NOe,
- g: GY,
- G: WY,
- H: qY,
- I: qY,
+ g: KY,
+ G: GY,
+ H: JY,
+ I: JY,
j: kOe,
L: MOe,
m: OOe,
@@ -60108,8 +60093,8 @@ function _Oe(e) {
W: TOe,
x: j,
X: M,
- y: GY,
- Y: WY,
+ y: KY,
+ Y: GY,
Z: EOe,
"%": POe
};
@@ -60117,28 +60102,28 @@ function _Oe(e) {
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 = zY[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 = BY[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 = RY(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;
+ var r = zY(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 = LY(RY(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? kY.ceil(a) : kY(a), a = xY.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = IY(RY(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? TY.ceil(a) : TY(a), a = bY.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 ? LY(RY(r.y, 0, 1)).getUTCDay() : IY(RY(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, LY(r)) : IY(r);
+ "w" in r || (r.w = 1), "Z" in r ? (a = RY(zY(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? AY.ceil(a) : AY(a), a = SY.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = LY(zY(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? EY.ceil(a) : EY(a), a = xY.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 ? RY(zY(r.y, 0, 1)).getUTCDay() : LY(zY(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, RY(r)) : LY(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 zY ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
+ if (s = t.charAt(i++), c = x[s in BY ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
} else if (s != n.charCodeAt(r++)) return -1;
}
return r;
@@ -60235,50 +60220,50 @@ function _Oe(e) {
}
};
}
-var zY = {
+var BY = {
"-": "",
_: " ",
0: "0"
-}, BY = /^\s*\d+/, vOe = /^%/, yOe = /[\\^$*+?|[\]().{}]/g;
-function VY(e, t, n) {
+}, VY = /^\s*\d+/, vOe = /^%/, yOe = /[\\^$*+?|[\]().{}]/g;
+function HY(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 bOe(e) {
return e.replace(yOe, "\\$&");
}
-function HY(e) {
+function UY(e) {
return RegExp("^(?:" + e.map(bOe).join("|") + ")", "i");
}
-function UY(e) {
+function WY(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
function xOe(e, t, n) {
- var r = BY.exec(t.slice(n, n + 1));
+ var r = VY.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
function SOe(e, t, n) {
- var r = BY.exec(t.slice(n, n + 1));
+ var r = VY.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
function COe(e, t, n) {
- var r = BY.exec(t.slice(n, n + 2));
+ var r = VY.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
function wOe(e, t, n) {
- var r = BY.exec(t.slice(n, n + 2));
+ var r = VY.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
function TOe(e, t, n) {
- var r = BY.exec(t.slice(n, n + 2));
+ var r = VY.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
-function WY(e, t, n) {
- var r = BY.exec(t.slice(n, n + 4));
+function GY(e, t, n) {
+ var r = VY.exec(t.slice(n, n + 4));
return r ? (e.y = +r[0], n + r[0].length) : -1;
}
-function GY(e, t, n) {
- var r = BY.exec(t.slice(n, n + 2));
+function KY(e, t, n) {
+ var r = VY.exec(t.slice(n, n + 2));
return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
}
function EOe(e, t, n) {
@@ -60286,39 +60271,39 @@ function EOe(e, t, n) {
return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
}
function DOe(e, t, n) {
- var r = BY.exec(t.slice(n, n + 1));
+ var r = VY.exec(t.slice(n, n + 1));
return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
}
function OOe(e, t, n) {
- var r = BY.exec(t.slice(n, n + 2));
+ var r = VY.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
-function KY(e, t, n) {
- var r = BY.exec(t.slice(n, n + 2));
+function qY(e, t, n) {
+ var r = VY.exec(t.slice(n, n + 2));
return r ? (e.d = +r[0], n + r[0].length) : -1;
}
function kOe(e, t, n) {
- var r = BY.exec(t.slice(n, n + 3));
+ var r = VY.exec(t.slice(n, n + 3));
return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
}
-function qY(e, t, n) {
- var r = BY.exec(t.slice(n, n + 2));
+function JY(e, t, n) {
+ var r = VY.exec(t.slice(n, n + 2));
return r ? (e.H = +r[0], n + r[0].length) : -1;
}
function AOe(e, t, n) {
- var r = BY.exec(t.slice(n, n + 2));
+ var r = VY.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
function jOe(e, t, n) {
- var r = BY.exec(t.slice(n, n + 2));
+ var r = VY.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
function MOe(e, t, n) {
- var r = BY.exec(t.slice(n, n + 3));
+ var r = VY.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
function NOe(e, t, n) {
- var r = BY.exec(t.slice(n, n + 6));
+ var r = VY.exec(t.slice(n, n + 6));
return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
}
function POe(e, t, n) {
@@ -60326,152 +60311,152 @@ function POe(e, t, n) {
return r ? n + r[0].length : -1;
}
function FOe(e, t, n) {
- var r = BY.exec(t.slice(n));
+ var r = VY.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
function IOe(e, t, n) {
- var r = BY.exec(t.slice(n));
+ var r = VY.exec(t.slice(n));
return r ? (e.s = +r[0], n + r[0].length) : -1;
}
-function JY(e, t) {
- return VY(e.getDate(), t, 2);
+function YY(e, t) {
+ return HY(e.getDate(), t, 2);
}
function LOe(e, t) {
- return VY(e.getHours(), t, 2);
+ return HY(e.getHours(), t, 2);
}
function ROe(e, t) {
- return VY(e.getHours() % 12 || 12, t, 2);
+ return HY(e.getHours() % 12 || 12, t, 2);
}
function zOe(e, t) {
- return VY(1 + bY.count(NY(e), e), t, 3);
+ return HY(1 + xY.count(PY(e), e), t, 3);
}
-function YY(e, t) {
- return VY(e.getMilliseconds(), t, 3);
+function XY(e, t) {
+ return HY(e.getMilliseconds(), t, 3);
}
function BOe(e, t) {
- return YY(e, t) + "000";
+ return XY(e, t) + "000";
}
function VOe(e, t) {
- return VY(e.getMonth() + 1, t, 2);
+ return HY(e.getMonth() + 1, t, 2);
}
function HOe(e, t) {
- return VY(e.getMinutes(), t, 2);
+ return HY(e.getMinutes(), t, 2);
}
function UOe(e, t) {
- return VY(e.getSeconds(), t, 2);
+ return HY(e.getSeconds(), t, 2);
}
function WOe(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
function GOe(e, t) {
- return VY(wY.count(NY(e) - 1, e), t, 2);
+ return HY(TY.count(PY(e) - 1, e), t, 2);
}
-function XY(e) {
+function ZY(e) {
var t = e.getDay();
- return t >= 4 || t === 0 ? EY(e) : EY.ceil(e);
+ return t >= 4 || t === 0 ? DY(e) : DY.ceil(e);
}
function KOe(e, t) {
- return e = XY(e), VY(EY.count(NY(e), e) + (NY(e).getDay() === 4), t, 2);
+ return e = ZY(e), HY(DY.count(PY(e), e) + (PY(e).getDay() === 4), t, 2);
}
function qOe(e) {
return e.getDay();
}
function JOe(e, t) {
- return VY(TY.count(NY(e) - 1, e), t, 2);
+ return HY(EY.count(PY(e) - 1, e), t, 2);
}
function YOe(e, t) {
- return VY(e.getFullYear() % 100, t, 2);
+ return HY(e.getFullYear() % 100, t, 2);
}
function XOe(e, t) {
- return e = XY(e), VY(e.getFullYear() % 100, t, 2);
+ return e = ZY(e), HY(e.getFullYear() % 100, t, 2);
}
function ZOe(e, t) {
- return VY(e.getFullYear() % 1e4, t, 4);
+ return HY(e.getFullYear() % 1e4, t, 4);
}
function QOe(e, t) {
var n = e.getDay();
- return e = n >= 4 || n === 0 ? EY(e) : EY.ceil(e), VY(e.getFullYear() % 1e4, t, 4);
+ return e = n >= 4 || n === 0 ? DY(e) : DY.ceil(e), HY(e.getFullYear() % 1e4, t, 4);
}
function $Oe(e) {
var t = e.getTimezoneOffset();
- return (t > 0 ? "-" : (t *= -1, "+")) + VY(t / 60 | 0, "0", 2) + VY(t % 60, "0", 2);
+ return (t > 0 ? "-" : (t *= -1, "+")) + HY(t / 60 | 0, "0", 2) + HY(t % 60, "0", 2);
}
-function ZY(e, t) {
- return VY(e.getUTCDate(), t, 2);
+function QY(e, t) {
+ return HY(e.getUTCDate(), t, 2);
}
function eke(e, t) {
- return VY(e.getUTCHours(), t, 2);
+ return HY(e.getUTCHours(), t, 2);
}
function tke(e, t) {
- return VY(e.getUTCHours() % 12 || 12, t, 2);
+ return HY(e.getUTCHours() % 12 || 12, t, 2);
}
function nke(e, t) {
- return VY(1 + xY.count(PY(e), e), t, 3);
+ return HY(1 + SY.count(FY(e), e), t, 3);
}
-function QY(e, t) {
- return VY(e.getUTCMilliseconds(), t, 3);
+function $Y(e, t) {
+ return HY(e.getUTCMilliseconds(), t, 3);
}
function rke(e, t) {
- return QY(e, t) + "000";
+ return $Y(e, t) + "000";
}
function ike(e, t) {
- return VY(e.getUTCMonth() + 1, t, 2);
+ return HY(e.getUTCMonth() + 1, t, 2);
}
function ake(e, t) {
- return VY(e.getUTCMinutes(), t, 2);
+ return HY(e.getUTCMinutes(), t, 2);
}
function oke(e, t) {
- return VY(e.getUTCSeconds(), t, 2);
+ return HY(e.getUTCSeconds(), t, 2);
}
function ske(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
function cke(e, t) {
- return VY(OY.count(PY(e) - 1, e), t, 2);
+ return HY(kY.count(FY(e) - 1, e), t, 2);
}
-function $Y(e) {
+function eX(e) {
var t = e.getUTCDay();
- return t >= 4 || t === 0 ? AY(e) : AY.ceil(e);
+ return t >= 4 || t === 0 ? jY(e) : jY.ceil(e);
}
function lke(e, t) {
- return e = $Y(e), VY(AY.count(PY(e), e) + (PY(e).getUTCDay() === 4), t, 2);
+ return e = eX(e), HY(jY.count(FY(e), e) + (FY(e).getUTCDay() === 4), t, 2);
}
function uke(e) {
return e.getUTCDay();
}
function dke(e, t) {
- return VY(kY.count(PY(e) - 1, e), t, 2);
+ return HY(AY.count(FY(e) - 1, e), t, 2);
}
function fke(e, t) {
- return VY(e.getUTCFullYear() % 100, t, 2);
+ return HY(e.getUTCFullYear() % 100, t, 2);
}
function pke(e, t) {
- return e = $Y(e), VY(e.getUTCFullYear() % 100, t, 2);
+ return e = eX(e), HY(e.getUTCFullYear() % 100, t, 2);
}
function mke(e, t) {
- return VY(e.getUTCFullYear() % 1e4, t, 4);
+ return HY(e.getUTCFullYear() % 1e4, t, 4);
}
function hke(e, t) {
var n = e.getUTCDay();
- return e = n >= 4 || n === 0 ? AY(e) : AY.ceil(e), VY(e.getUTCFullYear() % 1e4, t, 4);
+ return e = n >= 4 || n === 0 ? jY(e) : jY.ceil(e), HY(e.getUTCFullYear() % 1e4, t, 4);
}
function gke() {
return "+0000";
}
-function eX() {
+function tX() {
return "%";
}
-function tX(e) {
+function nX(e) {
return +e;
}
-function nX(e) {
+function rX(e) {
return Math.floor(e / 1e3);
}
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
-var rX, iX, aX;
+var iX, aX, oX;
_ke({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
@@ -60525,7 +60510,7 @@ _ke({
]
});
function _ke(e) {
- return rX = _Oe(e), iX = rX.format, rX.parse, aX = rX.utcFormat, rX.utcParse, rX;
+ return iX = _Oe(e), aX = iX.format, iX.parse, oX = iX.utcFormat, iX.utcParse, iX;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
@@ -60535,8 +60520,8 @@ function vke(e) {
function yke(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
-function oX(e, t, n, r, i, a, o, s, c, l) {
- var u = SJ(), 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 sX(e, t, n, r, i, a, o, s, c, l) {
+ var u = CJ(), 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);
}
@@ -60551,23 +60536,23 @@ function oX(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(BJ(n, e)) : u;
+ return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(VJ(n, e)) : u;
}, u.copy = function() {
- return bJ(u, oX(e, t, n, r, i, a, o, s, c, l));
+ return xJ(u, sX(e, t, n, r, i, a, o, s, c, l));
}, u;
}
function bke() {
- return kq.apply(oX(hOe, gOe, NY, jY, wY, bY, vY, gY, hY, iX).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+ return Aq.apply(sX(hOe, gOe, PY, MY, TY, xY, yY, _Y, gY, aX).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
function xke() {
- return kq.apply(oX(pOe, mOe, PY, MY, OY, xY, yY, _Y, hY, aX).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+ return Aq.apply(sX(pOe, mOe, FY, NY, kY, SY, bY, vY, gY, oX).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
-function sX() {
- var e = 0, t = 1, n, r, i, a, o = vJ, s = !1, c;
+function cX() {
+ var e = 0, t = 1, n, r, i, a, o = yJ, 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));
}
@@ -60584,54 +60569,54 @@ function sX() {
return arguments.length ? ([n, r] = t, o = e(n, r), l) : [o(0), o(1)];
};
}
- return l.range = u(mJ), l.rangeRound = u(hJ), l.unknown = function(e) {
+ return l.range = u(hJ), l.rangeRound = u(gJ), 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 cX(e, t) {
+function lX(e, t) {
return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown());
}
-function lX() {
- var e = LJ(sX()(vJ));
- return e.copy = function() {
- return cX(e, lX());
- }, Aq.apply(e, arguments);
-}
function uX() {
- var e = WJ(sX()).domain([1, 10]);
+ var e = RJ(cX()(yJ));
return e.copy = function() {
- return cX(e, uX()).base(e.base());
- }, Aq.apply(e, arguments);
+ return lX(e, uX());
+ }, jq.apply(e, arguments);
}
function dX() {
- var e = JJ(sX());
+ var e = GJ(cX()).domain([1, 10]);
return e.copy = function() {
- return cX(e, dX()).constant(e.constant());
- }, Aq.apply(e, arguments);
+ return lX(e, dX()).base(e.base());
+ }, jq.apply(e, arguments);
}
function fX() {
- var e = ZJ(sX());
+ var e = YJ(cX());
return e.copy = function() {
- return cX(e, fX()).exponent(e.exponent());
- }, Aq.apply(e, arguments);
+ return lX(e, fX()).constant(e.constant());
+ }, jq.apply(e, arguments);
+}
+function pX() {
+ var e = QJ(cX());
+ return e.copy = function() {
+ return lX(e, pX()).exponent(e.exponent());
+ }, jq.apply(e, arguments);
}
function Ske() {
- return fX.apply(null, arguments).exponent(.5);
+ return pX.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/sequentialQuantile.js
-function pX() {
- var e = [], t = vJ;
+function mX() {
+ var e = [], t = yJ;
function n(n) {
- if (n != null && !isNaN(n = +n)) return t((hq(e, n, 1) - 1) / (e.length - 1));
+ if (n != null && !isNaN(n = +n)) return t((gq(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(dq), n;
+ return e.sort(fq), n;
}, n.interpolator = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.range = function() {
@@ -60639,13 +60624,13 @@ function pX() {
}, n.quantiles = function(t) {
return Array.from({ length: t + 1 }, (n, r) => sDe(e, r / t));
}, n.copy = function() {
- return pX(t).domain(e);
- }, Aq.apply(n, arguments);
+ return mX(t).domain(e);
+ }, jq.apply(n, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/diverging.js
-function mX() {
- var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = vJ, u, d = !1, f;
+function hX() {
+ var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = yJ, 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));
}
@@ -60674,101 +60659,101 @@ function mX() {
];
};
}
- return p.range = m(mJ), p.rangeRound = m(hJ), p.unknown = function(e) {
+ return p.range = m(hJ), p.rangeRound = m(gJ), 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 hX() {
- var e = LJ(mX()(vJ));
+function gX() {
+ var e = RJ(hX()(yJ));
return e.copy = function() {
- return cX(e, hX());
- }, Aq.apply(e, arguments);
+ return lX(e, gX());
+ }, jq.apply(e, arguments);
}
-function gX() {
- var e = WJ(mX()).domain([
+function _X() {
+ var e = GJ(hX()).domain([
.1,
1,
10
]);
return e.copy = function() {
- return cX(e, gX()).base(e.base());
- }, Aq.apply(e, arguments);
+ return lX(e, _X()).base(e.base());
+ }, jq.apply(e, arguments);
}
-function _X() {
- var e = JJ(mX());
+function vX() {
+ var e = YJ(hX());
return e.copy = function() {
- return cX(e, _X()).constant(e.constant());
- }, Aq.apply(e, arguments);
+ return lX(e, vX()).constant(e.constant());
+ }, jq.apply(e, arguments);
}
-function vX() {
- var e = ZJ(mX());
+function yX() {
+ var e = QJ(hX());
return e.copy = function() {
- return cX(e, vX()).exponent(e.exponent());
- }, Aq.apply(e, arguments);
+ return lX(e, yX()).exponent(e.exponent());
+ }, jq.apply(e, arguments);
}
function Cke() {
- return vX.apply(null, arguments).exponent(.5);
+ return yX.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/victory-vendor/es/d3-scale.js
-var yX = /* @__PURE__ */ wt({
- scaleBand: () => Nq,
- scaleDiverging: () => hX,
- scaleDivergingLog: () => gX,
- scaleDivergingPow: () => vX,
+var bX = /* @__PURE__ */ wt({
+ scaleBand: () => Pq,
+ scaleDiverging: () => gX,
+ scaleDivergingLog: () => _X,
+ scaleDivergingPow: () => yX,
scaleDivergingSqrt: () => Cke,
- scaleDivergingSymlog: () => _X,
- scaleIdentity: () => zJ,
- scaleImplicit: () => jq,
- scaleLinear: () => RJ,
- scaleLog: () => GJ,
- scaleOrdinal: () => Mq,
+ scaleDivergingSymlog: () => vX,
+ scaleIdentity: () => BJ,
+ scaleImplicit: () => Mq,
+ scaleLinear: () => zJ,
+ scaleLog: () => KJ,
+ scaleOrdinal: () => Nq,
scalePoint: () => uDe,
- scalePow: () => QJ,
- scaleQuantile: () => tY,
- scaleQuantize: () => nY,
- scaleRadial: () => eY,
- scaleSequential: () => lX,
- scaleSequentialLog: () => uX,
- scaleSequentialPow: () => fX,
- scaleSequentialQuantile: () => pX,
+ scalePow: () => $J,
+ scaleQuantile: () => nY,
+ scaleQuantize: () => rY,
+ scaleRadial: () => tY,
+ scaleSequential: () => uX,
+ scaleSequentialLog: () => dX,
+ scaleSequentialPow: () => pX,
+ scaleSequentialQuantile: () => mX,
scaleSequentialSqrt: () => Ske,
- scaleSequentialSymlog: () => dX,
+ scaleSequentialSymlog: () => fX,
scaleSqrt: () => rOe,
- scaleSymlog: () => YJ,
- scaleThreshold: () => rY,
+ scaleSymlog: () => XJ,
+ scaleThreshold: () => iY,
scaleTime: () => bke,
scaleUtc: () => xke,
- tickFormat: () => IJ
+ tickFormat: () => LJ
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
function wke(e) {
- if (e in yX) return yX[e]();
- var t = `scale${sB(e)}`;
- if (t in yX) return yX[t]();
+ if (e in bX) return bX[e]();
+ var t = `scale${cB(e)}`;
+ if (t in bX) return bX[t]();
}
-function bX(e, t, n) {
+function xX(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
var r = wke(e);
if (r != null) return r.domain(t).range(n), r;
}
}
-function xX(e, t, n, r) {
- if (n != null && r != null) return typeof e.scale == "function" ? bX(e.scale, n, r) : bX(t, n, r);
+function SX(e, t, n, r) {
+ if (n != null && r != null) return typeof e.scale == "function" ? xX(e.scale, n, r) : xX(t, n, r);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
function Tke(e) {
- return `scale${sB(e)}`;
+ return `scale${cB(e)}`;
}
function Eke(e) {
- return Tke(e) in yX;
+ return Tke(e) in bX;
}
-var SX = (e, t, n) => {
+var CX = (e, t, n) => {
if (e != null) {
var { scale: r, type: i } = e;
if (r === "auto") return i === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !t) ? "point" : i === "category" ? "band" : "linear";
@@ -60784,7 +60769,7 @@ function Dke(e, t) {
}
return n;
}
-function CX(e, t) {
+function wX(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) => {
@@ -60799,11 +60784,11 @@ function CX(e, t) {
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
function Oke(e) {
- if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : CX(e, void 0);
+ if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : wX(e, void 0);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/axisSelectors.js
-function wX(e, t) {
+function TX(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -60813,12 +60798,12 @@ function wX(e, t) {
}
return n;
}
-function TX(e) {
+function EX(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? wX(Object(n), !0).forEach(function(t) {
+ t % 2 ? TX(Object(n), !0).forEach(function(t) {
kke(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wX(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : TX(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -60846,7 +60831,7 @@ function jke(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var EX = [0, "auto"], DX = {
+var DX = [0, "auto"], OX = {
allowDataOverflow: !1,
allowDecimals: !0,
allowDuplicatedCategory: !0,
@@ -60875,13 +60860,13 @@ var EX = [0, "auto"], DX = {
type: "category",
unit: void 0,
niceTicks: "auto"
-}, OX = (e, t) => e.cartesianAxis.xAxis[t], kX = (e, t) => OX(e, t) ?? DX, AX = {
+}, kX = (e, t) => e.cartesianAxis.xAxis[t], AX = (e, t) => kX(e, t) ?? OX, jX = {
allowDataOverflow: !1,
allowDecimals: !0,
allowDuplicatedCategory: !0,
angle: 0,
dataKey: void 0,
- domain: EX,
+ domain: DX,
hide: !0,
id: 0,
includeHidden: !1,
@@ -60904,7 +60889,7 @@ var EX = [0, "auto"], DX = {
unit: void 0,
niceTicks: "auto",
width: 60
-}, jX = (e, t) => e.cartesianAxis.yAxis[t], MX = (e, t) => jX(e, t) ?? AX, Mke = {
+}, MX = (e, t) => e.cartesianAxis.yAxis[t], NX = (e, t) => MX(e, t) ?? jX, Mke = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -60917,31 +60902,31 @@ var EX = [0, "auto"], DX = {
scale: "auto",
type: "number",
unit: ""
-}, NX = (e, t) => e.cartesianAxis.zAxis[t] ?? Mke, PX = (e, t, n) => {
+}, PX = (e, t) => e.cartesianAxis.zAxis[t] ?? Mke, FX = (e, t, n) => {
switch (t) {
- case "xAxis": return kX(e, n);
- case "yAxis": return MX(e, n);
- case "zAxis": return NX(e, n);
- case "angleAxis": return GK(e, n);
- case "radiusAxis": return KK(e, n);
+ case "xAxis": return AX(e, n);
+ case "yAxis": return NX(e, n);
+ case "zAxis": return PX(e, n);
+ case "angleAxis": return KK(e, n);
+ case "radiusAxis": return qK(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
}, Nke = (e, t, n) => {
switch (t) {
- case "xAxis": return kX(e, n);
- case "yAxis": return MX(e, n);
+ case "xAxis": return AX(e, n);
+ case "yAxis": return NX(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, FX = (e, t, n) => {
+}, IX = (e, t, n) => {
switch (t) {
- case "xAxis": return kX(e, n);
- case "yAxis": return MX(e, n);
- case "angleAxis": return GK(e, n);
- case "radiusAxis": return KK(e, n);
+ case "xAxis": return AX(e, n);
+ case "yAxis": return NX(e, n);
+ case "angleAxis": return KK(e, n);
+ case "radiusAxis": return qK(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, IX = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
-function LX(e, t) {
+}, LX = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
+function RX(e, t) {
return (n) => {
switch (e) {
case "xAxis": return "xAxisId" in n && n.xAxisId === t;
@@ -60953,41 +60938,41 @@ function LX(e, t) {
}
};
}
-var RX = (e) => e.graphicalItems.cartesianItems, Pke = $([eq, tq], LX), zX = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), BX = $([
- RX,
- PX,
+var zX = (e) => e.graphicalItems.cartesianItems, Pke = $([tq, nq], RX), BX = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), VX = $([
+ zX,
+ FX,
Pke
-], zX, { memoizeOptions: { resultEqualityCheck: oq } }), VX = $([BX], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(iq)), HX = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Fke = $([BX], HX), UX = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Ike = $([BX], UX, { memoizeOptions: { resultEqualityCheck: oq } }), WX = (e, t) => {
+], BX, { memoizeOptions: { resultEqualityCheck: sq } }), HX = $([VX], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(aq)), UX = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Fke = $([VX], UX), WX = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Ike = $([VX], WX, { memoizeOptions: { resultEqualityCheck: sq } }), GX = (e, t) => {
var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;
return e.length > 0 ? e : n.slice(r, i + 1);
-}, GX = $([Ike, fK], WX), KX = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: fU(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: fU(e, t.dataKey) })), qX = $([
- GX,
- PX,
- BX
-], KX);
-function JX(e) {
- if (eB(e) || e instanceof Date) {
+}, KX = $([Ike, pK], GX), qX = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: pU(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: pU(e, t.dataKey) })), JX = $([
+ KX,
+ FX,
+ VX
+], qX);
+function YX(e) {
+ if (tB(e) || e instanceof Date) {
var t = Number(e);
- if (cU(t)) return t;
+ if (lU(t)) return t;
}
}
-function YX(e) {
+function XX(e) {
if (Array.isArray(e)) {
- var t = [JX(e[0]), JX(e[1])];
- return mK(t) ? t : void 0;
+ var t = [YX(e[0]), YX(e[1])];
+ return hK(t) ? t : void 0;
}
- var n = JX(e);
+ var n = YX(e);
if (n != null) return [n, n];
}
-function XX(e) {
- return e.map(JX).filter(cB);
+function ZX(e) {
+ return e.map(YX).filter(lB);
}
function Lke(e, t) {
- var n = JX(e), r = JX(t);
+ var n = YX(e), r = YX(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var Rke = $([qX], (e) => e?.map((e) => e.value).sort(Lke));
-function ZX(e, t) {
+var Rke = $([JX], (e) => e?.map((e) => e.value).sort(Lke));
+function QX(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
case "yAxis": return t.direction === "y";
@@ -60995,16 +60980,16 @@ function ZX(e, t) {
}
}
function zke(e, t, n) {
- return !n || typeof t != "number" || Qz(t) || !n.length ? [] : XX(n.flatMap((n) => {
- var r = fU(e, n.dataKey), i, a;
- if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!cU(i) || !cU(a))) return [t - i, t + a];
+ return !n || typeof t != "number" || $z(t) || !n.length ? [] : ZX(n.flatMap((n) => {
+ var r = pU(e, n.dataKey), i, a;
+ if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!lU(i) || !lU(a))) return [t - i, t + a];
}));
}
-var QX = (e) => FX(e, sq(e), cq(e)), $X = $([QX], (e) => e?.dataKey), Bke = $([
- VX,
- fK,
- QX
-], rq), eZ = (e, t, n, r) => {
+var $X = (e) => IX(e, cq(e), lq(e)), eZ = $([$X], (e) => e?.dataKey), Bke = $([
+ HX,
+ pK,
+ $X
+], iq), tZ = (e, t, n, r) => {
var i = t.reduce((e, t) => {
if (t.stackId == null) return e;
var n = e[t.stackId];
@@ -61013,168 +60998,168 @@ var QX = (e) => FX(e, sq(e), cq(e)), $X = $([QX], (e) => e?.dataKey), Bke = $([
return Object.fromEntries(Object.entries(i).map((t) => {
var [i, a] = t, o = r ? [...a].reverse() : a;
return [i, {
- stackedData: BCe(e, o.map(nq), n),
+ stackedData: BCe(e, o.map(rq), n),
graphicalItems: o
}];
}));
-}, tZ = $([
+}, nZ = $([
Bke,
- VX,
- AK,
- jK
-], eZ), nZ = (e, t, n, r) => {
+ HX,
+ jK,
+ MK
+], tZ), rZ = (e, t, n, r) => {
var { dataStartIndex: i, dataEndIndex: a } = t;
if (r == null && n !== "zAxis") {
var o = UCe(e, i, a);
if (o == null || o[0] !== 0 || o[1] !== 0) return o;
}
-}, Vke = $([PX], (e) => e.allowDataOverflow), rZ = (e) => {
- if (e == null || !("domain" in e)) return EX;
+}, Vke = $([FX], (e) => e.allowDataOverflow), iZ = (e) => {
+ if (e == null || !("domain" in e)) return DX;
if (e.domain != null) return e.domain;
if ("ticks" in e && e.ticks != null) {
if (e.type === "number") {
- var t = XX(e.ticks);
+ var t = ZX(e.ticks);
return [Math.min(...t), Math.max(...t)];
}
if (e.type === "category") return e.ticks.map(String);
}
- return e?.domain ?? EX;
-}, iZ = $([PX], rZ), aZ = $([iZ, Vke], gK), Hke = $([
- tZ,
- uK,
- eq,
- aZ
-], nZ, { memoizeOptions: { resultEqualityCheck: aq } }), oZ = (e) => e.errorBars, Uke = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => ZX(n, e)), sZ = function() {
+ return e?.domain ?? DX;
+}, aZ = $([FX], iZ), oZ = $([aZ, Vke], _K), Hke = $([
+ nZ,
+ dK,
+ tq,
+ oZ
+], rZ, { memoizeOptions: { resultEqualityCheck: oq } }), sZ = (e) => e.errorBars, Uke = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => QX(n, e)), cZ = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
return [Math.min(...t), Math.max(...t)];
}
-}, cZ = (e, t, n, r, i) => {
+}, lZ = (e, t, n, r, i) => {
var a, o;
if (n.length > 0 && e.forEach((e) => {
n.forEach((n) => {
- var s = r[n.id]?.filter((e) => ZX(i, e)), c = fU(e, t.dataKey ?? n.dataKey), l = zke(e, c, s);
+ var s = r[n.id]?.filter((e) => QX(i, e)), c = pU(e, t.dataKey ?? n.dataKey), l = zke(e, c, s);
if (l.length >= 2) {
var u = Math.min(...l), d = Math.max(...l);
(a == null || u < a) && (a = u), (o == null || d > o) && (o = d);
}
- var f = YX(c);
+ var f = XX(c);
f != null && (a = a == null ? f[0] : Math.min(a, f[0]), o = o == null ? f[1] : Math.max(o, f[1]));
});
}), t?.dataKey != null && e.forEach((e) => {
- var n = YX(fU(e, t.dataKey));
+ var n = XX(pU(e, t.dataKey));
n != null && (a = a == null ? n[0] : Math.min(a, n[0]), o = o == null ? n[1] : Math.max(o, n[1]));
- }), cU(a) && cU(o)) return [a, o];
+ }), lU(a) && lU(o)) return [a, o];
}, Wke = $([
- GX,
- PX,
+ KX,
+ FX,
Fke,
- oZ,
- eq
-], cZ, { memoizeOptions: { resultEqualityCheck: aq } });
+ sZ,
+ tq
+], lZ, { memoizeOptions: { resultEqualityCheck: oq } });
function Gke(e) {
var { value: t } = e;
- if (eB(t) || t instanceof Date) return t;
+ if (tB(t) || t instanceof Date) return t;
}
var Kke = (e, t, n) => {
var r = e.map(Gke).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && rB(r)) ? lK(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
-}, lZ = (e) => e.referenceElements.dots, uZ = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), qke = $([
- lZ,
- eq,
- tq
-], uZ), dZ = (e) => e.referenceElements.areas, Jke = $([
- dZ,
- eq,
- tq
-], uZ), fZ = (e) => e.referenceElements.lines, Yke = $([
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && iB(r)) ? uK(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+}, uZ = (e) => e.referenceElements.dots, dZ = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), qke = $([
+ uZ,
+ tq,
+ nq
+], dZ), fZ = (e) => e.referenceElements.areas, Jke = $([
fZ,
- eq,
- tq
-], uZ), pZ = (e, t) => {
+ tq,
+ nq
+], dZ), pZ = (e) => e.referenceElements.lines, Yke = $([
+ pZ,
+ tq,
+ nq
+], dZ), mZ = (e, t) => {
if (e != null) {
- var n = XX(e.map((e) => t === "xAxis" ? e.x : e.y));
+ var n = ZX(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, Xke = $(qke, eq, pZ), mZ = (e, t) => {
+}, Xke = $(qke, tq, mZ), hZ = (e, t) => {
if (e != null) {
- var n = XX(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));
+ var n = ZX(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)];
}
-}, Zke = $([Jke, eq], mZ);
+}, Zke = $([Jke, tq], hZ);
function Qke(e) {
- if (e.x != null) return XX([e.x]);
+ if (e.x != null) return ZX([e.x]);
var t = e.segment?.map((e) => e.x);
- return t == null || t.length === 0 ? [] : XX(t);
+ return t == null || t.length === 0 ? [] : ZX(t);
}
function $ke(e) {
- if (e.y != null) return XX([e.y]);
+ if (e.y != null) return ZX([e.y]);
var t = e.segment?.map((e) => e.y);
- return t == null || t.length === 0 ? [] : XX(t);
+ return t == null || t.length === 0 ? [] : ZX(t);
}
-var hZ = (e, t) => {
+var gZ = (e, t) => {
if (e != null) {
var n = e.flatMap((e) => t === "xAxis" ? Qke(e) : $ke(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, eAe = $(Xke, $([Yke, eq], hZ), Zke, (e, t, n) => sZ(e, n, t)), gZ = (e, t, n, r, i, a, o, s) => n ?? qEe(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? sZ(r, a, i) : sZ(a, i), e.allowDataOverflow), tAe = $([
- PX,
- iZ,
+}, eAe = $(Xke, $([Yke, tq], gZ), Zke, (e, t, n) => cZ(e, n, t)), _Z = (e, t, n, r, i, a, o, s) => n ?? qEe(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? cZ(r, a, i) : cZ(a, i), e.allowDataOverflow), tAe = $([
+ FX,
aZ,
+ oZ,
Hke,
Wke,
eAe,
- $U,
- eq
-], gZ, { memoizeOptions: { resultEqualityCheck: aq } }), nAe = [0, 1], _Z = (e, t, n, r, i, a, o) => {
+ eW,
+ tq
+], _Z, { memoizeOptions: { resultEqualityCheck: oq } }), nAe = [0, 1], vZ = (e, t, n, r, i, a, o) => {
if (e != null && n != null && n.length !== 0 || o !== void 0) {
- var { dataKey: s, type: c } = e, l = pU(t, a);
- return l && s == null ? lK(0, n?.length ?? 0) : c === "category" ? Kke(r, e, l) : i === "expand" ? nAe : o;
- }
-}, vZ = $([
- PX,
- $U,
- GX,
- qX,
- AK,
- eq,
+ var { dataKey: s, type: c } = e, l = mU(t, a);
+ return l && s == null ? uK(0, n?.length ?? 0) : c === "category" ? Kke(r, e, l) : i === "expand" ? nAe : o;
+ }
+}, yZ = $([
+ FX,
+ eW,
+ KX,
+ JX,
+ jK,
+ tq,
tAe
-], _Z), yZ = $([
- PX,
- IX,
- MK
-], SX), bZ = (e, t, n) => {
+], vZ), bZ = $([
+ FX,
+ LX,
+ NK
+], CX), xZ = (e, t, n) => {
var { niceTicks: r } = t;
if (r !== "none") {
- var i = rZ(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
- if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && mK(e)) {
- if (a) return wK(e, t.tickCount, t.allowDecimals, r);
- if (t.type === "number") return TK(e, t.tickCount, t.allowDecimals, r);
+ var i = iZ(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
+ if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && hK(e)) {
+ if (a) return TK(e, t.tickCount, t.allowDecimals, r);
+ if (t.type === "number") return EK(e, t.tickCount, t.allowDecimals, r);
}
if (r === "auto" && n === "linear" && t != null && t.tickCount) {
- if (a && mK(e)) return wK(e, t.tickCount, t.allowDecimals, "adaptive");
- if (t.type === "number" && mK(e)) return TK(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (a && hK(e)) return TK(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (t.type === "number" && hK(e)) return EK(e, t.tickCount, t.allowDecimals, "adaptive");
}
}
-}, xZ = $([
- vZ,
- FX,
- yZ
-], bZ), SZ = (e, t, n, r) => {
- if (r !== "angleAxis" && e?.type === "number" && mK(t) && Array.isArray(n) && n.length > 0) {
+}, SZ = $([
+ yZ,
+ IX,
+ bZ
+], xZ), CZ = (e, t, n, r) => {
+ if (r !== "angleAxis" && e?.type === "number" && hK(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;
}, rAe = $([
- PX,
- vZ,
- xZ,
- eq
-], SZ), CZ = $($(qX, PX, (e, t) => {
+ FX,
+ yZ,
+ SZ,
+ tq
+], CZ), wZ = $($(JX, FX, (e, t) => {
if (!(!t || t.type !== "number")) {
- var n = Infinity, r = Array.from(XX(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
+ var n = Infinity, r = Array.from(ZX(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;
@@ -61187,22 +61172,22 @@ var hZ = (e, t) => {
}
return n / o;
}
-}), $U, OK, NU, (e, t, n, r, i) => i, (e, t, n, r, i) => {
- if (!cU(e)) return 0;
+}), eW, kK, PU, (e, t, n, r, i) => i, (e, t, n, r, i) => {
+ if (!lU(e)) return 0;
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = nB(n, e * a), s = e * a / 2;
+ var o = rB(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
}), iAe = (e, t, n) => {
- var r = kX(e, t);
- return r == null || typeof r.padding != "string" ? 0 : CZ(e, "xAxis", t, n, r.padding);
+ var r = AX(e, t);
+ return r == null || typeof r.padding != "string" ? 0 : wZ(e, "xAxis", t, n, r.padding);
}, aAe = (e, t, n) => {
- var r = MX(e, t);
- return r == null || typeof r.padding != "string" ? 0 : CZ(e, "yAxis", t, n, r.padding);
-}, oAe = $(kX, iAe, (e, t) => {
+ var r = NX(e, t);
+ return r == null || typeof r.padding != "string" ? 0 : wZ(e, "yAxis", t, n, r.padding);
+}, oAe = $(AX, iAe, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -61215,7 +61200,7 @@ var hZ = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), sAe = $(MX, aAe, (e, t) => {
+}), sAe = $(NX, aAe, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -61229,64 +61214,64 @@ var hZ = (e, t) => {
bottom: (n.bottom ?? 0) + t
};
}), cAe = $([
- NU,
+ PU,
oAe,
+ RU,
LU,
- IU,
(e, t, n) => n
], (e, t, n, r, i) => {
var { padding: a } = r;
return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];
}), lAe = $([
- NU,
- $U,
+ PU,
+ eW,
sAe,
+ RU,
LU,
- IU,
(e, t, n) => n
], (e, t, n, r, i, a) => {
var { padding: o } = i;
return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];
-}), wZ = (e, t, n, r) => {
+}), TZ = (e, t, n, r) => {
switch (t) {
case "xAxis": return cAe(e, n, r);
case "yAxis": return lAe(e, n, r);
- case "zAxis": return NX(e, n)?.range;
- case "angleAxis": return ZK(e);
- case "radiusAxis": return QK(e, n);
+ case "zAxis": return PX(e, n)?.range;
+ case "angleAxis": return QK(e);
+ case "radiusAxis": return $K(e, n);
default: return;
}
-}, TZ = $([PX, wZ], zK), EZ = $([
- PX,
- yZ,
- $([yZ, rAe], uq),
- TZ
-], xX), DZ = (e, t, n, r) => {
+}, EZ = $([FX, TZ], BK), DZ = $([
+ FX,
+ bZ,
+ $([bZ, rAe], dq),
+ EZ
+], SX), OZ = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var { type: i, scale: a } = n;
- if (pU(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
+ if (mU(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
}
-}, OZ = $([
- $U,
- qX,
- FX,
- eq
-], DZ), kZ = $([EZ], lq);
-$([EZ], Oke), $([EZ, Rke], CX), $([
- BX,
- oZ,
- eq
+}, kZ = $([
+ eW,
+ JX,
+ IX,
+ tq
+], OZ), AZ = $([DZ], uq);
+$([DZ], Oke), $([DZ, Rke], wX), $([
+ VX,
+ sZ,
+ tq
], Uke);
-function AZ(e, t) {
+function jZ(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var jZ = (e, t) => t, MZ = (e, t, n) => n, uAe = $(kU, jZ, MZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(AZ)), dAe = $(AU, jZ, MZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(AZ)), NZ = (e, t) => ({
+var MZ = (e, t) => t, NZ = (e, t, n) => n, uAe = $(AU, MZ, NZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(jZ)), dAe = $(jU, MZ, NZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(jZ)), PZ = (e, t) => ({
width: e.width,
height: t.height
}), fAe = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), PZ = $(NU, kX, NZ), pAe = (e, t, n) => {
+}), FZ = $(PU, AX, PZ), pAe = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
@@ -61298,15 +61283,15 @@ var jZ = (e, t) => t, MZ = (e, t, n) => n, uAe = $(kU, jZ, MZ, (e, t, n) => e.fi
case "right": return n - e.right;
default: return 0;
}
-}, hAe = $(DU, NU, uAe, jZ, MZ, (e, t, n, r, i) => {
+}, hAe = $(OU, PU, uAe, MZ, NZ, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = NZ(t, n);
+ var s = PZ(t, n);
o ??= pAe(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;
-}), gAe = $(EU, NU, dAe, jZ, MZ, (e, t, n, r, i) => {
+}), gAe = $(DU, PU, dAe, MZ, NZ, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
var s = fAe(t, n);
@@ -61315,10 +61300,10 @@ var jZ = (e, t) => t, MZ = (e, t, n) => n, uAe = $(kU, jZ, MZ, (e, t, n) => e.fi
a[n.id] = o - Number(c) * s.width, o += (c ? -1 : 1) * s.width;
}), a;
}), _Ae = $([
- NU,
- kX,
+ PU,
+ AX,
(e, t) => {
- var n = kX(e, t);
+ var n = AX(e, t);
if (n != null) return hAe(e, n.orientation, n.mirror);
},
(e, t) => t
@@ -61334,10 +61319,10 @@ var jZ = (e, t) => t, MZ = (e, t, n) => n, uAe = $(kU, jZ, MZ, (e, t, n) => e.fi
};
}
}), vAe = $([
- NU,
- MX,
+ PU,
+ NX,
(e, t) => {
- var n = MX(e, t);
+ var n = NX(e, t);
if (n != null) return gAe(e, n.orientation, n.mirror);
},
(e, t) => t
@@ -61352,38 +61337,38 @@ var jZ = (e, t) => t, MZ = (e, t, n) => n, uAe = $(kU, jZ, MZ, (e, t, n) => e.fi
y: e.top
};
}
-}), FZ = $(NU, MX, (e, t) => ({
+}), IZ = $(PU, NX, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-})), IZ = (e, t, n) => {
+})), LZ = (e, t, n) => {
switch (t) {
- case "xAxis": return PZ(e, n).width;
- case "yAxis": return FZ(e, n).height;
+ case "xAxis": return FZ(e, n).width;
+ case "yAxis": return IZ(e, n).height;
default: return;
}
-}, LZ = (e, t, n, r) => {
+}, RZ = (e, t, n, r) => {
if (n != null) {
- var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = pU(e, r), c = t.map((e) => e.value);
- if (o && s && a === "category" && i && rB(c)) return c;
+ var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = mU(e, r), c = t.map((e) => e.value);
+ if (o && s && a === "category" && i && iB(c)) return c;
}
-}, RZ = $([
- $U,
- qX,
- PX,
- eq
-], LZ), zZ = $([
- $U,
+}, zZ = $([
+ eW,
+ JX,
+ FX,
+ tq
+], RZ), BZ = $([
+ eW,
Nke,
- yZ,
+ bZ,
+ AZ,
+ zZ,
kZ,
- RZ,
- OZ,
- wZ,
- xZ,
- eq
+ TZ,
+ SZ,
+ tq
], (e, t, n, r, i, a, o, s, c) => {
if (t != null) {
- var l = pU(e, c);
+ var l = mU(e, c);
return {
angle: t.angle,
interval: t.interval,
@@ -61405,107 +61390,107 @@ var jZ = (e, t) => t, MZ = (e, t, n) => n, uAe = $(kU, jZ, MZ, (e, t, n) => e.fi
scale: r
};
}
-}), BZ = (e, t, n, r, i, a, o, s, c) => {
+}), VZ = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
- var l = pU(e, c), { type: u, ticks: d, tickCount: f } = t, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
- m = c === "angleAxis" && a != null && a.length >= 2 ? Zz(a[0] - a[1]) * 2 * m : m;
+ var l = mU(e, c), { type: u, ticks: d, tickCount: f } = t, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
+ m = c === "angleAxis" && a != null && a.length >= 2 ? Qz(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 cU(i) ? {
+ return lU(i) ? {
index: t,
coordinate: i + m,
value: e,
offset: m
} : null;
- }).filter(cB) : l && s ? s.map((e, t) => {
+ }).filter(lB) : l && s ? s.map((e, t) => {
var n = r.map(e);
- return cU(n) ? {
+ return lU(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(cB) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(lB) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
- return cU(n) ? {
+ return lU(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(cB) : r.domain().map((e, t) => {
+ }).filter(lB) : r.domain().map((e, t) => {
var n = r.map(e);
- return cU(n) ? {
+ return lU(n) ? {
coordinate: n + m,
value: o ? o[e] : e,
index: t,
offset: m
} : null;
- }).filter(cB);
+ }).filter(lB);
}
-}, VZ = $([
- $U,
- FX,
- yZ,
+}, HZ = $([
+ eW,
+ IX,
+ bZ,
+ AZ,
+ SZ,
+ TZ,
+ zZ,
kZ,
- xZ,
- wZ,
- RZ,
- OZ,
- eq
-], BZ), HZ = (e, t, n, r, i, a, o) => {
+ tq
+], VZ), UZ = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
- var s = pU(e, o), { tickCount: c } = t, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? Zz(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ var s = mU(e, o), { tickCount: c } = t, l = 0;
+ return l = o === "angleAxis" && r?.length >= 2 ? Qz(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
- return cU(r) ? {
+ return lU(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(cB) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(lB) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
- return cU(r) ? {
+ return lU(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(cB) : n.domain().map((e, t) => {
+ }).filter(lB) : n.domain().map((e, t) => {
var r = n.map(e);
- return cU(r) ? {
+ return lU(r) ? {
coordinate: r + l,
value: i ? i[e] : e,
index: t,
offset: l
} : null;
- }).filter(cB);
+ }).filter(lB);
}
-}, UZ = $([
- $U,
- FX,
+}, WZ = $([
+ eW,
+ IX,
+ AZ,
+ TZ,
+ zZ,
kZ,
- wZ,
- RZ,
- OZ,
- eq
-], HZ), WZ = $(PX, kZ, (e, t) => {
- if (e != null && t != null) return TX(TX({}, e), {}, { scale: t });
+ tq
+], UZ), GZ = $(FX, AZ, (e, t) => {
+ if (e != null && t != null) return EX(EX({}, e), {}, { scale: t });
});
-$((e, t, n) => NX(e, n), $([$([
- PX,
+$((e, t, n) => PX(e, n), $([$([
+ FX,
+ bZ,
yZ,
- vZ,
- TZ
-], xX)], lq), (e, t) => {
- if (e != null && t != null) return TX(TX({}, e), {}, { scale: t });
+ EZ
+], SX)], uq), (e, t) => {
+ if (e != null && t != null) return EX(EX({}, e), {}, { scale: t });
});
var yAe = $([
- $U,
- kU,
- AU
+ eW,
+ AU,
+ jU
], (e, t, n) => {
switch (e) {
case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";
@@ -61527,41 +61512,41 @@ $([(e, t, n) => e.renderedTicks[t]?.[n]], (e) => {
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipEventType.js
-var GZ = (e) => e.options.defaultTooltipEventType, KZ = (e) => e.options.validateTooltipEventTypes;
-function qZ(e, t, n) {
+var KZ = (e) => e.options.defaultTooltipEventType, qZ = (e) => e.options.validateTooltipEventTypes;
+function JZ(e, t, n) {
if (e == null) return t;
var r = e ? "axis" : "item";
return n == null ? t : n.includes(r) ? r : t;
}
-function JZ(e, t) {
- return qZ(t, GZ(e), KZ(e));
+function YZ(e, t) {
+ return JZ(t, KZ(e), qZ(e));
}
function bAe(e) {
- return Q((t) => JZ(t, e));
+ return Q((t) => YZ(t, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
-var YZ = (e, t) => {
+var XZ = (e, t) => {
var n, r = Number(t);
- if (!(Qz(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, xAe = (e) => e.tooltip.settings, XZ = {
+ if (!($z(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+}, xAe = (e) => e.tooltip.settings, ZZ = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, ZZ = NH({
+}, QZ = PH({
name: "tooltip",
initialState: {
itemInteraction: {
- click: XZ,
- hover: XZ
+ click: ZZ,
+ hover: ZZ
},
axisInteraction: {
- click: XZ,
- hover: XZ
+ click: ZZ,
+ hover: ZZ
},
- keyboardInteraction: XZ,
+ keyboardInteraction: ZZ,
syncInteraction: {
active: !1,
index: null,
@@ -61583,23 +61568,23 @@ var YZ = (e, t) => {
reducers: {
addTooltipEntrySettings: {
reducer(e, t) {
- e.tooltipItemPayloads.push(WW(t.payload));
+ e.tooltipItemPayloads.push(GW(t.payload));
},
- prepare: kH()
+ prepare: AH()
},
replaceTooltipEntrySettings: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = bH(e).tooltipItemPayloads.indexOf(WW(n));
- i > -1 && (e.tooltipItemPayloads[i] = WW(r));
+ var { prev: n, next: r } = t.payload, i = xH(e).tooltipItemPayloads.indexOf(GW(n));
+ i > -1 && (e.tooltipItemPayloads[i] = GW(r));
},
- prepare: kH()
+ prepare: AH()
},
removeTooltipEntrySettings: {
reducer(e, t) {
- var n = bH(e).tooltipItemPayloads.indexOf(WW(t.payload));
+ var n = xH(e).tooltipItemPayloads.indexOf(GW(t.payload));
n > -1 && e.tooltipItemPayloads.splice(n, 1);
},
- prepare: kH()
+ prepare: AH()
},
setTooltipSettingsState(e, t) {
e.settings = t.payload;
@@ -61629,10 +61614,10 @@ var YZ = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), { addTooltipEntrySettings: SAe, replaceTooltipEntrySettings: CAe, removeTooltipEntrySettings: wAe, setTooltipSettingsState: TAe, setActiveMouseOverItemIndex: QZ, mouseLeaveItem: EAe, mouseLeaveChart: $Z, setActiveClickItemIndex: DAe, setMouseOverAxisIndex: eQ, setMouseClickAxisIndex: OAe, setSyncInteraction: tQ, setKeyboardInteraction: nQ } = ZZ.actions, kAe = ZZ.reducer;
+}), { addTooltipEntrySettings: SAe, replaceTooltipEntrySettings: CAe, removeTooltipEntrySettings: wAe, setTooltipSettingsState: TAe, setActiveMouseOverItemIndex: $Z, mouseLeaveItem: EAe, mouseLeaveChart: eQ, setActiveClickItemIndex: DAe, setMouseOverAxisIndex: tQ, setMouseClickAxisIndex: OAe, setSyncInteraction: nQ, setKeyboardInteraction: rQ } = QZ.actions, kAe = QZ.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
-function rQ(e, t) {
+function iQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -61642,12 +61627,12 @@ function rQ(e, t) {
}
return n;
}
-function iQ(e) {
+function aQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? rQ(Object(n), !0).forEach(function(t) {
+ t % 2 ? iQ(Object(n), !0).forEach(function(t) {
AAe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : rQ(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -61681,16 +61666,16 @@ function NAe(e, t, n) {
function PAe(e) {
return e.index != null;
}
-var aQ = (e, t, n, r) => {
- if (t == null) return XZ;
+var oQ = (e, t, n, r) => {
+ if (t == null) return ZZ;
var i = NAe(e, t, n);
- if (i == null) return XZ;
+ if (i == null) return ZZ;
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 (PAe(i)) {
- if (a) return iQ(iQ({}, i), {}, { active: !0 });
+ if (a) return aQ(aQ({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
coordinate: void 0,
@@ -61698,7 +61683,7 @@ var aQ = (e, t, n, r) => {
index: r,
graphicalItemId: void 0
};
- return iQ(iQ({}, XZ), {}, { coordinate: i.coordinate });
+ return aQ(aQ({}, ZZ), {}, { coordinate: i.coordinate });
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
@@ -61717,19 +61702,19 @@ function IAe(e, t) {
}
function LAe(e, t, n) {
if (n == null || t == null) return !0;
- var r = fU(e, t);
- return r == null || !mK(n) || IAe(r, n);
+ var r = pU(e, t);
+ return r == null || !hK(n) || IAe(r, n);
}
-var oQ = (e, t, n, r) => {
+var sQ = (e, t, n, r) => {
var i = e?.index;
if (i == null) return null;
var a = Number(i);
- if (!cU(a)) return i;
+ if (!lU(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 || LAe(l, n, r) ? String(c) : null;
-}, sQ = (e, t, n, r, i, a, o) => {
+}, cQ = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
if (s != null) return s;
@@ -61745,7 +61730,7 @@ var oQ = (e, t, n, r) => {
};
}
}
-}, cQ = (e, t, n, r) => {
+}, lQ = (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;
@@ -61755,10 +61740,10 @@ var oQ = (e, t, n, r) => {
return a == null ? [] : [a];
}
return e.tooltipItemPayloads.filter((e) => e.settings?.graphicalItemId === i);
-}, lQ = (e) => e.options.tooltipPayloadSearcher, uQ = (e) => e.tooltip;
+}, uQ = (e) => e.options.tooltipPayloadSearcher, dQ = (e) => e.tooltip;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js
-function dQ(e, t) {
+function fQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -61768,12 +61753,12 @@ function dQ(e, t) {
}
return n;
}
-function fQ(e) {
+function pQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? dQ(Object(n), !0).forEach(function(t) {
+ t % 2 ? fQ(Object(n), !0).forEach(function(t) {
RAe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dQ(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -61811,7 +61796,7 @@ function UAe(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
-function pQ(e) {
+function mQ(e) {
if (typeof e == "string") return e;
}
function WAe(e) {
@@ -61820,203 +61805,203 @@ function WAe(e) {
unit: "unit" in e ? HAe(e.unit) : void 0,
dataKey: "dataKey" in e ? UAe(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
- color: "color" in e ? pQ(e.color) : void 0,
- fill: "fill" in e ? pQ(e.fill) : void 0
+ color: "color" in e ? mQ(e.color) : void 0,
+ fill: "fill" in e ? mQ(e.fill) : void 0
};
}
function GAe(e, t) {
return e ?? t;
}
-var mQ = (e, t, n, r, i, a, o) => {
+var hQ = (e, t, n, r, i, a, o) => {
if (t != null && a != null) {
var { chartData: s, computedData: c, dataStartIndex: l, dataEndIndex: u } = n;
return e.reduce((e, n) => {
- var { dataDefinedOnItem: d, settings: f } = n, p = GAe(d, s), m = Array.isArray(p) ? sU(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? aB(m, r, i) : a(m, t, c, g);
+ var { dataDefinedOnItem: d, settings: f } = n, p = GAe(d, s), m = Array.isArray(p) ? cU(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? oB(m, r, i) : a(m, t, c, g);
return Array.isArray(_) ? _.forEach((t) => {
- var n = WAe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = fQ(fQ({}, f), {}, {
+ var n = WAe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = pQ(pQ({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
fill: n?.fill ?? f?.fill
});
- e.push(wU({
+ e.push(TU({
tooltipEntrySettings: o,
dataKey: i,
payload: a,
- value: fU(a, i),
+ value: pU(a, i),
name: r == null ? void 0 : String(r)
}));
- }) : e.push(wU({
+ }) : e.push(TU({
tooltipEntrySettings: f,
dataKey: h,
payload: _,
- value: fU(_, h),
- name: fU(_, g) ?? f?.name
+ value: pU(_, h),
+ name: pU(_, g) ?? f?.name
})), e;
}, []);
}
-}, hQ = $([
- QX,
- IX,
- MK
-], SX), gQ = $([
+}, gQ = $([
+ $X,
+ LX,
+ NK
+], CX), _Q = $([
$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
- QX,
- $([sq, cq], LX)
-], zX, { memoizeOptions: { resultEqualityCheck: oq } }), KAe = $([gQ], (e) => e.filter(iq)), _Q = $([$([gQ], UX, { memoizeOptions: { resultEqualityCheck: oq } }), uK], WX), qAe = $([
+ $X,
+ $([cq, lq], RX)
+], BX, { memoizeOptions: { resultEqualityCheck: sq } }), KAe = $([_Q], (e) => e.filter(aq)), vQ = $([$([_Q], WX, { memoizeOptions: { resultEqualityCheck: sq } }), dK], GX), qAe = $([
KAe,
- uK,
- QX
-], rq), vQ = $([
- _Q,
- QX,
- gQ
-], KX), yQ = $([QX], rZ), bQ = $([yQ, $([QX], (e) => e.allowDataOverflow)], gK), JAe = $([
+ dK,
+ $X
+], iq), yQ = $([
+ vQ,
+ $X,
+ _Q
+], qX), bQ = $([$X], iZ), xQ = $([bQ, $([$X], (e) => e.allowDataOverflow)], _K), JAe = $([
$([
qAe,
- $([gQ], (e) => e.filter(iq)),
- AK,
- jK
- ], eZ),
- uK,
- sq,
- bQ
-], nZ), YAe = $([
- _Q,
- QX,
- $([gQ], HX),
- oZ,
- sq
-], cZ, { memoizeOptions: { resultEqualityCheck: aq } }), XAe = $([$([
- lZ,
- sq,
- cq
-], uZ), sq], pZ), ZAe = $([$([
- dZ,
- sq,
+ $([_Q], (e) => e.filter(aq)),
+ jK,
+ MK
+ ], tZ),
+ dK,
+ cq,
+ xQ
+], rZ), YAe = $([
+ vQ,
+ $X,
+ $([_Q], UX),
+ sZ,
cq
-], uZ), sq], mZ), xQ = $([
- QX,
- $U,
- _Q,
+], lZ, { memoizeOptions: { resultEqualityCheck: oq } }), XAe = $([$([
+ uZ,
+ cq,
+ lq
+], dZ), cq], mZ), ZAe = $([$([
+ fZ,
+ cq,
+ lq
+], dZ), cq], hZ), SQ = $([
+ $X,
+ eW,
vQ,
- AK,
- sq,
+ yQ,
+ jK,
+ cq,
$([
- QX,
- yQ,
+ $X,
bQ,
+ xQ,
JAe,
YAe,
$([
XAe,
$([$([
- fZ,
- sq,
- cq
- ], uZ), sq], hZ),
+ pZ,
+ cq,
+ lq
+ ], dZ), cq], gZ),
ZAe
- ], sZ),
- $U,
- sq
- ], gZ)
-], _Z), QAe = $([
- QX,
- xQ,
+ ], cZ),
+ eW,
+ cq
+ ], _Z)
+], vZ), QAe = $([
+ $X,
+ SQ,
$([
- xQ,
- QX,
- hQ
- ], bZ),
- sq
-], SZ), SQ = (e) => wZ(e, sq(e), cq(e), !1), CQ = $([QX, SQ], zK), wQ = $([$([
- QX,
- hQ,
+ SQ,
+ $X,
+ gQ
+ ], xZ),
+ cq
+], CZ), CQ = (e) => TZ(e, cq(e), lq(e), !1), wQ = $([$X, CQ], BK), TQ = $([$([
+ $X,
+ gQ,
QAe,
- CQ
-], xX)], lq), TQ = $([
- $U,
- QX,
- hQ,
- wQ,
- SQ,
+ wQ
+], SX)], uq), EQ = $([
+ eW,
+ $X,
+ gQ,
+ TQ,
+ CQ,
$([
- $U,
- vQ,
- QX,
- sq
- ], LZ),
+ eW,
+ yQ,
+ $X,
+ cq
+ ], RZ),
$([
- $U,
- vQ,
- QX,
- sq
- ], DZ),
- sq
+ eW,
+ yQ,
+ $X,
+ cq
+ ], OZ),
+ cq
], (e, t, n, r, i, a, o, s) => {
if (t) {
- var { type: c } = t, l = pU(e, s);
+ var { type: c } = t, l = mU(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 ? Zz(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? Qz(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
- return cU(n) ? {
+ return lU(n) ? {
coordinate: n + d,
value: e,
index: t,
offset: d
} : null;
- }).filter(cB) : r.domain().map((e, t) => {
+ }).filter(lB) : r.domain().map((e, t) => {
var n = r.map(e);
- return cU(n) ? {
+ return lU(n) ? {
coordinate: n + d,
value: a ? a[e] : e,
index: t,
offset: d
} : null;
- }).filter(cB);
+ }).filter(lB);
}
}
-}), EQ = $([
- GZ,
+}), DQ = $([
KZ,
+ qZ,
xAe
-], (e, t, n) => qZ(n.shared, e, t)), DQ = (e) => e.tooltip.settings.trigger, OQ = (e) => e.tooltip.settings.defaultIndex, kQ = $([
- uQ,
- EQ,
+], (e, t, n) => JZ(n.shared, e, t)), OQ = (e) => e.tooltip.settings.trigger, kQ = (e) => e.tooltip.settings.defaultIndex, AQ = $([
+ dQ,
DQ,
- OQ
-], aQ), AQ = $([
- kQ,
- _Q,
- $X,
- xQ
-], oQ), jQ = $([TQ, AQ], YZ), MQ = $([kQ], (e) => {
+ OQ,
+ kQ
+], oQ), jQ = $([
+ AQ,
+ vQ,
+ eZ,
+ SQ
+], sQ), MQ = $([EQ, jQ], XZ), NQ = $([AQ], (e) => {
if (e) return e.dataKey;
-}), $Ae = $([kQ], (e) => {
+}), $Ae = $([AQ], (e) => {
if (e) return e.graphicalItemId;
-}), NQ = $([
- uQ,
- EQ,
+}), PQ = $([
+ dQ,
DQ,
- OQ
-], cQ), eje = $([kQ, $([
- EU,
- DU,
- $U,
- NU,
- TQ,
OQ,
- NQ
-], sQ)], (e, t) => e != null && e.coordinate ? e.coordinate : t), tje = $([kQ], (e) => e?.active ?? !1), nje = $([$([
- NQ,
- AQ,
- uK,
- $X,
+ kQ
+], lQ), eje = $([AQ, $([
+ DU,
+ OU,
+ eW,
+ PU,
+ EQ,
+ kQ,
+ PQ
+], cQ)], (e, t) => e != null && e.coordinate ? e.coordinate : t), tje = $([AQ], (e) => e?.active ?? !1), nje = $([$([
+ PQ,
jQ,
- lQ,
- EQ
-], mQ)], (e) => {
+ dK,
+ eZ,
+ MQ,
+ uQ,
+ DQ
+], hQ)], (e) => {
if (e != null) {
var t = e.map((e) => e.payload).filter((e) => e != null);
return Array.from(new Set(t));
@@ -62024,7 +62009,7 @@ var mQ = (e, t, n, r, i, a, o) => {
});
//#endregion
//#region node_modules/recharts/es6/context/useTooltipAxis.js
-function PQ(e, t) {
+function FQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62034,12 +62019,12 @@ function PQ(e, t) {
}
return n;
}
-function FQ(e) {
+function IQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? PQ(Object(n), !0).forEach(function(t) {
+ t % 2 ? FQ(Object(n), !0).forEach(function(t) {
rje(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PQ(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : FQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -62067,13 +62052,13 @@ function aje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var oje = () => Q(QX), sje = () => {
- var e = oje(), t = Q(TQ), n = Q(wQ);
- return CU(!e || !n ? void 0 : FQ(FQ({}, e), {}, { scale: n }), t);
+var oje = () => Q($X), sje = () => {
+ var e = oje(), t = Q(EQ), n = Q(TQ);
+ return wU(!e || !n ? void 0 : IQ(IQ({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
-function IQ(e, t) {
+function LQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62083,12 +62068,12 @@ function IQ(e, t) {
}
return n;
}
-function LQ(e) {
+function RQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? IQ(Object(n), !0).forEach(function(t) {
+ t % 2 ? LQ(Object(n), !0).forEach(function(t) {
cje(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : IQ(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : LQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -62137,13 +62122,13 @@ var dje = (e, t, n, r) => {
if (i) {
if (e === "centric") {
var a = i.coordinate, { radius: o } = r;
- return LQ(LQ(LQ({}, r), tK(r.cx, r.cy, o, a)), {}, {
+ return RQ(RQ(RQ({}, r), nK(r.cx, r.cy, o, a)), {}, {
angle: a,
radius: o
});
}
var s = i.coordinate, { angle: c } = r;
- return LQ(LQ(LQ({}, r), tK(r.cx, r.cy, s, c)), {}, {
+ return RQ(RQ(RQ({}, r), nK(r.cx, r.cy, s, c)), {}, {
angle: c,
radius: s
});
@@ -62166,15 +62151,15 @@ function pje(e, t) {
var { relativeX: n, relativeY: r } = e;
return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;
}
-var RQ = (e, t, n, r, i) => {
+var zQ = (e, t, n, r, i) => {
var a = t?.length ?? 0;
if (a <= 1 || e == null) return 0;
if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = 0; o < a; o++) {
var s = o > 0 ? n[o - 1]?.coordinate : n[a - 1]?.coordinate, c = n[o]?.coordinate, l = o >= a - 1 ? n[0]?.coordinate : n[o + 1]?.coordinate, u = void 0;
if (s != null && c != null && l != null) {
- if (Zz(c - s) !== Zz(l - c)) {
+ if (Qz(c - s) !== Qz(l - c)) {
var d = [];
- if (Zz(l - c) === Zz(i[1] - i[0])) {
+ if (Qz(l - c) === Qz(i[1] - i[0])) {
u = l;
var f = c + i[1] - i[0];
d[0] = Math.min(f, (f + s) / 2), d[1] = Math.max(f, (f + s) / 2);
@@ -62199,48 +62184,48 @@ var RQ = (e, t, n, r, i) => {
}
}
return -1;
-}, zQ = () => Q(MK), BQ = (e, t) => t, VQ = (e, t, n) => n, HQ = (e, t, n, r) => r, mje = $(TQ, (e) => eV(e, (e) => e.coordinate)), UQ = $([
- uQ,
- BQ,
+}, BQ = () => Q(NK), VQ = (e, t) => t, HQ = (e, t, n) => n, UQ = (e, t, n, r) => r, mje = $(EQ, (e) => tV(e, (e) => e.coordinate)), WQ = $([
+ dQ,
VQ,
- HQ
-], aQ), WQ = $([
- UQ,
- _Q,
- $X,
- xQ
-], oQ), hje = (e, t, n) => {
+ HQ,
+ UQ
+], oQ), GQ = $([
+ WQ,
+ vQ,
+ eZ,
+ SQ
+], sQ), hje = (e, t, n) => {
if (t != null) {
- var r = uQ(e);
+ var r = dQ(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
}
-}, GQ = $([
- uQ,
- BQ,
+}, KQ = $([
+ dQ,
VQ,
- HQ
-], cQ), KQ = $([
- EU,
- DU,
- $U,
- NU,
- TQ,
HQ,
- GQ
-], sQ), gje = $([UQ, KQ], (e, t) => e.coordinate ?? t), qQ = $([TQ, WQ], YZ), _je = $([
+ UQ
+], lQ), qQ = $([
+ DU,
+ OU,
+ eW,
+ PU,
+ EQ,
+ UQ,
+ KQ
+], cQ), gje = $([WQ, qQ], (e, t) => e.coordinate ?? t), JQ = $([EQ, GQ], XZ), _je = $([
+ KQ,
GQ,
- WQ,
- uK,
- $X,
- qQ,
- lQ,
- BQ
-], mQ), vje = $([UQ, WQ], (e, t) => ({
+ dK,
+ eZ,
+ JQ,
+ uQ,
+ VQ
+], hQ), vje = $([WQ, GQ], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
})), yje = (e, t, n, r, i, a, o) => {
if (!(!e || !n || !r || !i) && pje(e, o)) {
- var s = RQ(WCe(e, t), a, i, n, r), c = dje(t, i, s, e);
+ var s = zQ(WCe(e, t), a, i, n, r), c = dje(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
@@ -62250,7 +62235,7 @@ var RQ = (e, t, n, r, i) => {
if (!(!e || !r || !i || !a || !n)) {
var s = PEe(e, n);
if (s) {
- var c = RQ(GCe(s, t), o, a, r, i), l = fje(t, a, c, s);
+ var c = zQ(GCe(s, t), o, a, r, i), l = fje(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
@@ -62265,12 +62250,12 @@ var RQ = (e, t, n, r, i) => {
if (r != null) return n ? r.panoramaElement : r.element;
}
}), Cje = $((e) => e.zIndex.zIndexMap, (e) => {
- var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(IK));
+ var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(LK));
return Array.from(new Set(t)).sort((e, t) => e - t);
}, { memoizeOptions: { resultEqualityCheck: tDe } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
-function JQ(e, t) {
+function YQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62280,12 +62265,12 @@ function JQ(e, t) {
}
return n;
}
-function YQ(e) {
+function XQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? JQ(Object(n), !0).forEach(function(t) {
+ t % 2 ? YQ(Object(n), !0).forEach(function(t) {
wje(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : JQ(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : YQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -62313,15 +62298,15 @@ function Eje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Dje = { zIndexMap: Object.values(IK).reduce((e, t) => YQ(YQ({}, e), {}, { [t]: {
+var Dje = { zIndexMap: Object.values(LK).reduce((e, t) => XQ(XQ({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, Oje = new Set(Object.values(IK));
+} }), {}) }, Oje = new Set(Object.values(LK));
function kje(e) {
return Oje.has(e);
}
-var XQ = NH({
+var ZQ = PH({
name: "zIndex",
initialState: Dje,
reducers: {
@@ -62334,42 +62319,42 @@ var XQ = NH({
panoramaElement: void 0
};
},
- prepare: kH()
+ prepare: AH()
},
unregisterZIndexPortal: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !kje(n) && delete e.zIndexMap[n]);
},
- prepare: kH()
+ prepare: AH()
},
registerZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n, element: r, isPanorama: i } = t.payload;
- e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = WW(r) : e.zIndexMap[n].element = WW(r) : e.zIndexMap[n] = {
+ e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = GW(r) : e.zIndexMap[n].element = GW(r) : e.zIndexMap[n] = {
consumers: 0,
- element: i ? void 0 : WW(r),
- panoramaElement: i ? WW(r) : void 0
+ element: i ? void 0 : GW(r),
+ panoramaElement: i ? GW(r) : void 0
};
},
- prepare: kH()
+ prepare: AH()
},
unregisterZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
e.zIndexMap[n] && (t.payload.isPanorama ? e.zIndexMap[n].panoramaElement = void 0 : e.zIndexMap[n].element = void 0);
},
- prepare: kH()
+ prepare: AH()
}
}
-}), { registerZIndexPortal: Aje, unregisterZIndexPortal: jje, registerZIndexPortalElement: Mje, unregisterZIndexPortalElement: Nje } = XQ.actions, Pje = XQ.reducer;
+}), { registerZIndexPortal: Aje, unregisterZIndexPortal: jje, registerZIndexPortalElement: Mje, unregisterZIndexPortalElement: Nje } = ZQ.actions, Pje = ZQ.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
-function ZQ(e) {
- var { zIndex: t, children: n } = e, r = bwe() && t !== void 0 && t !== 0, i = FU(), a = KB();
+function QQ(e) {
+ var { zIndex: t, children: n } = e, r = bwe() && t !== void 0 && t !== 0, i = IU(), a = qB();
(0, R.useLayoutEffect)(() => r ? (a(Aje({ zIndex: t })), () => {
a(jje({ zIndex: t }));
- }) : lB, [
+ }) : uB, [
a,
t,
r
@@ -62379,16 +62364,16 @@ function ZQ(e) {
}
//#endregion
//#region node_modules/recharts/es6/component/Cursor.js
-function QQ() {
- return QQ = Object.assign ? Object.assign.bind() : function(e) {
+function $Q() {
+ return $Q = 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;
- }, QQ.apply(null, arguments);
+ }, $Q.apply(null, arguments);
}
-function $Q(e, t) {
+function e$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62398,12 +62383,12 @@ function $Q(e, t) {
}
return n;
}
-function e$(e) {
+function t$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? $Q(Object(n), !0).forEach(function(t) {
+ t % 2 ? e$(Object(n), !0).forEach(function(t) {
Fje(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $Q(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -62439,10 +62424,10 @@ function zje(e) {
var { coordinate: t, payload: n, index: r, offset: i, tooltipAxisBandSize: a, layout: o, cursor: s, tooltipEventType: c, chartName: l } = e, u = t, d = n, f = r;
if (!s || !u || l !== "ScatterChart" && c !== "axis") return null;
var p, m, h;
- if (l === "ScatterChart") p = u, m = RTe, h = IK.cursorLine;
- else if (l === "BarChart") p = zTe(o, u, i, a), m = XG, h = IK.cursorRectangle;
- else if (o === "radial" && hB(u)) {
- var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = nK(u);
+ if (l === "ScatterChart") p = u, m = RTe, h = LK.cursorLine;
+ else if (l === "BarChart") p = zTe(o, u, i, a), m = ZG, h = LK.cursorRectangle;
+ else if (o === "radial" && gB(u)) {
+ var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = rK(u);
p = {
cx: g,
cy: _,
@@ -62450,25 +62435,25 @@ function zje(e) {
endAngle: b,
innerRadius: v,
outerRadius: v
- }, m = sK, h = IK.cursorLine;
- } else p = { points: GEe(o, u, i) }, m = CG, h = IK.cursorLine;
- var x = typeof s == "object" && "className" in s ? s.className : void 0, S = e$(e$(e$(e$({
+ }, m = cK, h = LK.cursorLine;
+ } else p = { points: GEe(o, u, i) }, m = wG, h = LK.cursorLine;
+ var x = typeof s == "object" && "className" in s ? s.className : void 0, S = t$(t$(t$(t$({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), WR(s)), {}, {
+ }, i), p), GR(s)), {}, {
payload: d,
payloadIndex: f,
className: Sh("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ R.createElement(ZQ, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ R.createElement(Rje, {
+ return /*#__PURE__*/ R.createElement(QQ, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ R.createElement(Rje, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
function Bje(e) {
- var t = sje(), n = XU(), r = eW(), i = zQ();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ R.createElement(zje, QQ({}, e, {
+ var t = sje(), n = ZU(), r = tW(), i = BQ();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ R.createElement(zje, $Q({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -62477,7 +62462,7 @@ function Bje(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var t$ = /*#__PURE__*/ (0, R.createContext)(null), Vje = () => (0, R.useContext)(t$), Hje = (/* @__PURE__ */ Dt((/* @__PURE__ */ Ct(((e, t) => {
+var n$ = /*#__PURE__*/ (0, R.createContext)(null), Vje = () => (0, R.useContext)(n$), Hje = (/* @__PURE__ */ Dt((/* @__PURE__ */ Ct(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -62564,12 +62549,12 @@ var t$ = /*#__PURE__*/ (0, R.createContext)(null), Vje = () => (0, R.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, n$ = new Hje(), r$ = "recharts.syncEvent.tooltip", i$ = "recharts.syncEvent.brush", a$ = (e, t) => {
+})))(), 1)).default, r$ = new Hje(), i$ = "recharts.syncEvent.tooltip", a$ = "recharts.syncEvent.brush", o$ = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!Qz(n)) return e[n];
+ if (!$z(n)) return e[n];
}
-}, o$ = NH({
+}, s$ = PH({
name: "options",
initialState: {
chartName: "",
@@ -62580,13 +62565,13 @@ var t$ = /*#__PURE__*/ (0, R.createContext)(null), Vje = () => (0, R.useContext)
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), Uje = o$.reducer, { createEventEmitter: Wje } = o$.actions;
+}), Uje = s$.reducer, { createEventEmitter: Wje } = s$.actions;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
function Gje(e) {
return e.tooltip.syncInteraction;
}
-var s$ = NH({
+var c$ = PH({
name: "chartData",
initialState: {
chartData: void 0,
@@ -62596,7 +62581,7 @@ var s$ = NH({
},
reducers: {
setChartData(e, t) {
- if (e.chartData = WW(t.payload), t.payload == null) {
+ if (e.chartData = GW(t.payload), t.payload == null) {
e.dataStartIndex = 0, e.dataEndIndex = 0;
return;
}
@@ -62610,8 +62595,8 @@ var s$ = NH({
n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);
}
}
-}), { setChartData: c$, setDataStartEndIndexes: Kje, setComputedData: qje } = s$.actions, Jje = s$.reducer, Yje = ["x", "y"];
-function l$(e, t) {
+}), { setChartData: l$, setDataStartEndIndexes: Kje, setComputedData: qje } = c$.actions, Jje = c$.reducer, Yje = ["x", "y"];
+function u$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62621,12 +62606,12 @@ function l$(e, t) {
}
return n;
}
-function u$(e) {
+function d$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? l$(Object(n), !0).forEach(function(t) {
+ t % 2 ? u$(Object(n), !0).forEach(function(t) {
Xje(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l$(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -62673,19 +62658,19 @@ function eMe(e, t) {
return n;
}
function tMe() {
- var e = Q(NK), t = Q(FK), n = KB(), r = Q(PK), i = Q(TQ), a = eW(), o = YU(), s = Q((e) => e.rootProps.className);
+ var e = Q(PK), t = Q(IK), n = qB(), r = Q(FK), i = Q(EQ), a = tW(), o = XU(), s = Q((e) => e.rootProps.className);
(0, R.useEffect)(() => {
- if (e == null) return lB;
+ if (e == null) return uB;
var s = (s, c, l) => {
if (t !== l && e === s) {
if (r === "index") {
var u;
if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {
- var d = c.payload.coordinate, { x: f, y: p } = d, m = $je(d, Yje), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = u$(u$({}, m), {}, {
+ var d = c.payload.coordinate, { x: f, y: p } = d, m = $je(d, Yje), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = d$(d$({}, m), {}, {
x: o.x + (_ ? (f - h) / _ : 0) * o.width,
y: o.y + (v ? (p - g) / v : 0) * o.height
});
- n(u$(u$({}, c), {}, { payload: u$(u$({}, c.payload), {}, { coordinate: y }) }));
+ n(d$(d$({}, c), {}, { payload: d$(d$({}, c.payload), {}, { coordinate: y }) }));
} else n(c);
return;
}
@@ -62701,7 +62686,7 @@ function tMe() {
})] : r === "value" && (b = i.find((e) => String(e.value) === c.payload.label));
var { coordinate: x } = c.payload;
if (b == null || c.payload.active === !1 || x == null || o == null) {
- n(tQ({
+ n(nQ({
active: !1,
coordinate: void 0,
dataKey: void 0,
@@ -62716,7 +62701,7 @@ function tMe() {
x: a === "horizontal" ? b.coordinate : w,
y: a === "horizontal" ? T : b.coordinate
};
- n(tQ({
+ n(nQ({
active: c.payload.active,
coordinate: E,
dataKey: c.payload.dataKey,
@@ -62728,8 +62713,8 @@ function tMe() {
}
}
};
- return n$.on(r$, s), () => {
- n$.off(r$, s);
+ return r$.on(i$, s), () => {
+ r$.off(i$, s);
};
}, [
s,
@@ -62743,14 +62728,14 @@ function tMe() {
]);
}
function nMe() {
- var e = Q(NK), t = Q(FK), n = KB();
+ var e = Q(PK), t = Q(IK), n = qB();
(0, R.useEffect)(() => {
- if (e == null) return lB;
+ if (e == null) return uB;
var r = (r, i, a) => {
t !== a && e === r && n(Kje(i));
};
- return n$.on(i$, r), () => {
- n$.off(i$, r);
+ return r$.on(a$, r), () => {
+ r$.off(a$, r);
};
}, [
n,
@@ -62759,16 +62744,16 @@ function nMe() {
]);
}
function rMe() {
- var e = KB();
+ var e = qB();
(0, R.useEffect)(() => {
e(Wje());
}, [e]), tMe(), nMe();
}
function iMe(e, t, n, r, i, a) {
- var o = Q((n) => hje(n, e, t)), s = Q($Ae), c = Q(FK), l = Q(NK), u = Q(PK), d = Q(Gje)?.active, f = YU();
+ var o = Q((n) => hje(n, e, t)), s = Q($Ae), c = Q(IK), l = Q(PK), u = Q(FK), d = Q(Gje)?.active, f = XU();
(0, R.useEffect)(() => {
if (!d && l != null && c != null) {
- var e = tQ({
+ var e = nQ({
active: a,
coordinate: n,
dataKey: o,
@@ -62777,7 +62762,7 @@ function iMe(e, t, n, r, i, a) {
sourceViewBox: f,
graphicalItemId: s
});
- n$.emit(r$, l, e, c);
+ r$.emit(i$, l, e, c);
}
}, [
d,
@@ -62795,7 +62780,7 @@ function iMe(e, t, n, r, i, a) {
}
//#endregion
//#region node_modules/recharts/es6/component/Tooltip.js
-function d$(e, t) {
+function f$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62805,12 +62790,12 @@ function d$(e, t) {
}
return n;
}
-function f$(e) {
+function p$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? d$(Object(n), !0).forEach(function(t) {
+ t % 2 ? f$(Object(n), !0).forEach(function(t) {
aMe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : d$(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -62844,7 +62829,7 @@ function cMe(e) {
function lMe(e, t) {
return /*#__PURE__*/ R.isValidElement(e) ? /*#__PURE__*/ R.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ R.createElement(e, t) : /*#__PURE__*/ R.createElement(mTe, t);
}
-var p$ = [], uMe = {
+var m$ = [], uMe = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -62871,7 +62856,7 @@ var p$ = [], uMe = {
wrapperStyle: {}
};
function dMe(e) {
- var t = yB(e, uMe), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = KB(), S = typeof v == "number" ? String(v) : v;
+ var t = bB(e, uMe), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = qB(), S = typeof v == "number" ? String(v) : v;
(0, R.useEffect)(() => {
x(TAe({
shared: g,
@@ -62888,13 +62873,13 @@ function dMe(e) {
n,
S
]);
- var C = YU(), w = pG(), T = bAe(g), { activeIndex: E, isActive: D } = Q((e) => vje(e, T, _, S)) ?? {}, O = Q((e) => _je(e, T, _, S)), k = Q((e) => qQ(e, T, _, S)), A = Q((e) => gje(e, T, _, S)), j = O, M = Vje(), N = n ?? D ?? !1, [ee, te] = rV([j, N]), P = T === "axis" ? k : void 0;
+ var C = XU(), w = mG(), T = bAe(g), { activeIndex: E, isActive: D } = Q((e) => vje(e, T, _, S)) ?? {}, O = Q((e) => _je(e, T, _, S)), k = Q((e) => JQ(e, T, _, S)), A = Q((e) => gje(e, T, _, S)), j = O, M = Vje(), N = n ?? D ?? !1, [ee, te] = iV([j, N]), P = T === "axis" ? k : void 0;
iMe(T, _, A, P, E, N);
var F = y ?? M;
if (F == null || C == null || T == null) return null;
- var ne = j ?? p$;
- N || (ne = p$), s && ne.length && (ne = WB(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, cMe));
- var re = ne.length > 0, ie = f$(f$({}, t), {}, {
+ var ne = j ?? m$;
+ N || (ne = m$), s && ne.length && (ne = GB(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, cMe));
+ var re = ne.length > 0, ie = p$(p$({}, t), {}, {
payload: ne,
label: P,
active: N,
@@ -62929,8 +62914,8 @@ function dMe(e) {
}
//#endregion
//#region node_modules/recharts/es6/component/Cell.js
-var m$ = (e) => null;
-m$.displayName = "Cell";
+var h$ = (e) => null;
+h$.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
function fMe(e, t, n) {
@@ -62980,7 +62965,7 @@ var hMe = class {
};
//#endregion
//#region node_modules/recharts/es6/util/DOMUtils.js
-function h$(e, t) {
+function g$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62993,9 +62978,9 @@ function h$(e, t) {
function gMe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? h$(Object(n), !0).forEach(function(t) {
+ t % 2 ? g$(Object(n), !0).forEach(function(t) {
_Me(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h$(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -63023,10 +63008,10 @@ function yMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var g$ = gMe({}, {
+var _$ = gMe({}, {
cacheSize: 2e3,
enableCache: !0
-}), _$ = new hMe(g$.cacheSize), bMe = {
+}), v$ = new hMe(_$.cacheSize), bMe = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -63034,14 +63019,14 @@ var g$ = gMe({}, {
margin: 0,
border: "none",
whiteSpace: "pre"
-}, v$ = "recharts_measurement_span";
+}, y$ = "recharts_measurement_span";
function xMe(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
-var y$ = (e, t) => {
+var b$ = (e, t) => {
try {
- var n = document.getElementById(v$);
- n || (n = document.createElement("span"), n.setAttribute("id", v$), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, bMe, t), n.textContent = `${e}`;
+ var n = document.getElementById(y$);
+ n || (n = document.createElement("span"), n.setAttribute("id", y$), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, bMe, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -63053,18 +63038,18 @@ var y$ = (e, t) => {
height: 0
};
}
-}, b$ = function(e) {
+}, x$ = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
- if (e == null || lG.isSsr) return {
+ if (e == null || uG.isSsr) return {
width: 0,
height: 0
};
- if (!g$.enableCache) return y$(e, t);
- var n = xMe(e, t), r = _$.get(n);
+ if (!_$.enableCache) return b$(e, t);
+ var n = xMe(e, t), r = v$.get(n);
if (r) return r;
- var i = y$(e, t);
- return _$.set(n, i), i;
-}, x$;
+ var i = b$(e, t);
+ return v$.set(n, i), i;
+}, S$;
function SMe(e, t, n) {
return (t = CMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
@@ -63087,7 +63072,7 @@ function wMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var S$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, C$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, TMe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, EMe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, DMe = {
+var C$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, w$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, TMe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, EMe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, DMe = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -63107,17 +63092,17 @@ var S$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, C$ = /(
function kMe(e) {
return OMe.includes(e);
}
-var w$ = "NaN";
+var T$ = "NaN";
function AMe(e, t) {
return e * DMe[t];
}
-var T$ = class e {
+var E$ = class e {
static parse(t) {
var [, n, r] = EMe.exec(t) ?? [];
return n == null ? e.NaN : new e(parseFloat(n), r ?? "");
}
constructor(e, t) {
- this.num = e, this.unit = t, this.num = e, this.unit = t, Qz(e) && (this.unit = ""), t !== "" && !TMe.test(t) && (this.num = NaN, this.unit = ""), kMe(t) && (this.num = AMe(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, $z(e) && (this.unit = ""), t !== "" && !TMe.test(t) && (this.num = NaN, this.unit = ""), kMe(t) && (this.num = AMe(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -63135,46 +63120,46 @@ var T$ = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return Qz(this.num);
+ return $z(this.num);
}
};
-x$ = T$, SMe(T$, "NaN", new x$(NaN, ""));
-function E$(e) {
- if (e == null || e.includes(w$)) return w$;
+S$ = E$, SMe(E$, "NaN", new S$(NaN, ""));
+function D$(e) {
+ if (e == null || e.includes(T$)) return T$;
for (var t = e; t.includes("*") || t.includes("/");) {
- var [, n, r, i] = S$.exec(t) ?? [], a = T$.parse(n ?? ""), o = T$.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);
- if (s.isNaN()) return w$;
- t = t.replace(S$, s.toString());
+ var [, n, r, i] = C$.exec(t) ?? [], a = E$.parse(n ?? ""), o = E$.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);
+ if (s.isNaN()) return T$;
+ t = t.replace(C$, s.toString());
}
for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {
- var [, c, l, u] = C$.exec(t) ?? [], d = T$.parse(c ?? ""), f = T$.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);
- if (p.isNaN()) return w$;
- t = t.replace(C$, p.toString());
+ var [, c, l, u] = w$.exec(t) ?? [], d = E$.parse(c ?? ""), f = E$.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);
+ if (p.isNaN()) return T$;
+ t = t.replace(w$, p.toString());
}
return t;
}
-var D$ = /\(([^()]*)\)/;
+var O$ = /\(([^()]*)\)/;
function jMe(e) {
- for (var t = e, n; (n = D$.exec(t)) != null;) {
+ for (var t = e, n; (n = O$.exec(t)) != null;) {
var [, r] = n;
- t = t.replace(D$, E$(r));
+ t = t.replace(O$, D$(r));
}
return t;
}
function MMe(e) {
var t = e.replace(/\s+/g, "");
- return t = jMe(t), t = E$(t), t;
+ return t = jMe(t), t = D$(t), t;
}
function NMe(e) {
try {
return MMe(e);
} catch {
- return w$;
+ return T$;
}
}
-function O$(e) {
+function k$(e) {
var t = NMe(e.slice(5, -1));
- return t === w$ ? "" : t;
+ return t === T$ ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
@@ -63194,16 +63179,16 @@ var PMe = [
"className",
"breakAll"
];
-function k$() {
- return k$ = Object.assign ? Object.assign.bind() : function(e) {
+function A$() {
+ return A$ = 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;
- }, k$.apply(null, arguments);
+ }, A$.apply(null, arguments);
}
-function A$(e, t) {
+function j$(e, t) {
if (e == null) return {};
var n, r, i = IMe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -63221,28 +63206,28 @@ function IMe(e, t) {
}
return n;
}
-var j$ = /[ \f\n\r\t\v\u2028\u2029]+/, M$ = (e) => {
+var M$ = /[ \f\n\r\t\v\u2028\u2029]+/, N$ = (e) => {
var { children: t, breakAll: n, style: r } = e;
try {
var i = [];
- return oB(t) || (i = n ? t.toString().split("") : t.toString().split(j$)), {
+ return sB(t) || (i = n ? t.toString().split("") : t.toString().split(M$)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
- width: b$(e, r).width
+ width: x$(e, r).width
})),
- spaceWidth: n ? 0 : b$("\xA0", r).width
+ spaceWidth: n ? 0 : x$("\xA0", r).width
};
} catch {
return null;
}
};
-function N$(e) {
+function P$(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
function LMe(e) {
- return oB(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+ return sB(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
-var P$ = (e, t, n, r) => e.reduce((e, i) => {
+var F$ = (e, t, n, r) => e.reduce((e, i) => {
var { word: a, width: o } = i, s = e[e.length - 1];
if (s && o != null && (t == null || r || s.width + o + n < Number(t))) s.words.push(a), s.width += o + n;
else {
@@ -63253,20 +63238,20 @@ var P$ = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), F$ = (e) => e.reduce((e, t) => e.width > t.width ? e : t), RMe = "…", I$ = (e, t, n, r, i, a, o, s) => {
- var c = M$({
+}, []), I$ = (e) => e.reduce((e, t) => e.width > t.width ? e : t), RMe = "…", L$ = (e, t, n, r, i, a, o, s) => {
+ var c = N$({
breakAll: n,
style: r,
children: e.slice(0, t) + RMe
});
if (!c) return [!1, []];
- var l = P$(c.wordsWithComputedWidth, a, o, s);
- return [l.length > i || F$(l).width > Number(a), l];
+ var l = F$(c.wordsWithComputedWidth, a, o, s);
+ return [l.length > i || I$(l).width > Number(a), l];
}, zMe = (e, t, n, r, i) => {
- var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = P$(t, r, n, i);
- if (!l || i || !(d.length > a || F$(d).width > Number(r))) return d;
+ var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = F$(t, r, n, i);
+ if (!l || i || !(d.length > a || I$(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
- var g = Math.floor((f + p) / 2), [_, v] = I$(u, g - 1, c, s, a, r, n, i), [y] = I$(u, g, c, s, a, r, n, i);
+ var g = Math.floor((f + p) / 2), [_, v] = L$(u, g - 1, c, s, a, r, n, i), [y] = L$(u, g, c, s, a, r, n, i);
if (!_ && !y && (f = g + 1), _ && y && (p = g - 1), !_ && y) {
h = v;
break;
@@ -63274,13 +63259,13 @@ var P$ = (e, t, n, r) => e.reduce((e, i) => {
m++;
}
return h || d;
-}, L$ = (e) => [{
- words: oB(e) ? [] : e.toString().split(j$),
+}, R$ = (e) => [{
+ words: sB(e) ? [] : e.toString().split(M$),
width: void 0
}], BMe = (e) => {
var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;
- if ((t || n) && !lG.isSsr) {
- var s, c, l = M$({
+ if ((t || n) && !uG.isSsr) {
+ var s, c, l = N$({
breakAll: a,
children: r,
style: i
@@ -63288,7 +63273,7 @@ var P$ = (e, t, n, r) => e.reduce((e, i) => {
if (l) {
var { wordsWithComputedWidth: u, spaceWidth: d } = l;
s = u, c = d;
- } else return L$(r);
+ } else return R$(r);
return zMe({
breakAll: a,
children: r,
@@ -63296,20 +63281,20 @@ var P$ = (e, t, n, r) => e.reduce((e, i) => {
style: i
}, s, c, t, !!n);
}
- return L$(r);
-}, R$ = "#808080", VMe = {
+ return R$(r);
+}, z$ = "#808080", VMe = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
- fill: R$,
+ fill: z$,
lineHeight: "1em",
scaleToFit: !1,
textAnchor: "start",
verticalAnchor: "end",
x: 0,
y: 0
-}, z$ = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var n = yB(e, VMe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = A$(n, PMe), f = (0, R.useMemo)(() => BMe({
+}, B$ = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var n = bB(e, VMe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = j$(n, PMe), f = (0, R.useMemo)(() => BMe({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -63323,32 +63308,32 @@ var P$ = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = A$(d, FMe);
- if (!eB(r) || !eB(i) || f.length === 0) return null;
+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = j$(d, FMe);
+ if (!tB(r) || !tB(i) || f.length === 0) return null;
var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);
- if (!cU(y) || !cU(b)) return null;
+ if (!lU(y) || !lU(b)) return null;
var x;
switch (u) {
case "start":
- x = O$(`calc(${o})`);
+ x = k$(`calc(${o})`);
break;
case "middle":
- x = O$(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
+ x = k$(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
break;
- default: x = O$(`calc(${f.length - 1} * -${a})`);
+ default: x = k$(`calc(${f.length - 1} * -${a})`);
}
var S = [], C = f[0];
if (c && C != null) {
var w = C.width, { width: T } = d;
S.push(`scale(${Z(T) && Z(w) ? T / w : 1})`);
}
- return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ R.createElement("text", k$({}, GR(v), {
+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ R.createElement("text", A$({}, KR(v), {
ref: t,
x: y,
y: b,
className: Sh("recharts-text", g),
textAnchor: l,
- fill: s.includes("url") ? R$ : s
+ fill: s.includes("url") ? z$ : s
}), f.map((e, t) => {
var n = e.words.join(_ ? "" : " ");
return /*#__PURE__*/ R.createElement("tspan", {
@@ -63358,10 +63343,10 @@ var P$ = (e, t, n, r) => e.reduce((e, i) => {
}, n);
}));
});
-z$.displayName = "Text";
+B$.displayName = "Text";
//#endregion
//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js
-function B$(e, t) {
+function V$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -63371,12 +63356,12 @@ function B$(e, t) {
}
return n;
}
-function V$(e) {
+function H$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? B$(Object(n), !0).forEach(function(t) {
+ t % 2 ? V$(Object(n), !0).forEach(function(t) {
HMe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B$(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -63405,7 +63390,7 @@ function WMe(e, t) {
return (t === "string" ? String : Number)(e);
}
var GMe = (e) => {
- var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = JU(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;
+ var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = YU(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;
if (n === "top") {
var T = {
x: d + l / 2,
@@ -63446,59 +63431,59 @@ var GMe = (e) => {
width: m,
height: c
} : {};
- return n === "insideLeft" ? V$({
+ return n === "insideLeft" ? H$({
x: p + x,
y: s + c / 2,
horizontalAnchor: C,
verticalAnchor: "middle"
- }, k) : n === "insideRight" ? V$({
+ }, k) : n === "insideRight" ? H$({
x: p + m - x,
y: s + c / 2,
horizontalAnchor: S,
verticalAnchor: "middle"
- }, k) : n === "insideTop" ? V$({
+ }, k) : n === "insideTop" ? H$({
x: d + l / 2,
y: s + _,
horizontalAnchor: "middle",
verticalAnchor: y
- }, k) : n === "insideBottom" ? V$({
+ }, k) : n === "insideBottom" ? H$({
x: f + u / 2,
y: s + c - _,
horizontalAnchor: "middle",
verticalAnchor: v
- }, k) : n === "insideTopLeft" ? V$({
+ }, k) : n === "insideTopLeft" ? H$({
x: d + x,
y: s + _,
horizontalAnchor: C,
verticalAnchor: y
- }, k) : n === "insideTopRight" ? V$({
+ }, k) : n === "insideTopRight" ? H$({
x: d + l - x,
y: s + _,
horizontalAnchor: S,
verticalAnchor: y
- }, k) : n === "insideBottomLeft" ? V$({
+ }, k) : n === "insideBottomLeft" ? H$({
x: f + x,
y: s + c - _,
horizontalAnchor: C,
verticalAnchor: v
- }, k) : n === "insideBottomRight" ? V$({
+ }, k) : n === "insideBottomRight" ? H$({
x: f + u - x,
y: s + c - _,
horizontalAnchor: S,
verticalAnchor: v
- }, k) : n && typeof n == "object" && (Z(n.x) || $z(n.x)) && (Z(n.y) || $z(n.y)) ? V$({
- x: o + nB(n.x, m),
- y: s + nB(n.y, c),
+ }, k) : n && typeof n == "object" && (Z(n.x) || eB(n.x)) && (Z(n.y) || eB(n.y)) ? H$({
+ x: o + rB(n.x, m),
+ y: s + rB(n.y, c),
horizontalAnchor: "end",
verticalAnchor: "end"
- }, k) : V$({
+ }, k) : H$({
x: h,
y: s + c / 2,
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, k);
}, KMe = ["labelRef"], qMe = ["content"];
-function H$(e, t) {
+function U$(e, t) {
if (e == null) return {};
var n, r, i = JMe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -63516,7 +63501,7 @@ function JMe(e, t) {
}
return n;
}
-function U$(e, t) {
+function W$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -63526,12 +63511,12 @@ function U$(e, t) {
}
return n;
}
-function W$(e) {
+function G$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? U$(Object(n), !0).forEach(function(t) {
+ t % 2 ? W$(Object(n), !0).forEach(function(t) {
YMe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U$(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -63559,16 +63544,16 @@ function ZMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function G$() {
- return G$ = Object.assign ? Object.assign.bind() : function(e) {
+function K$() {
+ return K$ = 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;
- }, G$.apply(null, arguments);
+ }, K$.apply(null, arguments);
}
-var K$ = /*#__PURE__*/ (0, R.createContext)(null), q$ = (e) => {
+var q$ = /*#__PURE__*/ (0, R.createContext)(null), J$ = (e) => {
var { x: t, y: n, upperWidth: r, lowerWidth: i, width: a, height: o, children: s } = e, c = (0, R.useMemo)(() => ({
x: t,
y: n,
@@ -63584,11 +63569,11 @@ var K$ = /*#__PURE__*/ (0, R.createContext)(null), q$ = (e) => {
a,
o
]);
- return /*#__PURE__*/ R.createElement(K$.Provider, { value: c }, s);
-}, J$ = () => {
- var e = (0, R.useContext)(K$), t = YU();
- return e || (t ? JU(t) : void 0);
-}, Y$ = /*#__PURE__*/ (0, R.createContext)(null), QMe = (e) => {
+ return /*#__PURE__*/ R.createElement(q$.Provider, { value: c }, s);
+}, Y$ = () => {
+ var e = (0, R.useContext)(q$), t = XU();
+ return e || (t ? YU(t) : void 0);
+}, X$ = /*#__PURE__*/ (0, R.createContext)(null), QMe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, clockWise: s, children: c } = e, l = (0, R.useMemo)(() => ({
cx: t,
cy: n,
@@ -63606,14 +63591,14 @@ var K$ = /*#__PURE__*/ (0, R.createContext)(null), q$ = (e) => {
o,
s
]);
- return /*#__PURE__*/ R.createElement(Y$.Provider, { value: l }, c);
-}, X$ = () => {
- var e = (0, R.useContext)(Y$), t = Q($K);
+ return /*#__PURE__*/ R.createElement(X$.Provider, { value: l }, c);
+}, Z$ = () => {
+ var e = (0, R.useContext)(X$), t = Q(eq);
return e || t;
}, $Me = (e) => {
- var { value: t, formatter: n } = e, r = oB(e.children) ? t : e.children;
+ var { value: t, formatter: n } = e, r = sB(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, Z$ = (e) => e != null && typeof e == "function", eNe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 360), tNe = (e, t, n, r, i) => {
+}, Q$ = (e) => e != null && typeof e == "function", eNe = (e, t) => Qz(t - e) * Math.min(Math.abs(t - e), 360), tNe = (e, t, n, r, i) => {
var { offset: a, className: o } = e, { cx: s, cy: c, innerRadius: l, outerRadius: u, startAngle: d, endAngle: f, clockWise: p } = i, m = (l + u) / 2, h = eNe(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
@@ -63628,10 +63613,10 @@ var K$ = /*#__PURE__*/ (0, R.createContext)(null), q$ = (e) => {
default: throw Error(`Unsupported position ${t}`);
}
v = h <= 0 ? v : !v;
- var y = tK(s, c, m, _), b = tK(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
+ var y = nK(s, c, m, _), b = nK(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${b.x},${b.y}`, S = oB(e.id) ? tB("recharts-radial-line-") : e.id;
- return /*#__PURE__*/ R.createElement("text", G$({}, r, {
+ ${b.x},${b.y}`, S = sB(e.id) ? nB("recharts-radial-line-") : e.id;
+ return /*#__PURE__*/ R.createElement("text", K$({}, r, {
dominantBaseline: "central",
className: Sh("recharts-radial-bar-label", o)
}), /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement("path", {
@@ -63641,7 +63626,7 @@ var K$ = /*#__PURE__*/ (0, R.createContext)(null), q$ = (e) => {
}, nNe = (e, t, n) => {
var { cx: r, cy: i, innerRadius: a, outerRadius: o, startAngle: s, endAngle: c } = e, l = (s + c) / 2;
if (n === "outside") {
- var { x: u, y: d } = tK(r, i, o + t, l);
+ var { x: u, y: d } = nK(r, i, o + t, l);
return {
x: u,
y: d,
@@ -63667,22 +63652,22 @@ var K$ = /*#__PURE__*/ (0, R.createContext)(null), q$ = (e) => {
textAnchor: "middle",
verticalAnchor: "end"
};
- var { x: f, y: p } = tK(r, i, (a + o) / 2, l);
+ var { x: f, y: p } = nK(r, i, (a + o) / 2, l);
return {
x: f,
y: p,
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, Q$ = (e) => e != null && "cx" in e && Z(e.cx), rNe = {
+}, $$ = (e) => e != null && "cx" in e && Z(e.cx), rNe = {
angle: 0,
offset: 5,
- zIndex: IK.label,
+ zIndex: LK.label,
position: "middle",
textBreakAll: !1
};
function iNe(e) {
- if (!Q$(e)) return e;
+ if (!$$(e)) return e;
var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;
return {
x: t - r,
@@ -63693,20 +63678,20 @@ function iNe(e) {
height: i
};
}
-function $$(e) {
- var t = yB(e, rNe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = X$(), f = J$(), p = n == null ? i === "center" ? f : d ?? f : Q$(n) ? n : JU(n), m, h, g = iNe(p);
- if (!p || oB(a) && oB(o) && !/*#__PURE__*/ (0, R.isValidElement)(s) && typeof s != "function") return null;
- var _ = W$(W$({}, t), {}, { viewBox: p });
+function e1(e) {
+ var t = bB(e, rNe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = Z$(), f = Y$(), p = n == null ? i === "center" ? f : d ?? f : $$(n) ? n : YU(n), m, h, g = iNe(p);
+ if (!p || sB(a) && sB(o) && !/*#__PURE__*/ (0, R.isValidElement)(s) && typeof s != "function") return null;
+ var _ = G$(G$({}, t), {}, { viewBox: p });
if (/*#__PURE__*/ (0, R.isValidElement)(s)) {
- var { labelRef: v } = _, y = H$(_, KMe);
+ var { labelRef: v } = _, y = U$(_, KMe);
return /*#__PURE__*/ (0, R.cloneElement)(s, y);
}
if (typeof s == "function") {
- var { content: b } = _, x = H$(_, qMe);
+ var { content: b } = _, x = U$(_, qMe);
if (m = /*#__PURE__*/ (0, R.createElement)(s, x), /*#__PURE__*/ (0, R.isValidElement)(m)) return m;
} else m = $Me(t);
- var S = GR(t);
- if (Q$(p)) {
+ var S = KR(t);
+ if ($$(p)) {
if (i === "insideStart" || i === "insideEnd" || i === "end") return tNe(t, i, m, S, p);
h = nNe(p, t.offset, t.position);
} else {
@@ -63715,49 +63700,49 @@ function $$(e) {
viewBox: g,
position: i,
offset: t.offset,
- parentViewBox: Q$(r) ? void 0 : r,
+ parentViewBox: $$(r) ? void 0 : r,
clamp: !0
});
- h = W$(W$({
+ h = G$(G$({
x: C.x,
y: C.y,
textAnchor: C.horizontalAnchor,
verticalAnchor: C.verticalAnchor
}, C.width === void 0 ? {} : { width: C.width }), C.height === void 0 ? {} : { height: C.height });
}
- return /*#__PURE__*/ R.createElement(ZQ, { zIndex: t.zIndex }, /*#__PURE__*/ R.createElement(z$, G$({
+ return /*#__PURE__*/ R.createElement(QQ, { zIndex: t.zIndex }, /*#__PURE__*/ R.createElement(B$, K$({
ref: u,
className: Sh("recharts-label", c)
}, S, h, {
- textAnchor: N$(S.textAnchor) ? S.textAnchor : h.textAnchor,
+ textAnchor: P$(S.textAnchor) ? S.textAnchor : h.textAnchor,
breakAll: l
}), m));
}
-$$.displayName = "Label";
-var e1 = (e, t, n) => {
+e1.displayName = "Label";
+var t1 = (e, t, n) => {
if (!e) return null;
var r = {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ R.createElement($$, G$({ key: "label-implicit" }, r)) : eB(e) ? /*#__PURE__*/ R.createElement($$, G$({
+ return e === !0 ? /*#__PURE__*/ R.createElement(e1, K$({ key: "label-implicit" }, r)) : tB(e) ? /*#__PURE__*/ R.createElement(e1, K$({
key: "label-implicit",
value: e
- }, r)) : /*#__PURE__*/ (0, R.isValidElement)(e) ? e.type === $$ ? /*#__PURE__*/ (0, R.cloneElement)(e, W$({ key: "label-implicit" }, r)) : /*#__PURE__*/ R.createElement($$, G$({
+ }, r)) : /*#__PURE__*/ (0, R.isValidElement)(e) ? e.type === e1 ? /*#__PURE__*/ (0, R.cloneElement)(e, G$({ key: "label-implicit" }, r)) : /*#__PURE__*/ R.createElement(e1, K$({
key: "label-implicit",
content: e
- }, r)) : Z$(e) ? /*#__PURE__*/ R.createElement($$, G$({
+ }, r)) : Q$(e) ? /*#__PURE__*/ R.createElement(e1, K$({
key: "label-implicit",
content: e
- }, r)) : e && typeof e == "object" ? /*#__PURE__*/ R.createElement($$, G$({}, e, { key: "label-implicit" }, r)) : null;
+ }, r)) : e && typeof e == "object" ? /*#__PURE__*/ R.createElement(e1, K$({}, e, { key: "label-implicit" }, r)) : null;
};
-function t1(e) {
+function n1(e) {
var { label: t, labelRef: n } = e;
- return e1(t, J$(), n) || null;
+ return t1(t, Y$(), n) || null;
}
function aNe(e) {
var { label: t } = e;
- return e1(t, X$()) || null;
+ return t1(t, Z$()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
@@ -63768,16 +63753,16 @@ var oNe = ["valueAccessor"], sNe = [
"textBreakAll",
"zIndex"
];
-function n1() {
- return n1 = Object.assign ? Object.assign.bind() : function(e) {
+function r1() {
+ return r1 = 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;
- }, n1.apply(null, arguments);
+ }, r1.apply(null, arguments);
}
-function r1(e, t) {
+function i1(e, t) {
if (e == null) return {};
var n, r, i = cNe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -63798,18 +63783,18 @@ function cNe(e, t) {
var lNe = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
if (LMe(t)) return t;
-}, i1 = /*#__PURE__*/ (0, R.createContext)(void 0), a1 = i1.Provider, o1 = /*#__PURE__*/ (0, R.createContext)(void 0), uNe = o1.Provider;
+}, a1 = /*#__PURE__*/ (0, R.createContext)(void 0), o1 = a1.Provider, s1 = /*#__PURE__*/ (0, R.createContext)(void 0), uNe = s1.Provider;
function dNe() {
- return (0, R.useContext)(i1);
+ return (0, R.useContext)(a1);
}
function fNe() {
- return (0, R.useContext)(o1);
+ return (0, R.useContext)(s1);
}
-function s1(e) {
- var { valueAccessor: t = lNe } = e, n = r1(e, oNe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = r1(n, sNe), l = dNe(), u = fNe(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ R.createElement(ZQ, { zIndex: s ?? IK.label }, /*#__PURE__*/ R.createElement(YR, { className: "recharts-label-list" }, d.map((e, i) => {
- var s = oB(r) ? t(e, i) : fU(e.payload, r), l = oB(a) ? {} : { id: `${a}-${i}` };
- return /*#__PURE__*/ R.createElement($$, n1({ key: `label-${i}` }, GR(e), c, l, {
+function c1(e) {
+ var { valueAccessor: t = lNe } = e, n = i1(e, oNe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = i1(n, sNe), l = dNe(), u = fNe(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ R.createElement(QQ, { zIndex: s ?? LK.label }, /*#__PURE__*/ R.createElement(XR, { className: "recharts-label-list" }, d.map((e, i) => {
+ var s = sB(r) ? t(e, i) : pU(e.payload, r), l = sB(a) ? {} : { id: `${a}-${i}` };
+ return /*#__PURE__*/ R.createElement(e1, r1({ key: `label-${i}` }, KR(e), c, l, {
fill: n.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -63820,13 +63805,13 @@ function s1(e) {
}));
})));
}
-s1.displayName = "LabelList";
-function c1(e) {
+c1.displayName = "LabelList";
+function l1(e) {
var { label: t } = e;
- return t ? t === !0 ? /*#__PURE__*/ R.createElement(s1, { key: "labelList-implicit" }) : /*#__PURE__*/ R.isValidElement(t) || Z$(t) ? /*#__PURE__*/ R.createElement(s1, {
+ return t ? t === !0 ? /*#__PURE__*/ R.createElement(c1, { key: "labelList-implicit" }) : /*#__PURE__*/ R.isValidElement(t) || Q$(t) ? /*#__PURE__*/ R.createElement(c1, {
key: "labelList-implicit",
content: t
- }) : typeof t == "object" ? /*#__PURE__*/ R.createElement(s1, n1({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
+ }) : typeof t == "object" ? /*#__PURE__*/ R.createElement(c1, r1({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
@@ -63836,14 +63821,14 @@ var pNe = [
"baseLinePoints",
"connectNulls"
], mNe;
-function l1() {
- return l1 = Object.assign ? Object.assign.bind() : function(e) {
+function u1() {
+ return u1 = 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;
- }, l1.apply(null, arguments);
+ }, u1.apply(null, arguments);
}
function hNe(e, t) {
if (e == null) return {};
@@ -63866,20 +63851,20 @@ function gNe(e, t) {
function _Ne(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var u1 = (e) => e != null && e.x === +e.x && e.y === +e.y, vNe = function() {
+var d1 = (e) => e != null && e.x === +e.x && e.y === +e.y, vNe = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
- u1(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
+ d1(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
});
var n = e[0], r = t[t.length - 1];
- u1(n) && r && r.push(n);
+ d1(n) && r && r.push(n);
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
-}, d1 = (e, t) => {
+}, f1 = (e, t) => {
var n = vNe(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => Xz(mNe ||= _Ne([
+ var r = n.map((e) => e.reduce((e, t, n) => Zz(mNe ||= _Ne([
"",
"",
"",
@@ -63888,28 +63873,28 @@ var u1 = (e) => e != null && e.x === +e.x && e.y === +e.y, vNe = function() {
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
}, yNe = (e, t, n) => {
- var r = d1(e, n);
- return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${d1(Array.from(t).reverse(), n).slice(1)}`;
-}, f1 = (e) => {
+ var r = f1(e, n);
+ return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${f1(Array.from(t).reverse(), n).slice(1)}`;
+}, p1 = (e) => {
var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = hNe(e, pNe);
if (!t || !t.length) return null;
var o = Sh("recharts-polygon", n);
if (r && r.length) {
var s = a.stroke && a.stroke !== "none", c = yNe(t, r, i);
- return /*#__PURE__*/ R.createElement("g", { className: o }, /*#__PURE__*/ R.createElement("path", l1({}, GR(a), {
+ return /*#__PURE__*/ R.createElement("g", { className: o }, /*#__PURE__*/ R.createElement("path", u1({}, KR(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ R.createElement("path", l1({}, GR(a), {
+ })), s ? /*#__PURE__*/ R.createElement("path", u1({}, KR(a), {
fill: "none",
- d: d1(t, i)
- })) : null, s ? /*#__PURE__*/ R.createElement("path", l1({}, GR(a), {
+ d: f1(t, i)
+ })) : null, s ? /*#__PURE__*/ R.createElement("path", u1({}, KR(a), {
fill: "none",
- d: d1(r, i)
+ d: f1(r, i)
})) : null);
}
- var l = d1(t, i);
- return /*#__PURE__*/ R.createElement("path", l1({}, GR(a), {
+ var l = f1(t, i);
+ return /*#__PURE__*/ R.createElement("path", u1({}, KR(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -63917,111 +63902,111 @@ var u1 = (e) => e != null && e.x === +e.x && e.y === +e.y, vNe = function() {
};
//#endregion
//#region node_modules/recharts/es6/shape/Dot.js
-function p1() {
- return p1 = Object.assign ? Object.assign.bind() : function(e) {
+function m1() {
+ return m1 = 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;
- }, p1.apply(null, arguments);
+ }, m1.apply(null, arguments);
}
-var m1 = (e) => {
+var h1 = (e) => {
var { cx: t, cy: n, r, className: i } = e, a = Sh("recharts-dot", i);
- return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ R.createElement("circle", p1({}, UR(e), gB(e), {
+ return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ R.createElement("circle", m1({}, WR(e), _B(e), {
className: a,
cx: t,
cy: n,
r
})) : null;
-}, h1 = (e) => e.graphicalItems.polarItems, g1 = $([
- h1,
- PX,
- $([eq, tq], LX)
-], zX), _1 = $([$([g1], UX), dK], WX), v1 = $([
- _1,
- PX,
- g1
-], KX);
+}, g1 = (e) => e.graphicalItems.polarItems, _1 = $([
+ g1,
+ FX,
+ $([tq, nq], RX)
+], BX), v1 = $([$([_1], WX), fK], GX), y1 = $([
+ v1,
+ FX,
+ _1
+], qX);
$([
- _1,
- PX,
- g1
+ v1,
+ FX,
+ _1
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
- value: fU(e, t.dataKey ?? n.dataKey),
+ value: pU(e, t.dataKey ?? n.dataKey),
errorDomain: []
}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({
value: e,
errorDomain: []
})) : e.map((e) => ({
- value: fU(e, t.dataKey),
+ value: pU(e, t.dataKey),
errorDomain: []
})));
-var y1 = () => void 0, b1 = $([
- PX,
- $U,
- _1,
+var b1 = () => void 0, x1 = $([
+ FX,
+ eW,
v1,
- AK,
- eq,
+ y1,
+ jK,
+ tq,
$([
- PX,
- iZ,
+ FX,
aZ,
- y1,
+ oZ,
+ b1,
$([
+ v1,
+ FX,
_1,
- PX,
- g1,
- oZ,
- eq
- ], cZ),
- y1,
- $U,
- eq
- ], gZ)
-], _Z), x1 = $([
- b1,
+ sZ,
+ tq
+ ], lZ),
+ b1,
+ eW,
+ tq
+ ], _Z)
+], vZ), S1 = $([
+ x1,
+ IX,
+ bZ
+], xZ), bNe = $([bZ, $([
FX,
- yZ
-], bZ), bNe = $([yZ, $([
- PX,
- b1,
x1,
- eq
-], SZ)], uq), S1 = (e, t, n) => {
+ S1,
+ tq
+], CZ)], dq), C1 = (e, t, n) => {
switch (t) {
- case "angleAxis": return GK(e, n);
- case "radiusAxis": return KK(e, n);
+ case "angleAxis": return KK(e, n);
+ case "radiusAxis": return qK(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, C1 = (e, t, n) => {
+}, w1 = (e, t, n) => {
switch (t) {
case "angleAxis": return $Ee(e, n);
case "radiusAxis": return eDe(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, w1 = $([$([
- S1,
- yZ,
+}, T1 = $([$([
+ C1,
+ bZ,
bNe,
- C1
-], xX)], lq), T1 = $([
- $U,
- v1,
- FX,
- eq
-], DZ), E1 = $([
- $U,
- S1,
- yZ,
- w1,
- x1,
+ w1
+], SX)], uq), E1 = $([
+ eW,
+ y1,
+ IX,
+ tq
+], OZ), D1 = $([
+ eW,
C1,
- RZ,
+ bZ,
T1,
- eq
-], BZ), xNe = $([E1], (e) => {
+ S1,
+ w1,
+ zZ,
+ E1,
+ tq
+], VZ), xNe = $([D1], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -64030,16 +64015,16 @@ var y1 = () => void 0, b1 = $([
}), Array.from(t.values());
}
}), SNe = $([
- $U,
- S1,
- w1,
+ eW,
C1,
- RZ,
T1,
- eq
-], HZ), CNe = $([(e, t) => E1(e, "angleAxis", t, !1)], (e) => {
+ w1,
+ zZ,
+ E1,
+ tq
+], UZ), CNe = $([(e, t) => D1(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), wNe = $([(e, t) => E1(e, "radiusAxis", t, !1)], (e) => {
+}), wNe = $([(e, t) => D1(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
}), TNe = [
"gridType",
@@ -64072,16 +64057,16 @@ function DNe(e, t) {
}
return n;
}
-function D1() {
- return D1 = Object.assign ? Object.assign.bind() : function(e) {
+function O1() {
+ return O1 = 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;
- }, D1.apply(null, arguments);
+ }, O1.apply(null, arguments);
}
-function O1(e, t) {
+function k1(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -64091,12 +64076,12 @@ function O1(e, t) {
}
return n;
}
-function k1(e) {
+function A1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? O1(Object(n), !0).forEach(function(t) {
+ t % 2 ? k1(Object(n), !0).forEach(function(t) {
ONe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O1(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -64127,39 +64112,39 @@ function ANe(e, t) {
var jNe = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
- var o = tK(t, n, e, r);
+ var o = nK(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
}, MNe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, polarAngles: a, radialLines: o } = e;
if (!a || !a.length || !o) return null;
- var s = k1({ stroke: "#ccc" }, UR(e));
+ var s = A1({ stroke: "#ccc" }, WR(e));
return /*#__PURE__*/ R.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
- var a = tK(t, n, r, e), o = tK(t, n, i, e);
- return /*#__PURE__*/ R.createElement("line", D1({ key: `line-${e}` }, s, {
+ var a = nK(t, n, r, e), o = nK(t, n, i, e);
+ return /*#__PURE__*/ R.createElement("line", O1({ key: `line-${e}` }, s, {
x1: a.x,
y1: a.y,
x2: o.x,
y2: o.y
}));
}));
-}, A1 = (e) => {
- var { cx: t, cy: n, radius: r } = e, i = k1({
+}, j1 = (e) => {
+ var { cx: t, cy: n, radius: r } = e, i = A1({
stroke: "#ccc",
fill: "none"
- }, UR(e));
- return /*#__PURE__*/ R.createElement("circle", D1({}, i, {
+ }, WR(e));
+ return /*#__PURE__*/ R.createElement("circle", O1({}, i, {
className: Sh("recharts-polar-grid-concentric-circle", e.className),
cx: t,
cy: n,
r
}));
-}, j1 = (e) => {
- var { radius: t } = e, n = k1({
+}, M1 = (e) => {
+ var { radius: t } = e, n = A1({
stroke: "#ccc",
fill: "none"
- }, UR(e));
- return /*#__PURE__*/ R.createElement("path", D1({}, n, {
+ }, WR(e));
+ return /*#__PURE__*/ R.createElement("path", O1({}, n, {
className: Sh("recharts-polar-grid-concentric-polygon", e.className),
d: jNe(t, e.cx, e.cy, e.polarAngles)
}));
@@ -64167,12 +64152,12 @@ var jNe = (e, t, n, r) => {
var { polarRadius: t, gridType: n } = e;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
- return /*#__PURE__*/ R.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ R.createElement(A1, D1({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ R.createElement(j1, D1({}, e, { radius: r })), t.map((t, r) => {
+ return /*#__PURE__*/ R.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ R.createElement(j1, O1({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ R.createElement(M1, O1({}, e, { radius: r })), t.map((t, r) => {
var i = r;
- return n === "circle" ? /*#__PURE__*/ R.createElement(A1, D1({ key: i }, e, {
+ return n === "circle" ? /*#__PURE__*/ R.createElement(j1, O1({ key: i }, e, {
fill: "none",
radius: t
- })) : /*#__PURE__*/ R.createElement(j1, D1({ key: i }, e, {
+ })) : /*#__PURE__*/ R.createElement(M1, O1({ key: i }, e, {
fill: "none",
radius: t
}));
@@ -64182,11 +64167,11 @@ var jNe = (e, t, n, r) => {
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
- zIndex: IK.grid
-}, M1 = (e) => {
- var t = yB(e, PNe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = ENe(t, TNe), m = Q($K), h = Q((e) => CNe(e, i)), g = Q((e) => wNe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+ zIndex: LK.grid
+}, N1 = (e) => {
+ var t = bB(e, PNe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = ENe(t, TNe), m = Q(eq), h = Q((e) => CNe(e, i)), g = Q((e) => wNe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
- var y = k1({
+ var y = A1({
cx: m?.cx ?? o ?? 0,
cy: m?.cy ?? s ?? 0,
innerRadius: m?.innerRadius ?? c ?? 0,
@@ -64195,13 +64180,13 @@ var jNe = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p), { outerRadius: b } = y;
- return b <= 0 ? null : /*#__PURE__*/ R.createElement(ZQ, { zIndex: y.zIndex }, /*#__PURE__*/ R.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ R.createElement(NNe, D1({
+ return b <= 0 ? null : /*#__PURE__*/ R.createElement(QQ, { zIndex: y.zIndex }, /*#__PURE__*/ R.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ R.createElement(NNe, O1({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ R.createElement(MNe, D1({
+ })), /*#__PURE__*/ R.createElement(MNe, O1({
gridType: n,
radialLines: r
}, y, {
@@ -64209,19 +64194,19 @@ var jNe = (e, t, n, r) => {
polarRadius: v
}))));
};
-M1.displayName = "PolarGrid";
+N1.displayName = "PolarGrid";
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toArray.mjs
-function N1(e) {
+function P1(e) {
return Array.isArray(e) ? e : Array.from(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function FNe(e, t = wB) {
+function FNe(e, t = TB) {
if (e == null) return;
- let n = N1(e);
+ let n = P1(e);
if (n.length === 0) return;
- let r = HB(t), i, a;
+ let r = UB(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);
@@ -64230,11 +64215,11 @@ function FNe(e, t = wB) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function INe(e, t = wB) {
+function INe(e, t = TB) {
if (e == null) return;
- let n = N1(e);
+ let n = P1(e);
if (n.length === 0) return;
- let r = HB(t), i, a;
+ let r = UB(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);
@@ -64243,7 +64228,7 @@ function INe(e, t = wB) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var P1 = NH({
+var F1 = PH({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -64251,22 +64236,22 @@ var P1 = NH({
},
reducers: {
addRadiusAxis(e, t) {
- e.radiusAxis[t.payload.id] = WW(t.payload);
+ e.radiusAxis[t.payload.id] = GW(t.payload);
},
removeRadiusAxis(e, t) {
delete e.radiusAxis[t.payload.id];
},
addAngleAxis(e, t) {
- e.angleAxis[t.payload.id] = WW(t.payload);
+ e.angleAxis[t.payload.id] = GW(t.payload);
},
removeAngleAxis(e, t) {
delete e.angleAxis[t.payload.id];
}
}
-}), { addRadiusAxis: LNe, removeRadiusAxis: RNe, addAngleAxis: zNe, removeAngleAxis: BNe } = P1.actions, VNe = P1.reducer;
+}), { addRadiusAxis: LNe, removeRadiusAxis: RNe, addAngleAxis: zNe, removeAngleAxis: BNe } = F1.actions, VNe = F1.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
-function F1(e) {
+function I1(e) {
return e && typeof e == "object" && "className" in e && typeof e.className == "string" ? e.className : "";
}
//#endregion
@@ -64282,16 +64267,16 @@ var HNe = ["type"], UNe = [
"stroke",
"tick"
];
-function I1() {
- return I1 = Object.assign ? Object.assign.bind() : function(e) {
+function L1() {
+ return L1 = 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;
- }, I1.apply(null, arguments);
+ }, L1.apply(null, arguments);
}
-function L1(e, t) {
+function R1(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -64301,12 +64286,12 @@ function L1(e, t) {
}
return n;
}
-function R1(e) {
+function z1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? L1(Object(n), !0).forEach(function(t) {
+ t % 2 ? R1(Object(n), !0).forEach(function(t) {
GNe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L1(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -64334,7 +64319,7 @@ function qNe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function z1(e, t) {
+function B1(e, t) {
if (e == null) return {};
var n, r, i = JNe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -64354,17 +64339,17 @@ function JNe(e, t) {
}
var YNe = "radiusAxis";
function XNe(e) {
- var t = KB(), n = rW(), r = (0, R.useMemo)(() => {
- var { type: t } = e, r = z1(e, HNe), i = BK(n, "radiusAxis", t);
- if (i != null) return R1(R1({}, r), {}, { type: i });
+ var t = qB(), n = iW(), r = (0, R.useMemo)(() => {
+ var { type: t } = e, r = B1(e, HNe), i = VK(n, "radiusAxis", t);
+ if (i != null) return z1(z1({}, r), {}, { type: i });
}, [e, n]);
- return (0, R.useEffect)(() => r == null ? lB : (t(LNe(r)), () => {
+ return (0, R.useEffect)(() => r == null ? uB : (t(LNe(r)), () => {
t(RNe(r));
}), [t, r]), null;
}
var ZNe = (e, t, n, r) => {
var { coordinate: i } = e;
- return tK(n, r, i, t);
+ return nK(n, r, i, t);
}, QNe = (e) => {
var t;
switch (e) {
@@ -64389,36 +64374,36 @@ var ZNe = (e, t, n, r) => {
clockWise: !1
};
}, ePe = (e, t) => {
- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = z1(e, UNe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = tK(n, r, s[0], i), l = tK(n, r, s[1], i), u = R1(R1(R1({}, UR(o)), {}, { fill: "none" }, UR(a)), {}, {
+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = B1(e, UNe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = nK(n, r, s[0], i), l = nK(n, r, s[1], i), u = z1(z1(z1({}, WR(o)), {}, { fill: "none" }, WR(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
- return /*#__PURE__*/ R.createElement("line", I1({ className: "recharts-polar-radius-axis-line" }, u));
-}, tPe = (e, t, n) => /*#__PURE__*/ R.isValidElement(e) ? /*#__PURE__*/ R.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ R.createElement(z$, I1({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), nPe = (e, t) => {
- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = z1(e, WNe), s = QNe(e.orientation), c = UR(o), l = WR(a), u = t.map((t, o) => {
- var u = ZNe(t, e.angle, e.cx, e.cy), d = R1(R1(R1(R1({
+ return /*#__PURE__*/ R.createElement("line", L1({ className: "recharts-polar-radius-axis-line" }, u));
+}, tPe = (e, t, n) => /*#__PURE__*/ R.isValidElement(e) ? /*#__PURE__*/ R.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ R.createElement(B$, L1({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), nPe = (e, t) => {
+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = B1(e, WNe), s = QNe(e.orientation), c = WR(o), l = GR(a), u = t.map((t, o) => {
+ var u = ZNe(t, e.angle, e.cx, e.cy), d = z1(z1(z1(z1({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ R.createElement(YR, I1({
- className: Sh("recharts-polar-radius-axis-tick", F1(a)),
+ return /*#__PURE__*/ R.createElement(XR, L1({
+ className: Sh("recharts-polar-radius-axis-tick", I1(a)),
key: `tick-${t.coordinate}`
- }, _B(e, t, o)), tPe(a, d, r ? r(t.value, o) : t.value));
+ }, vB(e, t, o)), tPe(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ R.createElement(YR, { className: "recharts-polar-radius-axis-ticks" }, u);
+ return /*#__PURE__*/ R.createElement(XR, { className: "recharts-polar-radius-axis-ticks" }, u);
}, rPe = (e) => {
- var { radiusAxisId: t } = e, n = Q($K), r = Q((e) => w1(e, "radiusAxis", t)), i = Q((e) => E1(e, "radiusAxis", t, !1));
+ var { radiusAxisId: t } = e, n = Q(eq), r = Q((e) => T1(e, "radiusAxis", t)), i = Q((e) => D1(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
- var a = R1(R1({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
- return /*#__PURE__*/ R.createElement(ZQ, { zIndex: a.zIndex }, /*#__PURE__*/ R.createElement(YR, { className: Sh("recharts-polar-radius-axis", YNe, a.className) }, s && ePe(a, i), o && nPe(a, i), /*#__PURE__*/ R.createElement(QMe, $Ne(a.angle, a.cx, a.cy, i), /*#__PURE__*/ R.createElement(aNe, { label: a.label }), a.children)));
+ var a = z1(z1({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
+ return /*#__PURE__*/ R.createElement(QQ, { zIndex: a.zIndex }, /*#__PURE__*/ R.createElement(XR, { className: Sh("recharts-polar-radius-axis", YNe, a.className) }, s && ePe(a, i), o && nPe(a, i), /*#__PURE__*/ R.createElement(QMe, $Ne(a.angle, a.cx, a.cy, i), /*#__PURE__*/ R.createElement(aNe, { label: a.label }), a.children)));
};
-function B1(e) {
- var t = yB(e, RK);
+function V1(e) {
+ var t = bB(e, zK);
return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(XNe, {
domain: t.domain,
id: t.radiusAxisId,
@@ -64438,20 +64423,20 @@ function B1(e) {
tick: t.tick
}), /*#__PURE__*/ R.createElement(rPe, t));
}
-B1.displayName = "PolarRadiusAxis";
+V1.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
var iPe = ["children", "type"], aPe = ["ref"];
-function V1() {
- return V1 = Object.assign ? Object.assign.bind() : function(e) {
+function H1() {
+ return H1 = 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;
- }, V1.apply(null, arguments);
+ }, H1.apply(null, arguments);
}
-function H1(e, t) {
+function U1(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -64461,12 +64446,12 @@ function H1(e, t) {
}
return n;
}
-function U1(e) {
+function W1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? H1(Object(n), !0).forEach(function(t) {
+ t % 2 ? U1(Object(n), !0).forEach(function(t) {
oPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H1(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -64494,7 +64479,7 @@ function cPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function W1(e, t) {
+function G1(e, t) {
if (e == null) return {};
var n, r, i = lPe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -64512,18 +64497,18 @@ function lPe(e, t) {
}
return n;
}
-var G1 = 1e-5, uPe = Math.cos(eK(45)), dPe = "angleAxis";
+var K1 = 1e-5, uPe = Math.cos(tK(45)), dPe = "angleAxis";
function fPe(e) {
- var t = KB(), n = rW(), r = (0, R.useMemo)(() => {
- var { children: t, type: r } = e, i = W1(e, iPe), a = BK(n, "angleAxis", r);
- if (a != null) return U1(U1({}, i), {}, { type: a });
- }, [e, n]), i = r === Q((e) => GK(e, r?.id));
- return (0, R.useEffect)(() => r == null ? lB : (t(zNe(r)), () => {
+ var t = qB(), n = iW(), r = (0, R.useMemo)(() => {
+ var { children: t, type: r } = e, i = G1(e, iPe), a = VK(n, "angleAxis", r);
+ if (a != null) return W1(W1({}, i), {}, { type: a });
+ }, [e, n]), i = r === Q((e) => KK(e, r?.id));
+ return (0, R.useEffect)(() => r == null ? uB : (t(zNe(r)), () => {
t(BNe(r));
}), [t, r]), i ? e.children : null;
}
var pPe = (e, t) => {
- var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = tK(n, r, i, e.coordinate), l = tK(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
+ var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = nK(n, r, i, e.coordinate), l = nK(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
return {
x1: c.x,
y1: c.y,
@@ -64531,28 +64516,28 @@ var pPe = (e, t) => {
y2: l.y
};
}, mPe = (e, t) => {
- var n = Math.cos(eK(-e.coordinate));
- return n > G1 ? t === "outer" ? "start" : "end" : n < -G1 ? t === "outer" ? "end" : "start" : "middle";
+ var n = Math.cos(tK(-e.coordinate));
+ return n > K1 ? t === "outer" ? "start" : "end" : n < -K1 ? t === "outer" ? "end" : "start" : "middle";
}, hPe = (e) => {
- var t = Math.cos(eK(-e.coordinate)), n = Math.sin(eK(-e.coordinate));
+ var t = Math.cos(tK(-e.coordinate)), n = Math.sin(tK(-e.coordinate));
return Math.abs(t) <= uPe ? n > 0 ? "start" : "end" : "middle";
}, gPe = (e) => {
var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;
if (!a) return null;
- var s = U1(U1({}, UR(e)), {}, { fill: "none" }, UR(a));
- if (i === "circle") return /*#__PURE__*/ R.createElement(m1, V1({ className: "recharts-polar-angle-axis-line" }, s, {
+ var s = W1(W1({}, WR(e)), {}, { fill: "none" }, WR(a));
+ if (i === "circle") return /*#__PURE__*/ R.createElement(h1, H1({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
r
}));
- var c = o.map((e) => tK(t, n, r, e.coordinate));
- return /*#__PURE__*/ R.createElement(f1, V1({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
+ var c = o.map((e) => nK(t, n, r, e.coordinate));
+ return /*#__PURE__*/ R.createElement(p1, H1({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
}, _Pe = (e) => {
var { tick: t, tickProps: n, value: r } = e;
- return t ? /*#__PURE__*/ R.isValidElement(t) ? /*#__PURE__*/ R.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ R.createElement(z$, V1({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
+ return t ? /*#__PURE__*/ R.isValidElement(t) ? /*#__PURE__*/ R.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ R.createElement(B$, H1({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
}, vPe = (e) => {
- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = UR(e), { ref: s } = o, c = W1(o, aPe), l = WR(t), u = U1(U1({}, c), {}, { fill: "none" }, UR(n)), d = a.map((a, o) => {
- var s = pPe(a, e), d = mPe(a, e.orientation), f = hPe(a), p = U1(U1(U1({}, c), {}, {
+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = WR(e), { ref: s } = o, c = G1(o, aPe), l = GR(t), u = W1(W1({}, c), {}, { fill: "none" }, WR(n)), d = a.map((a, o) => {
+ var s = pPe(a, e), d = mPe(a, e.orientation), f = hPe(a), p = W1(W1(W1({}, c), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -64563,27 +64548,27 @@ var pPe = (e, t) => {
x: s.x2,
y: s.y2
});
- return /*#__PURE__*/ R.createElement(YR, V1({
- className: Sh("recharts-polar-angle-axis-tick", F1(t)),
+ return /*#__PURE__*/ R.createElement(XR, H1({
+ className: Sh("recharts-polar-angle-axis-tick", I1(t)),
key: `tick-${a.coordinate}`
- }, _B(e, a, o)), n && /*#__PURE__*/ R.createElement("line", V1({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ R.createElement(_Pe, {
+ }, vB(e, a, o)), n && /*#__PURE__*/ R.createElement("line", H1({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ R.createElement(_Pe, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ R.createElement(YR, { className: "recharts-polar-angle-axis-ticks" }, d);
+ return /*#__PURE__*/ R.createElement(XR, { className: "recharts-polar-angle-axis-ticks" }, d);
}, yPe = (e) => {
- var { angleAxisId: t } = e, n = Q($K), r = Q((e) => w1(e, "angleAxis", t)), i = FU(), a = Q((e) => xNe(e, "angleAxis", t, i));
+ var { angleAxisId: t } = e, n = Q(eq), r = Q((e) => T1(e, "angleAxis", t)), i = IU(), a = Q((e) => xNe(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
- var o = U1(U1(U1({}, e), {}, { scale: r }, n), {}, {
+ var o = W1(W1(W1({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ R.createElement(ZQ, { zIndex: o.zIndex }, /*#__PURE__*/ R.createElement(YR, { className: Sh("recharts-polar-angle-axis", dPe, o.className) }, /*#__PURE__*/ R.createElement(gPe, o), /*#__PURE__*/ R.createElement(vPe, o)));
+ return /*#__PURE__*/ R.createElement(QQ, { zIndex: o.zIndex }, /*#__PURE__*/ R.createElement(XR, { className: Sh("recharts-polar-angle-axis", dPe, o.className) }, /*#__PURE__*/ R.createElement(gPe, o), /*#__PURE__*/ R.createElement(vPe, o)));
};
-function K1(e) {
- var t = yB(e, LK);
+function q1(e) {
+ var t = bB(e, RK);
return /*#__PURE__*/ R.createElement(fPe, {
id: t.angleAxisId,
scale: t.scale,
@@ -64603,7 +64588,7 @@ function K1(e) {
domain: t.domain
}, /*#__PURE__*/ R.createElement(yPe, t));
}
-K1.displayName = "PolarAngleAxis";
+q1.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
var bPe = /* @__PURE__ */ Ct(((e) => {
@@ -64637,21 +64622,21 @@ var bPe = /* @__PURE__ */ Ct(((e) => {
};
})), xPe = (/* @__PURE__ */ Ct(((e, t) => {
t.exports = bPe();
-})))(), q1 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", J1 = null, Y1 = null, X1 = (e) => {
- if (e === J1 && Array.isArray(Y1)) return Y1;
+})))(), J1 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", Y1 = null, X1 = null, Z1 = (e) => {
+ if (e === Y1 && Array.isArray(X1)) return X1;
var t = [];
return R.Children.forEach(e, (e) => {
- oB(e) || ((0, xPe.isFragment)(e) ? t = t.concat(X1(e.props.children)) : t.push(e));
- }), Y1 = t, J1 = e, t;
+ sB(e) || ((0, xPe.isFragment)(e) ? t = t.concat(Z1(e.props.children)) : t.push(e));
+ }), X1 = t, Y1 = e, t;
};
-function Z1(e, t) {
+function Q1(e, t) {
var n = [], r = [];
- return r = Array.isArray(t) ? t.map((e) => q1(e)) : [q1(t)], X1(e).forEach((e) => {
- var t = Jz(e, "type.displayName") || Jz(e, "type.name");
+ return r = Array.isArray(t) ? t.map((e) => J1(e)) : [J1(t)], Z1(e).forEach((e) => {
+ var t = Yz(e, "type.displayName") || Yz(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
-var Q1 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
+var $1 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
function SPe(e) {
@@ -64668,7 +64653,7 @@ function SPe(e) {
//#endregion
//#region node_modules/recharts/es6/shape/Trapezoid.js
var CPe, wPe, TPe, EPe, DPe;
-function $1(e, t) {
+function e0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -64678,12 +64663,12 @@ function $1(e, t) {
}
return n;
}
-function e0(e) {
+function t0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? $1(Object(n), !0).forEach(function(t) {
+ t % 2 ? e0(Object(n), !0).forEach(function(t) {
OPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $1(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -64711,37 +64696,37 @@ function APe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function t0() {
- return t0 = Object.assign ? Object.assign.bind() : function(e) {
+function n0() {
+ return n0 = 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;
- }, t0.apply(null, arguments);
+ }, n0.apply(null, arguments);
}
-function n0(e, t) {
+function r0(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var r0 = (e, t, n, r, i) => {
- var a = n - r, o = Xz(CPe ||= n0([
+var i0 = (e, t, n, r, i) => {
+ var a = n - r, o = Zz(CPe ||= r0([
"M ",
",",
""
]), e, t);
- return o += Xz(wPe ||= n0([
+ return o += Zz(wPe ||= r0([
"L ",
",",
""
- ]), e + n, t), o += Xz(TPe ||= n0([
+ ]), e + n, t), o += Zz(TPe ||= r0([
"L ",
",",
""
- ]), e + n - a / 2, t + i), o += Xz(EPe ||= n0([
+ ]), e + n - a / 2, t + i), o += Zz(EPe ||= r0([
"L ",
",",
""
- ]), e + n - a / 2 - r, t + i), o += Xz(DPe ||= n0([
+ ]), e + n - a / 2 - r, t + i), o += Zz(DPe ||= r0([
"L ",
",",
" Z"
@@ -64757,7 +64742,7 @@ var r0 = (e, t, n, r, i) => {
animationDuration: 1500,
animationEasing: "ease"
}, MPe = (e) => {
- var t = yB(e, jPe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, R.useRef)(null), [p, m] = (0, R.useState)(-1), h = (0, R.useRef)(i), g = (0, R.useRef)(a), _ = (0, R.useRef)(o), v = (0, R.useRef)(n), y = (0, R.useRef)(r), b = HG(e, "trapezoid-");
+ var t = bB(e, jPe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, R.useRef)(null), [p, m] = (0, R.useState)(-1), h = (0, R.useRef)(i), g = (0, R.useRef)(a), _ = (0, R.useRef)(o), v = (0, R.useRef)(n), y = (0, R.useRef)(r), b = UG(e, "trapezoid-");
if ((0, R.useEffect)(() => {
if (f.current && f.current.getTotalLength) try {
var e = f.current.getTotalLength();
@@ -64765,12 +64750,12 @@ var r0 = (e, t, n, r, i) => {
} catch {}
}, []), n !== +n || r !== +r || i !== +i || a !== +a || o !== +o || i === 0 && a === 0 || o === 0) return null;
var x = Sh("recharts-trapezoid", s);
- if (!d) return /*#__PURE__*/ R.createElement("g", null, /*#__PURE__*/ R.createElement("path", t0({}, GR(t), {
+ if (!d) return /*#__PURE__*/ R.createElement("g", null, /*#__PURE__*/ R.createElement("path", n0({}, KR(t), {
className: x,
- d: r0(n, r, i, a, o)
+ d: i0(n, r, i, a, o)
})));
- var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, D = `0px ${p === -1 ? 1 : p}px`, O = `${p}px ${p}px`, k = OG(["strokeDasharray"], l, c);
- return /*#__PURE__*/ R.createElement(VG, {
+ var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, D = `0px ${p === -1 ? 1 : p}px`, O = `${p}px ${p}px`, k = kG(["strokeDasharray"], l, c);
+ return /*#__PURE__*/ R.createElement(HG, {
animationId: b,
key: b,
canBegin: p > 0,
@@ -64779,17 +64764,17 @@ var r0 = (e, t, n, r, i) => {
isActive: d,
begin: u
}, (e) => {
- var s = iB(S, i, e), c = iB(C, a, e), l = iB(w, o, e), u = iB(T, n, e), d = iB(E, r, e);
+ var s = aB(S, i, e), c = aB(C, a, e), l = aB(w, o, e), u = aB(T, n, e), d = aB(E, r, e);
f.current && (h.current = s, g.current = c, _.current = l, v.current = u, y.current = d);
var p = e > 0 ? {
transition: k,
strokeDasharray: O
} : { strokeDasharray: D };
- return /*#__PURE__*/ R.createElement("path", t0({}, GR(t), {
+ return /*#__PURE__*/ R.createElement("path", n0({}, KR(t), {
className: x,
- d: r0(u, d, s, c, l),
+ d: i0(u, d, s, c, l),
ref: f,
- style: e0(e0({}, p), t.style)
+ style: t0(t0({}, p), t.style)
}));
});
}, NPe = [
@@ -64816,7 +64801,7 @@ function FPe(e, t) {
}
return n;
}
-function i0(e, t) {
+function a0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -64826,12 +64811,12 @@ function i0(e, t) {
}
return n;
}
-function a0(e) {
+function o0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? i0(Object(n), !0).forEach(function(t) {
+ t % 2 ? a0(Object(n), !0).forEach(function(t) {
IPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i0(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : a0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -64860,65 +64845,65 @@ function RPe(e, t) {
return (t === "string" ? String : Number)(e);
}
function zPe(e, t) {
- return a0(a0({}, t), e);
+ return o0(o0({}, t), e);
}
function BPe(e, t) {
return e === "symbols";
}
-function o0(e) {
+function s0(e) {
var { shapeType: t, elementProps: n } = e;
switch (t) {
- case "rectangle": return /*#__PURE__*/ R.createElement(XG, n);
+ case "rectangle": return /*#__PURE__*/ R.createElement(ZG, n);
case "trapezoid": return /*#__PURE__*/ R.createElement(MPe, n);
- case "sector": return /*#__PURE__*/ R.createElement(sK, n);
+ case "sector": return /*#__PURE__*/ R.createElement(cK, n);
case "symbols":
- if (BPe(t, n)) return /*#__PURE__*/ R.createElement(mB, n);
+ if (BPe(t, n)) return /*#__PURE__*/ R.createElement(hB, n);
break;
- case "curve": return /*#__PURE__*/ R.createElement(CG, n);
+ case "curve": return /*#__PURE__*/ R.createElement(wG, n);
default: return null;
}
}
function VPe(e) {
return /*#__PURE__*/ (0, R.isValidElement)(e) ? e.props : e;
}
-function s0(e) {
+function c0(e) {
var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = PPe(e, NPe), o;
- if (/*#__PURE__*/ (0, R.isValidElement)(t)) o = /*#__PURE__*/ (0, R.cloneElement)(t, a0(a0({}, a), VPe(t)));
+ if (/*#__PURE__*/ (0, R.isValidElement)(t)) o = /*#__PURE__*/ (0, R.cloneElement)(t, o0(o0({}, a), VPe(t)));
else if (typeof t == "function") o = t(a, a.index);
else if (SPe(t) && typeof t != "boolean") {
var s = zPe(t, a);
- o = /*#__PURE__*/ R.createElement(o0, {
+ o = /*#__PURE__*/ R.createElement(s0, {
shapeType: n,
elementProps: s
});
} else {
var c = a;
- o = /*#__PURE__*/ R.createElement(o0, {
+ o = /*#__PURE__*/ R.createElement(s0, {
shapeType: n,
elementProps: c
});
}
- return a.isActive ? /*#__PURE__*/ R.createElement(YR, { className: r }, o) : /*#__PURE__*/ R.createElement(YR, { className: i }, o);
+ return a.isActive ? /*#__PURE__*/ R.createElement(XR, { className: r }, o) : /*#__PURE__*/ R.createElement(XR, { className: i }, o);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
-var c0 = (e, t, n) => {
- var r = KB();
+var l0 = (e, t, n) => {
+ var r = qB();
return (i, a) => (o) => {
- e?.(i, a, o), r(QZ({
+ e?.(i, a, o), r($Z({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
activeGraphicalItemId: n
}));
};
-}, l0 = (e) => {
- var t = KB();
+}, u0 = (e) => {
+ var t = qB();
return (n, r) => (i) => {
e?.(n, r, i), t(EAe());
};
-}, u0 = (e, t, n) => {
- var r = KB();
+}, d0 = (e, t, n) => {
+ var r = qB();
return (i, a) => (o) => {
e?.(i, a, o), r(DAe({
activeIndex: String(a),
@@ -64930,8 +64915,8 @@ var c0 = (e, t, n) => {
};
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
-function d0(e) {
- var { tooltipEntrySettings: t } = e, n = KB(), r = FU(), i = (0, R.useRef)(null);
+function f0(e) {
+ var { tooltipEntrySettings: t } = e, n = qB(), r = IU(), i = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
r || (i.current === null ? n(SAe(t)) : i.current !== t && n(CAe({
prev: i.current,
@@ -64947,10 +64932,10 @@ function d0(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
-function f0(e) {
- var { legendPayload: t } = e, n = KB(), r = FU(), i = (0, R.useRef)(null);
+function p0(e) {
+ var { legendPayload: t } = e, n = qB(), r = IU(), i = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
- r || (i.current === null ? n(qW(t)) : i.current !== t && n(JW({
+ r || (i.current === null ? n(JW(t)) : i.current !== t && n(YW({
prev: i.current,
next: t
})), i.current = t);
@@ -64959,13 +64944,13 @@ function f0(e) {
r,
t
]), (0, R.useLayoutEffect)(() => () => {
- i.current &&= (n(YW(i.current)), null);
+ i.current &&= (n(XW(i.current)), null);
}, [n]), null;
}
-function p0(e) {
- var { legendPayload: t } = e, n = KB(), r = Q($U), i = (0, R.useRef)(null);
+function m0(e) {
+ var { legendPayload: t } = e, n = qB(), r = Q(eW), i = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
- (r === "centric" || r === "radial") && (i.current === null ? n(qW(t)) : i.current !== t && n(JW({
+ (r === "centric" || r === "radial") && (i.current === null ? n(JW(t)) : i.current !== t && n(YW({
prev: i.current,
next: t
})), i.current = t);
@@ -64974,13 +64959,13 @@ function p0(e) {
r,
t
]), (0, R.useLayoutEffect)(() => () => {
- i.current &&= (n(YW(i.current)), null);
+ i.current &&= (n(XW(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/util/useId.js
var HPe = R.useId ?? (() => {
- var [e] = R.useState(() => tB("uid-"));
+ var [e] = R.useState(() => nB("uid-"));
return e;
});
//#endregion
@@ -64991,10 +64976,10 @@ function UPe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var WPe = /*#__PURE__*/ (0, R.createContext)(void 0), m0 = (e) => {
+var WPe = /*#__PURE__*/ (0, R.createContext)(void 0), h0 = (e) => {
var { id: t, type: n, children: r } = e, i = UPe(`recharts-${n}`, t);
return /*#__PURE__*/ R.createElement(WPe.Provider, { value: i }, r(i));
-}, h0 = NH({
+}, g0 = PH({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -65003,47 +64988,47 @@ var WPe = /*#__PURE__*/ (0, R.createContext)(void 0), m0 = (e) => {
reducers: {
addCartesianGraphicalItem: {
reducer(e, t) {
- e.cartesianItems.push(WW(t.payload));
+ e.cartesianItems.push(GW(t.payload));
},
- prepare: kH()
+ prepare: AH()
},
replaceCartesianGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = bH(e).cartesianItems.indexOf(WW(n));
- i > -1 && (e.cartesianItems[i] = WW(r));
+ var { prev: n, next: r } = t.payload, i = xH(e).cartesianItems.indexOf(GW(n));
+ i > -1 && (e.cartesianItems[i] = GW(r));
},
- prepare: kH()
+ prepare: AH()
},
removeCartesianGraphicalItem: {
reducer(e, t) {
- var n = bH(e).cartesianItems.indexOf(WW(t.payload));
+ var n = xH(e).cartesianItems.indexOf(GW(t.payload));
n > -1 && e.cartesianItems.splice(n, 1);
},
- prepare: kH()
+ prepare: AH()
},
addPolarGraphicalItem: {
reducer(e, t) {
- e.polarItems.push(WW(t.payload));
+ e.polarItems.push(GW(t.payload));
},
- prepare: kH()
+ prepare: AH()
},
removePolarGraphicalItem: {
reducer(e, t) {
- var n = bH(e).polarItems.indexOf(WW(t.payload));
+ var n = xH(e).polarItems.indexOf(GW(t.payload));
n > -1 && e.polarItems.splice(n, 1);
},
- prepare: kH()
+ prepare: AH()
},
replacePolarGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = bH(e).polarItems.indexOf(WW(n));
- i > -1 && (e.polarItems[i] = WW(r));
+ var { prev: n, next: r } = t.payload, i = xH(e).polarItems.indexOf(GW(n));
+ i > -1 && (e.polarItems[i] = GW(r));
},
- prepare: kH()
+ prepare: AH()
}
}
-}), { addCartesianGraphicalItem: GPe, replaceCartesianGraphicalItem: KPe, removeCartesianGraphicalItem: qPe, addPolarGraphicalItem: JPe, removePolarGraphicalItem: YPe, replacePolarGraphicalItem: XPe } = h0.actions, ZPe = h0.reducer, g0 = /*#__PURE__*/ (0, R.memo)((e) => {
- var t = KB(), n = (0, R.useRef)(null);
+}), { addCartesianGraphicalItem: GPe, replaceCartesianGraphicalItem: KPe, removeCartesianGraphicalItem: qPe, addPolarGraphicalItem: JPe, removePolarGraphicalItem: YPe, replacePolarGraphicalItem: XPe } = g0.actions, ZPe = g0.reducer, _0 = /*#__PURE__*/ (0, R.memo)((e) => {
+ var t = qB(), n = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
n.current === null ? t(GPe(e)) : n.current !== e && t(KPe({
prev: n.current,
@@ -65052,8 +65037,8 @@ var WPe = /*#__PURE__*/ (0, R.createContext)(void 0), m0 = (e) => {
}, [t, e]), (0, R.useLayoutEffect)(() => () => {
n.current &&= (t(qPe(n.current)), null);
}, [t]), null;
-}), _0 = /*#__PURE__*/ (0, R.memo)((e) => {
- var t = KB(), n = (0, R.useRef)(null);
+}), v0 = /*#__PURE__*/ (0, R.memo)((e) => {
+ var t = qB(), n = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
n.current === null ? t(JPe(e)) : n.current !== e && t(XPe({
prev: n.current,
@@ -65071,12 +65056,12 @@ function QPe(e) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
function $Pe(e) {
- if (!(!TB(e) || e.length === 0)) return QPe(N1(e));
+ if (!(!EB(e) || e.length === 0)) return QPe(P1(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
var eFe = ["points"];
-function v0(e, t) {
+function y0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -65086,12 +65071,12 @@ function v0(e, t) {
}
return n;
}
-function y0(e) {
+function b0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? v0(Object(n), !0).forEach(function(t) {
+ t % 2 ? y0(Object(n), !0).forEach(function(t) {
tFe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v0(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -65119,14 +65104,14 @@ function rFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function b0() {
- return b0 = Object.assign ? Object.assign.bind() : function(e) {
+function x0() {
+ return x0 = 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;
- }, b0.apply(null, arguments);
+ }, x0.apply(null, arguments);
}
function iFe(e, t) {
if (e == null) return {};
@@ -65151,16 +65136,16 @@ function oFe(e) {
if (/*#__PURE__*/ (0, R.isValidElement)(t)) return /*#__PURE__*/ (0, R.cloneElement)(t, n);
if (typeof t == "function") return t(n);
var i = Sh(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = iFe(a, eFe);
- return /*#__PURE__*/ R.createElement(m1, b0({}, s, { className: i }));
+ return /*#__PURE__*/ R.createElement(h1, x0({}, s, { className: i }));
}
function sFe(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
-function x0(e) {
- var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = IK.scatter } = e;
+function S0(e) {
+ var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = LK.scatter } = e;
if (!sFe(t, n)) return null;
- var u = Q1(n), d = hbe(n), f = t.map((e, r) => {
- var s = y0(y0(y0({ r: 3 }, o), d), {}, {
+ var u = $1(n), d = hbe(n), f = t.map((e, r) => {
+ var s = b0(b0(b0({ r: 3 }, o), d), {}, {
index: r,
cx: e.x ?? void 0,
cy: e.y ?? void 0,
@@ -65176,11 +65161,11 @@ function x0(e) {
className: i
});
}), p = {};
- return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ R.createElement(ZQ, { zIndex: l }, /*#__PURE__*/ R.createElement(YR, b0({ className: r }, p), f));
+ return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ R.createElement(QQ, { zIndex: l }, /*#__PURE__*/ R.createElement(XR, x0({ className: r }, p), f));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
-function S0(e, t) {
+function C0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -65190,12 +65175,12 @@ function S0(e, t) {
}
return n;
}
-function C0(e) {
+function w0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? S0(Object(n), !0).forEach(function(t) {
+ t % 2 ? C0(Object(n), !0).forEach(function(t) {
cFe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S0(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -65223,7 +65208,7 @@ function uFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var w0 = NH({
+var T0 = PH({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -65233,60 +65218,60 @@ var w0 = NH({
reducers: {
addXAxis: {
reducer(e, t) {
- e.xAxis[t.payload.id] = WW(t.payload);
+ e.xAxis[t.payload.id] = GW(t.payload);
},
- prepare: kH()
+ prepare: AH()
},
replaceXAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = WW(r));
+ e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = GW(r));
},
- prepare: kH()
+ prepare: AH()
},
removeXAxis: {
reducer(e, t) {
delete e.xAxis[t.payload.id];
},
- prepare: kH()
+ prepare: AH()
},
addYAxis: {
reducer(e, t) {
- e.yAxis[t.payload.id] = WW(t.payload);
+ e.yAxis[t.payload.id] = GW(t.payload);
},
- prepare: kH()
+ prepare: AH()
},
replaceYAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = WW(r));
+ e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = GW(r));
},
- prepare: kH()
+ prepare: AH()
},
removeYAxis: {
reducer(e, t) {
delete e.yAxis[t.payload.id];
},
- prepare: kH()
+ prepare: AH()
},
addZAxis: {
reducer(e, t) {
- e.zAxis[t.payload.id] = WW(t.payload);
+ e.zAxis[t.payload.id] = GW(t.payload);
},
- prepare: kH()
+ prepare: AH()
},
replaceZAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = WW(r));
+ e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = GW(r));
},
- prepare: kH()
+ prepare: AH()
},
removeZAxis: {
reducer(e, t) {
delete e.zAxis[t.payload.id];
},
- prepare: kH()
+ prepare: AH()
},
updateYAxisWidth(e, t) {
var { id: n, width: r } = t.payload, i = e.yAxis[n];
@@ -65294,22 +65279,22 @@ var w0 = NH({
var a = i.widthHistory || [];
if (a.length === 3 && a[0] === a[2] && r === a[1] && r !== i.width && Math.abs(r - (a[0] ?? 0)) <= 1) return;
var o = [...a, r].slice(-3);
- e.yAxis[n] = C0(C0({}, i), {}, {
+ e.yAxis[n] = w0(w0({}, i), {}, {
width: r,
widthHistory: o
});
}
}
}
-}), { addXAxis: dFe, replaceXAxis: fFe, removeXAxis: pFe, addYAxis: mFe, replaceYAxis: hFe, removeYAxis: gFe, addZAxis: _Fe, replaceZAxis: vFe, removeZAxis: yFe, updateYAxisWidth: bFe } = w0.actions, xFe = w0.reducer, SFe = $([
- $([NU], (e) => ({
+}), { addXAxis: dFe, replaceXAxis: fFe, removeXAxis: pFe, addYAxis: mFe, replaceYAxis: hFe, removeYAxis: gFe, addZAxis: _Fe, replaceZAxis: vFe, removeZAxis: yFe, updateYAxisWidth: bFe } = T0.actions, xFe = T0.reducer, SFe = $([
+ $([PU], (e) => ({
top: e.top,
bottom: e.bottom,
left: e.left,
right: e.right
})),
- EU,
- DU
+ DU,
+ OU
], (e, t, n) => {
if (!(!e || t == null || n == null)) return {
x: e.left,
@@ -65317,10 +65302,10 @@ var w0 = NH({
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), T0 = () => Q(SFe), CFe = () => Q(nje);
+}), E0 = () => Q(SFe), CFe = () => Q(nje);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
-function E0(e, t) {
+function D0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -65330,12 +65315,12 @@ function E0(e, t) {
}
return n;
}
-function D0(e) {
+function O0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? E0(Object(n), !0).forEach(function(t) {
+ t % 2 ? D0(Object(n), !0).forEach(function(t) {
wFe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E0(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -65366,7 +65351,7 @@ function EFe(e, t) {
var DFe = (e) => {
var { point: t, childIndex: n, mainColor: r, activeDot: i, dataKey: a, clipPath: o } = e;
if (i === !1 || t.x == null || t.y == null) return null;
- var s = D0(D0(D0({}, {
+ var s = O0(O0(O0({}, {
index: n,
dataKey: a,
cx: t.x,
@@ -65377,17 +65362,17 @@ var DFe = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), WR(i)), gB(i)), c = /*#__PURE__*/ (0, R.isValidElement)(i) ? /*#__PURE__*/ (0, R.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ R.createElement(m1, s);
- return /*#__PURE__*/ R.createElement(YR, {
+ }), GR(i)), _B(i)), c = /*#__PURE__*/ (0, R.isValidElement)(i) ? /*#__PURE__*/ (0, R.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ R.createElement(h1, s);
+ return /*#__PURE__*/ R.createElement(XR, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
-function O0(e) {
- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = IK.activeDot } = e, s = Q(AQ), c = CFe();
+function k0(e) {
+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = LK.activeDot } = e, s = Q(jQ), c = CFe();
if (t == null || c == null) return null;
var l = t.find((e) => c.includes(e.payload));
- return oB(l) ? null : /*#__PURE__*/ R.createElement(ZQ, { zIndex: o }, /*#__PURE__*/ R.createElement(DFe, {
+ return sB(l) ? null : /*#__PURE__*/ R.createElement(QQ, { zIndex: o }, /*#__PURE__*/ R.createElement(DFe, {
point: l,
childIndex: Number(s),
mainColor: n,
@@ -65398,7 +65383,7 @@ function O0(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/radarSelectors.js
-function k0(e, t) {
+function A0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -65408,12 +65393,12 @@ function k0(e, t) {
}
return n;
}
-function A0(e) {
+function j0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? k0(Object(n), !0).forEach(function(t) {
+ t % 2 ? A0(Object(n), !0).forEach(function(t) {
OFe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k0(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -65441,16 +65426,16 @@ function AFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var j0 = (e, t) => w1(e, "radiusAxis", t), jFe = $([j0], (e) => {
+var M0 = (e, t) => T1(e, "radiusAxis", t), jFe = $([M0], (e) => {
if (e != null) return { scale: e };
-}), MFe = $([KK, j0], (e, t) => {
- if (e != null && t != null) return A0(A0({}, e), {}, { scale: t });
-}), NFe = (e, t, n, r) => E1(e, "radiusAxis", t, r), M0 = (e, t, n) => GK(e, n), N0 = (e, t, n) => w1(e, "angleAxis", n), PFe = $([M0, N0], (e, t) => {
- if (e != null && t != null) return A0(A0({}, e), {}, { scale: t });
-}), FFe = (e, t, n, r) => E1(e, "angleAxis", n, r), IFe = $([
- M0,
+}), MFe = $([qK, M0], (e, t) => {
+ if (e != null && t != null) return j0(j0({}, e), {}, { scale: t });
+}), NFe = (e, t, n, r) => D1(e, "radiusAxis", t, r), N0 = (e, t, n) => KK(e, n), P0 = (e, t, n) => T1(e, "angleAxis", n), PFe = $([N0, P0], (e, t) => {
+ if (e != null && t != null) return j0(j0({}, e), {}, { scale: t });
+}), FFe = (e, t, n, r) => D1(e, "angleAxis", n, r), IFe = $([
N0,
- $K
+ P0,
+ eq
], (e, t, n) => {
if (n != null && t != null) return {
scale: t,
@@ -65460,16 +65445,16 @@ var j0 = (e, t) => w1(e, "radiusAxis", t), jFe = $([j0], (e) => {
cy: n.cy
};
}), LFe = (e, t, n, r, i) => i, RFe = $([
- $U,
+ eW,
MFe,
NFe,
PFe,
FFe
-], (e, t, n, r, i) => pU(e, "radiusAxis") ? CU(t, n, !1) : CU(r, i, !1)), zFe = $([
+], (e, t, n, r, i) => mU(e, "radiusAxis") ? wU(t, n, !1) : wU(r, i, !1)), zFe = $([
jFe,
IFe,
- dK,
- $([h1, LFe], (e, t) => {
+ fK,
+ $([g1, LFe], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
RFe
@@ -65483,16 +65468,16 @@ var j0 = (e, t) => w1(e, "radiusAxis", t), jFe = $([j0], (e) => {
bandSize: i
});
}), BFe = ["id"];
-function P0() {
- return P0 = Object.assign ? Object.assign.bind() : function(e) {
+function F0() {
+ return F0 = 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;
- }, P0.apply(null, arguments);
+ }, F0.apply(null, arguments);
}
-function F0(e, t) {
+function I0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -65502,12 +65487,12 @@ function F0(e, t) {
}
return n;
}
-function I0(e) {
+function L0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? F0(Object(n), !0).forEach(function(t) {
+ t % 2 ? I0(Object(n), !0).forEach(function(t) {
VFe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : F0(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -65553,7 +65538,7 @@ function GFe(e, t) {
}
return n;
}
-function L0(e, t) {
+function R0(e, t) {
return e && e !== "none" ? e : t;
}
var KFe = (e) => {
@@ -65562,33 +65547,33 @@ var KFe = (e) => {
inactive: o,
dataKey: t,
type: a,
- color: L0(r, i),
- value: TU(n, t),
+ color: R0(r, i),
+ value: EU(n, t),
payload: e
}];
}, qFe = /*#__PURE__*/ R.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, tooltipType: s, id: c } = e, l = {
dataDefinedOnItem: void 0,
- getPosition: lB,
+ getPosition: uB,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
nameKey: void 0,
dataKey: t,
- name: TU(a, t),
+ name: EU(a, t),
hide: o,
type: s,
- color: L0(n, i),
+ color: R0(n, i),
unit: "",
graphicalItemId: c
}
};
- return /*#__PURE__*/ R.createElement(d0, { tooltipEntrySettings: l });
+ return /*#__PURE__*/ R.createElement(f0, { tooltipEntrySettings: l });
});
function JFe(e) {
- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = UR(WFe(n, BFe));
- return /*#__PURE__*/ R.createElement(x0, {
+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = WR(WFe(n, BFe));
+ return /*#__PURE__*/ R.createElement(S0, {
points: t,
dot: r,
className: "recharts-radar-dots",
@@ -65600,8 +65585,8 @@ function JFe(e) {
function YFe(e) {
var { radiusAxis: t, angleAxis: n, displayedData: r, dataKey: i, bandSize: a } = e, { cx: o, cy: s } = n, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;
r.forEach((e, r) => {
- var a = fU(e, n.dataKey, r), d = fU(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? $Pe(d) : d, m = oB(p) ? 0 : t.scale.map(p) ?? 0;
- Array.isArray(d) && d.length >= 2 && (c = !0), l.push(I0(I0({}, tK(o, s, m, f)), {}, {
+ var a = pU(e, n.dataKey, r), d = pU(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? $Pe(d) : d, m = sB(p) ? 0 : t.scale.map(p) ?? 0;
+ Array.isArray(d) && d.length >= 2 && (c = !0), l.push(L0(L0({}, nK(o, s, m, f)), {}, {
name: a,
value: d,
cx: o,
@@ -65614,8 +65599,8 @@ function YFe(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = oB(n) ? 0 : t.scale.map(n) ?? 0;
- d.push(I0(I0({}, e), {}, { radius: r }, tK(o, s, r, e.angle)));
+ var n = e.value[0], r = sB(n) ? 0 : t.scale.map(n) ?? 0;
+ d.push(L0(L0({}, e), {}, { radius: r }, nK(o, s, r, e.angle)));
} else d.push(e);
}), {
points: l,
@@ -65633,7 +65618,7 @@ function XFe(e) {
upperWidth: 0,
height: 0
};
- return I0(I0({}, t), {}, {
+ return L0(L0({}, t), {}, {
value: e.value ?? "",
payload: e.payload,
parentViewBox: void 0,
@@ -65641,12 +65626,12 @@ function XFe(e) {
fill: void 0
});
});
- return /*#__PURE__*/ R.createElement(a1, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ R.createElement(o1, { value: t ? i : void 0 }, r);
}
function ZFe(e) {
var { points: t, baseLinePoints: n, props: r } = e;
if (t == null) return null;
- var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ R.isValidElement(i) ? /*#__PURE__*/ R.cloneElement(i, I0(I0({}, r), {}, { points: t })) : typeof i == "function" ? i(I0(I0({}, r), {}, { points: t })) : /*#__PURE__*/ R.createElement(f1, P0({}, GR(r), {
+ var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ R.isValidElement(i) ? /*#__PURE__*/ R.cloneElement(i, L0(L0({}, r), {}, { points: t })) : typeof i == "function" ? i(L0(L0({}, r), {}, { points: t })) : /*#__PURE__*/ R.createElement(p1, F0({}, KR(r), {
onMouseEnter: (e) => {
var { onMouseEnter: t } = r;
t && t(r, e);
@@ -65659,23 +65644,23 @@ function ZFe(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ R.createElement(YR, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ R.createElement(JFe, {
+ return /*#__PURE__*/ R.createElement(XR, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ R.createElement(JFe, {
props: r,
points: t
}));
}
-var R0 = (e, t, n) => (r, i) => {
+var z0 = (e, t, n) => (r, i) => {
var a = e && e[Math.floor(i * t)];
- return a ? I0(I0({}, r), {}, {
- x: iB(a.x, r.x, n),
- y: iB(a.y, r.y, n)
- }) : I0(I0({}, r), {}, {
- x: iB(r.cx, r.x, n),
- y: iB(r.cy, r.y, n)
+ return a ? L0(L0({}, r), {}, {
+ x: aB(a.x, r.x, n),
+ y: aB(a.y, r.y, n)
+ }) : L0(L0({}, r), {}, {
+ x: aB(r.cx, r.x, n),
+ y: aB(r.cy, r.y, n)
});
};
function QFe(e) {
- var { props: t, previousPointsRef: n, previousBaseLinePointsRef: r } = e, { points: i, baseLinePoints: a, isAnimationActive: o, animationBegin: s, animationDuration: c, animationEasing: l, onAnimationEnd: u, onAnimationStart: d } = t, f = n.current, p = r.current, m = f ? f.length / i.length : 1, h = p ? p.length / a.length : 1, g = HG(t, "recharts-radar-"), [_, v] = (0, R.useState)(!1), y = !_, b = (0, R.useCallback)(() => {
+ var { props: t, previousPointsRef: n, previousBaseLinePointsRef: r } = e, { points: i, baseLinePoints: a, isAnimationActive: o, animationBegin: s, animationDuration: c, animationEasing: l, onAnimationEnd: u, onAnimationStart: d } = t, f = n.current, p = r.current, m = f ? f.length / i.length : 1, h = p ? p.length / a.length : 1, g = UG(t, "recharts-radar-"), [_, v] = (0, R.useState)(!1), y = !_, b = (0, R.useCallback)(() => {
typeof u == "function" && u(), v(!1);
}, [u]), x = (0, R.useCallback)(() => {
typeof d == "function" && d(), v(!0);
@@ -65683,7 +65668,7 @@ function QFe(e) {
return /*#__PURE__*/ R.createElement(XFe, {
showLabels: y,
points: i
- }, /*#__PURE__*/ R.createElement(VG, {
+ }, /*#__PURE__*/ R.createElement(HG, {
animationId: g,
begin: s,
duration: c,
@@ -65693,13 +65678,13 @@ function QFe(e) {
onAnimationEnd: b,
onAnimationStart: x
}, (e) => {
- var o = e === 1 ? i : i.map(R0(f, m, e)), s = e === 1 ? a : a?.map(R0(p, h, e));
+ var o = e === 1 ? i : i.map(z0(f, m, e)), s = e === 1 ? a : a?.map(z0(p, h, e));
return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ R.createElement(ZFe, {
points: o,
baseLinePoints: s,
props: t
});
- }), /*#__PURE__*/ R.createElement(c1, { label: t.label }), t.children);
+ }), /*#__PURE__*/ R.createElement(l1, { label: t.label }), t.children);
}
function $Fe(e) {
var t = (0, R.useRef)(void 0), n = (0, R.useRef)(void 0);
@@ -65721,33 +65706,33 @@ var eIe = {
label: !1,
legendType: "rect",
radiusAxisId: 0,
- zIndex: IK.area
+ zIndex: LK.area
};
function tIe(e) {
var { hide: t, className: n, points: r } = e;
if (t) return null;
var i = Sh("recharts-radar", n);
- return /*#__PURE__*/ R.createElement(ZQ, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(YR, { className: i }, /*#__PURE__*/ R.createElement($Fe, e)), /*#__PURE__*/ R.createElement(O0, {
+ return /*#__PURE__*/ R.createElement(QQ, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(XR, { className: i }, /*#__PURE__*/ R.createElement($Fe, e)), /*#__PURE__*/ R.createElement(k0, {
points: r,
- mainColor: L0(e.stroke, e.fill),
+ mainColor: R0(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
function nIe(e) {
- var t = FU(), n = Q((n) => zFe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ R.createElement(tIe, P0({}, e, {
+ var t = IU(), n = Q((n) => zFe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ R.createElement(tIe, F0({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
-function z0(e) {
- var t = yB(e, eIe);
- return /*#__PURE__*/ R.createElement(m0, {
+function B0(e) {
+ var t = bB(e, eIe);
+ return /*#__PURE__*/ R.createElement(h0, {
id: t.id,
type: "radar"
- }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(_0, {
+ }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(v0, {
type: "radar",
id: e,
data: void 0,
@@ -65755,7 +65740,7 @@ function z0(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ R.createElement(p0, { legendPayload: KFe(t) }), /*#__PURE__*/ R.createElement(qFe, {
+ }), /*#__PURE__*/ R.createElement(m0, { legendPayload: KFe(t) }), /*#__PURE__*/ R.createElement(qFe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -65764,33 +65749,33 @@ function z0(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ R.createElement(nIe, P0({}, t, { id: e }))));
+ }), /*#__PURE__*/ R.createElement(nIe, F0({}, t, { id: e }))));
}
-z0.displayName = "Radar";
+B0.displayName = "Radar";
//#endregion
//#region node_modules/recharts/es6/util/RadialBarUtils.js
-function B0() {
- return B0 = Object.assign ? Object.assign.bind() : function(e) {
+function V0() {
+ return V0 = 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;
- }, B0.apply(null, arguments);
+ }, V0.apply(null, arguments);
}
-function V0(e) {
+function H0(e) {
return typeof e == "string" ? parseInt(e, 10) : e;
}
-function H0(e) {
- return /*#__PURE__*/ R.createElement(s0, B0({ shapeType: "sector" }, e));
+function U0(e) {
+ return /*#__PURE__*/ R.createElement(c0, V0({ shapeType: "sector" }, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
-var U0 = (e, t, n) => {
+var W0 = (e, t, n) => {
var r = n ?? e;
- if (!oB(r)) return nB(r, t, 0);
-}, W0 = (e, t, n) => {
- var r = {}, i = e.filter(iq), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
+ if (!sB(r)) return rB(r, t, 0);
+}, G0 = (e, t, n) => {
+ var r = {}, i = e.filter(aq), 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) => {
@@ -65798,18 +65783,18 @@ var U0 = (e, t, n) => {
return {
stackId: r,
dataKeys: i.map((e) => e.dataKey),
- barSize: U0(t, n, i[0]?.barSize)
+ barSize: W0(t, n, i[0]?.barSize)
};
}), c = a.map((e) => ({
stackId: void 0,
dataKeys: [e.dataKey].filter((e) => e != null),
- barSize: U0(t, n, e.barSize)
+ barSize: W0(t, n, e.barSize)
}));
return [...s, ...c];
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js
-function G0(e, t) {
+function K0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -65819,12 +65804,12 @@ function G0(e, t) {
}
return n;
}
-function K0(e) {
+function q0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? G0(Object(n), !0).forEach(function(t) {
+ t % 2 ? K0(Object(n), !0).forEach(function(t) {
rIe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G0(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -65855,8 +65840,8 @@ function aIe(e, t) {
function oIe(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = nB(e, n, 0, !0), s, c = [];
- if (cU(r[0]?.barSize)) {
+ var o = rB(e, n, 0, !0), s, c = [];
+ if (lU(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 = {
@@ -65875,11 +65860,11 @@ function oIe(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = nB(t, n, 0, !0);
+ var p = rB(t, n, 0, !0);
n - 2 * p - (a - 1) * o <= 0 && (o = 0);
var m = (n - 2 * p - (a - 1) * o) / a;
m > 1 && (m >>= 0);
- var h = cU(i) ? Math.min(m, i) : m;
+ var h = lU(i) ? Math.min(m, i) : m;
s = r.reduce((e, t, n) => [...e, {
stackId: t.stackId,
dataKeys: t.dataKeys,
@@ -65892,11 +65877,11 @@ function oIe(e, t, n, r, i) {
return s;
}
}
-var q0 = (e, t, n, r, i, a, o) => {
- var s = oB(o) ? t : o, c = oIe(n, r, i === a ? a : i, e, s);
- return i !== a && c != null && (c = c.map((e) => K0(K0({}, e), {}, { position: K0(K0({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
-}, J0 = (e, t) => {
- var n = nq(t);
+var J0 = (e, t, n, r, i, a, o) => {
+ var s = sB(o) ? t : o, c = oIe(n, r, i === a ? a : i, e, s);
+ return i !== a && c != null && (c = c.map((e) => q0(q0({}, e), {}, { position: q0(q0({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
+}, Y0 = (e, t) => {
+ var n = rq(t);
if (!(!e || n == null || t == null)) {
var { stackId: r } = t;
if (r != null) {
@@ -65907,7 +65892,7 @@ var q0 = (e, t, n, r, i, a, o) => {
}
}
}
-}, Y0 = (e, t) => {
+}, X0 = (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;
@@ -65915,7 +65900,7 @@ var q0 = (e, t, n, r, i, a, o) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/radialBarSelectors.js
-function X0(e, t) {
+function Z0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -65925,12 +65910,12 @@ function X0(e, t) {
}
return n;
}
-function Z0(e) {
+function Q0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? X0(Object(n), !0).forEach(function(t) {
+ t % 2 ? Z0(Object(n), !0).forEach(function(t) {
sIe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X0(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -65958,76 +65943,76 @@ function lIe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Q0 = $([(e, t) => KK(e, t), (e, t) => w1(e, "radiusAxis", t)], (e, t) => {
- if (e != null && t != null) return Z0(Z0({}, e), {}, { scale: t });
-}), $0 = (e, t) => SNe(e, "radiusAxis", t, !1), e2 = $([(e, t, n) => GK(e, n), (e, t, n) => w1(e, "angleAxis", n)], (e, t) => {
- if (e != null && t != null) return Z0(Z0({}, e), {}, { scale: t });
-}), t2 = (e, t, n) => E1(e, "angleAxis", n, !1), n2 = $([h1, (e, t, n, r) => r], (e, t) => {
+var $0 = $([(e, t) => qK(e, t), (e, t) => T1(e, "radiusAxis", t)], (e, t) => {
+ if (e != null && t != null) return Q0(Q0({}, e), {}, { scale: t });
+}), e2 = (e, t) => SNe(e, "radiusAxis", t, !1), t2 = $([(e, t, n) => KK(e, n), (e, t, n) => T1(e, "angleAxis", n)], (e, t) => {
+ if (e != null && t != null) return Q0(Q0({}, e), {}, { scale: t });
+}), n2 = (e, t, n) => D1(e, "angleAxis", n, !1), r2 = $([g1, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
-}), r2 = $([
- $U,
- Q0,
+}), i2 = $([
+ eW,
$0,
e2,
- t2
-], (e, t, n, r, i) => pU(e, "radiusAxis") ? CU(t, n, !1) : CU(r, i, !1)), uIe = $([
- e2,
- Q0,
- $U
+ t2,
+ n2
+], (e, t, n, r, i) => mU(e, "radiusAxis") ? wU(t, n, !1) : wU(r, i, !1)), uIe = $([
+ t2,
+ $0,
+ eW
], (e, t, n) => {
var r = n === "radial" ? e : t;
- if (r != null && r.scale != null) return bU({ numericAxis: r });
-}), dIe = (e, t, n, r, i) => i, fIe = (e, t, n, r, i) => n, pIe = (e, t, n, r, i) => t, i2 = (e, t, n, r, i) => r.maxBarSize, a2 = (e) => e.type === "radialBar", mIe = $([$([
+ if (r != null && r.scale != null) return xU({ numericAxis: r });
+}), dIe = (e, t, n, r, i) => i, fIe = (e, t, n, r, i) => n, pIe = (e, t, n, r, i) => t, a2 = (e, t, n, r, i) => r.maxBarSize, o2 = (e) => e.type === "radialBar", mIe = $([$([
$([
$([
- $U,
- h1,
+ eW,
+ g1,
fIe,
pIe
- ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(a2)),
- kK,
+ ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(o2)),
+ AK,
() => void 0
- ], W0),
- EK,
+ ], G0),
DK,
OK,
+ kK,
$([
- $U,
- EK,
- e2,
+ eW,
+ DK,
t2,
- Q0,
+ n2,
$0,
- i2
+ e2,
+ a2
], (e, t, n, r, i, a, o) => {
- var s = oB(o) ? t : o;
- return e === "centric" ? CU(n, r, !0) ?? s ?? 0 : CU(i, a, !0) ?? s ?? 0;
+ var s = sB(o) ? t : o;
+ return e === "centric" ? wU(n, r, !0) ?? s ?? 0 : wU(i, a, !0) ?? s ?? 0;
}),
- r2,
- i2
-], q0), n2], Y0), o2 = $([g1], (e) => e.filter(a2).filter(iq)), s2 = $([
+ i2,
+ a2
+], J0), r2], X0), s2 = $([_1], (e) => e.filter(o2).filter(aq)), c2 = $([
$([
- o2,
- dK,
- QX
- ], rq),
- o2,
- AK,
- jK
-], eZ), hIe = $([
- e2,
+ s2,
+ fK,
+ $X
+ ], iq),
+ s2,
+ jK,
+ MK
+], tZ), hIe = $([
t2,
- Q0,
- $0,
- uK,
n2,
+ $0,
+ e2,
+ dK,
r2,
- $U,
+ i2,
+ eW,
uIe,
- $K,
+ eq,
dIe,
mIe,
- $([(e, t, n) => $U(e) === "centric" ? s2(e, "radiusAxis", t) : s2(e, "angleAxis", n), n2], J0)
+ $([(e, t, n) => eW(e) === "centric" ? c2(e, "radiusAxis", t) : c2(e, "angleAxis", n), r2], Y0)
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = i;
if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];
@@ -66053,7 +66038,7 @@ var Q0 = $([(e, t) => KK(e, t), (e, t) => w1(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), gIe = $([dK, (e, t) => t], (e, t) => {
+}), gIe = $([fK, (e, t) => t], (e, t) => {
var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -66066,8 +66051,8 @@ var Q0 = $([(e, t) => KK(e, t), (e, t) => w1(e, "radiusAxis", t)], (e, t) => {
});
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
-function c2(e, t) {
- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && cU(e.zIndex) ? e.zIndex : t;
+function l2(e, t) {
+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && lU(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
@@ -66081,16 +66066,16 @@ var _Ie = [
"onClick",
"onMouseLeave"
], yIe = ["value", "background"];
-function l2() {
- return l2 = Object.assign ? Object.assign.bind() : function(e) {
+function u2() {
+ return u2 = 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;
- }, l2.apply(null, arguments);
+ }, u2.apply(null, arguments);
}
-function u2(e, t) {
+function d2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -66100,12 +66085,12 @@ function u2(e, t) {
}
return n;
}
-function d2(e) {
+function f2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? u2(Object(n), !0).forEach(function(t) {
+ t % 2 ? d2(Object(n), !0).forEach(function(t) {
bIe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u2(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : d2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -66133,7 +66118,7 @@ function SIe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function f2(e, t) {
+function p2(e, t) {
if (e == null) return {};
var n, r, i = CIe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -66151,7 +66136,7 @@ function CIe(e, t) {
}
return n;
}
-var p2 = [];
+var m2 = [];
function wIe(e) {
var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({
value: e.value,
@@ -66172,12 +66157,12 @@ function wIe(e) {
return /*#__PURE__*/ R.createElement(uNe, { value: t ? i : void 0 }, r);
}
function TIe(e) {
- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = f2(n, _Ie), l = UR(c), u = Q(AQ), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = f2(n, vIe), h = c0(d, n.dataKey, s), g = l0(p), _ = u0(f, n.dataKey, s);
+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = p2(n, _Ie), l = WR(c), u = Q(jQ), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = p2(n, vIe), h = l0(d, n.dataKey, s), g = u0(p), _ = d0(f, n.dataKey, s);
return t == null ? null : /*#__PURE__*/ R.createElement(wIe, {
showLabels: r,
sectors: t
}, t.map((e, t) => {
- var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = d2(d2(d2(d2({}, l), {}, { cornerRadius: V0(o) }, e), _B(m, e, t)), {}, {
+ var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = f2(f2(f2(f2({}, l), {}, { cornerRadius: H0(o) }, e), vB(m, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: s,
onClick: d,
@@ -66188,19 +66173,19 @@ function TIe(e) {
option: n ? a : i,
index: t
});
- return n ? /*#__PURE__*/ R.createElement(ZQ, {
- zIndex: IK.activeBar,
+ return n ? /*#__PURE__*/ R.createElement(QQ, {
+ zIndex: LK.activeBar,
key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`
- }, /*#__PURE__*/ R.createElement(H0, f)) : /*#__PURE__*/ R.createElement(H0, l2({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
- }), /*#__PURE__*/ R.createElement(c1, { label: n.label }), n.children);
+ }, /*#__PURE__*/ R.createElement(U0, f)) : /*#__PURE__*/ R.createElement(U0, u2({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
+ }), /*#__PURE__*/ R.createElement(l1, { label: n.label }), n.children);
}
function EIe(e) {
- var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = HG(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, R.useState)(!1), m = (0, R.useCallback)(() => {
+ var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = UG(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, R.useState)(!1), m = (0, R.useCallback)(() => {
typeof c == "function" && c(), p(!1);
}, [c]), h = (0, R.useCallback)(() => {
typeof l == "function" && l(), p(!0);
}, [l]);
- return /*#__PURE__*/ R.createElement(VG, {
+ return /*#__PURE__*/ R.createElement(HG, {
animationId: u,
begin: a,
duration: o,
@@ -66210,17 +66195,17 @@ function EIe(e) {
onAnimationEnd: m,
key: u
}, (e) => {
- var i = e === 1 ? r : (r ?? p2).map((t, n) => {
+ var i = e === 1 ? r : (r ?? m2).map((t, n) => {
var r = d && d[n];
- if (r) return d2(d2({}, t), {}, {
- startAngle: iB(r.startAngle, t.startAngle, e),
- endAngle: iB(r.endAngle, t.endAngle, e)
+ if (r) return f2(f2({}, t), {}, {
+ startAngle: aB(r.startAngle, t.startAngle, e),
+ endAngle: aB(r.endAngle, t.endAngle, e)
});
var { endAngle: i, startAngle: a } = t;
- return d2(d2({}, t), {}, { endAngle: iB(a, i, e) });
+ return f2(f2({}, t), {}, { endAngle: aB(a, i, e) });
});
return e > 0 && (n.current = i ?? null), /*#__PURE__*/ R.createElement(TIe, {
- sectors: i ?? p2,
+ sectors: i ?? m2,
allOtherRadialBarProps: t,
showLabels: !f
});
@@ -66235,12 +66220,12 @@ function DIe(e) {
}
function OIe(e) {
var t = Q((t) => gIe(t, e.legendType));
- return /*#__PURE__*/ R.createElement(p0, { legendPayload: t ?? [] });
+ return /*#__PURE__*/ R.createElement(m0, { legendPayload: t ?? [] });
}
var kIe = /*#__PURE__*/ R.memo((e) => {
var { dataKey: t, sectors: n, stroke: r, strokeWidth: i, name: a, hide: o, fill: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: n,
- getPosition: lB,
+ getPosition: uB,
settings: {
graphicalItemId: l,
stroke: r,
@@ -66248,45 +66233,45 @@ var kIe = /*#__PURE__*/ R.memo((e) => {
fill: s,
nameKey: void 0,
dataKey: t,
- name: TU(a, t),
+ name: EU(a, t),
hide: o,
type: c,
color: s,
unit: ""
}
};
- return /*#__PURE__*/ R.createElement(d0, { tooltipEntrySettings: u });
+ return /*#__PURE__*/ R.createElement(f0, { tooltipEntrySettings: u });
}), AIe = class extends R.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var { cornerRadius: t } = this.props, n = WR(this.props.background);
- return /*#__PURE__*/ R.createElement(ZQ, { zIndex: c2(this.props.background, IK.barBackground) }, e.map((e, r) => {
- var { value: i, background: a } = e, o = f2(e, yIe);
+ var { cornerRadius: t } = this.props, n = GR(this.props.background);
+ return /*#__PURE__*/ R.createElement(QQ, { zIndex: l2(this.props.background, LK.barBackground) }, e.map((e, r) => {
+ var { value: i, background: a } = e, o = p2(e, yIe);
if (!a) return null;
- var s = d2(d2(d2(d2(d2({ cornerRadius: V0(t) }, o), {}, { fill: "#eee" }, a), n), _B(this.props, e, r)), {}, {
+ var s = f2(f2(f2(f2(f2({ cornerRadius: H0(t) }, o), {}, { fill: "#eee" }, a), n), vB(this.props, e, r)), {}, {
index: r,
className: Sh("recharts-radial-bar-background-sector", String(n?.className)),
option: a,
isActive: !1
});
- return /*#__PURE__*/ R.createElement(H0, l2({ key: `background-${o.cx}-${o.cy}-${o.innerRadius}-${o.outerRadius}-${o.startAngle}-${o.endAngle}-${r}` }, s));
+ return /*#__PURE__*/ R.createElement(U0, u2({ key: `background-${o.cx}-${o.cy}-${o.innerRadius}-${o.outerRadius}-${o.startAngle}-${o.endAngle}-${r}` }, s));
}));
}
render() {
var { hide: e, sectors: t, className: n, background: r } = this.props;
if (e) return null;
var i = Sh("recharts-area", n);
- return /*#__PURE__*/ R.createElement(ZQ, { zIndex: this.props.zIndex }, /*#__PURE__*/ R.createElement(YR, { className: i }, r && /*#__PURE__*/ R.createElement(YR, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ R.createElement(YR, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ R.createElement(DIe, this.props))));
+ return /*#__PURE__*/ R.createElement(QQ, { zIndex: this.props.zIndex }, /*#__PURE__*/ R.createElement(XR, { className: i }, r && /*#__PURE__*/ R.createElement(XR, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ R.createElement(XR, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ R.createElement(DIe, this.props))));
}
};
function jIe(e) {
- var t = R.useMemo(() => Z1(e.children, m$), [e.children]), n = R.useMemo(() => ({
+ var t = R.useMemo(() => Q1(e.children, h$), [e.children]), n = R.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
dataKey: e.dataKey,
minPointSize: e.minPointSize,
- stackId: _U(e.stackId),
+ stackId: vU(e.stackId),
maxBarSize: e.maxBarSize,
barSize: e.barSize,
type: "radialBar",
@@ -66301,7 +66286,7 @@ function jIe(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = Q((r) => hIe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? p2;
+ ]), r = Q((r) => hIe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? m2;
return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(kIe, {
dataKey: e.dataKey,
sectors: r,
@@ -66312,9 +66297,9 @@ function jIe(e) {
fill: e.fill,
tooltipType: e.tooltipType,
id: e.id
- }), /*#__PURE__*/ R.createElement(AIe, l2({}, e, { sectors: r })));
+ }), /*#__PURE__*/ R.createElement(AIe, u2({}, e, { sectors: r })));
}
-var m2 = {
+var h2 = {
angleAxisId: 0,
animationBegin: 0,
animationDuration: 1500,
@@ -66329,14 +66314,14 @@ var m2 = {
legendType: "rect",
minPointSize: 0,
radiusAxisId: 0,
- zIndex: IK.bar
+ zIndex: LK.bar
};
function MIe(e) {
var { displayedData: t, stackedData: n, dataStartIndex: r, stackedDomain: i, dataKey: a, baseValue: o, layout: s, radiusAxis: c, radiusAxisTicks: l, bandSize: u, pos: d, angleAxis: f, minPointSize: p, cx: m, cy: h, angleAxisTicks: g, cells: _, startAngle: v, endAngle: y } = e;
- return g == null || l == null ? p2 : (t ?? []).map((e, t) => {
+ return g == null || l == null ? m2 : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
- if (n ? b = gU(n[r + t], i) : (b = fU(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 = yU({
+ if (n ? b = _U(n[r + t], i) : (b = pU(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 = bU({
axis: c,
ticks: l,
bandSize: u,
@@ -66347,7 +66332,7 @@ function MIe(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = Zz(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = Qz(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -66359,7 +66344,7 @@ function MIe(e) {
endAngle: y
} };
}
- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = yU({
+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = bU({
axis: f,
ticks: g,
bandSize: u,
@@ -66370,11 +66355,11 @@ function MIe(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = Zz(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = Qz(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
- return d2(d2(d2({}, e), T), {}, {
+ return f2(f2(f2({}, e), T), {}, {
payload: e,
value: n ? b : b[1],
cx: m,
@@ -66386,38 +66371,38 @@ function MIe(e) {
}, _ && _[t] && _[t].props);
});
}
-function h2(e) {
- var t = yB(e, m2);
- return /*#__PURE__*/ R.createElement(m0, {
+function g2(e) {
+ var t = bB(e, h2);
+ return /*#__PURE__*/ R.createElement(h0, {
id: t.id,
type: "radialBar"
- }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(_0, {
+ }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(v0, {
type: "radialBar",
id: e,
data: void 0,
dataKey: t.dataKey,
- hide: t.hide ?? m2.hide,
- angleAxisId: t.angleAxisId ?? m2.angleAxisId,
- radiusAxisId: t.radiusAxisId ?? m2.radiusAxisId,
- stackId: _U(t.stackId),
+ hide: t.hide ?? h2.hide,
+ angleAxisId: t.angleAxisId ?? h2.angleAxisId,
+ radiusAxisId: t.radiusAxisId ?? h2.radiusAxisId,
+ stackId: vU(t.stackId),
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ R.createElement(OIe, t), /*#__PURE__*/ R.createElement(jIe, l2({}, t, { id: e }))));
+ }), /*#__PURE__*/ R.createElement(OIe, t), /*#__PURE__*/ R.createElement(jIe, u2({}, t, { id: e }))));
}
-h2.displayName = "RadialBar";
+g2.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
-var g2 = (e) => {
- var { chartData: t } = e, n = KB(), r = FU();
- return (0, R.useEffect)(() => r ? () => {} : (n(c$(t)), () => {
- n(c$(void 0));
+var _2 = (e) => {
+ var { chartData: t } = e, n = qB(), r = IU();
+ return (0, R.useEffect)(() => r ? () => {} : (n(l$(t)), () => {
+ n(l$(void 0));
}), [
t,
n,
r
]), null;
-}, _2 = {
+}, v2 = {
x: 0,
y: 0,
width: 0,
@@ -66428,13 +66413,13 @@ var g2 = (e) => {
bottom: 0,
left: 0
}
-}, v2 = NH({
+}, y2 = PH({
name: "brush",
- initialState: _2,
+ initialState: v2,
reducers: { setBrushSettings(e, t) {
- return t.payload == null ? _2 : t.payload;
+ return t.payload == null ? v2 : t.payload;
} }
-}), { setBrushSettings: NIe } = v2.actions, PIe = v2.reducer, FIe = (e, t) => {
+}), { setBrushSettings: NIe } = y2.actions, PIe = y2.reducer, FIe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return {
x: Math.min(n, i),
@@ -66458,7 +66443,7 @@ function LIe(e) {
var RIe = function(e) {
var { width: t, height: n } = e, r = LIe(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);
-}, y2 = NH({
+}, b2 = PH({
name: "referenceElements",
initialState: {
dots: [],
@@ -66470,35 +66455,35 @@ var RIe = function(e) {
e.dots.push(t.payload);
},
removeDot: (e, t) => {
- var n = bH(e).dots.findIndex((e) => e === t.payload);
+ var n = xH(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 = bH(e).areas.findIndex((e) => e === t.payload);
+ var n = xH(e).areas.findIndex((e) => e === t.payload);
n !== -1 && e.areas.splice(n, 1);
},
addLine: (e, t) => {
- e.lines.push(WW(t.payload));
+ e.lines.push(GW(t.payload));
},
removeLine: (e, t) => {
- var n = bH(e).lines.findIndex((e) => e === t.payload);
+ var n = xH(e).lines.findIndex((e) => e === t.payload);
n !== -1 && e.lines.splice(n, 1);
}
}
-}), { addDot: zIe, removeDot: BIe, addArea: VIe, removeArea: HIe, addLine: UIe, removeLine: WIe } = y2.actions, GIe = y2.reducer, b2 = /*#__PURE__*/ (0, R.createContext)(void 0), KIe = (e) => {
- var { children: t } = e, [n] = (0, R.useState)(`${tB("recharts")}-clip`), r = T0();
+}), { addDot: zIe, removeDot: BIe, addArea: VIe, removeArea: HIe, addLine: UIe, removeLine: WIe } = b2.actions, GIe = b2.reducer, x2 = /*#__PURE__*/ (0, R.createContext)(void 0), KIe = (e) => {
+ var { children: t } = e, [n] = (0, R.useState)(`${nB("recharts")}-clip`), r = E0();
if (r == null) return null;
var { x: i, y: a, width: o, height: s } = r;
- return /*#__PURE__*/ R.createElement(b2.Provider, { value: n }, /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement("clipPath", { id: n }, /*#__PURE__*/ R.createElement("rect", {
+ return /*#__PURE__*/ R.createElement(x2.Provider, { value: n }, /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement("clipPath", { id: n }, /*#__PURE__*/ R.createElement("rect", {
x: i,
y: a,
height: s,
width: o
}))), t);
-}, qIe = () => (0, R.useContext)(b2), JIe = class {
+}, qIe = () => (0, R.useContext)(x2), JIe = class {
constructor(e) {
var { x: t, y: n } = e;
this.xAxisScale = t, this.yAxisScale = n;
@@ -66524,7 +66509,7 @@ var RIe = function(e) {
};
//#endregion
//#region node_modules/recharts/es6/cartesian/ReferenceLine.js
-function x2(e, t) {
+function S2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -66534,12 +66519,12 @@ function x2(e, t) {
}
return n;
}
-function S2(e) {
+function C2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? x2(Object(n), !0).forEach(function(t) {
+ t % 2 ? S2(Object(n), !0).forEach(function(t) {
YIe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : x2(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -66567,27 +66552,27 @@ function ZIe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function C2() {
- return C2 = Object.assign ? Object.assign.bind() : function(e) {
+function w2() {
+ return w2 = 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;
- }, C2.apply(null, arguments);
+ }, w2.apply(null, arguments);
}
var QIe = (e, t) => {
var n;
if (/*#__PURE__*/ R.isValidElement(e)) n = /*#__PURE__*/ R.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
else {
- if (!cU(t.x1) || !cU(t.y1) || !cU(t.x2) || !cU(t.y2)) return null;
- n = /*#__PURE__*/ R.createElement("line", C2({}, t, { className: "recharts-reference-line-line" }));
+ if (!lU(t.x1) || !lU(t.y1) || !lU(t.x2) || !lU(t.y2)) return null;
+ n = /*#__PURE__*/ R.createElement("line", w2({}, t, { className: "recharts-reference-line-line" }));
}
return n;
}, $Ie = (e, t, n, r, i, a) => {
var { x: o, width: s } = a, c = i.map(e, { position: n });
- if (!cU(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!lU(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: o + s,
y: c
@@ -66598,7 +66583,7 @@ var QIe = (e, t) => {
return r === "left" ? l.reverse() : l;
}, eLe = (e, t, n, r, i, a) => {
var { y: o, height: s } = a, c = i.map(e, { position: n });
- if (!cU(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!lU(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: c,
y: o + s
@@ -66617,26 +66602,26 @@ var QIe = (e, t) => {
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
}, nLe = (e, t, n, r, i, a, o) => {
- var { x: s, y: c, segment: l, ifOverflow: u } = o, d = eB(s);
- return eB(c) ? $Ie(c, u, r, a, t, n) : d ? eLe(s, u, r, i, e, n) : l != null && l.length === 2 ? tLe(l, u, r, new JIe({
+ var { x: s, y: c, segment: l, ifOverflow: u } = o, d = tB(s);
+ return tB(c) ? $Ie(c, u, r, a, t, n) : d ? eLe(s, u, r, i, e, n) : l != null && l.length === 2 ? tLe(l, u, r, new JIe({
x: e,
y: t
})) : null;
};
function rLe(e) {
- var t = KB();
+ var t = qB();
return (0, R.useEffect)(() => (t(UIe(e)), () => {
t(WIe(e));
})), null;
}
function iLe(e) {
- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = FU(), s = qIe(), c = Q((e) => kX(e, t)), l = Q((e) => MX(e, n)), u = Q((e) => kZ(e, "xAxis", t, o)), d = Q((e) => kZ(e, "yAxis", n, o)), f = YU();
+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = IU(), s = qIe(), c = Q((e) => AX(e, t)), l = Q((e) => NX(e, n)), u = Q((e) => AZ(e, "xAxis", t, o)), d = Q((e) => AZ(e, "yAxis", n, o)), f = XU();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
var p = nLe(u, d, f, e.position, c.orientation, l.orientation, e);
if (!p) return null;
var m = p[0], h = p[1];
if (m == null || h == null) return null;
- var { x: g, y: _ } = m, { x: v, y } = h, b = S2(S2({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, GR(e)), {}, {
+ var { x: g, y: _ } = m, { x: v, y } = h, b = C2(C2({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, KR(e)), {}, {
x1: g,
y1: _,
x2: v,
@@ -66647,10 +66632,10 @@ function iLe(e) {
x2: v,
y2: y
});
- return /*#__PURE__*/ R.createElement(ZQ, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(YR, { className: Sh("recharts-reference-line", i) }, QIe(r, b), /*#__PURE__*/ R.createElement(q$, C2({}, x, {
+ return /*#__PURE__*/ R.createElement(QQ, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(XR, { className: Sh("recharts-reference-line", i) }, QIe(r, b), /*#__PURE__*/ R.createElement(J$, w2({}, x, {
lowerWidth: x.width,
upperWidth: x.width
- }), /*#__PURE__*/ R.createElement(t1, { label: e.label }), e.children)));
+ }), /*#__PURE__*/ R.createElement(n1, { label: e.label }), e.children)));
}
var aLe = {
ifOverflow: "discard",
@@ -66662,10 +66647,10 @@ var aLe = {
fillOpacity: 1,
strokeWidth: 1,
position: "middle",
- zIndex: IK.line
+ zIndex: LK.line
};
-function w2(e) {
- var t = yB(e, aLe);
+function T2(e) {
+ var t = bB(e, aLe);
return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(rLe, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
@@ -66675,10 +66660,10 @@ function w2(e) {
segment: t.segment
}), /*#__PURE__*/ R.createElement(iLe, t));
}
-w2.displayName = "ReferenceLine";
+T2.displayName = "ReferenceLine";
//#endregion
//#region node_modules/recharts/es6/util/getEveryNth.js
-function T2(e, t) {
+function E2(e, t) {
if (t < 1) return [];
if (t === 1) return e;
for (var n = [], r = 0; r < e.length; r += t) {
@@ -66705,21 +66690,21 @@ function sLe(e, t, n) {
end: r ? i : a
};
}
-function E2(e, t, n, r, i) {
+function D2(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 cLe(e, t) {
- return T2(e, t + 1);
+ return E2(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
function lLe(e, t, n, r, i) {
for (var a = (r || []).slice(), { start: o, end: s } = t, c = 0, l = 1, u = o, d = function() {
var t = r?.[c];
- if (t === void 0) return { v: T2(r, l) };
- var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || E2(e, p, f, u, s);
+ if (t === void 0) return { v: E2(r, l) };
+ var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || D2(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 [];
@@ -66731,7 +66716,7 @@ function uLe(e, t, n, r, i) {
for (var l = (a - 1) % c, u = o, d = !0, f = function() {
var t = r[m];
if (t == null) return 0;
- var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || E2(e, f, c, u, s);
+ var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || D2(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);
@@ -66747,7 +66732,7 @@ function uLe(e, t, n, r, i) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getTicks.js
-function D2(e, t) {
+function O2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -66757,12 +66742,12 @@ function D2(e, t) {
}
return n;
}
-function O2(e) {
+function k2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? D2(Object(n), !0).forEach(function(t) {
+ t % 2 ? O2(Object(n), !0).forEach(function(t) {
dLe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D2(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -66797,9 +66782,9 @@ function mLe(e, t, n, r, i) {
var l = r, u, d = () => (u === void 0 && (u = n(r, t)), u);
if (t === o - 1) {
var f = e * (l.coordinate + e * d() / 2 - c);
- a[t] = l = O2(O2({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });
- } else a[t] = l = O2(O2({}, l), {}, { tickCoord: l.coordinate });
- l.tickCoord != null && E2(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = O2(O2({}, l), {}, { isShow: !0 }));
+ a[t] = l = k2(k2({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });
+ } else a[t] = l = k2(k2({}, l), {}, { tickCoord: l.coordinate });
+ l.tickCoord != null && D2(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = k2(k2({}, l), {}, { isShow: !0 }));
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
@@ -66809,7 +66794,7 @@ function hLe(e, t, n, r, i, a) {
var u = r[s - 1];
if (u != null) {
var d = n(u, s - 1), f = e * (u.coordinate + e * d / 2 - l);
- o[s - 1] = u = O2(O2({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && E2(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = O2(O2({}, u), {}, { isShow: !0 }));
+ o[s - 1] = u = k2(k2({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && D2(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = k2(k2({}, u), {}, { isShow: !0 }));
}
}
for (var p = a ? s - 1 : s, m = function(t) {
@@ -66818,17 +66803,17 @@ function hLe(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 = O2(O2({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });
- } else o[t] = a = O2(O2({}, a), {}, { tickCoord: a.coordinate });
- a.tickCoord != null && E2(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = O2(O2({}, a), {}, { isShow: !0 }));
+ o[t] = a = k2(k2({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });
+ } else o[t] = a = k2(k2({}, a), {}, { tickCoord: a.coordinate });
+ a.tickCoord != null && D2(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = k2(k2({}, a), {}, { isShow: !0 }));
}, h = 0; h < p; h++) if (m(h)) continue;
return o;
}
-function k2(e, t, n) {
+function A2(e, t, n) {
var { tick: r, ticks: i, viewBox: a, minTickGap: o, orientation: s, interval: c, tickFormatter: l, unit: u, angle: d } = e;
if (!i || !i.length || !r) return [];
- if (Z(c) || lG.isSsr) return cLe(i, Z(c) ? c : 0) ?? [];
- var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? b$(u, {
+ if (Z(c) || uG.isSsr) return cLe(i, Z(c) ? c : 0) ?? [];
+ var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? x$(u, {
fontSize: t,
letterSpacing: n
}) : {
@@ -66836,14 +66821,14 @@ function k2(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? oLe(b$(i, {
+ return p === "width" ? oLe(x$(i, {
fontSize: t,
letterSpacing: n
- }), m, d) : b$(i, {
+ }), m, d) : x$(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? Zz(_.coordinate - g.coordinate) : 1, y = sLe(a, v, p);
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? Qz(_.coordinate - g.coordinate) : 1, y = sLe(a, v, p);
return c === "equidistantPreserveStart" ? lLe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? uLe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? hLe(v, y, h, i, o, c === "preserveStartEnd") : mLe(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
@@ -66861,7 +66846,7 @@ var gLe = (e) => {
return Math.round(l);
}
return 0;
-}, A2 = NH({
+}, j2 = PH({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -66870,14 +66855,14 @@ var gLe = (e) => {
reducers: {
setRenderedTicks: (e, t) => {
var { axisType: n, axisId: r, ticks: i } = t.payload;
- e[n][r] = WW(i);
+ e[n][r] = GW(i);
},
removeRenderedTicks: (e, t) => {
var { axisType: n, axisId: r } = t.payload;
delete e[n][r];
}
}
-}), { setRenderedTicks: _Le, removeRenderedTicks: vLe } = A2.actions, yLe = A2.reducer, bLe = [
+}), { setRenderedTicks: _Le, removeRenderedTicks: vLe } = j2.actions, yLe = j2.reducer, bLe = [
"axisLine",
"width",
"height",
@@ -66905,16 +66890,16 @@ function SLe(e, t) {
}
return n;
}
-function j2() {
- return j2 = Object.assign ? Object.assign.bind() : function(e) {
+function M2() {
+ return M2 = 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;
- }, j2.apply(null, arguments);
+ }, M2.apply(null, arguments);
}
-function M2(e, t) {
+function N2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -66924,12 +66909,12 @@ function M2(e, t) {
}
return n;
}
-function N2(e) {
+function P2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? M2(Object(n), !0).forEach(function(t) {
+ t % 2 ? N2(Object(n), !0).forEach(function(t) {
CLe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M2(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -66957,7 +66942,7 @@ function TLe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var P2 = {
+var F2 = {
x: 0,
y: 0,
width: 0,
@@ -66979,15 +66964,15 @@ var P2 = {
tickSize: 6,
tickMargin: 2,
interval: "preserveEnd",
- zIndex: IK.axis
+ zIndex: LK.axis
};
function ELe(e) {
var { x: t, y: n, width: r, height: i, orientation: a, mirror: o, axisLine: s, otherSvgProps: c } = e;
if (!s) return null;
- var l = N2(N2(N2({}, c), UR(s)), {}, { fill: "none" });
+ var l = P2(P2(P2({}, c), WR(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
- l = N2(N2({}, l), {}, {
+ l = P2(P2({}, l), {}, {
x1: t,
y1: n + u * i,
x2: t + r,
@@ -66995,14 +66980,14 @@ function ELe(e) {
});
} else {
var d = +(a === "left" && !o || a === "right" && o);
- l = N2(N2({}, l), {}, {
+ l = P2(P2({}, l), {}, {
x1: t + d * r,
y1: n,
x2: t + d * r,
y2: n + i
});
}
- return /*#__PURE__*/ R.createElement("line", j2({}, l, { className: Sh("recharts-cartesian-axis-line", Jz(s, "className")) }));
+ return /*#__PURE__*/ R.createElement("line", M2({}, l, { className: Sh("recharts-cartesian-axis-line", Yz(s, "className")) }));
}
function DLe(e, t, n, r, i, a, o, s, c) {
var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = Z(e.tickCoord) ? e.tickCoord : e.coordinate;
@@ -67048,17 +67033,17 @@ function kLe(e, t) {
}
function ALe(e) {
var { option: t, tickProps: n, value: r } = e, i, a = Sh(n.className, "recharts-cartesian-axis-tick-value");
- if (/*#__PURE__*/ R.isValidElement(t)) i = /*#__PURE__*/ R.cloneElement(t, N2(N2({}, n), {}, { className: a }));
- else if (typeof t == "function") i = t(N2(N2({}, n), {}, { className: a }));
+ if (/*#__PURE__*/ R.isValidElement(t)) i = /*#__PURE__*/ R.cloneElement(t, P2(P2({}, n), {}, { className: a }));
+ else if (typeof t == "function") i = t(P2(P2({}, n), {}, { className: a }));
else {
var o = "recharts-cartesian-axis-tick-value";
- typeof t != "boolean" && (o = Sh(o, F1(t))), i = /*#__PURE__*/ R.createElement(z$, j2({}, n, { className: o }), r);
+ typeof t != "boolean" && (o = Sh(o, I1(t))), i = /*#__PURE__*/ R.createElement(B$, M2({}, n, { className: o }), r);
}
return i;
}
function jLe(e) {
- var { ticks: t, axisType: n, axisId: r } = e, i = KB();
- return (0, R.useEffect)(() => r == null || n == null ? lB : (i(_Le({
+ var { ticks: t, axisType: n, axisId: r } = e, i = qB();
+ return (0, R.useEffect)(() => r == null || n == null ? uB : (i(_Le({
ticks: t.map((e) => ({
value: e.value,
coordinate: e.coordinate,
@@ -67080,16 +67065,16 @@ function jLe(e) {
]), null;
}
var MLe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = k2(N2(N2({}, b), {}, { ticks: n }), v, y), T = UR(b), E = WR(r), D = N$(T.textAnchor) ? T.textAnchor : OLe(u, d), O = kLe(u, d), k = {};
+ var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = A2(P2(P2({}, b), {}, { ticks: n }), v, y), T = WR(b), E = GR(r), D = P$(T.textAnchor) ? T.textAnchor : OLe(u, d), O = kLe(u, d), k = {};
typeof i == "object" && (k = i);
- var A = N2(N2({}, T), {}, { fill: "none" }, k), j = w.map((e) => N2({ entry: e }, DLe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
+ var A = P2(P2({}, T), {}, { fill: "none" }, k), j = w.map((e) => P2({ entry: e }, DLe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
var { entry: t, line: n } = e;
- return /*#__PURE__*/ R.createElement(YR, {
+ return /*#__PURE__*/ R.createElement(XR, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, i && /*#__PURE__*/ R.createElement("line", j2({}, A, n, { className: Sh("recharts-cartesian-axis-tick-line", Jz(i, "className")) })));
+ }, i && /*#__PURE__*/ R.createElement("line", M2({}, A, n, { className: Sh("recharts-cartesian-axis-tick-line", Yz(i, "className")) })));
}), N = j.map((e, t) => {
- var { entry: n, tick: i } = e, u = N2(N2({}, N2(N2(N2(N2({ verticalAnchor: O }, T), {}, {
+ var { entry: n, tick: i } = e, u = P2(P2({}, P2(P2(P2(P2({ verticalAnchor: O }, T), {}, {
textAnchor: D,
stroke: "none",
fill: a
@@ -67100,10 +67085,10 @@ var MLe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
tickFormatter: o,
padding: c
}, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), E);
- return /*#__PURE__*/ R.createElement(YR, j2({
+ return /*#__PURE__*/ R.createElement(XR, M2({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, _B(x, n, t)), r && /*#__PURE__*/ R.createElement(ALe, {
+ }, vB(x, n, t)), r && /*#__PURE__*/ R.createElement(ALe, {
option: r,
tickProps: u,
value: `${typeof o == "function" ? o(n.value, t) : n.value}${s || ""}`
@@ -67113,7 +67098,7 @@ var MLe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
ticks: w,
axisId: C,
axisType: S
- }), N.length > 0 && /*#__PURE__*/ R.createElement(ZQ, { zIndex: IK.label }, /*#__PURE__*/ R.createElement("g", {
+ }), N.length > 0 && /*#__PURE__*/ R.createElement(QQ, { zIndex: LK.label }, /*#__PURE__*/ R.createElement("g", {
className: `recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,
ref: t
}, N)), M.length > 0 && /*#__PURE__*/ R.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, M));
@@ -67137,7 +67122,7 @@ var MLe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
}
}
}, [d, p]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ R.createElement(ZQ, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(YR, { className: Sh("recharts-cartesian-axis", a) }, /*#__PURE__*/ R.createElement(ELe, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ R.createElement(QQ, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(XR, { className: Sh("recharts-cartesian-axis", a) }, /*#__PURE__*/ R.createElement(ELe, {
x: e.x,
y: e.y,
width: r,
@@ -67145,7 +67130,7 @@ var MLe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: UR(e)
+ otherSvgProps: WR(e)
}), /*#__PURE__*/ R.createElement(MLe, {
ref: g,
axisType: c,
@@ -67170,22 +67155,22 @@ var MLe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
x: e.x,
y: e.y,
axisId: l
- }), /*#__PURE__*/ R.createElement(q$, {
+ }), /*#__PURE__*/ R.createElement(J$, {
x: e.x,
y: e.y,
width: e.width,
height: e.height,
lowerWidth: e.width,
upperWidth: e.width
- }, /*#__PURE__*/ R.createElement(t1, {
+ }, /*#__PURE__*/ R.createElement(n1, {
label: e.label,
labelRef: e.labelRef
}), e.children)));
-}), F2 = /*#__PURE__*/ R.forwardRef((e, t) => {
- var n = yB(e, P2);
- return /*#__PURE__*/ R.createElement(NLe, j2({}, n, { ref: t }));
+}), I2 = /*#__PURE__*/ R.forwardRef((e, t) => {
+ var n = bB(e, F2);
+ return /*#__PURE__*/ R.createElement(NLe, M2({}, n, { ref: t }));
});
-F2.displayName = "CartesianAxis";
+I2.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/CartesianGrid.js
var PLe = [
@@ -67195,7 +67180,7 @@ var PLe = [
"y2",
"key"
], FLe = ["offset"], ILe = ["xAxisId", "yAxisId"], LLe = ["xAxisId", "yAxisId"];
-function I2(e, t) {
+function L2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -67205,12 +67190,12 @@ function I2(e, t) {
}
return n;
}
-function L2(e) {
+function R2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? I2(Object(n), !0).forEach(function(t) {
+ t % 2 ? L2(Object(n), !0).forEach(function(t) {
RLe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I2(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -67238,16 +67223,16 @@ function BLe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function R2() {
- return R2 = Object.assign ? Object.assign.bind() : function(e) {
+function z2() {
+ return z2 = 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;
- }, R2.apply(null, arguments);
+ }, z2.apply(null, arguments);
}
-function z2(e, t) {
+function B2(e, t) {
if (e == null) return {};
var n, r, i = VLe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -67281,13 +67266,13 @@ var HLe = (e) => {
className: "recharts-cartesian-grid-bg"
});
};
-function B2(e) {
+function V2(e) {
var { option: t, lineItemProps: n } = e, r;
if (/*#__PURE__*/ R.isValidElement(t)) r = /*#__PURE__*/ R.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = UR(z2(n, PLe)) ?? {}, { offset: u } = l, d = z2(l, FLe);
- r = /*#__PURE__*/ R.createElement("line", R2({}, d, {
+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = WR(B2(n, PLe)) ?? {}, { offset: u } = l, d = B2(l, FLe);
+ r = /*#__PURE__*/ R.createElement("line", z2({}, d, {
x1: i,
y1: a,
x2: o,
@@ -67301,8 +67286,8 @@ function B2(e) {
function ULe(e) {
var { x: t, width: n, horizontal: r = !0, horizontalPoints: i } = e;
if (!r || !i || !i.length) return null;
- var { xAxisId: a, yAxisId: o } = e, s = z2(e, ILe), c = i.map((e, i) => {
- var a = L2(L2({}, s), {}, {
+ var { xAxisId: a, yAxisId: o } = e, s = B2(e, ILe), c = i.map((e, i) => {
+ var a = R2(R2({}, s), {}, {
x1: t,
y1: e,
x2: t + n,
@@ -67310,7 +67295,7 @@ function ULe(e) {
key: `line-${i}`,
index: i
});
- return /*#__PURE__*/ R.createElement(B2, {
+ return /*#__PURE__*/ R.createElement(V2, {
key: `line-${i}`,
option: r,
lineItemProps: a
@@ -67321,8 +67306,8 @@ function ULe(e) {
function WLe(e) {
var { y: t, height: n, vertical: r = !0, verticalPoints: i } = e;
if (!r || !i || !i.length) return null;
- var { xAxisId: a, yAxisId: o } = e, s = z2(e, LLe), c = i.map((e, i) => {
- var a = L2(L2({}, s), {}, {
+ var { xAxisId: a, yAxisId: o } = e, s = B2(e, LLe), c = i.map((e, i) => {
+ var a = R2(R2({}, s), {}, {
x1: e,
y1: t,
x2: e,
@@ -67330,7 +67315,7 @@ function WLe(e) {
key: `line-${i}`,
index: i
});
- return /*#__PURE__*/ R.createElement(B2, {
+ return /*#__PURE__*/ R.createElement(V2, {
option: r,
lineItemProps: a,
key: `line-${i}`
@@ -67386,8 +67371,8 @@ function KLe(e) {
}
var qLe = (e, t) => {
var { xAxis: n, width: r, height: i, offset: a } = e;
- return mU(k2(L2(L2(L2({}, P2), n), {}, {
- ticks: hU(n, !0),
+ return hU(A2(R2(R2(R2({}, F2), n), {}, {
+ ticks: gU(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -67397,8 +67382,8 @@ var qLe = (e, t) => {
})), a.left, a.left + a.width, t);
}, JLe = (e, t) => {
var { yAxis: n, width: r, height: i, offset: a } = e;
- return mU(k2(L2(L2(L2({}, P2), n), {}, {
- ticks: hU(n, !0),
+ return hU(A2(R2(R2(R2({}, F2), n), {}, {
+ ticks: gU(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -67418,36 +67403,36 @@ var qLe = (e, t) => {
xAxisId: 0,
yAxisId: 0,
syncWithTicks: !1,
- zIndex: IK.grid
+ zIndex: LK.grid
};
-function V2(e) {
- var t = ZU(), n = QU(), r = XU(), i = L2(L2({}, yB(e, YLe)), {}, {
+function H2(e) {
+ var t = QU(), n = $U(), r = ZU(), i = R2(R2({}, bB(e, YLe)), {}, {
x: Z(e.x) ? e.x : r.left,
y: Z(e.y) ? e.y : r.top,
width: Z(e.width) ? e.width : r.width,
height: Z(e.height) ? e.height : r.height
- }), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = FU(), h = Q((e) => zZ(e, "xAxis", a, m)), g = Q((e) => zZ(e, "yAxis", o, m));
- if (!lU(l) || !lU(u) || !Z(s) || !Z(c)) return null;
+ }), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = IU(), h = Q((e) => BZ(e, "xAxis", a, m)), g = Q((e) => BZ(e, "yAxis", o, m));
+ if (!uU(l) || !uU(u) || !Z(s) || !Z(c)) return null;
var _ = i.verticalCoordinatesGenerator || qLe, v = i.horizontalCoordinatesGenerator || JLe, { horizontalPoints: y, verticalPoints: b } = i;
if ((!y || !y.length) && typeof v == "function") {
var x = f && f.length, S = v({
- yAxis: g ? L2(L2({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
+ yAxis: g ? R2(R2({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
width: t ?? l,
height: n ?? u,
offset: r
}, x ? !0 : d);
- RU(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
+ zU(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
}
if ((!b || !b.length) && typeof _ == "function") {
var C = p && p.length, w = _({
- xAxis: h ? L2(L2({}, h), {}, { ticks: C ? p : h.ticks }) : void 0,
+ xAxis: h ? R2(R2({}, h), {}, { ticks: C ? p : h.ticks }) : void 0,
width: t ?? l,
height: n ?? u,
offset: r
}, C ? !0 : d);
- RU(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
+ zU(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
}
- return /*#__PURE__*/ R.createElement(ZQ, { zIndex: i.zIndex }, /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ R.createElement(HLe, {
+ return /*#__PURE__*/ R.createElement(QQ, { zIndex: i.zIndex }, /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ R.createElement(HLe, {
fill: i.fill,
fillOpacity: i.fillOpacity,
x: i.x,
@@ -67455,22 +67440,22 @@ function V2(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ R.createElement(GLe, R2({}, i, { horizontalPoints: y })), /*#__PURE__*/ R.createElement(KLe, R2({}, i, { verticalPoints: b })), /*#__PURE__*/ R.createElement(ULe, R2({}, i, {
+ }), /*#__PURE__*/ R.createElement(GLe, z2({}, i, { horizontalPoints: y })), /*#__PURE__*/ R.createElement(KLe, z2({}, i, { verticalPoints: b })), /*#__PURE__*/ R.createElement(ULe, z2({}, i, {
offset: r,
horizontalPoints: y,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ R.createElement(WLe, R2({}, i, {
+ })), /*#__PURE__*/ R.createElement(WLe, z2({}, i, {
offset: r,
verticalPoints: b,
xAxis: h,
yAxis: g
}))));
}
-V2.displayName = "CartesianGrid";
+H2.displayName = "CartesianGrid";
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var H2 = NH({
+var U2 = PH({
name: "errorBars",
initialState: {},
reducers: {
@@ -67487,7 +67472,7 @@ var H2 = NH({
e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));
}
}
-}), { addErrorBar: XLe, replaceErrorBar: ZLe, removeErrorBar: QLe } = H2.actions, $Le = H2.reducer, eRe = ["children"];
+}), { addErrorBar: XLe, replaceErrorBar: ZLe, removeErrorBar: QLe } = U2.actions, $Le = U2.reducer, eRe = ["children"];
function tRe(e, t) {
if (e == null) return {};
var n, r, i = nRe(e, t);
@@ -67517,22 +67502,22 @@ var rRe = /*#__PURE__*/ (0, R.createContext)({
}),
errorBarOffset: 0
});
-function U2(e) {
+function W2(e) {
var { children: t } = e, n = tRe(e, eRe);
return /*#__PURE__*/ R.createElement(rRe.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
-function W2(e, t) {
- var n = Q((t) => kX(t, e)), r = Q((e) => MX(e, t)), i = n?.allowDataOverflow ?? DX.allowDataOverflow, a = r?.allowDataOverflow ?? AX.allowDataOverflow;
+function G2(e, t) {
+ var n = Q((t) => AX(t, e)), r = Q((e) => NX(e, t)), i = n?.allowDataOverflow ?? OX.allowDataOverflow, a = r?.allowDataOverflow ?? jX.allowDataOverflow;
return {
needClip: i || a,
needClipX: i,
needClipY: a
};
}
-function G2(e) {
- var { xAxisId: t, yAxisId: n, clipPathId: r } = e, i = T0(), { needClipX: a, needClipY: o, needClip: s } = W2(t, n);
+function K2(e) {
+ var { xAxisId: t, yAxisId: n, clipPathId: r } = e, i = E0(), { needClipX: a, needClipY: o, needClip: s } = G2(t, n);
if (!s || !i) return null;
var { x: c, y: l, width: u, height: d } = i;
return /*#__PURE__*/ R.createElement("clipPath", { id: `clipPath-${r}` }, /*#__PURE__*/ R.createElement("rect", {
@@ -67544,25 +67529,25 @@ function G2(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var K2 = (e, t, n, r) => WZ(e, "xAxis", t, r), q2 = (e, t, n, r) => UZ(e, "xAxis", t, r), J2 = (e, t, n, r) => WZ(e, "yAxis", n, r), Y2 = (e, t, n, r) => UZ(e, "yAxis", n, r), iRe = $([
- $U,
- K2,
- J2,
+var q2 = (e, t, n, r) => GZ(e, "xAxis", t, r), J2 = (e, t, n, r) => WZ(e, "xAxis", t, r), Y2 = (e, t, n, r) => GZ(e, "yAxis", n, r), X2 = (e, t, n, r) => WZ(e, "yAxis", n, r), iRe = $([
+ eW,
q2,
- Y2
-], (e, t, n, r, i) => pU(e, "xAxis") ? CU(t, r, !1) : CU(n, i, !1)), aRe = (e, t, n, r, i) => i;
+ Y2,
+ J2,
+ X2
+], (e, t, n, r, i) => mU(e, "xAxis") ? wU(t, r, !1) : wU(n, i, !1)), aRe = (e, t, n, r, i) => i;
function oRe(e) {
return e.type === "line";
}
var sRe = $([
- $U,
- K2,
- J2,
+ eW,
q2,
Y2,
- $([RX, aRe], (e, t) => e.filter(oRe).find((e) => e.id === t)),
+ J2,
+ X2,
+ $([zX, aRe], (e, t) => e.filter(oRe).find((e) => e.id === t)),
iRe,
- fK
+ pK
], (e, t, n, r, i, a, o, s) => {
var { chartData: c, dataStartIndex: l, dataEndIndex: u } = s;
if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {
@@ -67581,8 +67566,8 @@ var sRe = $([
});
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
-function X2(e) {
- var t = WR(e), n = 3, r = 2;
+function Z2(e) {
+ var t = GR(e), n = 3, r = 2;
if (t != null) {
var { r: i, strokeWidth: a } = t, o = Number(i), s = Number(a);
return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {
@@ -67619,16 +67604,16 @@ var cRe = ["id"], lRe = [
"yAxisId",
"id"
];
-function Z2() {
- return Z2 = Object.assign ? Object.assign.bind() : function(e) {
+function Q2() {
+ return Q2 = 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;
- }, Z2.apply(null, arguments);
+ }, Q2.apply(null, arguments);
}
-function Q2(e, t) {
+function $2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -67638,12 +67623,12 @@ function Q2(e, t) {
}
return n;
}
-function $2(e) {
+function e4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Q2(Object(n), !0).forEach(function(t) {
+ t % 2 ? $2(Object(n), !0).forEach(function(t) {
dRe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q2(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -67671,7 +67656,7 @@ function pRe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function e4(e, t) {
+function t4(e, t) {
if (e == null) return {};
var n, r, i = mRe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -67696,20 +67681,20 @@ var hRe = (e) => {
dataKey: t,
type: i,
color: r,
- value: TU(n, t),
+ value: EU(n, t),
payload: e
}];
}, gRe = /*#__PURE__*/ R.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: lB,
+ getPosition: uB,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: TU(o, t),
+ name: EU(o, t),
hide: s,
type: l,
color: r,
@@ -67717,15 +67702,15 @@ var hRe = (e) => {
graphicalItemId: u
}
};
- return /*#__PURE__*/ R.createElement(d0, { tooltipEntrySettings: d });
-}), t4 = (e, t) => `${t}px ${e}px`;
+ return /*#__PURE__*/ R.createElement(f0, { tooltipEntrySettings: d });
+}), n4 = (e, t) => `${t}px ${e}px`;
function _Re(e, t) {
for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);
return r;
}
var vRe = (e, t, n) => {
var r = n.reduce((e, t) => e + t, 0);
- if (!r) return t4(t, e);
+ if (!r) return n4(t, e);
for (var i = Math.floor(e / r), a = e % r, o = [], s = 0, c = 0; s < n.length; c += (l = n[s]) ?? 0, ++s) {
var l, u = n[s];
if (u != null && c + u > a) {
@@ -67741,8 +67726,8 @@ var vRe = (e, t, n) => {
].map((e) => `${e}px`).join(", ");
};
function yRe(e) {
- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = UR(e4(r, cRe));
- return /*#__PURE__*/ R.createElement(x0, {
+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = WR(t4(r, cRe));
+ return /*#__PURE__*/ R.createElement(S0, {
points: n,
dot: i,
className: "recharts-line-dots",
@@ -67763,7 +67748,7 @@ function bRe(e) {
upperWidth: 0,
height: 0
};
- return $2($2({}, t), {}, {
+ return e4(e4({}, t), {}, {
value: e.value,
payload: e.payload,
viewBox: t,
@@ -67771,10 +67756,10 @@ function bRe(e) {
fill: void 0
});
}), [r]);
- return /*#__PURE__*/ R.createElement(a1, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ R.createElement(o1, { value: t ? i : void 0 }, n);
}
-function n4(e) {
- var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = $2($2({}, GR(e4(a, lRe))), {}, {
+function r4(e) {
+ var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = e4(e4({}, KR(t4(a, lRe))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: l ? `url(#clipPath-${t})` : void 0,
@@ -67784,7 +67769,7 @@ function n4(e) {
connectNulls: c,
strokeDasharray: i ?? a.strokeDasharray
});
- return /*#__PURE__*/ R.createElement(R.Fragment, null, r?.length > 1 && /*#__PURE__*/ R.createElement(s0, Z2({
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, r?.length > 1 && /*#__PURE__*/ R.createElement(c0, Q2({
shapeType: "curve",
option: u
}, d, { pathRef: n })), /*#__PURE__*/ R.createElement(yRe, {
@@ -67801,7 +67786,7 @@ function xRe(e) {
}
}
function SRe(e) {
- var { clipPathId: t, props: n, pathRef: r, previousPointsRef: i, longestAnimatedLengthRef: a } = e, { points: o, strokeDasharray: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, animateNewValues: f, width: p, height: m, onAnimationEnd: h, onAnimationStart: g } = n, _ = i.current, v = HG(o, "recharts-line-"), y = (0, R.useRef)(v), [b, x] = (0, R.useState)(!1), S = !b, C = (0, R.useCallback)(() => {
+ var { clipPathId: t, props: n, pathRef: r, previousPointsRef: i, longestAnimatedLengthRef: a } = e, { points: o, strokeDasharray: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, animateNewValues: f, width: p, height: m, onAnimationEnd: h, onAnimationStart: g } = n, _ = i.current, v = UG(o, "recharts-line-"), y = (0, R.useRef)(v), [b, x] = (0, R.useState)(!1), S = !b, C = (0, R.useCallback)(() => {
typeof h == "function" && h(), x(!1);
}, [h]), w = (0, R.useCallback)(() => {
typeof g == "function" && g(), x(!0);
@@ -67811,7 +67796,7 @@ function SRe(e) {
return /*#__PURE__*/ R.createElement(bRe, {
points: o,
showLabels: S
- }, n.children, /*#__PURE__*/ R.createElement(VG, {
+ }, n.children, /*#__PURE__*/ R.createElement(HG, {
animationId: v,
begin: l,
duration: u,
@@ -67821,26 +67806,26 @@ function SRe(e) {
onAnimationStart: w,
key: v
}, (e) => {
- var l = iB(D, T + D, e), u = Math.min(l, T), d = c ? s ? vRe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : t4(T, u) : s == null ? void 0 : String(s);
+ var l = aB(D, T + D, e), u = Math.min(l, T), d = c ? s ? vRe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : n4(T, u) : s == null ? void 0 : String(s);
if (e > 0 && T > 0 && (i.current = o, a.current = Math.max(a.current, u)), _) {
var h = _.length / o.length, g = e === 1 ? o : o.map((t, n) => {
var r = Math.floor(n * h);
if (_[r]) {
var i = _[r];
- return $2($2({}, t), {}, {
- x: iB(i.x, t.x, e),
- y: iB(i.y, t.y, e)
+ return e4(e4({}, t), {}, {
+ x: aB(i.x, t.x, e),
+ y: aB(i.y, t.y, e)
});
}
- return f ? $2($2({}, t), {}, {
- x: iB(p * 2, t.x, e),
- y: iB(m / 2, t.y, e)
- }) : $2($2({}, t), {}, {
+ return f ? e4(e4({}, t), {}, {
+ x: aB(p * 2, t.x, e),
+ y: aB(m / 2, t.y, e)
+ }) : e4(e4({}, t), {}, {
x: t.x,
y: t.y
});
});
- return i.current = g, /*#__PURE__*/ R.createElement(n4, {
+ return i.current = g, /*#__PURE__*/ R.createElement(r4, {
props: n,
points: g,
clipPathId: t,
@@ -67848,14 +67833,14 @@ function SRe(e) {
strokeDasharray: d
});
}
- return /*#__PURE__*/ R.createElement(n4, {
+ return /*#__PURE__*/ R.createElement(r4, {
props: n,
points: o,
clipPathId: t,
pathRef: r,
strokeDasharray: d
});
- }), /*#__PURE__*/ R.createElement(c1, { label: n.label }));
+ }), /*#__PURE__*/ R.createElement(l1, { label: n.label }));
}
function CRe(e) {
var { clipPathId: t, props: n } = e, r = (0, R.useRef)(null), i = (0, R.useRef)(0), a = (0, R.useRef)(null);
@@ -67871,13 +67856,13 @@ var wRe = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
- errorVal: fU(e.payload, t)
+ errorVal: pU(e.payload, t)
}), TRe = class extends R.Component {
render() {
var { hide: e, dot: t, points: n, className: r, xAxisId: i, yAxisId: a, top: o, left: s, width: c, height: l, id: u, needClip: d, zIndex: f } = this.props;
if (e) return null;
- var p = Sh("recharts-line", r), m = u, { r: h, strokeWidth: g } = X2(t), _ = Q1(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
- return /*#__PURE__*/ R.createElement(ZQ, { zIndex: f }, /*#__PURE__*/ R.createElement(YR, { className: p }, d && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(G2, {
+ var p = Sh("recharts-line", r), m = u, { r: h, strokeWidth: g } = Z2(t), _ = $1(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
+ return /*#__PURE__*/ R.createElement(QQ, { zIndex: f }, /*#__PURE__*/ R.createElement(XR, { className: p }, d && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(K2, {
clipPathId: m,
xAxisId: i,
yAxisId: a
@@ -67886,7 +67871,7 @@ var wRe = (e, t) => ({
y: o - v / 2,
width: c + v,
height: l + v
- }))), /*#__PURE__*/ R.createElement(U2, {
+ }))), /*#__PURE__*/ R.createElement(W2, {
xAxisId: i,
yAxisId: a,
data: n,
@@ -67895,7 +67880,7 @@ var wRe = (e, t) => ({
}, /*#__PURE__*/ R.createElement(CRe, {
props: this.props,
clipPathId: m
- }))), /*#__PURE__*/ R.createElement(O0, {
+ }))), /*#__PURE__*/ R.createElement(k0, {
activeDot: this.props.activeDot,
points: n,
mainColor: this.props.stroke,
@@ -67903,7 +67888,7 @@ var wRe = (e, t) => ({
clipPath: y
}));
}
-}, r4 = {
+}, i4 = {
activeDot: !0,
animateNewValues: !0,
animationBegin: 0,
@@ -67920,14 +67905,14 @@ var wRe = (e, t) => ({
strokeWidth: 1,
xAxisId: 0,
yAxisId: 0,
- zIndex: IK.line,
+ zIndex: LK.line,
type: "linear"
};
function ERe(e) {
- var t = yB(e, r4), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = e4(t, uRe), { needClip: _ } = W2(p, m), v = T0(), y = eW(), b = FU(), x = Q((e) => sRe(e, p, m, b, h));
+ var t = bB(e, i4), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = t4(t, uRe), { needClip: _ } = G2(p, m), v = E0(), y = tW(), b = IU(), x = Q((e) => sRe(e, p, m, b, h));
if (y !== "horizontal" && y !== "vertical" || x == null || v == null) return null;
var { height: S, width: C, x: w, y: T } = v;
- return /*#__PURE__*/ R.createElement(TRe, Z2({}, g, {
+ return /*#__PURE__*/ R.createElement(TRe, Q2({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -67954,20 +67939,20 @@ function ERe(e) {
function DRe(e) {
var { layout: t, xAxis: n, yAxis: r, xAxisTicks: i, yAxisTicks: a, dataKey: o, bandSize: s, displayedData: c } = e;
return c.map((e, c) => {
- var l = fU(e, o);
+ var l = pU(e, o);
if (t === "horizontal") return {
- x: vU({
+ x: yU({
axis: n,
ticks: i,
bandSize: s,
entry: e,
index: c
}),
- y: (oB(l) ? null : r.scale.map(l)) ?? null,
+ y: (sB(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = oB(l) ? null : n.scale.map(l), d = vU({
+ var u = sB(l) ? null : n.scale.map(l), d = yU({
axis: r,
ticks: a,
bandSize: s,
@@ -67983,11 +67968,11 @@ function DRe(e) {
}).filter(Boolean);
}
function ORe(e) {
- var t = yB(e, r4), n = FU();
- return /*#__PURE__*/ R.createElement(m0, {
+ var t = bB(e, i4), n = IU();
+ return /*#__PURE__*/ R.createElement(h0, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(f0, { legendPayload: hRe(t) }), /*#__PURE__*/ R.createElement(gRe, {
+ }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(p0, { legendPayload: hRe(t) }), /*#__PURE__*/ R.createElement(gRe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -67998,7 +67983,7 @@ function ORe(e) {
unit: t.unit,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ R.createElement(g0, {
+ }), /*#__PURE__*/ R.createElement(_0, {
type: "line",
id: e,
data: t.data,
@@ -68008,44 +67993,44 @@ function ORe(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ R.createElement(ERe, Z2({}, t, { id: e }))));
+ }), /*#__PURE__*/ R.createElement(ERe, Q2({}, t, { id: e }))));
}
-var i4 = /*#__PURE__*/ R.memo(ORe, QW);
-i4.displayName = "Line";
+var a4 = /*#__PURE__*/ R.memo(ORe, $W);
+a4.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
-function a4(e, t) {
+function o4(e, t) {
return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.xAxisId ?? 0;
}
-function o4(e, t) {
+function s4(e, t) {
return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.yAxisId ?? 0;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var s4 = (e, t, n) => WZ(e, "xAxis", a4(e, t), n), c4 = (e, t, n) => UZ(e, "xAxis", a4(e, t), n), l4 = (e, t, n) => WZ(e, "yAxis", o4(e, t), n), u4 = (e, t, n) => UZ(e, "yAxis", o4(e, t), n), kRe = $([
- $U,
- s4,
- l4,
+var c4 = (e, t, n) => GZ(e, "xAxis", o4(e, t), n), l4 = (e, t, n) => WZ(e, "xAxis", o4(e, t), n), u4 = (e, t, n) => GZ(e, "yAxis", s4(e, t), n), d4 = (e, t, n) => WZ(e, "yAxis", s4(e, t), n), kRe = $([
+ eW,
c4,
- u4
-], (e, t, n, r, i) => pU(e, "xAxis") ? CU(t, r, !1) : CU(n, i, !1)), d4 = $([RX, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), f4 = (e) => pU($U(e), "xAxis") ? "yAxis" : "xAxis", ARe = (e, t) => f4(e) === "yAxis" ? o4(e, t) : a4(e, t), jRe = $([
- $U,
- s4,
+ u4,
l4,
+ d4
+], (e, t, n, r, i) => mU(e, "xAxis") ? wU(t, r, !1) : wU(n, i, !1)), f4 = $([zX, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), p4 = (e) => mU(eW(e), "xAxis") ? "yAxis" : "xAxis", ARe = (e, t) => p4(e) === "yAxis" ? s4(e, t) : o4(e, t), jRe = $([
+ eW,
c4,
u4,
- $([d4, (e, t, n) => tZ(e, f4(e), ARe(e, t), n)], (e, t) => {
+ l4,
+ d4,
+ $([f4, (e, t, n) => nZ(e, p4(e), ARe(e, t), n)], (e, t) => {
if (e != null && t != null) {
- var { stackId: n } = e, r = nq(e);
+ var { stackId: n } = e, r = rq(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]]);
}
}
}),
- pK,
+ mK,
kRe,
- d4,
+ f4,
YEe
], (e, t, n, r, i, a, o, s, c, l) => {
var { chartData: u, dataStartIndex: d, dataEndIndex: f } = o;
@@ -68081,16 +68066,16 @@ var s4 = (e, t, n) => WZ(e, "xAxis", a4(e, t), n), c4 = (e, t, n) => UZ(e, "xAxi
"xAxisId",
"yAxisId"
];
-function p4() {
- return p4 = Object.assign ? Object.assign.bind() : function(e) {
+function m4() {
+ return m4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, p4.apply(null, arguments);
+ }, m4.apply(null, arguments);
}
-function m4(e, t) {
+function h4(e, t) {
if (e == null) return {};
var n, r, i = PRe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -68108,7 +68093,7 @@ function PRe(e, t) {
}
return n;
}
-function h4(e, t) {
+function g4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -68118,12 +68103,12 @@ function h4(e, t) {
}
return n;
}
-function g4(e) {
+function _4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? h4(Object(n), !0).forEach(function(t) {
+ t % 2 ? g4(Object(n), !0).forEach(function(t) {
FRe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h4(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -68151,7 +68136,7 @@ function LRe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function _4(e, t) {
+function v4(e, t) {
return e && e !== "none" ? e : t;
}
var RRe = (e) => {
@@ -68160,33 +68145,33 @@ var RRe = (e) => {
inactive: o,
dataKey: t,
type: a,
- color: _4(r, i),
- value: TU(n, t),
+ color: v4(r, i),
+ value: EU(n, t),
payload: e
}];
}, zRe = /*#__PURE__*/ R.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: lB,
+ getPosition: uB,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: TU(o, t),
+ name: EU(o, t),
hide: s,
type: l,
- color: _4(r, a),
+ color: v4(r, a),
unit: c,
graphicalItemId: u
}
};
- return /*#__PURE__*/ R.createElement(d0, { tooltipEntrySettings: d });
+ return /*#__PURE__*/ R.createElement(f0, { tooltipEntrySettings: d });
});
function BRe(e) {
- var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = UR(r);
- return /*#__PURE__*/ R.createElement(x0, {
+ var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = WR(r);
+ return /*#__PURE__*/ R.createElement(S0, {
points: n,
dot: a,
className: "recharts-area-dots",
@@ -68207,7 +68192,7 @@ function VRe(e) {
upperWidth: 0,
height: 0
};
- return g4(g4({}, t), {}, {
+ return _4(_4({}, t), {}, {
value: e.value,
payload: e.payload,
parentViewBox: void 0,
@@ -68215,11 +68200,11 @@ function VRe(e) {
fill: void 0
});
});
- return /*#__PURE__*/ R.createElement(a1, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ R.createElement(o1, { value: t ? i : void 0 }, n);
}
-function v4(e) {
- var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = m4(a, MRe), p = UR(f), m = GR(f);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, t?.length > 1 && /*#__PURE__*/ R.createElement(YR, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ R.createElement(CG, p4({}, m, {
+function y4(e) {
+ var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = h4(a, MRe), p = WR(f), m = KR(f);
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, t?.length > 1 && /*#__PURE__*/ R.createElement(XR, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ R.createElement(wG, m4({}, m, {
id: d,
points: t,
connectNulls: l,
@@ -68228,14 +68213,14 @@ function v4(e) {
layout: o,
stroke: "none",
className: "recharts-area-area"
- })), c !== "none" && /*#__PURE__*/ R.createElement(CG, p4({}, p, {
+ })), c !== "none" && /*#__PURE__*/ R.createElement(wG, m4({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
connectNulls: l,
fill: "none",
points: t
- })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ R.createElement(CG, p4({}, p, {
+ })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ R.createElement(wG, m4({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
@@ -68250,7 +68235,7 @@ function v4(e) {
}
function HRe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;
- if (!cU(a) || !cU(o)) return null;
+ if (!lU(a) || !lU(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), Z(c) ? /*#__PURE__*/ R.createElement("rect", {
x: 0,
@@ -68261,7 +68246,7 @@ function HRe(e) {
}
function URe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;
- if (!cU(a) || !cU(o)) return null;
+ if (!lU(a) || !lU(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), Z(c) ? /*#__PURE__*/ R.createElement("rect", {
x: a < o ? a : a - s,
@@ -68285,10 +68270,10 @@ function WRe(e) {
});
}
function GRe(e) {
- var { needClip: t, clipPathId: n, props: r, previousPointsRef: i, previousBaselineRef: a } = e, { points: o, baseLine: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, onAnimationStart: f, onAnimationEnd: p } = r, m = HG((0, R.useMemo)(() => ({
+ var { needClip: t, clipPathId: n, props: r, previousPointsRef: i, previousBaselineRef: a } = e, { points: o, baseLine: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, onAnimationStart: f, onAnimationEnd: p } = r, m = UG((0, R.useMemo)(() => ({
points: o,
baseLine: s
- }), [o, s]), "recharts-area-"), h = tW(), [g, _] = (0, R.useState)(!1), v = !g, y = (0, R.useCallback)(() => {
+ }), [o, s]), "recharts-area-"), h = nW(), [g, _] = (0, R.useState)(!1), v = !g, y = (0, R.useCallback)(() => {
typeof p == "function" && p(), _(!1);
}, [p]), b = (0, R.useCallback)(() => {
typeof f == "function" && f(), _(!0);
@@ -68298,7 +68283,7 @@ function GRe(e) {
return /*#__PURE__*/ R.createElement(VRe, {
showLabels: v,
points: o
- }, r.children, /*#__PURE__*/ R.createElement(VG, {
+ }, r.children, /*#__PURE__*/ R.createElement(HG, {
animationId: m,
begin: l,
duration: u,
@@ -68313,24 +68298,24 @@ function GRe(e) {
var r = Math.floor(n * l);
if (x[r]) {
var i = x[r];
- return g4(g4({}, t), {}, {
- x: iB(i.x, t.x, e),
- y: iB(i.y, t.y, e)
+ return _4(_4({}, t), {}, {
+ x: aB(i.x, t.x, e),
+ y: aB(i.y, t.y, e)
});
}
return t;
- }), d = Z(s) ? iB(S, s, e) : oB(s) || Qz(s) ? iB(S, 0, e) : s.map((t, n) => {
+ }), d = Z(s) ? aB(S, s, e) : sB(s) || $z(s) ? aB(S, 0, e) : s.map((t, n) => {
var r = Math.floor(n * l);
if (Array.isArray(S) && S[r]) {
var i = S[r];
- return g4(g4({}, t), {}, {
- x: iB(i.x, t.x, e),
- y: iB(i.y, t.y, e)
+ return _4(_4({}, t), {}, {
+ x: aB(i.x, t.x, e),
+ y: aB(i.y, t.y, e)
});
}
return t;
});
- return e > 0 && (i.current = u, a.current = d), /*#__PURE__*/ R.createElement(v4, {
+ return e > 0 && (i.current = u, a.current = d), /*#__PURE__*/ R.createElement(y4, {
points: u,
baseLine: d,
needClip: t,
@@ -68338,20 +68323,20 @@ function GRe(e) {
props: r
});
}
- return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ R.createElement(YR, null, c && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ R.createElement(WRe, {
+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ R.createElement(XR, null, c && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ R.createElement(WRe, {
alpha: e,
points: o,
baseLine: s,
layout: h,
strokeWidth: r.strokeWidth
- }))), /*#__PURE__*/ R.createElement(YR, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ R.createElement(v4, {
+ }))), /*#__PURE__*/ R.createElement(XR, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ R.createElement(y4, {
points: o,
baseLine: s,
needClip: t,
clipPathId: n,
props: r
})));
- }), /*#__PURE__*/ R.createElement(c1, { label: r.label }));
+ }), /*#__PURE__*/ R.createElement(l1, { label: r.label }));
}
function KRe(e) {
var { needClip: t, clipPathId: n, props: r } = e, i = (0, R.useRef)(null), a = (0, R.useRef)();
@@ -68367,8 +68352,8 @@ var qRe = class extends R.PureComponent {
render() {
var { hide: e, dot: t, points: n, className: r, top: i, left: a, needClip: o, xAxisId: s, yAxisId: c, width: l, height: u, id: d, baseLine: f, zIndex: p } = this.props;
if (e) return null;
- var m = Sh("recharts-area", r), h = d, { r: g, strokeWidth: _ } = X2(t), v = Q1(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ R.createElement(ZQ, { zIndex: p }, /*#__PURE__*/ R.createElement(YR, { className: m }, o && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(G2, {
+ var m = Sh("recharts-area", r), h = d, { r: g, strokeWidth: _ } = Z2(t), v = $1(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
+ return /*#__PURE__*/ R.createElement(QQ, { zIndex: p }, /*#__PURE__*/ R.createElement(XR, { className: m }, o && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(K2, {
clipPathId: h,
xAxisId: s,
yAxisId: c
@@ -68381,15 +68366,15 @@ var qRe = class extends R.PureComponent {
needClip: o,
clipPathId: h,
props: this.props
- })), /*#__PURE__*/ R.createElement(O0, {
+ })), /*#__PURE__*/ R.createElement(k0, {
points: n,
- mainColor: _4(this.props.stroke, this.props.fill),
+ mainColor: v4(this.props.stroke, this.props.fill),
itemDataKey: this.props.dataKey,
activeDot: this.props.activeDot,
clipPath: b
- }), this.props.isRange && Array.isArray(f) && /*#__PURE__*/ R.createElement(O0, {
+ }), this.props.isRange && Array.isArray(f) && /*#__PURE__*/ R.createElement(k0, {
points: f,
- mainColor: _4(this.props.stroke, this.props.fill),
+ mainColor: v4(this.props.stroke, this.props.fill),
itemDataKey: this.props.dataKey,
activeDot: this.props.activeDot,
clipPath: b
@@ -68413,13 +68398,13 @@ var qRe = class extends R.PureComponent {
label: !1,
xAxisId: 0,
yAxisId: 0,
- zIndex: IK.area
+ zIndex: LK.area
};
function YRe(e) {
- var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = m4(e, NRe), g = eW(), _ = zQ(), { needClip: v } = W2(p, m), y = FU(), { points: b, isRange: x, baseLine: S } = Q((t) => jRe(t, e.id, y)) ?? {}, C = T0();
+ var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = h4(e, NRe), g = tW(), _ = BQ(), { needClip: v } = G2(p, m), y = IU(), { points: b, isRange: x, baseLine: S } = Q((t) => jRe(t, e.id, y)) ?? {}, C = E0();
if (g !== "horizontal" && g !== "vertical" || C == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
var { height: w, width: T, x: E, y: D } = C;
- return !b || !b.length ? null : /*#__PURE__*/ R.createElement(qRe, p4({}, h, {
+ return !b || !b.length ? null : /*#__PURE__*/ R.createElement(qRe, m4({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -68460,12 +68445,12 @@ function ZRe(e) {
var a;
if (m) a = i[u + n];
else {
- var o = fU(e, r);
+ var o = pU(e, r);
Array.isArray(o) ? (a = o, _ = !0) : a = [h, o];
}
- var l = a?.[1] ?? null, v = l == null || m && !t && fU(e, r) == null;
+ var l = a?.[1] ?? null, v = l == null || m && !t && pU(e, r) == null;
return g ? {
- x: vU({
+ x: yU({
axis: s,
ticks: d,
bandSize: p,
@@ -68477,7 +68462,7 @@ function ZRe(e) {
payload: e
} : {
x: v ? null : s.scale.map(l) ?? null,
- y: vU({
+ y: yU({
axis: c,
ticks: f,
bandSize: p,
@@ -68506,11 +68491,11 @@ function ZRe(e) {
};
}
function QRe(e) {
- var t = yB(e, JRe), n = FU();
- return /*#__PURE__*/ R.createElement(m0, {
+ var t = bB(e, JRe), n = IU();
+ return /*#__PURE__*/ R.createElement(h0, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(f0, { legendPayload: RRe(t) }), /*#__PURE__*/ R.createElement(zRe, {
+ }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(p0, { legendPayload: RRe(t) }), /*#__PURE__*/ R.createElement(zRe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -68521,7 +68506,7 @@ function QRe(e) {
unit: t.unit,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ R.createElement(g0, {
+ }), /*#__PURE__*/ R.createElement(_0, {
type: "area",
id: e,
data: t.data,
@@ -68529,16 +68514,16 @@ function QRe(e) {
xAxisId: t.xAxisId,
yAxisId: t.yAxisId,
zAxisId: 0,
- stackId: _U(t.stackId),
+ stackId: vU(t.stackId),
hide: t.hide,
barSize: void 0,
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ R.createElement(YRe, p4({}, t, { id: e }))));
+ }), /*#__PURE__*/ R.createElement(YRe, m4({}, t, { id: e }))));
}
-var y4 = /*#__PURE__*/ R.memo(QRe, QW);
-y4.displayName = "Area";
+var b4 = /*#__PURE__*/ R.memo(QRe, $W);
+b4.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
var $Re = "Invariant failed";
@@ -68547,17 +68532,17 @@ function eze(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
-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 x4(e) {
- return /*#__PURE__*/ R.createElement(s0, b4({
+function S4(e) {
+ return /*#__PURE__*/ R.createElement(c0, x4({
shapeType: "rectangle",
activeClassName: "recharts-active-bar",
inActiveClassName: "recharts-inactive-bar"
@@ -68567,71 +68552,71 @@ var tze = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
return (n, r) => {
if (Z(e)) return e;
- var i = Z(n) || oB(n);
+ var i = Z(n) || sB(n);
return i ? e(n, r) : (!i && eze(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, nze = (e, t, n) => n, S4 = $([RX, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), rze = $([S4], (e) => e?.maxBarSize), ize = (e, t, n, r) => r, aze = $([
- $U,
- RX,
- a4,
+}, nze = (e, t, n) => n, C4 = $([zX, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), rze = $([C4], (e) => e?.maxBarSize), ize = (e, t, n, r) => r, aze = $([
+ eW,
+ zX,
o4,
+ s4,
nze
], (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")), oze = (e, t, n) => {
- var r = $U(e), i = a4(e, t), a = o4(e, t);
- if (i != null && a != null) return r === "horizontal" ? tZ(e, "yAxis", a, n) : tZ(e, "xAxis", i, n);
+ var r = eW(e), i = o4(e, t), a = s4(e, t);
+ if (i != null && a != null) return r === "horizontal" ? nZ(e, "yAxis", a, n) : nZ(e, "xAxis", i, n);
}, sze = $([
aze,
- kK,
+ AK,
(e, t) => {
- var n = $U(e), r = a4(e, t), i = o4(e, t);
- if (r != null && i != null) return n === "horizontal" ? IZ(e, "xAxis", r) : IZ(e, "yAxis", i);
+ var n = eW(e), r = o4(e, t), i = s4(e, t);
+ if (r != null && i != null) return n === "horizontal" ? LZ(e, "xAxis", r) : LZ(e, "yAxis", i);
}
-], W0), cze = (e, t, n) => {
- var r = S4(e, t);
+], G0), cze = (e, t, n) => {
+ var r = C4(e, t);
if (r == null) return 0;
- var i = a4(e, t), a = o4(e, t);
+ var i = o4(e, t), a = s4(e, t);
if (i == null || a == null) return 0;
- var o = $U(e), s = EK(e), { maxBarSize: c } = r, l = oB(c) ? s : c, u, d;
- return o === "horizontal" ? (u = WZ(e, "xAxis", i, n), d = UZ(e, "xAxis", i, n)) : (u = WZ(e, "yAxis", a, n), d = UZ(e, "yAxis", a, n)), CU(u, d, !0) ?? l ?? 0;
-}, C4 = (e, t, n) => {
- var r = $U(e), i = a4(e, t), a = o4(e, t);
+ var o = eW(e), s = DK(e), { maxBarSize: c } = r, l = sB(c) ? s : c, u, d;
+ return o === "horizontal" ? (u = GZ(e, "xAxis", i, n), d = WZ(e, "xAxis", i, n)) : (u = GZ(e, "yAxis", a, n), d = WZ(e, "yAxis", a, n)), wU(u, d, !0) ?? l ?? 0;
+}, w4 = (e, t, n) => {
+ var r = eW(e), i = o4(e, t), a = s4(e, t);
if (i != null && a != null) {
var o, s;
- return r === "horizontal" ? (o = WZ(e, "xAxis", i, n), s = UZ(e, "xAxis", i, n)) : (o = WZ(e, "yAxis", a, n), s = UZ(e, "yAxis", a, n)), CU(o, s);
+ return r === "horizontal" ? (o = GZ(e, "xAxis", i, n), s = WZ(e, "xAxis", i, n)) : (o = GZ(e, "yAxis", a, n), s = WZ(e, "yAxis", a, n)), wU(o, s);
}
}, lze = $([
- NU,
PU,
- (e, t, n) => {
- var r = a4(e, t);
- if (r != null) return WZ(e, "xAxis", r, n);
- },
+ FU,
(e, t, n) => {
var r = o4(e, t);
- if (r != null) return WZ(e, "yAxis", r, n);
+ if (r != null) return GZ(e, "xAxis", r, n);
},
(e, t, n) => {
- var r = a4(e, t);
- if (r != null) return UZ(e, "xAxis", r, n);
+ var r = s4(e, t);
+ if (r != null) return GZ(e, "yAxis", r, n);
},
(e, t, n) => {
var r = o4(e, t);
- if (r != null) return UZ(e, "yAxis", r, n);
+ if (r != null) return WZ(e, "xAxis", r, n);
+ },
+ (e, t, n) => {
+ var r = s4(e, t);
+ if (r != null) return WZ(e, "yAxis", r, n);
},
$([$([
sze,
- EK,
DK,
OK,
+ kK,
cze,
- C4,
+ w4,
rze
- ], q0), S4], Y0),
- $U,
- pK,
+ ], J0), C4], X0),
+ eW,
+ mK,
+ w4,
+ $([oze, C4], Y0),
C4,
- $([oze, S4], J0),
- S4,
ize
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = c;
@@ -68655,14 +68640,14 @@ var tze = function(e) {
});
}
}), uze = ["index"];
-function w4() {
- return w4 = Object.assign ? Object.assign.bind() : function(e) {
+function T4() {
+ return T4 = 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;
- }, w4.apply(null, arguments);
+ }, T4.apply(null, arguments);
}
function dze(e, t) {
if (e == null) return {};
@@ -68682,19 +68667,19 @@ function fze(e, t) {
}
return n;
}
-var T4 = /*#__PURE__*/ (0, R.createContext)(void 0), pze = (e) => {
- var t = (0, R.useContext)(T4);
+var E4 = /*#__PURE__*/ (0, R.createContext)(void 0), pze = (e) => {
+ var t = (0, R.useContext)(E4);
if (t != null) return t.stackId;
- if (e != null) return _U(e);
+ if (e != null) return vU(e);
}, mze = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, hze = (e) => {
- var t = (0, R.useContext)(T4);
+ var t = (0, R.useContext)(E4);
if (t != null) {
var { stackId: n } = t;
return `url(#${mze(n, e)})`;
}
-}, E4 = (e) => {
+}, D4 = (e) => {
var { index: t } = e, n = dze(e, uze), r = hze(t);
- return /*#__PURE__*/ R.createElement(YR, w4({
+ return /*#__PURE__*/ R.createElement(XR, T4({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
@@ -68711,16 +68696,16 @@ var T4 = /*#__PURE__*/ (0, R.createContext)(void 0), pze = (e) => {
"onClick",
"onMouseLeave"
];
-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 O4(e, t) {
+function k4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -68730,12 +68715,12 @@ function O4(e, t) {
}
return n;
}
-function k4(e) {
+function A4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? O4(Object(n), !0).forEach(function(t) {
+ t % 2 ? k4(Object(n), !0).forEach(function(t) {
bze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O4(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -68763,7 +68748,7 @@ function Sze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function A4(e, t) {
+function j4(e, t) {
if (e == null) return {};
var n, r, i = Cze(e, t);
if (Object.getOwnPropertySymbols) {
@@ -68788,20 +68773,20 @@ var wze = (e) => {
dataKey: t,
type: i,
color: r,
- value: TU(n, t),
+ value: EU(n, t),
payload: e
}];
}, Tze = /*#__PURE__*/ R.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, unit: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: void 0,
- getPosition: lB,
+ getPosition: uB,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
dataKey: t,
nameKey: void 0,
- name: TU(a, t),
+ name: EU(a, t),
hide: o,
type: c,
color: i,
@@ -68809,19 +68794,19 @@ var wze = (e) => {
graphicalItemId: l
}
};
- return /*#__PURE__*/ R.createElement(d0, { tooltipEntrySettings: u });
+ return /*#__PURE__*/ R.createElement(f0, { tooltipEntrySettings: u });
});
function Eze(e) {
- var t = Q(AQ), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = A4(a, gze), u = c0(o, r, a.id), d = l0(s), f = u0(c, r, a.id);
+ var t = Q(jQ), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = j4(a, gze), u = l0(o, r, a.id), d = u0(s), f = d0(c, r, a.id);
if (!i || n == null) return null;
- var p = WR(i);
- return /*#__PURE__*/ R.createElement(ZQ, { zIndex: c2(i, IK.barBackground) }, n.map((e, n) => {
- var { value: a, background: o, tooltipPosition: s } = e, c = A4(e, _ze);
+ var p = GR(i);
+ return /*#__PURE__*/ R.createElement(QQ, { zIndex: l2(i, LK.barBackground) }, n.map((e, n) => {
+ var { value: a, background: o, tooltipPosition: s } = e, c = j4(e, _ze);
if (!o) return null;
- var m = u(e, n), h = d(e, n), g = f(e, n), _ = k4(k4(k4(k4(k4({
+ var m = u(e, n), h = d(e, n), g = f(e, n), _ = A4(A4(A4(A4(A4({
option: i,
isActive: String(n) === t
- }, c), {}, { fill: "#eee" }, o), p), _B(l, e, n)), {}, {
+ }, c), {}, { fill: "#eee" }, o), p), vB(l, e, n)), {}, {
onMouseEnter: m,
onMouseLeave: h,
onClick: g,
@@ -68829,7 +68814,7 @@ function Eze(e) {
index: n,
className: "recharts-bar-background-rectangle"
});
- return /*#__PURE__*/ R.createElement(x4, D4({ key: `background-bar-${n}` }, _));
+ return /*#__PURE__*/ R.createElement(S4, O4({ key: `background-bar-${n}` }, _));
}));
}
function Dze(e) {
@@ -68842,7 +68827,7 @@ function Dze(e) {
upperWidth: e.width,
height: e.height
};
- return k4(k4({}, t), {}, {
+ return A4(A4({}, t), {}, {
value: e.value,
payload: e.payload,
parentViewBox: e.parentViewBox,
@@ -68850,10 +68835,10 @@ function Dze(e) {
fill: e.fill
});
});
- return /*#__PURE__*/ R.createElement(a1, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ R.createElement(o1, { value: t ? i : void 0 }, n);
}
function Oze(e) {
- var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(AQ), c = Q(MQ), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, R.useState)(!1), [f, p] = (0, R.useState)(!1);
+ var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(jQ), c = Q(NQ), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, R.useState)(!1), [f, p] = (0, R.useState)(!1);
(0, R.useEffect)(() => {
var e;
return l ? (d(!0), e = requestAnimationFrame(() => {
@@ -68864,18 +68849,18 @@ function Oze(e) {
}, [l]);
var m = (0, R.useCallback)(() => {
l || d(!1);
- }, [l]), h = l && f, g = l || u, _ = l ? n === !0 ? t : n : t, v = /*#__PURE__*/ R.createElement(x4, D4({}, r, { name: String(r.name) }, i, {
+ }, [l]), h = l && f, g = l || u, _ = l ? n === !0 ? t : n : t, v = /*#__PURE__*/ R.createElement(S4, O4({}, r, { name: String(r.name) }, i, {
isActive: h,
option: _,
index: a,
dataKey: o,
onTransitionEnd: m
}));
- return g ? /*#__PURE__*/ R.createElement(ZQ, { zIndex: IK.activeBar }, /*#__PURE__*/ R.createElement(E4, { index: i.originalDataIndex }, v)) : v;
+ return g ? /*#__PURE__*/ R.createElement(QQ, { zIndex: LK.activeBar }, /*#__PURE__*/ R.createElement(D4, { index: i.originalDataIndex }, v)) : v;
}
function kze(e) {
var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;
- return /*#__PURE__*/ R.createElement(x4, D4({}, n, { name: String(n.name) }, r, {
+ return /*#__PURE__*/ R.createElement(S4, O4({}, n, { name: String(n.name) }, r, {
isActive: !1,
option: t,
index: i,
@@ -68883,12 +68868,12 @@ function kze(e) {
}));
}
function Aze(e) {
- var { data: t, props: n } = e, r = UR(n) ?? {}, { id: i } = r, a = A4(r, vze), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = A4(n, yze), p = c0(l, s, i), m = l0(d), h = u0(u, s, i);
- return t ? /*#__PURE__*/ R.createElement(R.Fragment, null, t.map((e, t) => /*#__PURE__*/ R.createElement(E4, D4({
+ var { data: t, props: n } = e, r = WR(n) ?? {}, { id: i } = r, a = j4(r, vze), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = j4(n, yze), p = l0(l, s, i), m = u0(d), h = d0(u, s, i);
+ return t ? /*#__PURE__*/ R.createElement(R.Fragment, null, t.map((e, t) => /*#__PURE__*/ R.createElement(D4, O4({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, _B(f, e, t), {
+ }, vB(f, e, t), {
onMouseEnter: p(e, t),
onMouseLeave: m(e, t),
onClick: h(e, t)
@@ -68908,7 +68893,7 @@ function Aze(e) {
})))) : null;
}
function jze(e) {
- var { props: t, previousRectanglesRef: n } = e, { data: r, layout: i, isAnimationActive: a, animationBegin: o, animationDuration: s, animationEasing: c, onAnimationEnd: l, onAnimationStart: u } = t, d = n.current, f = HG(t, "recharts-bar-"), [p, m] = (0, R.useState)(!1), h = !p, g = (0, R.useCallback)(() => {
+ var { props: t, previousRectanglesRef: n } = e, { data: r, layout: i, isAnimationActive: a, animationBegin: o, animationDuration: s, animationEasing: c, onAnimationEnd: l, onAnimationStart: u } = t, d = n.current, f = UG(t, "recharts-bar-"), [p, m] = (0, R.useState)(!1), h = !p, g = (0, R.useCallback)(() => {
typeof l == "function" && l(), m(!1);
}, [l]), _ = (0, R.useCallback)(() => {
typeof u == "function" && u(), m(!0);
@@ -68916,7 +68901,7 @@ function jze(e) {
return /*#__PURE__*/ R.createElement(Dze, {
showLabels: h,
rects: r
- }, /*#__PURE__*/ R.createElement(VG, {
+ }, /*#__PURE__*/ R.createElement(HG, {
animationId: f,
begin: o,
duration: s,
@@ -68928,30 +68913,30 @@ function jze(e) {
}, (e) => {
var a = e === 1 ? r : r?.map((t, n) => {
var r = d && d[n];
- if (r) return k4(k4({}, t), {}, {
- x: iB(r.x, t.x, e),
- y: iB(r.y, t.y, e),
- width: iB(r.width, t.width, e),
- height: iB(r.height, t.height, e)
+ if (r) return A4(A4({}, t), {}, {
+ x: aB(r.x, t.x, e),
+ y: aB(r.y, t.y, e),
+ width: aB(r.width, t.width, e),
+ height: aB(r.height, t.height, e)
});
if (i === "horizontal") {
- var a = iB(0, t.height, e), o = iB(t.stackedBarStart, t.y, e);
- return k4(k4({}, t), {}, {
+ var a = aB(0, t.height, e), o = aB(t.stackedBarStart, t.y, e);
+ return A4(A4({}, t), {}, {
y: o,
height: a
});
}
- var s = iB(0, t.width, e), c = iB(t.stackedBarStart, t.x, e);
- return k4(k4({}, t), {}, {
+ var s = aB(0, t.width, e), c = aB(t.stackedBarStart, t.x, e);
+ return A4(A4({}, t), {}, {
width: s,
x: c
});
});
- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ R.createElement(YR, null, /*#__PURE__*/ R.createElement(Aze, {
+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ R.createElement(XR, null, /*#__PURE__*/ R.createElement(Aze, {
props: t,
data: a
}));
- }), /*#__PURE__*/ R.createElement(c1, { label: t.label }), t.children);
+ }), /*#__PURE__*/ R.createElement(l1, { label: t.label }), t.children);
}
function Mze(e) {
var t = (0, R.useRef)(null);
@@ -68960,27 +68945,27 @@ function Mze(e) {
props: e
});
}
-var j4 = 0, Nze = (e, t) => {
+var M4 = 0, Nze = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
y: e.y,
value: n,
- errorVal: fU(e, t)
+ errorVal: pU(e, t)
};
}, Pze = class extends R.PureComponent {
render() {
var { hide: e, data: t, dataKey: n, className: r, xAxisId: i, yAxisId: a, needClip: o, background: s, id: c } = this.props;
if (e || t == null) return null;
var l = Sh("recharts-bar", r), u = c;
- return /*#__PURE__*/ R.createElement(YR, {
+ return /*#__PURE__*/ R.createElement(XR, {
className: l,
id: c
- }, o && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(G2, {
+ }, o && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(K2, {
clipPathId: u,
xAxisId: i,
yAxisId: a
- })), /*#__PURE__*/ R.createElement(YR, {
+ })), /*#__PURE__*/ R.createElement(XR, {
className: "recharts-bar-rectangles",
clipPath: o ? `url(#clipPath-${u})` : void 0
}, /*#__PURE__*/ R.createElement(Eze, {
@@ -69000,22 +68985,22 @@ var j4 = 0, Nze = (e, t) => {
isAnimationActive: "auto",
label: !1,
legendType: "rect",
- minPointSize: j4,
+ minPointSize: M4,
xAxisId: 0,
yAxisId: 0,
- zIndex: IK.bar
+ zIndex: LK.bar
};
function Ize(e) {
- var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = W2(t, n), f = eW(), p = FU(), m = Z1(e.children, m$), h = Q((t) => lze(t, e.id, p, m));
+ var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = G2(t, n), f = tW(), p = IU(), m = Q1(e.children, h$), h = Q((t) => lze(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__*/ R.createElement(U2, {
+ return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ R.createElement(W2, {
xAxisId: t,
yAxisId: n,
data: h,
dataPointFormatter: Nze,
errorBarOffset: g
- }, /*#__PURE__*/ R.createElement(Pze, D4({}, e, {
+ }, /*#__PURE__*/ R.createElement(Pze, O4({}, e, {
layout: f,
needClip: d,
data: h,
@@ -69032,19 +69017,19 @@ function Ize(e) {
})));
}
function Lze(e) {
- var { layout: t, barSettings: { dataKey: n, minPointSize: r, hasCustomShape: i }, pos: a, bandSize: o, xAxis: s, yAxis: c, xAxisTicks: l, yAxisTicks: u, stackedData: d, displayedData: f, offset: p, cells: m, parentViewBox: h, dataStartIndex: g } = e, _ = t === "horizontal" ? c : s, v = d ? _.scale.domain() : null, y = bU({ numericAxis: _ }), b = _.scale.map(y);
+ var { layout: t, barSettings: { dataKey: n, minPointSize: r, hasCustomShape: i }, pos: a, bandSize: o, xAxis: s, yAxis: c, xAxisTicks: l, yAxisTicks: u, stackedData: d, displayedData: f, offset: p, cells: m, parentViewBox: h, dataStartIndex: g } = e, _ = t === "horizontal" ? c : s, v = d ? _.scale.domain() : null, y = xU({ numericAxis: _ }), b = _.scale.map(y);
return f.map((e, f) => {
var _, x, S, C, w, T;
if (d) {
var E = d[f + g];
if (E == null) return null;
- _ = gU(E, v);
- } else _ = fU(e, n), Array.isArray(_) || (_ = [y, _]);
- var D = tze(r, j4)(_[1], f);
+ _ = _U(E, v);
+ } else _ = pU(e, n), Array.isArray(_) || (_ = [y, _]);
+ var D = tze(r, M4)(_[1], f);
if (t === "horizontal") {
var O = c.scale.map(_[0]), k = c.scale.map(_[1]);
if (O == null || k == null) return null;
- x = yU({
+ x = bU({
axis: s,
ticks: l,
bandSize: o,
@@ -69053,19 +69038,19 @@ function Lze(e) {
index: f
}), S = k ?? O ?? void 0, C = a.size;
var A = O - k;
- if (w = Qz(A) ? 0 : A, T = {
+ if (w = $z(A) ? 0 : A, T = {
x,
y: p.top,
width: C,
height: p.height
}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {
- var j = Zz(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = Qz(w || D) * (Math.abs(D) - Math.abs(w));
S -= j, w += j;
}
} else {
var M = s.scale.map(_[0]), N = s.scale.map(_[1]);
if (M == null || N == null) return null;
- if (x = M, S = yU({
+ if (x = M, S = bU({
axis: c,
ticks: u,
bandSize: o,
@@ -69078,11 +69063,11 @@ function Lze(e) {
width: p.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var ee = Zz(C || D) * (Math.abs(D) - Math.abs(C));
+ var ee = Qz(C || D) * (Math.abs(D) - Math.abs(C));
C += ee;
}
}
- return x == null || S == null || C == null || w == null || !i && (C === 0 || w === 0) ? null : k4(k4({}, e), {}, {
+ return x == null || S == null || C == null || w == null || !i && (C === 0 || w === 0) ? null : A4(A4({}, e), {}, {
stackedBarStart: b,
x,
y: S,
@@ -69101,11 +69086,11 @@ function Lze(e) {
}).filter(Boolean);
}
function Rze(e) {
- var t = yB(e, Fze), n = pze(t.stackId), r = FU();
- return /*#__PURE__*/ R.createElement(m0, {
+ var t = bB(e, Fze), n = pze(t.stackId), r = IU();
+ return /*#__PURE__*/ R.createElement(h0, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(f0, { legendPayload: wze(t) }), /*#__PURE__*/ R.createElement(Tze, {
+ }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(p0, { legendPayload: wze(t) }), /*#__PURE__*/ R.createElement(Tze, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -69115,7 +69100,7 @@ function Rze(e) {
unit: t.unit,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ R.createElement(g0, {
+ }), /*#__PURE__*/ R.createElement(_0, {
type: "bar",
id: e,
data: void 0,
@@ -69130,14 +69115,14 @@ function Rze(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null
- }), /*#__PURE__*/ R.createElement(ZQ, { zIndex: t.zIndex }, /*#__PURE__*/ R.createElement(Ize, D4({}, t, { id: e })))));
+ }), /*#__PURE__*/ R.createElement(QQ, { zIndex: t.zIndex }, /*#__PURE__*/ R.createElement(Ize, O4({}, t, { id: e })))));
}
-var M4 = /*#__PURE__*/ R.memo(Rze, QW);
-M4.displayName = "Bar";
+var N4 = /*#__PURE__*/ R.memo(Rze, $W);
+N4.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
var zze = ["domain", "range"], Bze = ["domain", "range"];
-function N4(e, t) {
+function P4(e, t) {
if (e == null) return {};
var n, r, i = Vze(e, t);
if (Object.getOwnPropertySymbols) {
@@ -69155,13 +69140,13 @@ function Vze(e, t) {
}
return n;
}
-function P4(e, t) {
+function F4(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 F4(e, t) {
+function I4(e, t) {
if (e === t) return !0;
- var { domain: n, range: r } = e, i = N4(e, zze), { domain: a, range: o } = t, s = N4(t, Bze);
- return !P4(n, a) || !P4(r, o) ? !1 : QW(i, s);
+ var { domain: n, range: r } = e, i = P4(e, zze), { domain: a, range: o } = t, s = P4(t, Bze);
+ return !F4(n, a) || !F4(r, o) ? !1 : $W(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
@@ -69170,16 +69155,16 @@ var Hze = ["type"], Uze = [
"ticks",
"scale"
], Wze = ["id", "scale"];
-function I4() {
- return I4 = Object.assign ? Object.assign.bind() : function(e) {
+function L4() {
+ return L4 = 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;
- }, I4.apply(null, arguments);
+ }, L4.apply(null, arguments);
}
-function L4(e, t) {
+function R4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -69189,12 +69174,12 @@ function L4(e, t) {
}
return n;
}
-function R4(e) {
+function z4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? L4(Object(n), !0).forEach(function(t) {
+ t % 2 ? R4(Object(n), !0).forEach(function(t) {
Gze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L4(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -69222,7 +69207,7 @@ function qze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function z4(e, t) {
+function B4(e, t) {
if (e == null) return {};
var n, r, i = Jze(e, t);
if (Object.getOwnPropertySymbols) {
@@ -69241,8 +69226,8 @@ function Jze(e, t) {
return n;
}
function Yze(e) {
- var t = KB(), n = (0, R.useRef)(null), r = tW(), { type: i } = e, a = z4(e, Hze), o = BK(r, "xAxis", i), s = (0, R.useMemo)(() => {
- if (o != null) return R4(R4({}, a), {}, { type: o });
+ var t = qB(), n = (0, R.useRef)(null), r = nW(), { type: i } = e, a = B4(e, Hze), o = VK(r, "xAxis", i), s = (0, R.useMemo)(() => {
+ if (o != null) return z4(z4({}, a), {}, { type: o });
}, [a, o]);
return (0, R.useLayoutEffect)(() => {
s != null && (n.current === null ? t(dFe(s)) : n.current !== s && t(fFe({
@@ -69254,10 +69239,10 @@ function Yze(e) {
}, [t]), null;
}
var Xze = (e) => {
- var { xAxisId: t, className: n } = e, r = Q(PU), i = FU(), a = "xAxis", o = Q((e) => VZ(e, a, t, i)), s = Q((e) => PZ(e, t)), c = Q((e) => _Ae(e, t)), l = Q((e) => OX(e, t));
+ var { xAxisId: t, className: n } = e, r = Q(FU), i = IU(), a = "xAxis", o = Q((e) => HZ(e, a, t, i)), s = Q((e) => FZ(e, t)), c = Q((e) => _Ae(e, t)), l = Q((e) => kX(e, t));
if (s == null || c == null || l == null) return null;
- var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = z4(e, Uze), { id: m, scale: h } = l, g = z4(l, Wze);
- return /*#__PURE__*/ R.createElement(F2, I4({}, p, g, {
+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = B4(e, Uze), { id: m, scale: h } = l, g = B4(l, Wze);
+ return /*#__PURE__*/ R.createElement(I2, L4({}, p, g, {
x: c.x,
y: c.y,
width: s.width,
@@ -69269,31 +69254,31 @@ var Xze = (e) => {
axisId: t
}));
}, Zze = {
- allowDataOverflow: DX.allowDataOverflow,
- allowDecimals: DX.allowDecimals,
- allowDuplicatedCategory: DX.allowDuplicatedCategory,
- angle: DX.angle,
- axisLine: P2.axisLine,
- height: DX.height,
+ allowDataOverflow: OX.allowDataOverflow,
+ allowDecimals: OX.allowDecimals,
+ allowDuplicatedCategory: OX.allowDuplicatedCategory,
+ angle: OX.angle,
+ axisLine: F2.axisLine,
+ height: OX.height,
hide: !1,
- includeHidden: DX.includeHidden,
- interval: DX.interval,
+ includeHidden: OX.includeHidden,
+ interval: OX.interval,
label: !1,
- minTickGap: DX.minTickGap,
- mirror: DX.mirror,
- orientation: DX.orientation,
- padding: DX.padding,
- reversed: DX.reversed,
- scale: DX.scale,
- tick: DX.tick,
- tickCount: DX.tickCount,
- tickLine: P2.tickLine,
- tickSize: P2.tickSize,
- type: DX.type,
- niceTicks: DX.niceTicks,
+ minTickGap: OX.minTickGap,
+ mirror: OX.mirror,
+ orientation: OX.orientation,
+ padding: OX.padding,
+ reversed: OX.reversed,
+ scale: OX.scale,
+ tick: OX.tick,
+ tickCount: OX.tickCount,
+ tickLine: F2.tickLine,
+ tickSize: F2.tickSize,
+ type: OX.type,
+ niceTicks: OX.niceTicks,
xAxisId: 0
-}, B4 = /*#__PURE__*/ R.memo((e) => {
- var t = yB(e, Zze);
+}, V4 = /*#__PURE__*/ R.memo((e) => {
+ var t = bB(e, Zze);
return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(Yze, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
@@ -69321,8 +69306,8 @@ var Xze = (e) => {
unit: t.unit,
niceTicks: t.niceTicks
}), /*#__PURE__*/ R.createElement(Xze, t));
-}, F4);
-B4.displayName = "XAxis";
+}, I4);
+V4.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
var Qze = ["type"], $ze = [
@@ -69330,16 +69315,16 @@ var Qze = ["type"], $ze = [
"ticks",
"scale"
], eBe = ["id", "scale"];
-function V4() {
- return V4 = Object.assign ? Object.assign.bind() : function(e) {
+function H4() {
+ return H4 = 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;
- }, V4.apply(null, arguments);
+ }, H4.apply(null, arguments);
}
-function H4(e, t) {
+function U4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -69349,12 +69334,12 @@ function H4(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 ? H4(Object(n), !0).forEach(function(t) {
+ t % 2 ? U4(Object(n), !0).forEach(function(t) {
tBe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H4(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -69382,7 +69367,7 @@ function rBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function W4(e, t) {
+function G4(e, t) {
if (e == null) return {};
var n, r, i = iBe(e, t);
if (Object.getOwnPropertySymbols) {
@@ -69401,8 +69386,8 @@ function iBe(e, t) {
return n;
}
function aBe(e) {
- var t = KB(), n = (0, R.useRef)(null), r = tW(), { type: i } = e, a = W4(e, Qze), o = BK(r, "yAxis", i), s = (0, R.useMemo)(() => {
- if (o != null) return U4(U4({}, a), {}, { type: o });
+ var t = qB(), n = (0, R.useRef)(null), r = nW(), { type: i } = e, a = G4(e, Qze), o = VK(r, "yAxis", i), s = (0, R.useMemo)(() => {
+ if (o != null) return W4(W4({}, a), {}, { type: o });
}, [o, a]);
return (0, R.useLayoutEffect)(() => {
s != null && (n.current === null ? t(mFe(s)) : n.current !== s && t(hFe({
@@ -69414,9 +69399,9 @@ function aBe(e) {
}, [t]), null;
}
function oBe(e) {
- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = Q(PU), c = FU(), l = KB(), u = "yAxis", d = Q((e) => FZ(e, t)), f = Q((e) => vAe(e, t)), p = Q((e) => VZ(e, u, t, c)), m = Q((e) => jX(e, t));
+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = Q(FU), c = IU(), l = qB(), u = "yAxis", d = Q((e) => IZ(e, t)), f = Q((e) => vAe(e, t)), p = Q((e) => HZ(e, u, t, c)), m = Q((e) => MX(e, t));
if ((0, R.useLayoutEffect)(() => {
- if (!(r !== "auto" || !d || Z$(i) || /*#__PURE__*/ (0, R.isValidElement)(i) || m == null)) {
+ if (!(r !== "auto" || !d || Q$(i) || /*#__PURE__*/ (0, R.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
@@ -69435,8 +69420,8 @@ function oBe(e) {
r,
m
]), d == null || f == null || m == null) return null;
- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = W4(e, $ze), { id: y, scale: b } = m, x = W4(m, eBe);
- return /*#__PURE__*/ R.createElement(F2, V4({}, v, x, {
+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = G4(e, $ze), { id: y, scale: b } = m, x = G4(m, eBe);
+ return /*#__PURE__*/ R.createElement(I2, H4({}, v, x, {
ref: a,
labelRef: o,
x: f.x,
@@ -69452,31 +69437,31 @@ function oBe(e) {
}));
}
var sBe = {
- allowDataOverflow: AX.allowDataOverflow,
- allowDecimals: AX.allowDecimals,
- allowDuplicatedCategory: AX.allowDuplicatedCategory,
- angle: AX.angle,
- axisLine: P2.axisLine,
+ allowDataOverflow: jX.allowDataOverflow,
+ allowDecimals: jX.allowDecimals,
+ allowDuplicatedCategory: jX.allowDuplicatedCategory,
+ angle: jX.angle,
+ axisLine: F2.axisLine,
hide: !1,
- includeHidden: AX.includeHidden,
- interval: AX.interval,
+ includeHidden: jX.includeHidden,
+ interval: jX.interval,
label: !1,
- minTickGap: AX.minTickGap,
- mirror: AX.mirror,
- orientation: AX.orientation,
- padding: AX.padding,
- reversed: AX.reversed,
- scale: AX.scale,
- tick: AX.tick,
- tickCount: AX.tickCount,
- tickLine: P2.tickLine,
- tickSize: P2.tickSize,
- type: AX.type,
- niceTicks: AX.niceTicks,
- width: AX.width,
+ minTickGap: jX.minTickGap,
+ mirror: jX.mirror,
+ orientation: jX.orientation,
+ padding: jX.padding,
+ reversed: jX.reversed,
+ scale: jX.scale,
+ tick: jX.tick,
+ tickCount: jX.tickCount,
+ tickLine: F2.tickLine,
+ tickSize: F2.tickSize,
+ type: jX.type,
+ niceTicks: jX.niceTicks,
+ width: jX.width,
yAxisId: 0
-}, G4 = /*#__PURE__*/ R.memo((e) => {
- var t = yB(e, sBe);
+}, K4 = /*#__PURE__*/ R.memo((e) => {
+ var t = bB(e, sBe);
return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(aBe, {
interval: t.interval,
id: t.yAxisId,
@@ -69504,24 +69489,24 @@ var sBe = {
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
}), /*#__PURE__*/ R.createElement(oBe, t));
-}, F4);
-G4.displayName = "YAxis";
-var K4 = $([
+}, I4);
+K4.displayName = "YAxis";
+var q4 = $([
(e, t) => t,
- $U,
- $K,
- sq,
- CQ,
- TQ,
+ eW,
+ eq,
+ cq,
+ wQ,
+ EQ,
mje,
- NU
+ PU
], xje);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
function cBe(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
-function q4(e) {
+function J4(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
if (cBe(e)) {
var i = e.currentTarget.getBBox();
@@ -69538,11 +69523,11 @@ function q4(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var J4 = wH("mouseClick"), Y4 = iU();
-Y4.startListening({
- actionCreator: J4,
+var Y4 = TH("mouseClick"), X4 = aU();
+X4.startListening({
+ actionCreator: Y4,
effect: (e, t) => {
- var n = e.payload, r = K4(t.getState(), q4(n));
+ var n = e.payload, r = q4(t.getState(), J4(n));
r?.activeIndex != null && t.dispatch(OAe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
@@ -69550,33 +69535,33 @@ Y4.startListening({
}));
}
});
-var X4 = wH("mouseMove"), Z4 = iU(), Q4 = null, $4 = null, e3 = null;
-Z4.startListening({
- actionCreator: X4,
+var Z4 = TH("mouseMove"), Q4 = aU(), $4 = null, e3 = null, t3 = null;
+Q4.startListening({
+ actionCreator: Z4,
effect: (e, t) => {
var n = e.payload, { throttleDelay: r, throttledEvents: i } = t.getState().eventSettings, a = i === "all" || i?.includes("mousemove");
- Q4 !== null && (cancelAnimationFrame(Q4), Q4 = null), $4 !== null && (typeof r != "number" || !a) && (clearTimeout($4), $4 = null), e3 = q4(n);
+ $4 !== null && (cancelAnimationFrame($4), $4 = null), e3 !== null && (typeof r != "number" || !a) && (clearTimeout(e3), e3 = null), t3 = J4(n);
var o = () => {
- var e = t.getState(), n = JZ(e, e.tooltip.settings.shared);
- if (!e3) {
- Q4 = null, $4 = null;
+ var e = t.getState(), n = YZ(e, e.tooltip.settings.shared);
+ if (!t3) {
+ $4 = null, e3 = null;
return;
}
if (n === "axis") {
- var r = K4(e, e3);
- r?.activeIndex == null ? t.dispatch($Z()) : t.dispatch(eQ({
+ var r = q4(e, t3);
+ r?.activeIndex == null ? t.dispatch(eQ()) : t.dispatch(tQ({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
- Q4 = null, $4 = null;
+ $4 = null, e3 = null;
};
if (!a) {
o();
return;
}
- r === "raf" ? Q4 = requestAnimationFrame(o) : typeof r == "number" && $4 === null && ($4 = setTimeout(o, r));
+ r === "raf" ? $4 = requestAnimationFrame(o) : typeof r == "number" && e3 === null && (e3 = setTimeout(o, r));
}
});
//#endregion
@@ -69586,7 +69571,7 @@ function lBe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/rootPropsSlice.js
-var t3 = {
+var n3 = {
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -69598,35 +69583,35 @@ var t3 = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, n3 = NH({
+}, r3 = PH({
name: "rootProps",
- initialState: t3,
+ initialState: n3,
reducers: { updateOptions: (e, t) => {
- e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? t3.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 ?? n3.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;
} }
-}), uBe = n3.reducer, { updateOptions: dBe } = n3.actions, r3 = NH({
+}), uBe = r3.reducer, { updateOptions: dBe } = r3.actions, i3 = PH({
name: "polarOptions",
initialState: null,
reducers: { updatePolarOptions: (e, t) => e === null ? t.payload : (e.startAngle = t.payload.startAngle, e.endAngle = t.payload.endAngle, e.cx = t.payload.cx, e.cy = t.payload.cy, e.innerRadius = t.payload.innerRadius, e.outerRadius = t.payload.outerRadius, e) }
-}), { updatePolarOptions: fBe } = r3.actions, pBe = r3.reducer, i3 = wH("keyDown"), a3 = wH("focus"), o3 = wH("blur"), s3 = iU(), c3 = null, l3 = null, u3 = null;
-s3.startListening({
- actionCreator: i3,
+}), { updatePolarOptions: fBe } = i3.actions, pBe = i3.reducer, a3 = TH("keyDown"), o3 = TH("focus"), s3 = TH("blur"), c3 = aU(), l3 = null, u3 = null, d3 = null;
+c3.startListening({
+ actionCreator: a3,
effect: (e, t) => {
- u3 = e.payload, c3 !== null && (cancelAnimationFrame(c3), c3 = null);
+ d3 = e.payload, l3 !== null && (cancelAnimationFrame(l3), l3 = null);
var { throttleDelay: n, throttledEvents: r } = t.getState().eventSettings, i = r === "all" || r.includes("keydown");
- l3 !== null && (typeof n != "number" || !i) && (clearTimeout(l3), l3 = null);
+ u3 !== null && (typeof n != "number" || !i) && (clearTimeout(u3), u3 = null);
var a = () => {
try {
var e = t.getState();
if (e.rootProps.accessibilityLayer === !1) return;
- var { keyboardInteraction: n } = e.tooltip, r = u3;
+ var { keyboardInteraction: n } = e.tooltip, r = d3;
if (r !== "ArrowRight" && r !== "ArrowLeft" && r !== "Enter") return;
- var i = oQ(n, _Q(e), $X(e), xQ(e)), a = i == null ? -1 : Number(i);
+ var i = sQ(n, vQ(e), eZ(e), SQ(e)), a = i == null ? -1 : Number(i);
if (!Number.isFinite(a) || a < 0) return;
- var o = TQ(e);
+ var o = EQ(e);
if (r === "Enter") {
- var s = KQ(e, "axis", "hover", String(n.index));
- t.dispatch(nQ({
+ var s = qQ(e, "axis", "hover", String(n.index));
+ t.dispatch(rQ({
active: !n.active,
activeIndex: n.index,
activeCoordinate: s
@@ -69635,33 +69620,33 @@ s3.startListening({
}
var c = yAe(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
if (o == null || l >= o.length || l < 0) return;
- var u = KQ(e, "axis", "hover", String(l));
- t.dispatch(nQ({
+ var u = qQ(e, "axis", "hover", String(l));
+ t.dispatch(rQ({
active: !0,
activeIndex: l.toString(),
activeCoordinate: u
}));
} finally {
- c3 = null, l3 = null;
+ l3 = null, u3 = null;
}
};
if (!i) {
a();
return;
}
- n === "raf" ? c3 = requestAnimationFrame(a) : typeof n == "number" && l3 === null && (a(), u3 = null, l3 = setTimeout(() => {
- u3 ? a() : (l3 = null, c3 = null);
+ n === "raf" ? l3 = requestAnimationFrame(a) : typeof n == "number" && u3 === null && (a(), d3 = null, u3 = setTimeout(() => {
+ d3 ? a() : (u3 = null, l3 = null);
}, n));
}
-}), s3.startListening({
- actionCreator: a3,
+}), c3.startListening({
+ actionCreator: o3,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
var { keyboardInteraction: r } = n.tooltip;
if (!r.active && r.index == null) {
- var i = "0", a = KQ(n, "axis", "hover", String(i));
- t.dispatch(nQ({
+ var i = "0", a = qQ(n, "axis", "hover", String(i));
+ t.dispatch(rQ({
active: !0,
activeIndex: i,
activeCoordinate: a
@@ -69669,13 +69654,13 @@ s3.startListening({
}
}
}
-}), s3.startListening({
- actionCreator: o3,
+}), c3.startListening({
+ actionCreator: s3,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
var { keyboardInteraction: r } = n.tooltip;
- r.active && t.dispatch(nQ({
+ r.active && t.dispatch(rQ({
active: !1,
activeIndex: r.index,
activeCoordinate: r.coordinate
@@ -69685,7 +69670,7 @@ s3.startListening({
});
//#endregion
//#region node_modules/recharts/es6/util/createEventProxy.js
-function d3(e) {
+function f3(e) {
e.persist();
var { currentTarget: t } = e;
return new Proxy(e, { get: (e, n) => {
@@ -69696,36 +69681,36 @@ function d3(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var f3 = wH("externalEvent"), p3 = iU(), m3 = /* @__PURE__ */ new Map(), h3 = /* @__PURE__ */ new Map(), g3 = /* @__PURE__ */ new Map();
-p3.startListening({
- actionCreator: f3,
+var p3 = TH("externalEvent"), m3 = aU(), h3 = /* @__PURE__ */ new Map(), g3 = /* @__PURE__ */ new Map(), _3 = /* @__PURE__ */ new Map();
+m3.startListening({
+ actionCreator: p3,
effect: (e, t) => {
var { handler: n, reactEvent: r } = e.payload;
if (n != null) {
- var i = r.type, a = d3(r);
- g3.set(i, {
+ var i = r.type, a = f3(r);
+ _3.set(i, {
handler: n,
reactEvent: a
});
- var o = m3.get(i);
- o !== void 0 && (cancelAnimationFrame(o), m3.delete(i));
- var { throttleDelay: s, throttledEvents: c } = t.getState().eventSettings, l = c, u = l === "all" || l?.includes(i), d = h3.get(i);
- d !== void 0 && (typeof s != "number" || !u) && (clearTimeout(d), h3.delete(i));
+ var o = h3.get(i);
+ o !== void 0 && (cancelAnimationFrame(o), h3.delete(i));
+ var { throttleDelay: s, throttledEvents: c } = t.getState().eventSettings, l = c, u = l === "all" || l?.includes(i), d = g3.get(i);
+ d !== void 0 && (typeof s != "number" || !u) && (clearTimeout(d), g3.delete(i));
var f = () => {
- var e = g3.get(i);
+ var e = _3.get(i);
try {
if (!e) return;
var { handler: n, reactEvent: r } = e, a = t.getState(), o = {
activeCoordinate: eje(a),
- activeDataKey: MQ(a),
- activeIndex: AQ(a),
- activeLabel: jQ(a),
- activeTooltipIndex: AQ(a),
+ activeDataKey: NQ(a),
+ activeIndex: jQ(a),
+ activeLabel: MQ(a),
+ activeTooltipIndex: jQ(a),
isTooltipActive: tje(a)
};
n && n(o, r);
} finally {
- m3.delete(i), h3.delete(i), g3.delete(i);
+ h3.delete(i), g3.delete(i), _3.delete(i);
}
};
if (!u) {
@@ -69734,19 +69719,19 @@ p3.startListening({
}
if (s === "raf") {
var p = requestAnimationFrame(f);
- m3.set(i, p);
+ h3.set(i, p);
} else if (typeof s == "number") {
- if (!h3.has(i)) {
+ if (!g3.has(i)) {
f();
var m = setTimeout(f, s);
- h3.set(i, m);
+ g3.set(i, m);
}
} else f();
}
}
});
var mBe = $([
- $([uQ], (e) => e.tooltipItemPayloads),
+ $([dQ], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
], (e, t, n) => {
@@ -69757,65 +69742,65 @@ var mBe = $([
if (i != null) return i(t);
}
}
-}), _3 = wH("touchMove"), v3 = iU(), y3 = null, b3 = null, x3 = null, S3 = null;
-v3.startListening({
- actionCreator: _3,
+}), v3 = TH("touchMove"), y3 = aU(), b3 = null, x3 = null, S3 = null, C3 = null;
+y3.startListening({
+ actionCreator: v3,
effect: (e, t) => {
var n = e.payload;
if (n.touches != null && n.touches.length !== 0) {
- S3 = d3(n);
+ C3 = f3(n);
var { throttleDelay: r, throttledEvents: i } = t.getState().eventSettings, a = i === "all" || i.includes("touchmove");
- y3 !== null && (cancelAnimationFrame(y3), y3 = null), b3 !== null && (typeof r != "number" || !a) && (clearTimeout(b3), b3 = null), x3 = Array.from(n.touches).map((e) => q4({
+ b3 !== null && (cancelAnimationFrame(b3), b3 = null), x3 !== null && (typeof r != "number" || !a) && (clearTimeout(x3), x3 = null), S3 = Array.from(n.touches).map((e) => J4({
clientX: e.clientX,
clientY: e.clientY,
currentTarget: n.currentTarget
}));
var o = () => {
- if (S3 != null) {
- var e = t.getState(), n = JZ(e, e.tooltip.settings.shared);
+ if (C3 != null) {
+ var e = t.getState(), n = YZ(e, e.tooltip.settings.shared);
if (n === "axis") {
- var r = x3?.[0];
+ var r = S3?.[0];
if (r == null) {
- y3 = null, b3 = null;
+ b3 = null, x3 = null;
return;
}
- var i = K4(e, r);
- i?.activeIndex != null && t.dispatch(eQ({
+ var i = q4(e, r);
+ i?.activeIndex != null && t.dispatch(tQ({
activeIndex: i.activeIndex,
activeDataKey: void 0,
activeCoordinate: i.activeCoordinate
}));
} else if (n === "item") {
- var a = S3.touches[0];
+ var a = C3.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(qCe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = gQ(e).find((e) => e.id === c);
+ var s = o.getAttribute(qCe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = _Q(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
var { dataKey: u } = l, d = mBe(e, s, c);
- t.dispatch(QZ({
+ t.dispatch($Z({
activeDataKey: u,
activeIndex: s,
activeCoordinate: d,
activeGraphicalItemId: c
}));
}
- y3 = null, b3 = null;
+ b3 = null, x3 = null;
}
};
if (!a) {
o();
return;
}
- r === "raf" ? y3 = requestAnimationFrame(o) : typeof r == "number" && b3 === null && (o(), S3 = null, b3 = setTimeout(() => {
- S3 ? o() : (b3 = null, y3 = null);
+ r === "raf" ? b3 = requestAnimationFrame(o) : typeof r == "number" && x3 === null && (o(), C3 = null, x3 = setTimeout(() => {
+ C3 ? o() : (x3 = null, b3 = null);
}, r));
}
}
});
//#endregion
//#region node_modules/recharts/es6/state/eventSettingsSlice.js
-var C3 = {
+var w3 = {
throttleDelay: "raf",
throttledEvents: [
"mousemove",
@@ -69824,13 +69809,13 @@ var C3 = {
"scroll",
"wheel"
]
-}, w3 = NH({
+}, T3 = PH({
name: "eventSettings",
- initialState: C3,
+ initialState: w3,
reducers: { setEventSettings: (e, t) => {
- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = WW(t.payload.throttledEvents));
+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = GW(t.payload.throttledEvents));
} }
-}), { setEventSettings: hBe } = w3.actions, gBe = w3.reducer, _Be = dV({
+}), { setEventSettings: hBe } = T3.actions, gBe = T3.reducer, _Be = fV({
brush: PIe,
cartesianAxis: xFe,
chartData: Jje,
@@ -69860,17 +69845,17 @@ var C3 = {
"production"
].includes("es6")
}).concat([
- Y4.middleware,
- Z4.middleware,
- s3.middleware,
- p3.middleware,
- v3.middleware
+ X4.middleware,
+ Q4.middleware,
+ c3.middleware,
+ m3.middleware,
+ y3.middleware
]),
enhancers: (e) => {
var t = e;
- return typeof e == "function" && (t = e()), t.concat(jH({ type: "raf" }));
+ return typeof e == "function" && (t = e()), t.concat(MH({ type: "raf" }));
},
- devTools: lG.devToolsEnabled && {
+ devTools: uG.devToolsEnabled && {
serialize: { replacer: lBe },
name: `recharts-${t}`
}
@@ -69878,11 +69863,11 @@ var C3 = {
};
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
-function T3(e) {
- var { preloadedState: t, children: n, reduxStoreName: r } = e, i = FU(), a = (0, R.useRef)(null);
+function E3(e) {
+ var { preloadedState: t, children: n, reduxStoreName: r } = e, i = IU(), a = (0, R.useRef)(null);
if (i) return n;
a.current ??= vBe(t, r);
- var o = GB;
+ var o = KB;
return /*#__PURE__*/ R.createElement(Kwe, {
context: o,
store: a.current
@@ -69891,7 +69876,7 @@ function T3(e) {
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
function yBe(e) {
- var { layout: t, margin: n } = e, r = KB(), i = FU();
+ var { layout: t, margin: n } = e, r = qB(), i = IU();
return (0, R.useEffect)(() => {
i || (r(jCe(t)), r(ACe(n)));
}, [
@@ -69901,25 +69886,25 @@ function yBe(e) {
n
]), null;
}
-var E3 = /*#__PURE__*/ (0, R.memo)(yBe, QW);
+var D3 = /*#__PURE__*/ (0, R.memo)(yBe, $W);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
-function D3(e) {
- var t = KB();
+function O3(e) {
+ var t = qB();
return (0, R.useEffect)(() => {
t(dBe(e));
}, [t, e]), null;
}
-var O3 = /*#__PURE__*/ (0, R.memo)((e) => {
- var t = KB();
+var k3 = /*#__PURE__*/ (0, R.memo)((e) => {
+ var t = qB();
return (0, R.useEffect)(() => {
t(hBe(e));
}, [t, e]), null;
-}, QW);
+}, $W);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
-function k3(e) {
- var { zIndex: t, isPanorama: n } = e, r = (0, R.useRef)(null), i = KB();
+function A3(e) {
+ var { zIndex: t, isPanorama: n } = e, r = (0, R.useRef)(null), i = qB();
return (0, R.useLayoutEffect)(() => (r.current && i(Mje({
zIndex: t,
element: r.current,
@@ -69939,15 +69924,15 @@ function k3(e) {
className: `recharts-zIndex-layer_${t}`
});
}
-function A3(e) {
+function j3(e) {
var { children: t, isPanorama: n } = e, r = Q(Cje);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, i.map((e) => /*#__PURE__*/ R.createElement(k3, {
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, i.map((e) => /*#__PURE__*/ R.createElement(A3, {
key: e,
zIndex: e,
isPanorama: n
- })), t, a.map((e) => /*#__PURE__*/ R.createElement(k3, {
+ })), t, a.map((e) => /*#__PURE__*/ R.createElement(A3, {
key: e,
zIndex: e,
isPanorama: n
@@ -69974,24 +69959,24 @@ function SBe(e, t) {
}
return n;
}
-function j3() {
- return j3 = Object.assign ? Object.assign.bind() : function(e) {
+function M3() {
+ return M3 = 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;
- }, j3.apply(null, arguments);
+ }, M3.apply(null, arguments);
}
var CBe = {
width: "100%",
height: "100%",
display: "block"
}, wBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var n = ZU(), r = QU(), i = pG();
- if (!lU(n) || !lU(r)) return null;
+ var n = QU(), r = $U(), i = mG();
+ if (!uU(n) || !uU(r)) return null;
var { children: a, otherAttributes: o, title: s, desc: c } = e, l, u;
- return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ R.createElement(qR, j3({}, 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__*/ R.createElement(JR, M3({}, o, {
title: s,
desc: c,
role: u,
@@ -70002,27 +69987,27 @@ var CBe = {
ref: t
}), a);
}), TBe = (e) => {
- var { children: t } = e, n = Q(LU);
+ var { children: t } = e, n = Q(RU);
if (!n) return null;
var { width: r, height: i, y: a, x: o } = n;
- return /*#__PURE__*/ R.createElement(qR, {
+ return /*#__PURE__*/ R.createElement(JR, {
width: r,
height: i,
x: o,
y: a
}, t);
-}, M3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+}, N3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var { children: n } = e, r = xBe(e, bBe);
- return FU() ? /*#__PURE__*/ R.createElement(TBe, null, /*#__PURE__*/ R.createElement(A3, { isPanorama: !0 }, n)) : /*#__PURE__*/ R.createElement(wBe, j3({ ref: t }, r), /*#__PURE__*/ R.createElement(A3, { isPanorama: !1 }, n));
+ return IU() ? /*#__PURE__*/ R.createElement(TBe, null, /*#__PURE__*/ R.createElement(j3, { isPanorama: !0 }, n)) : /*#__PURE__*/ R.createElement(wBe, M3({ ref: t }, r), /*#__PURE__*/ R.createElement(j3, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
function EBe() {
- var e = KB(), [t, n] = (0, R.useState)(null), r = Q(KCe);
+ var e = qB(), [t, n] = (0, R.useState)(null), r = Q(KCe);
return (0, R.useEffect)(() => {
if (t != null) {
var n = t.getBoundingClientRect().width / t.offsetWidth;
- cU(n) && n !== r && e(NCe(n));
+ lU(n) && n !== r && e(NCe(n));
}
}, [
t,
@@ -70032,7 +70017,7 @@ function EBe() {
}
//#endregion
//#region node_modules/recharts/es6/chart/RechartsWrapper.js
-function N3(e, t) {
+function P3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -70045,9 +70030,9 @@ function N3(e, t) {
function DBe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? N3(Object(n), !0).forEach(function(t) {
+ t % 2 ? P3(Object(n), !0).forEach(function(t) {
OBe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N3(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -70075,17 +70060,17 @@ function ABe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function P3() {
- return P3 = Object.assign ? Object.assign.bind() : function(e) {
+function F3() {
+ return F3 = 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;
- }, P3.apply(null, arguments);
+ }, F3.apply(null, arguments);
}
var jBe = () => (rMe(), null);
-function F3(e) {
+function I3(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
var t = parseFloat(e);
@@ -70095,8 +70080,8 @@ function F3(e) {
}
var MBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var n = (0, R.useRef)(null), [r, i] = (0, R.useState)({
- containerWidth: F3(e.style?.width),
- containerHeight: F3(e.style?.height)
+ containerWidth: I3(e.style?.width),
+ containerHeight: I3(e.style?.height)
}), a = (0, R.useCallback)((e, t) => {
i((n) => {
var r = Math.round(e), i = Math.round(t);
@@ -70121,14 +70106,14 @@ var MBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
}, [t, a]);
return (0, R.useEffect)(() => () => {
n.current?.disconnect();
- }, [a]), /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(iW, {
+ }, [a]), /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(aW, {
width: r.containerWidth,
height: r.containerHeight
- }), /*#__PURE__*/ R.createElement("div", P3({ ref: o }, e)));
+ }), /*#__PURE__*/ R.createElement("div", F3({ ref: o }, e)));
}), NBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var { width: n, height: r } = e, [i, a] = (0, R.useState)({
- containerWidth: F3(n),
- containerHeight: F3(r)
+ containerWidth: I3(n),
+ containerHeight: I3(r)
}), o = (0, R.useCallback)((e, t) => {
a((n) => {
var r = Math.round(e), i = Math.round(t);
@@ -70143,32 +70128,32 @@ var MBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
o(n, r);
}
}, [t, o]);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(iW, {
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(aW, {
width: i.containerWidth,
height: i.containerHeight
- }), /*#__PURE__*/ R.createElement("div", P3({ ref: s }, e)));
+ }), /*#__PURE__*/ R.createElement("div", F3({ ref: s }, e)));
}), PBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(iW, {
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(aW, {
width: n,
height: r
- }), /*#__PURE__*/ R.createElement("div", P3({ ref: t }, e)));
+ }), /*#__PURE__*/ R.createElement("div", F3({ ref: t }, e)));
}), FBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ R.createElement(NBe, P3({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ R.createElement(PBe, P3({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ R.createElement(NBe, F3({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ R.createElement(PBe, F3({}, e, {
width: n,
height: r,
ref: t
- })) : /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(iW, {
+ })) : /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(aW, {
width: n,
height: r
- }), /*#__PURE__*/ R.createElement("div", P3({ ref: t }, e)));
+ }), /*#__PURE__*/ R.createElement("div", F3({ ref: t }, e)));
});
function IBe(e) {
return e ? MBe : FBe;
}
var LBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, R.useRef)(null), x = KB(), [S, C] = (0, R.useState)(null), [w, T] = (0, R.useState)(null), E = EBe(), D = KU(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, R.useCallback)((e) => {
+ var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, R.useRef)(null), x = qB(), [S, C] = (0, R.useState)(null), [w, T] = (0, R.useState)(null), E = EBe(), D = qU(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, R.useCallback)((e) => {
E(e), typeof t == "function" && t(e), C(e), T(e), e != null && (b.current = e);
}, [
E,
@@ -70176,58 +70161,58 @@ var LBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
C,
T
]), j = (0, R.useCallback)((e) => {
- x(J4(e)), x(f3({
+ x(Y4(e)), x(p3({
handler: a,
reactEvent: e
}));
}, [x, a]), M = (0, R.useCallback)((e) => {
- x(X4(e)), x(f3({
+ x(Z4(e)), x(p3({
handler: l,
reactEvent: e
}));
}, [x, l]), N = (0, R.useCallback)((e) => {
- x($Z()), x(f3({
+ x(eQ()), x(p3({
handler: u,
reactEvent: e
}));
}, [x, u]), ee = (0, R.useCallback)((e) => {
- x(X4(e)), x(f3({
+ x(Z4(e)), x(p3({
handler: d,
reactEvent: e
}));
}, [x, d]), te = (0, R.useCallback)(() => {
- x(a3());
- }, [x]), P = (0, R.useCallback)(() => {
x(o3());
+ }, [x]), P = (0, R.useCallback)(() => {
+ x(s3());
}, [x]), F = (0, R.useCallback)((e) => {
- x(i3(e.key));
+ x(a3(e.key));
}, [x]), ne = (0, R.useCallback)((e) => {
- x(f3({
+ x(p3({
handler: o,
reactEvent: e
}));
}, [x, o]), re = (0, R.useCallback)((e) => {
- x(f3({
+ x(p3({
handler: s,
reactEvent: e
}));
}, [x, s]), ie = (0, R.useCallback)((e) => {
- x(f3({
+ x(p3({
handler: c,
reactEvent: e
}));
}, [x, c]), ae = (0, R.useCallback)((e) => {
- x(f3({
+ x(p3({
handler: f,
reactEvent: e
}));
}, [x, f]), oe = (0, R.useCallback)((e) => {
- x(f3({
+ x(p3({
handler: h,
reactEvent: e
}));
}, [x, h]), se = (0, R.useCallback)((e) => {
- y && x(_3(e)), x(f3({
+ y && x(v3(e)), x(p3({
handler: m,
reactEvent: e
}));
@@ -70236,12 +70221,12 @@ var LBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
y,
m
]), ce = (0, R.useCallback)((e) => {
- x(f3({
+ x(p3({
handler: p,
reactEvent: e
}));
}, [x, p]), le = IBe(v);
- return /*#__PURE__*/ R.createElement(t$.Provider, { value: S }, /*#__PURE__*/ R.createElement(XR.Provider, { value: w }, /*#__PURE__*/ R.createElement(le, {
+ return /*#__PURE__*/ R.createElement(n$.Provider, { value: S }, /*#__PURE__*/ R.createElement(ZR.Provider, { value: w }, /*#__PURE__*/ R.createElement(le, {
width: O ?? g?.width,
height: k ?? g?.height,
className: Sh("recharts-wrapper", r),
@@ -70296,12 +70281,12 @@ function BBe(e, t) {
}
return n;
}
-var I3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = UR(zBe(e, RBe));
- return c ? /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(iW, {
+var L3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = WR(zBe(e, RBe));
+ return c ? /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(aW, {
width: n,
height: r
- }), /*#__PURE__*/ R.createElement(M3, {
+ }), /*#__PURE__*/ R.createElement(N3, {
otherAttributes: d,
title: l,
desc: u
@@ -70322,7 +70307,7 @@ var I3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
onTouchStart: e.onTouchStart,
onTouchMove: e.onTouchMove,
onTouchEnd: e.onTouchEnd
- }, /*#__PURE__*/ R.createElement(M3, {
+ }, /*#__PURE__*/ R.createElement(N3, {
otherAttributes: d,
title: l,
desc: u,
@@ -70331,16 +70316,16 @@ var I3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
-function L3() {
- return L3 = Object.assign ? Object.assign.bind() : function(e) {
+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 R3(e, t) {
+function z3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -70353,9 +70338,9 @@ function R3(e, t) {
function VBe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? R3(Object(n), !0).forEach(function(t) {
+ t % 2 ? z3(Object(n), !0).forEach(function(t) {
HBe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R3(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -70398,24 +70383,24 @@ var GBe = VBe({
reverseStackOrder: !1,
stackOffset: "none",
syncMethod: "index"
-}, C3), z3 = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- var n = yB(e.categoricalChartProps, GBe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
+}, w3), B3 = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ var n = bB(e.categoricalChartProps, GBe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
tooltipPayloadSearcher: o,
eventEmitter: void 0
};
- return /*#__PURE__*/ R.createElement(T3, {
+ return /*#__PURE__*/ R.createElement(E3, {
preloadedState: { options: c },
reduxStoreName: s.id ?? r
- }, /*#__PURE__*/ R.createElement(g2, { chartData: s.data }), /*#__PURE__*/ R.createElement(E3, {
+ }, /*#__PURE__*/ R.createElement(_2, { chartData: s.data }), /*#__PURE__*/ R.createElement(D3, {
layout: n.layout,
margin: n.margin
- }), /*#__PURE__*/ R.createElement(O3, {
+ }), /*#__PURE__*/ R.createElement(k3, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ R.createElement(D3, {
+ }), /*#__PURE__*/ R.createElement(O3, {
baseValue: n.baseValue,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -70427,26 +70412,26 @@ var GBe = VBe({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ R.createElement(I3, L3({}, n, { ref: t })));
-}), KBe = ["axis"], qBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(z3, {
+ }), /*#__PURE__*/ R.createElement(L3, R3({}, n, { ref: t })));
+}), KBe = ["axis"], qBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(B3, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
validateTooltipEventTypes: KBe,
- tooltipPayloadSearcher: a$,
+ tooltipPayloadSearcher: o$,
categoricalChartProps: e,
ref: t
-})), JBe = ["axis", "item"], B3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(z3, {
+})), JBe = ["axis", "item"], V3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(B3, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
validateTooltipEventTypes: JBe,
- tooltipPayloadSearcher: a$,
+ tooltipPayloadSearcher: o$,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
function YBe(e) {
- var t = KB();
+ var t = qB();
return (0, R.useEffect)(() => {
t(fBe(e));
}, [t, e]), null;
@@ -70454,14 +70439,14 @@ function YBe(e) {
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
var XBe = ["layout"];
-function V3() {
- return V3 = Object.assign ? Object.assign.bind() : function(e) {
+function H3() {
+ return H3 = 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;
- }, V3.apply(null, arguments);
+ }, H3.apply(null, arguments);
}
function ZBe(e, t) {
if (e == null) return {};
@@ -70481,7 +70466,7 @@ function QBe(e, t) {
}
return n;
}
-function H3(e, t) {
+function U3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -70494,9 +70479,9 @@ function H3(e, t) {
function $Be(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? H3(Object(n), !0).forEach(function(t) {
+ t % 2 ? U3(Object(n), !0).forEach(function(t) {
eVe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H3(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -70524,7 +70509,7 @@ function nVe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var U3 = $Be({
+var W3 = $Be({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -70543,24 +70528,24 @@ var U3 = $Be({
cy: "50%",
innerRadius: 0,
outerRadius: "80%"
-}, C3), W3 = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- var n = yB(e.categoricalChartProps, U3), { layout: r } = n, i = ZBe(n, XBe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
+}, w3), G3 = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ var n = bB(e.categoricalChartProps, W3), { layout: r } = n, i = ZBe(n, XBe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
chartName: a,
defaultTooltipEventType: o,
validateTooltipEventTypes: s,
tooltipPayloadSearcher: c,
eventEmitter: void 0
};
- return /*#__PURE__*/ R.createElement(T3, {
+ return /*#__PURE__*/ R.createElement(E3, {
preloadedState: { options: l },
reduxStoreName: n.id ?? a
- }, /*#__PURE__*/ R.createElement(g2, { chartData: n.data }), /*#__PURE__*/ R.createElement(E3, {
+ }, /*#__PURE__*/ R.createElement(_2, { chartData: n.data }), /*#__PURE__*/ R.createElement(D3, {
layout: r,
margin: n.margin
- }), /*#__PURE__*/ R.createElement(O3, {
+ }), /*#__PURE__*/ R.createElement(k3, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ R.createElement(D3, {
+ }), /*#__PURE__*/ R.createElement(O3, {
baseValue: void 0,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -70579,11 +70564,11 @@ var U3 = $Be({
endAngle: n.endAngle,
innerRadius: n.innerRadius,
outerRadius: n.outerRadius
- }), /*#__PURE__*/ R.createElement(I3, V3({}, i, { ref: t })));
+ }), /*#__PURE__*/ R.createElement(L3, H3({}, i, { ref: t })));
});
//#endregion
//#region node_modules/recharts/es6/chart/RadarChart.js
-function G3(e, t) {
+function K3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -70593,12 +70578,12 @@ function G3(e, t) {
}
return n;
}
-function K3(e) {
+function q3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? G3(Object(n), !0).forEach(function(t) {
+ t % 2 ? K3(Object(n), !0).forEach(function(t) {
rVe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G3(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -70626,31 +70611,31 @@ function aVe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var oVe = ["axis"], sVe = K3(K3({}, U3), {}, {
+var oVe = ["axis"], sVe = q3(q3({}, W3), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
}), cVe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var n = yB(e, sVe);
- return /*#__PURE__*/ R.createElement(W3, {
+ var n = bB(e, sVe);
+ return /*#__PURE__*/ R.createElement(G3, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
validateTooltipEventTypes: oVe,
- tooltipPayloadSearcher: a$,
+ tooltipPayloadSearcher: o$,
categoricalChartProps: n,
ref: t
});
-}), lVe = ["axis"], uVe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(z3, {
+}), lVe = ["axis"], uVe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(B3, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
validateTooltipEventTypes: lVe,
- tooltipPayloadSearcher: a$,
+ tooltipPayloadSearcher: o$,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/chart/RadialBarChart.js
-function q3(e, t) {
+function J3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -70660,12 +70645,12 @@ function q3(e, t) {
}
return n;
}
-function J3(e) {
+function Y3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? q3(Object(n), !0).forEach(function(t) {
+ t % 2 ? J3(Object(n), !0).forEach(function(t) {
dVe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q3(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -70693,59 +70678,59 @@ function pVe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var mVe = ["axis", "item"], hVe = J3(J3({}, U3), {}, {
+var mVe = ["axis", "item"], hVe = Y3(Y3({}, W3), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
}), gVe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var n = yB(e, hVe);
- return /*#__PURE__*/ R.createElement(W3, {
+ var n = bB(e, hVe);
+ return /*#__PURE__*/ R.createElement(G3, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
validateTooltipEventTypes: mVe,
- tooltipPayloadSearcher: a$,
+ tooltipPayloadSearcher: o$,
categoricalChartProps: n,
ref: t
});
});
//#endregion
//#region src/react/charts/cn.ts
-function Y3(...e) {
+function X3(...e) {
return CE(Sh(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
-var X3 = {
+var Z3 = {
light: "",
dark: ".dark"
-}, Z3 = Object.keys(X3);
+}, Q3 = Object.keys(Z3);
function _Ve(e) {
- for (let [t, n] of Object.entries(e)) if (n.colors && !Z3.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${Z3.join(", ")}). Received empty object or invalid keys.`);
+ for (let [t, n] of Object.entries(e)) if (n.colors && !Q3.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${Q3.join(", ")}). Received empty object or invalid keys.`);
}
-var Q3 = R.createContext(null);
-function $3() {
- let e = R.useContext(Q3);
+var $3 = R.createContext(null);
+function e6() {
+ let e = R.useContext($3);
if (!e) throw Error("useChart must be used within a <ChartContainer />");
return e;
}
-function e6({ id: e, config: t, initialDimension: n = {
+function t6({ id: e, config: t, initialDimension: n = {
width: 320,
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = R.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return _Ve(t), /* @__PURE__ */ (0, B.jsx)(Q3.Provider, {
+ return _Ve(t), /* @__PURE__ */ (0, B.jsx)($3.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, B.jsxs)("div", {
"data-slot": "chart",
"data-chart": c,
- className: Y3("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: X3("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, B.jsx)(n6, {
+ /* @__PURE__ */ (0, B.jsx)(r6, {
id: c,
config: t
}),
- /* @__PURE__ */ (0, B.jsx)(qU, {
+ /* @__PURE__ */ (0, B.jsx)(JU, {
className: "min-h-0 w-full flex-1",
initialDimension: n,
children: i
@@ -70755,7 +70740,7 @@ function e6({ id: e, config: t, initialDimension: n = {
})
});
}
-function t6({ isLoading: e }) {
+function n6({ isLoading: e }) {
return e ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "pointer-events-none absolute inset-0 z-20 flex items-center justify-center",
children: /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -70774,23 +70759,23 @@ function vVe(e, t) {
}
return r;
}
-var n6 = ({ id: e, config: t }) => {
+var r6 = ({ 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 ? [] : vVe(r, i6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
- }).filter(Boolean).join("\n"), i = Object.entries(X3).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : vVe(r, a6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ }).filter(Boolean).join("\n"), i = Object.entries(Z3).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
return /* @__PURE__ */ (0, B.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
-function r6(e, t, n) {
+function i6(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 i6(e) {
+function a6(e) {
if (!e.colors) return 1;
- let t = Z3.map((t) => e.colors?.[t]?.length ?? 0);
+ let t = Q3.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
var yVe = (e = 10, t = 0, n = 70) => {
@@ -70805,15 +70790,15 @@ var yVe = (e = 10, t = 0, n = 70) => {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
-function a6({ 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 } = $3(), g = R.useMemo(() => {
+function o6({ 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 } = e6(), g = R.useMemo(() => {
if (i || !t?.length) return null;
- let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = r6(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 = i6(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;
return s ? /* @__PURE__ */ (0, B.jsx)("div", {
- className: Y3("font-medium", c),
+ className: X3("font-medium", c),
children: s(a, t)
}) : a ? /* @__PURE__ */ (0, B.jsx)("div", {
- className: Y3("font-medium", c),
+ className: X3("font-medium", c),
children: a
}) : null;
}, [
@@ -70828,15 +70813,15 @@ function a6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, B.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: Y3("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", bVe[p], xVe[m], n),
+ className: X3("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", bVe[p], xVe[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, B.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 = r6(h, e, n), o = i ? i6(i) : 1;
+ let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = i6(h, e, n), o = i ? a6(i) : 1;
return /* @__PURE__ */ (0, B.jsx)("div", {
- className: Y3("[&>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: X3("[&>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, B.jsxs)(B.Fragment, { children: [i?.icon ? /* @__PURE__ */ (0, B.jsx)(i.icon, {}) : !a && /* @__PURE__ */ (0, B.jsx)("div", {
- className: Y3("shrink-0 rounded-[2px]", {
+ className: X3("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",
@@ -70844,7 +70829,7 @@ function a6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
}),
style: SVe(n, o)
}), /* @__PURE__ */ (0, B.jsxs)("div", {
- className: Y3("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
+ className: X3("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "grid gap-1.5",
children: [_ ? g : null, /* @__PURE__ */ (0, B.jsx)("span", {
@@ -70864,20 +70849,20 @@ function a6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
function SVe(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 o6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, B.jsx)(dMe, {
+var s6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, B.jsx)(dMe, {
animationDuration: e,
...t
});
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-legend.tsx
-function s6({ 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 } = $3();
+function c6({ 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 } = e6();
return r?.length ? /* @__PURE__ */ (0, B.jsx)("div", {
- className: Y3("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: X3("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 = r6(u, e, r), a = o === null || o === r, d = i ? i6(i) : 1;
+ let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = i6(u, e, r), a = o === null || o === r, d = i ? a6(i) : 1;
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: Y3("[&>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: X3("[&>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);
},
@@ -70941,7 +70926,7 @@ function TVe(e, t) {
...n
};
}
-var c6 = nG, l6 = () => null, u6 = {
+var l6 = rG, u6 = () => null, d6 = {
stiffness: 300,
damping: 35,
mass: .8
@@ -71053,7 +71038,7 @@ function DVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]);
let N = C > 1 ? M.startIndex / (C - 1) * 100 : 0, ee = C > 1 ? M.endIndex / (C - 1) * 100 : 100, te = Kf(N), P = Kf(ee);
te.get() !== N && te.set(N), P.get() !== ee && P.set(ee);
- let F = $f(te, u6), ne = $f(P, u6), re = Yf(F, (e) => `${e}%`), ie = Yf(ne, (e) => `${e}%`), ae = Yf(F, (e) => `${e}%`), oe = Yf(ne, (e) => `${Math.max(0, 100 - e)}%`), se = Kf(`${Math.max(0, ee - N)}%`), ce = (0, R.useCallback)(() => {
+ let F = $f(te, d6), ne = $f(P, d6), re = Yf(F, (e) => `${e}%`), ie = Yf(ne, (e) => `${e}%`), ae = Yf(F, (e) => `${e}%`), oe = Yf(ne, (e) => `${Math.max(0, 100 - e)}%`), se = Kf(`${Math.max(0, ee - N)}%`), ce = (0, R.useCallback)(() => {
se.set(`${Math.max(0, ne.get() - F.get())}%`);
}, [
F,
@@ -71073,10 +71058,10 @@ function DVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
return C === 0 ? null : /* @__PURE__ */ (0, B.jsxs)("div", {
ref: x,
"data-chart": b ? void 0 : w,
- className: Y3("group relative select-none", o),
+ className: X3("group relative select-none", o),
style: { height: a },
children: [
- !b && /* @__PURE__ */ (0, B.jsx)(n6, {
+ !b && /* @__PURE__ */ (0, B.jsx)(r6, {
id: w,
config: t
}),
@@ -71111,13 +71096,13 @@ function DVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
},
...j("middle")
}),
- /* @__PURE__ */ (0, B.jsx)(d6, {
+ /* @__PURE__ */ (0, B.jsx)(f6, {
side: "left",
position: re,
label: y ? le(M.startIndex) : void 0,
bind: j("left")
}),
- /* @__PURE__ */ (0, B.jsx)(d6, {
+ /* @__PURE__ */ (0, B.jsx)(f6, {
side: "right",
position: ie,
label: y ? le(M.endIndex) : void 0,
@@ -71126,16 +71111,16 @@ function DVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]
});
}
-function d6({ side: e, position: t, label: n, bind: r }) {
+function f6({ side: e, position: t, label: n, bind: r }) {
let i = e === "left";
return /* @__PURE__ */ (0, B.jsxs)(ap.div, {
className: "absolute inset-y-0 z-10",
style: { left: t },
children: [/* @__PURE__ */ (0, B.jsx)("div", {
- className: Y3("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: X3("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, B.jsx)("div", {
- className: Y3("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: X3("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, B.jsxs)("div", {
className: "flex flex-col gap-[2px]",
children: [
@@ -71146,7 +71131,7 @@ function d6({ side: e, position: t, label: n, bind: r }) {
})
})
}), n && /* @__PURE__ */ (0, B.jsx)("div", {
- className: Y3("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: X3("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
})]
});
@@ -71154,7 +71139,7 @@ function d6({ side: e, position: t, label: n, bind: r }) {
function OVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = R.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
- colorsCount: i6(t)
+ colorsCount: a6(t)
})), [n, t]), d = s === "dashed" || s === "animated-dashed" ? "4 4" : void 0, f = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [r === "area" && /* @__PURE__ */ (0, B.jsxs)("linearGradient", {
id: `${a}-zm-vertical-fade`,
x1: "0",
@@ -71208,7 +71193,7 @@ function OVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
})] })] }, e);
})] });
- if (r === "line") return /* @__PURE__ */ (0, B.jsx)(qU, {
+ if (r === "line") return /* @__PURE__ */ (0, B.jsx)(JU, {
width: "100%",
height: "100%",
children: /* @__PURE__ */ (0, B.jsxs)(qBe, {
@@ -71219,7 +71204,7 @@ function OVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, B.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, B.jsx)(i4, {
+ children: [/* @__PURE__ */ (0, B.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, B.jsx)(a4, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -71235,10 +71220,10 @@ function OVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
});
if (r === "bar") {
let n = l ?? 3;
- return /* @__PURE__ */ (0, B.jsx)(qU, {
+ return /* @__PURE__ */ (0, B.jsx)(JU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, B.jsxs)(B3, {
+ children: /* @__PURE__ */ (0, B.jsxs)(V3, {
data: e,
margin: {
top: 2,
@@ -71248,7 +71233,7 @@ function OVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
},
barGap: 2,
barSize: 14,
- children: [/* @__PURE__ */ (0, B.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, B.jsx)(M4, {
+ children: [/* @__PURE__ */ (0, B.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, B.jsx)(N4, {
dataKey: e,
fill: `url(#${a}-zm-${e})`,
fillOpacity: .35,
@@ -71264,7 +71249,7 @@ function OVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
- return /* @__PURE__ */ (0, B.jsx)(qU, {
+ return /* @__PURE__ */ (0, B.jsx)(JU, {
width: "100%",
height: "100%",
children: /* @__PURE__ */ (0, B.jsxs)(uVe, {
@@ -71275,7 +71260,7 @@ function OVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, B.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, B.jsx)(y4, {
+ children: [/* @__PURE__ */ (0, B.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, B.jsx)(b4, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -71489,9 +71474,9 @@ var AVe = {
})
})
};
-function f6({ variant: e }) {
+function p6({ variant: e }) {
let t = (0, R.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = AVe[e];
- return /* @__PURE__ */ (0, B.jsxs)(ZQ, {
+ return /* @__PURE__ */ (0, B.jsxs)(QQ, {
zIndex: -1,
children: [/* @__PURE__ */ (0, B.jsxs)("defs", { children: [
/* @__PURE__ */ (0, B.jsx)(a, { id: n }),
@@ -71521,20 +71506,20 @@ function f6({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var p6 = 2, jVe = "loading", MVe = 2e3, NVe = "evil-stacked", PVe = .5, FVe = .05, IVe = [
+var m6 = 2, jVe = "loading", MVe = 2e3, NVe = "evil-stacked", PVe = .5, FVe = .05, IVe = [
0,
.7,
.5,
1
-], m6 = (0, R.createContext)(null);
-function h6() {
- let e = (0, R.use)(m6);
+], h6 = (0, R.createContext)(null);
+function g6() {
+ let e = (0, R.use)(h6);
if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");
return e;
}
-function g6({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = p6, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {
+function _6({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = m6, 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, R.useId)().replace(/:/g, ""), [v] = (0, R.useState)(() => Date.now()), [y, b] = (0, R.useState)(f), [x, S] = (0, R.useState)(!1), { loadingData: C, onShimmerExit: w } = tHe(m, h), { visibleData: T, brushProps: E } = kVe({ data: t }), D = (0, R.useMemo)(() => {
- let e = R.Children.toArray(n), t = e.find((e) => (0, R.isValidElement)(e) && e.type === l6), r = (0, R.isValidElement)(t) ? t.props : {};
+ let e = R.Children.toArray(n), t = e.find((e) => (0, R.isValidElement)(e) && e.type === u6), r = (0, R.isValidElement)(t) ? t.props : {};
return {
slot: {
present: (0, R.isValidElement)(t),
@@ -71542,7 +71527,7 @@ function g6({ config: e, data: t, children: n, className: r, chartProps: i, stac
formatLabel: r.formatLabel,
onChange: r.onChange
},
- chartChildren: e.filter((e) => !((0, R.isValidElement)(e) && e.type === l6))
+ chartChildren: e.filter((e) => !((0, R.isValidElement)(e) && e.type === u6))
};
}, [n]), O = D.slot.present, k = a === "stacked" || a === "percent", A = o === "horizontal", j = O && !m ? T : t, M = (0, R.useCallback)((e) => {
b(e), p?.(e);
@@ -71571,9 +71556,9 @@ function g6({ config: e, data: t, children: n, className: r, chartProps: i, stac
M,
x
]);
- return /* @__PURE__ */ (0, B.jsx)(m6, {
+ return /* @__PURE__ */ (0, B.jsx)(h6, {
value: N,
- children: /* @__PURE__ */ (0, B.jsxs)(e6, {
+ children: /* @__PURE__ */ (0, B.jsxs)(t6, {
className: r,
config: e,
footer: O && !m && /* @__PURE__ */ (0, B.jsx)(DVe, {
@@ -71592,7 +71577,7 @@ function g6({ config: e, data: t, children: n, className: r, chartProps: i, stac
E.onChange(e), D.slot.onChange?.(e);
}
}),
- children: [/* @__PURE__ */ (0, B.jsx)(t6, { isLoading: m }), /* @__PURE__ */ (0, B.jsxs)(B3, {
+ children: [/* @__PURE__ */ (0, B.jsx)(n6, { isLoading: m }), /* @__PURE__ */ (0, B.jsxs)(V3, {
id: _,
accessibilityLayer: !0,
layout: A ? "vertical" : "horizontal",
@@ -71604,8 +71589,8 @@ function g6({ config: e, data: t, children: n, className: r, chartProps: i, stac
onMouseLeave: () => S(!1),
...i,
children: [
- d && /* @__PURE__ */ (0, B.jsx)(f6, { variant: d }),
- /* @__PURE__ */ (0, B.jsx)(w2, { color: "white" }),
+ d && /* @__PURE__ */ (0, B.jsx)(p6, { variant: d }),
+ /* @__PURE__ */ (0, B.jsx)(T2, { color: "white" }),
D.chartChildren,
m && /* @__PURE__ */ (0, B.jsx)(nHe, {
chartId: _,
@@ -71617,7 +71602,7 @@ function g6({ config: e, data: t, children: n, className: r, chartProps: i, stac
});
}
function LVe({ 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 } = h6(), b = (0, R.useId)().replace(/:/g, ""), x = ep();
+ let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = g6(), b = (0, R.useId)().replace(/:/g, ""), x = ep();
if (f) return null;
let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {
id: b,
@@ -71637,19 +71622,19 @@ function LVe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
i && v(C ? null : e);
}
};
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(M4, {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(N4, {
dataKey: e,
stackId: u ? NVe : void 0,
fill: `url(#${b}-colors-${e})`,
radius: S,
isAnimationActive: !1,
style: i || a ? { cursor: "pointer" } : void 0,
- shape: (e) => /* @__PURE__ */ (0, B.jsx)(_6, {
+ shape: (e) => /* @__PURE__ */ (0, B.jsx)(v6, {
...e,
...T,
animationType: w
}),
- activeBar: (e) => /* @__PURE__ */ (0, B.jsx)(_6, {
+ activeBar: (e) => /* @__PURE__ */ (0, B.jsx)(v6, {
...e,
...T,
animationType: "none"
@@ -71694,8 +71679,8 @@ function LVe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
] })] });
}
function RVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
- let { isLoading: o, isHorizontal: s } = h6();
- return o ? null : /* @__PURE__ */ (0, B.jsx)(B4, {
+ let { isLoading: o, isHorizontal: s } = g6();
+ return o ? null : /* @__PURE__ */ (0, B.jsx)(V4, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -71705,8 +71690,8 @@ function RVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
});
}
function zVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
- let { isLoading: s, isHorizontal: c } = h6();
- return s ? null : /* @__PURE__ */ (0, B.jsx)(G4, {
+ let { isLoading: s, isHorizontal: c } = g6();
+ return s ? null : /* @__PURE__ */ (0, B.jsx)(K4, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -71717,8 +71702,8 @@ function zVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
});
}
function BVe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
- let { isHorizontal: i } = h6();
- return /* @__PURE__ */ (0, B.jsx)(V2, {
+ let { isHorizontal: i } = g6();
+ return /* @__PURE__ */ (0, B.jsx)(H2, {
strokeDasharray: e,
vertical: t ?? i,
horizontal: n ?? !i,
@@ -71726,11 +71711,11 @@ function BVe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
});
}
function VVe({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, selectedDataKey: i } = h6();
- return r ? null : /* @__PURE__ */ (0, B.jsx)(o6, {
+ let { isLoading: r, selectedDataKey: i } = g6();
+ return r ? null : /* @__PURE__ */ (0, B.jsx)(s6, {
cursor: !1,
defaultIndex: n,
- content: /* @__PURE__ */ (0, B.jsx)(a6, {
+ content: /* @__PURE__ */ (0, B.jsx)(o6, {
selected: i,
roundness: t,
variant: e
@@ -71738,11 +71723,11 @@ function VVe({ variant: e, roundness: t, defaultIndex: n }) {
});
}
function HVe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
- let { selectedDataKey: i, selectDataKey: a } = h6();
- return /* @__PURE__ */ (0, B.jsx)(c6, {
+ let { selectedDataKey: i, selectDataKey: a } = g6();
+ return /* @__PURE__ */ (0, B.jsx)(l6, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, B.jsx)(s6, {
+ content: /* @__PURE__ */ (0, B.jsx)(c6, {
selected: i,
onSelectChange: a,
isClickable: r,
@@ -71750,7 +71735,7 @@ function HVe({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
})
});
}
-var _6 = (e) => {
+var v6 = (e) => {
let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = UVe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : WVe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = GVe({
isClickable: d,
selectedDataKey: _,
@@ -71763,7 +71748,7 @@ var _6 = (e) => {
c,
0,
0
- ] : c, A = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(XG, {
+ ] : c, A = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(ZG, {
x: t,
y: n,
width: r,
@@ -71774,7 +71759,7 @@ var _6 = (e) => {
filter: E,
stroke: S ? `url(#${a}-colors-${o})` : void 0,
strokeWidth: S ? 1 : void 0
- }), C && /* @__PURE__ */ (0, B.jsx)(XG, {
+ }), C && /* @__PURE__ */ (0, B.jsx)(ZG, {
x: t,
y: n - 4,
width: r,
@@ -71785,7 +71770,7 @@ var _6 = (e) => {
return /* @__PURE__ */ (0, B.jsxs)("g", {
style: O,
onClick: b,
- children: [/* @__PURE__ */ (0, B.jsx)(XG, {
+ children: [/* @__PURE__ */ (0, B.jsx)(ZG, {
...e,
fill: "transparent"
}), w ? /* @__PURE__ */ (0, B.jsx)(ap.g, {
@@ -71842,7 +71827,7 @@ var _6 = (e) => {
let o = e && t !== null ? t === null || t === n ? 1 : .15 : 1;
return r && i ? a ? o : o * .3 : o;
}, KVe = ({ id: e, dataKey: t, config: n }) => {
- let r = i6(n[t] ?? {});
+ let r = a6(n[t] ?? {});
return /* @__PURE__ */ (0, B.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
x1: "0",
@@ -71946,7 +71931,7 @@ var _6 = (e) => {
})
})
] }), YVe = ({ id: e, dataKey: t, config: n }) => {
- let r = i6(n[t] ?? {});
+ let r = a6(n[t] ?? {});
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("linearGradient", {
id: `${e}-duotone-mask-gradient-${t}`,
@@ -72014,7 +71999,7 @@ var _6 = (e) => {
})
] });
}, XVe = ({ id: e, dataKey: t, config: n }) => {
- let r = i6(n[t] ?? {});
+ let r = a6(n[t] ?? {});
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("linearGradient", {
id: `${e}-duotone-reverse-mask-gradient-${t}`,
@@ -72191,11 +72176,11 @@ function tHe(e, t = 12) {
onShimmerExit: i
};
}
-var nHe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(M4, {
+var nHe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(N4, {
dataKey: jVe,
fill: "currentColor",
fillOpacity: .15,
- radius: p6,
+ radius: m6,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
@@ -72256,11 +72241,11 @@ var nHe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fr
})
] });
};
-g6.Bar = LVe, g6.XAxis = RVe, g6.YAxis = zVe, g6.Grid = BVe, g6.Tooltip = VVe, g6.Legend = HVe, g6.Brush = l6;
+_6.Bar = LVe, _6.XAxis = RVe, _6.YAxis = zVe, _6.Grid = BVe, _6.Tooltip = VVe, _6.Legend = HVe, _6.Brush = u6;
//#endregion
//#region src/react/charts/chart-card.tsx
-var v6 = `${kE({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
-function y6({ title: e, figure: t, note: n }) {
+var y6 = `${kE({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+function b6({ title: e, figure: t, note: n }) {
return /* @__PURE__ */ (0, B.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
children: [/* @__PURE__ */ (0, B.jsxs)("span", {
@@ -72278,24 +72263,24 @@ function y6({ title: e, figure: t, note: n }) {
})]
});
}
-var b6 = [
+var x6 = [
"var(--color-chart-1)",
"var(--color-chart-2)",
"var(--color-chart-3)",
"var(--color-chart-4)",
"var(--color-chart-5)",
"var(--color-chart-6)"
-], x6 = (e) => ({ light: [e] }), S6 = (e) => `s${e}`;
+], S6 = (e) => ({ light: [e] }), C6 = (e) => `s${e}`;
function iHe(e) {
- return Object.fromEntries(e.map((e, t) => [S6(t), {
+ return Object.fromEntries(e.map((e, t) => [C6(t), {
label: e,
- colors: x6(b6[t % b6.length])
+ colors: S6(x6[t % x6.length])
}]));
}
//#endregion
//#region src/react/charts/chart-tip.tsx
-var C6 = "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 w6({ swatch: e, name: t, value: n }) {
+var w6 = "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 T6({ swatch: e, name: t, value: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex w-full items-center gap-2",
children: [e, /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -72310,31 +72295,31 @@ function w6({ swatch: e, name: t, value: n }) {
})]
});
}
-var T6 = "size-2.5 shrink-0 rounded-xs";
+var E6 = "size-2.5 shrink-0 rounded-xs";
function aHe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
- let { config: o } = $3(), s = (t ?? []).filter((e) => e.type !== "none");
+ let { config: o } = e6(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, B.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: C6,
+ className: w6,
children: [c ? /* @__PURE__ */ (0, B.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 = r6(o, e, a), c = i ? n[i] : e.value;
- return /* @__PURE__ */ (0, B.jsx)(w6, {
+ let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = i6(o, e, a), c = i ? n[i] : e.value;
+ return /* @__PURE__ */ (0, B.jsx)(T6, {
name: s?.label ?? e.name,
value: Number(c ?? 0),
swatch: /* @__PURE__ */ (0, B.jsx)("i", {
- className: T6,
+ className: E6,
style: { background: `var(--color-${a}-0)` }
})
}, a + t);
})]
});
}
-function E6({ nameKey: e, valueKey: t, hideLabel: n }) {
- return /* @__PURE__ */ (0, B.jsx)(o6, {
+function D6({ nameKey: e, valueKey: t, hideLabel: n }) {
+ return /* @__PURE__ */ (0, B.jsx)(s6, {
cursor: !1,
content: /* @__PURE__ */ (0, B.jsx)(aHe, {
nameKey: e,
@@ -72345,12 +72330,12 @@ function E6({ nameKey: e, valueKey: t, hideLabel: n }) {
}
//#endregion
//#region src/react/charts/bar-card.tsx
-var D6 = [0, (e) => e * 1.2], O6 = (e) => ({
+var O6 = [0, (e) => e * 1.2], k6 = (e) => ({
position: e,
className: "fill-text-secondary",
formatter: (e) => Number(e).toLocaleString()
});
-function k6({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vertical" }) {
+function A6({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vertical" }) {
let o = r.filter((e) => Number.isFinite(e.value) && e.value >= 0).map((e) => ({
name: e.name,
value: e.value
@@ -72358,53 +72343,53 @@ function k6({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vert
if (!s) return null;
let c = a === "horizontal";
return /* @__PURE__ */ (0, B.jsxs)("section", {
- className: v6,
+ className: y6,
"aria-label": e,
- children: [/* @__PURE__ */ (0, B.jsx)(y6, {
+ children: [/* @__PURE__ */ (0, B.jsx)(b6, {
title: e,
figure: s.toLocaleString(),
note: t
- }), /* @__PURE__ */ (0, B.jsxs)(g6, {
+ }), /* @__PURE__ */ (0, B.jsxs)(_6, {
data: o,
config: { value: {
label: n,
- colors: x6(i)
+ colors: S6(i)
} },
layout: a,
barRadius: 4,
className: c ? "aspect-auto h-64 flex-none text-text-secondary" : "aspect-auto h-56 flex-none text-text-secondary",
children: [
- /* @__PURE__ */ (0, B.jsx)(g6.Grid, {}),
- c ? /* @__PURE__ */ (0, B.jsx)(g6.YAxis, {
+ /* @__PURE__ */ (0, B.jsx)(_6.Grid, {}),
+ c ? /* @__PURE__ */ (0, B.jsx)(_6.YAxis, {
dataKey: "name",
interval: 0
- }) : /* @__PURE__ */ (0, B.jsx)(g6.XAxis, {
+ }) : /* @__PURE__ */ (0, B.jsx)(_6.XAxis, {
dataKey: "name",
interval: 0
}),
- c ? /* @__PURE__ */ (0, B.jsx)(g6.XAxis, {
+ c ? /* @__PURE__ */ (0, B.jsx)(_6.XAxis, {
hide: !0,
- domain: D6
- }) : /* @__PURE__ */ (0, B.jsx)(g6.YAxis, {
+ domain: O6
+ }) : /* @__PURE__ */ (0, B.jsx)(_6.YAxis, {
hide: !0,
- domain: D6
+ domain: O6
}),
- /* @__PURE__ */ (0, B.jsx)(g6.Bar, {
+ /* @__PURE__ */ (0, B.jsx)(_6.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: O6(c ? "right" : "top")
+ label: k6(c ? "right" : "top")
}
}),
- /* @__PURE__ */ (0, B.jsx)(E6, {})
+ /* @__PURE__ */ (0, B.jsx)(D6, {})
]
})]
});
}
//#endregion
//#region src/react/charts/heat.ts
-var A6 = [
+var j6 = [
"周一",
"周二",
"周三",
@@ -72412,7 +72397,7 @@ var A6 = [
"周五",
"周六",
"周日"
-], j6 = (e, t) => e ? Math.max(.12, e / t) : 0;
+], M6 = (e, t) => e ? Math.max(.12, e / t) : 0;
function oHe(e) {
let t = Array.from({ length: 7 }, () => Array(24).fill(0));
for (let n of e?.hours || []) {
@@ -72423,9 +72408,9 @@ function oHe(e) {
return {
cells: t.flatMap((e, t) => e.map((e, n) => ({
key: `${t}-${n}`,
- label: `${A6[t]} ${n}:00`,
+ label: `${j6[t]} ${n}:00`,
count: e,
- share: j6(e, r)
+ share: M6(e, r)
}))),
total: n.reduce((e, t) => e + t, 0)
};
@@ -72448,7 +72433,7 @@ function sHe(e) {
key: r,
label: r,
count: s,
- share: j6(s, o)
+ share: M6(s, o)
};
});
return {
@@ -72460,7 +72445,7 @@ function sHe(e) {
}
//#endregion
//#region src/react/charts/heat-card.tsx
-var M6 = 14, N6 = 17, P6 = {
+var N6 = 14, P6 = 17, F6 = {
4: {
fill: "fill-chart-4",
dot: "bg-chart-4"
@@ -72481,30 +72466,30 @@ function lHe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${C6} ${cHe[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${w6} ${cHe[a]}`,
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
- }), /* @__PURE__ */ (0, B.jsx)(w6, {
+ }), /* @__PURE__ */ (0, B.jsx)(T6, {
name: t,
value: e.count,
- swatch: /* @__PURE__ */ (0, B.jsx)("i", { className: `${T6} ${P6[n].dot}` })
+ swatch: /* @__PURE__ */ (0, B.jsx)("i", { className: `${E6} ${F6[n].dot}` })
})]
});
}
-function F6({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
- let [l, u] = (0, R.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * N6, m = f + a * N6, h = (e) => ({
- x: d + e % i * N6,
- y: f + Math.floor(e / i) * N6
- }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + M6 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {
+function I6({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
+ let [l, u] = (0, R.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * P6, m = f + a * P6, h = (e) => ({
+ x: d + e % i * P6,
+ y: f + Math.floor(e / i) * P6
+ }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + N6 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {
start: _.x,
- center: _.x + M6 / 2,
- end: _.x + M6
+ center: _.x + N6 / 2,
+ end: _.x + N6
}[y] : 0;
return /* @__PURE__ */ (0, B.jsxs)("section", {
- className: v6,
+ className: y6,
children: [
- /* @__PURE__ */ (0, B.jsx)(y6, {
+ /* @__PURE__ */ (0, B.jsx)(b6, {
title: e,
figure: (g ? g.count : r).toLocaleString(),
note: g ? g.label : t.unit
@@ -72527,12 +72512,12 @@ function F6({ 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: M6,
- height: M6,
+ width: N6,
+ height: N6,
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 ${P6[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 ${F6[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)
@@ -72555,24 +72540,24 @@ function F6({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
]
});
}
-var uHe = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [A6.map((e, t) => /* @__PURE__ */ (0, B.jsx)("text", {
+var uHe = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [j6.map((e, t) => /* @__PURE__ */ (0, B.jsx)("text", {
x: 0,
- y: 18 + t * N6 + 7,
+ y: 18 + t * P6 + 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, B.jsx)("text", {
- x: 30 + t * N6,
+ x: 30 + t * P6,
y: 8,
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
children: t
}, t))] });
-function I6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
+function L6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
let o = oHe(e), s = sHe(e);
return s.cells.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
- children: [/* @__PURE__ */ (0, B.jsx)(F6, {
+ children: [/* @__PURE__ */ (0, B.jsx)(I6, {
title: t,
words: r,
tone: i,
@@ -72582,7 +72567,7 @@ function I6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
rows: 7,
axis: uHe,
footer: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
- }), /* @__PURE__ */ (0, B.jsx)(F6, {
+ }), /* @__PURE__ */ (0, B.jsx)(I6, {
title: n,
words: r,
tone: i,
@@ -72593,7 +72578,7 @@ function I6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
footer: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("span", { children: s.start }), /* @__PURE__ */ (0, B.jsx)("span", { children: s.end })] })
})]
}) : a ? /* @__PURE__ */ (0, B.jsxs)("section", {
- className: v6,
+ className: y6,
children: [/* @__PURE__ */ (0, B.jsx)("h3", {
className: "text-title-2-medium text-text-primary",
children: t
@@ -72605,7 +72590,7 @@ function I6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
}
//#endregion
//#region src/react/components/expandable-ranking.tsx
-function L6({ children: e, className: t = "", previewCount: n = 10 }) {
+function R6({ children: e, className: t = "", previewCount: n = 10 }) {
let r = (0, R.useId)(), i = (0, R.useRef)(null), [a, o] = (0, R.useState)(!1), [s, c] = (0, R.useState)(!1), l = R.Children.toArray(e), u = l.length > n;
(0, R.useLayoutEffect)(() => {
let e = i.current;
@@ -72652,13 +72637,13 @@ function L6({ children: e, className: t = "", previewCount: n = 10 }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var dHe = "30%", fHe = "100%", R6 = 5, z6 = 14, pHe = 5, B6 = 1500, V6 = (0, R.createContext)(null);
-function H6() {
- let e = (0, R.use)(V6);
+var dHe = "30%", fHe = "100%", z6 = 5, B6 = 14, pHe = 5, V6 = 1500, H6 = (0, R.createContext)(null);
+function U6() {
+ let e = (0, R.use)(H6);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function U6({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = dHe, outerRadius: l = fHe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+function W6({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = dHe, outerRadius: l = fHe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
let m = (0, R.useId)().replace(/:/g, ""), [h, g] = (0, R.useState)(u), _ = bHe(f), v = _He(o), y = (0, R.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
@@ -72686,12 +72671,12 @@ function U6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
h,
y
]);
- return /* @__PURE__ */ (0, B.jsx)(V6, {
+ return /* @__PURE__ */ (0, B.jsx)(H6, {
value: x,
- children: /* @__PURE__ */ (0, B.jsxs)(e6, {
+ children: /* @__PURE__ */ (0, B.jsxs)(t6, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, B.jsx)(t6, { isLoading: f }), /* @__PURE__ */ (0, B.jsxs)(gVe, {
+ children: [/* @__PURE__ */ (0, B.jsx)(n6, { isLoading: f }), /* @__PURE__ */ (0, B.jsxs)(gVe, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -72702,13 +72687,13 @@ function U6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
cy: v.cy,
...a,
children: [
- s != null && s > 0 && /* @__PURE__ */ (0, B.jsx)(K1, {
+ s != null && s > 0 && /* @__PURE__ */ (0, B.jsx)(q1, {
type: "number",
domain: [0, s],
tick: !1,
axisLine: !1
}),
- p && /* @__PURE__ */ (0, B.jsx)(f6, { variant: p }),
+ p && /* @__PURE__ */ (0, B.jsx)(p6, { variant: p }),
r,
f && /* @__PURE__ */ (0, B.jsx)(xHe, {}),
/* @__PURE__ */ (0, B.jsx)("defs", { children: /* @__PURE__ */ (0, B.jsx)(vHe, {
@@ -72720,9 +72705,9 @@ function U6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function mHe({ dataKey: e, cornerRadius: t = R6, barSize: n = z6, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
- let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = H6();
- return s ? null : /* @__PURE__ */ (0, B.jsx)(h2, {
+function mHe({ dataKey: e, cornerRadius: t = z6, barSize: n = B6, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+ let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = U6();
+ return s ? null : /* @__PURE__ */ (0, B.jsx)(g2, {
dataKey: e,
cornerRadius: t,
barSize: n,
@@ -72736,7 +72721,7 @@ function mHe({ dataKey: e, cornerRadius: t = R6, barSize: n = z6, showBackground
},
shape: (e) => {
let t = e[o], n = c === null || c === t;
- return /* @__PURE__ */ (0, B.jsx)(sK, {
+ return /* @__PURE__ */ (0, B.jsx)(cK, {
...e,
opacity: i && !n ? .15 : 1,
className: "transition-opacity duration-200"
@@ -72746,11 +72731,11 @@ function mHe({ dataKey: e, cornerRadius: t = R6, barSize: n = z6, showBackground
});
}
function hHe({ variant: e, roundness: t, defaultIndex: n }) {
- let { nameKey: r, isLoading: i } = H6();
- return i ? null : /* @__PURE__ */ (0, B.jsx)(o6, {
+ let { nameKey: r, isLoading: i } = U6();
+ return i ? null : /* @__PURE__ */ (0, B.jsx)(s6, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, B.jsx)(a6, {
+ content: /* @__PURE__ */ (0, B.jsx)(o6, {
nameKey: r,
hideLabel: !0,
roundness: t,
@@ -72759,11 +72744,11 @@ function hHe({ variant: e, roundness: t, defaultIndex: n }) {
});
}
function gHe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = H6();
- return a ? null : /* @__PURE__ */ (0, B.jsx)(c6, {
+ let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = U6();
+ return a ? null : /* @__PURE__ */ (0, B.jsx)(l6, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, B.jsx)(s6, {
+ content: /* @__PURE__ */ (0, B.jsx)(c6, {
selected: o,
onSelectChange: s,
isClickable: r,
@@ -72789,7 +72774,7 @@ function _He(e) {
}
}
var vHe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, B.jsx)(B.Fragment, { children: Object.entries(e).map(([e, n]) => {
- let r = i6(n);
+ let r = a6(n);
return /* @__PURE__ */ (0, B.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
x1: "0",
@@ -72823,25 +72808,25 @@ function bHe(e) {
if (!e) return;
let t = setInterval(() => {
n((e) => e + 1);
- }, B6);
+ }, V6);
return () => clearInterval(t);
}, [e]), (0, R.useMemo)(() => yHe(), [t]);
}
-var xHe = () => /* @__PURE__ */ (0, B.jsx)(h2, {
+var xHe = () => /* @__PURE__ */ (0, B.jsx)(g2, {
dataKey: "value",
- cornerRadius: R6,
- barSize: z6,
+ cornerRadius: z6,
+ barSize: B6,
background: !0,
isAnimationActive: !0,
- animationDuration: B6,
+ animationDuration: V6,
animationEasing: "ease-in-out",
- shape: (e) => /* @__PURE__ */ (0, B.jsx)(sK, {
+ shape: (e) => /* @__PURE__ */ (0, B.jsx)(cK, {
...e,
fill: "currentColor",
fillOpacity: .25
})
});
-U6.RadialBar = mHe, U6.Tooltip = hHe, U6.Legend = gHe;
+W6.RadialBar = mHe, W6.Tooltip = hHe, W6.Legend = gHe;
//#endregion
//#region src/react/stats/radial-card.tsx
var SHe = [
@@ -72859,15 +72844,15 @@ var SHe = [
"aria-pressed:bg-chart-5/10 aria-pressed:ring-chart-5",
"aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"
];
-function W6({ title: e, rows: t, unit: n = "个视频" }) {
+function G6({ title: e, rows: t, unit: n = "个视频" }) {
let [r, i] = (0, R.useState)(-1), [a, o] = (0, R.useState)(-1), s = t.filter((e) => Number.isFinite(e.value) && e.value >= 0);
if (!s.length) return null;
let c = a >= 0 ? a : r, l = s.reduce((e, t) => e + t.value, 0), u = s[c], d = (e) => i((t) => t === e ? -1 : e), f = s.map((e, t) => ({
- slice: S6(t),
+ slice: C6(t),
value: e.value
}));
return /* @__PURE__ */ (0, B.jsxs)("section", {
- className: v6,
+ className: y6,
children: [
/* @__PURE__ */ (0, B.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
@@ -72889,18 +72874,18 @@ function W6({ title: e, rows: t, unit: n = "个视频" }) {
role: "img",
"aria-label": e,
onPointerLeave: () => o(-1),
- children: /* @__PURE__ */ (0, B.jsxs)(U6, {
+ children: /* @__PURE__ */ (0, B.jsxs)(W6, {
data: f,
nameKey: "slice",
config: iHe(s.map((e) => e.name)),
max: abe(s.map((e) => e.value)),
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
- children: [/* @__PURE__ */ (0, B.jsx)(U6.RadialBar, {
+ children: [/* @__PURE__ */ (0, B.jsx)(W6.RadialBar, {
dataKey: "value",
barSize: obe(s.length),
radialBarProps: {
- shape: (e) => /* @__PURE__ */ (0, B.jsx)(sK, {
+ shape: (e) => /* @__PURE__ */ (0, B.jsx)(cK, {
...e,
opacity: c >= 0 && c !== e.index ? .3 : 1,
className: "cursor-pointer transition-opacity duration-200"
@@ -72908,7 +72893,7 @@ function W6({ title: e, rows: t, unit: n = "个视频" }) {
onClick: (e, t) => d(t),
onMouseEnter: (e, t) => o(t)
}
- }), /* @__PURE__ */ (0, B.jsx)(E6, {
+ }), /* @__PURE__ */ (0, B.jsx)(D6, {
nameKey: "slice",
hideLabel: !0
})]
@@ -72949,8 +72934,8 @@ function W6({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var wHe = 10, G6 = b6[5], THe = b6[4], EHe = `${kE()} flex flex-col gap-4`, DHe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", OHe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", kHe = "开始播放后,这里会显示最近的真实观看证据。", AHe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", jHe = "添加媒体文件夹后,这里会显示存储空间。";
-function K6({ term: e, value: t }) {
+var wHe = 10, K6 = x6[5], THe = x6[4], EHe = `${kE()} flex flex-col gap-4`, DHe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", OHe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", kHe = "开始播放后,这里会显示最近的真实观看证据。", AHe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", jHe = "添加媒体文件夹后,这里会显示存储空间。";
+function q6({ term: e, value: t }) {
return /* @__PURE__ */ (0, B.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, B.jsx)("span", {
@@ -72962,7 +72947,7 @@ function K6({ term: e, value: t }) {
})]
});
}
-function q6({ term: e, value: t, total: n }) {
+function J6({ term: e, value: t, total: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
children: [/* @__PURE__ */ (0, B.jsxs)("p", {
@@ -72971,7 +72956,7 @@ function q6({ term: e, value: t, total: n }) {
className: "tabular-nums",
children: [t.toLocaleString(), /* @__PURE__ */ (0, B.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [IR(t, n), "%"]
+ children: [LR(t, n), "%"]
})]
})]
}), /* @__PURE__ */ (0, B.jsx)(PE, {
@@ -72981,7 +72966,7 @@ function q6({ term: e, value: t, total: n }) {
})]
});
}
-function J6({ term: e, figure: t, unit: n }) {
+function Y6({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-64 md:pr-6 md:pb-0",
children: [
@@ -73000,7 +72985,7 @@ function J6({ term: e, figure: t, unit: n }) {
]
});
}
-function Y6({ headline: e, children: t }) {
+function X6({ headline: e, children: t }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: `${EHe} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, B.jsx)("div", {
@@ -73014,14 +72999,14 @@ function MHe({ data: e, configurable: t, openMediaSettings: n }) {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2",
- children: [/* @__PURE__ */ (0, B.jsx)(W6, {
+ children: [/* @__PURE__ */ (0, B.jsx)(G6, {
title: "网盘与本地",
rows: e.by_loc.map((e) => ({
name: I[e.k] ?? e.k,
value: e.videos,
detail: ye(e.bytes)
}))
- }), /* @__PURE__ */ (0, B.jsx)(W6, {
+ }), /* @__PURE__ */ (0, B.jsx)(G6, {
title: "媒体库",
rows: e.by_library.map((e) => ({
name: e.name,
@@ -73032,25 +73017,25 @@ function MHe({ data: e, configurable: t, openMediaSettings: n }) {
}), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3",
children: [
- /* @__PURE__ */ (0, B.jsx)(k6, {
+ /* @__PURE__ */ (0, B.jsx)(A6, {
title: "时长",
unit: "个视频",
series: "视频",
- color: G6,
+ color: K6,
rows: ube(e.by_length)
}),
- /* @__PURE__ */ (0, B.jsx)(k6, {
+ /* @__PURE__ */ (0, B.jsx)(A6, {
title: "画质",
unit: "个视频",
series: "视频",
- color: G6,
- rows: zR(e.by_quality)
+ color: K6,
+ rows: BR(e.by_quality)
}),
- /* @__PURE__ */ (0, B.jsx)(k6, {
+ /* @__PURE__ */ (0, B.jsx)(A6, {
title: "文件类型",
unit: "个条目",
series: "条目",
- color: G6,
+ color: K6,
layout: "horizontal",
rows: cbe(e.by_medium)
})
@@ -73074,7 +73059,7 @@ function MHe({ data: e, configurable: t, openMediaSettings: n }) {
});
}
function NHe({ data: e }) {
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(I6, {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(L6, {
activity: e.play_activity,
title: "播放时间",
dailyTitle: "每日播放",
@@ -73084,7 +73069,7 @@ function NHe({ data: e }) {
cellUnit: "个作品"
},
tone: 5
- }), /* @__PURE__ */ (0, B.jsx)(k6, {
+ }), /* @__PURE__ */ (0, B.jsx)(A6, {
title: "播放次数",
unit: "个作品",
series: "作品",
@@ -73097,27 +73082,27 @@ function PHe({ attribution: e }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col",
children: [
- /* @__PURE__ */ (0, B.jsx)(q6, {
+ /* @__PURE__ */ (0, B.jsx)(J6, {
term: "有创作者",
value: e.creator,
total: t
}),
- /* @__PURE__ */ (0, B.jsx)(q6, {
+ /* @__PURE__ */ (0, B.jsx)(J6, {
term: "有番号",
value: e.code,
total: t
}),
- /* @__PURE__ */ (0, B.jsx)(q6, {
+ /* @__PURE__ */ (0, B.jsx)(J6, {
term: "有厂牌",
value: e.studio,
total: t
}),
- /* @__PURE__ */ (0, B.jsx)(q6, {
+ /* @__PURE__ */ (0, B.jsx)(J6, {
term: "已抽帧",
value: e.thumb,
total: t
}),
- /* @__PURE__ */ (0, B.jsx)(q6, {
+ /* @__PURE__ */ (0, B.jsx)(J6, {
term: "已探测时长",
value: e.duration,
total: t
@@ -73142,7 +73127,7 @@ function FHe({ volume: e }) {
className: "whitespace-nowrap tabular-nums",
children: [ye(n), /* @__PURE__ */ (0, B.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [IR(n, t), "%"]
+ children: [LR(n, t), "%"]
})]
})]
}),
@@ -73181,7 +73166,7 @@ function IHe({ volumes: e, configurable: t, openMediaSettings: n }) {
});
}
function LHe({ tags: e, tagLabel: t, onTag: n }) {
- return e.length ? /* @__PURE__ */ (0, B.jsx)(L6, {
+ return e.length ? /* @__PURE__ */ (0, B.jsx)(R6, {
previewCount: wHe,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, B.jsx)("li", {
@@ -73223,7 +73208,7 @@ function RHe({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = LR(e);
+ let t = RR(e);
return /* @__PURE__ */ (0, B.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
@@ -73247,7 +73232,7 @@ function RHe({ rows: e }) {
value: t
}), /* @__PURE__ */ (0, B.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${RR(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${zR(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
@@ -73308,14 +73293,14 @@ function zHe({ sources: e, videos: t }) {
children: AHe
});
}
-function X6({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
+function Z6({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
return /* @__PURE__ */ (0, B.jsx)(gk, {
id: e,
- className: CM({
+ className: SM({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, B.jsx)(DM, {
+ children: /* @__PURE__ */ (0, B.jsx)(EM, {
label: t,
icon: i,
accent: a,
@@ -73326,15 +73311,15 @@ function X6({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
}
function BHe(e) {
let t = wS({
- queryKey: PR,
- queryFn: ({ signal: e }) => FR(e)
+ queryKey: FR,
+ queryFn: ({ signal: e }) => IR(e)
}), n = t.data;
if (!n) return /* @__PURE__ */ (0, B.jsx)(ME, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? U(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 = IR(n.tag_cov, n.attribution.videos);
+ 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 = LR(n.tag_cov, n.attribution.videos);
return /* @__PURE__ */ (0, B.jsxs)(ME, { children: [
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -73346,9 +73331,9 @@ function BHe(e) {
children: [
/* @__PURE__ */ (0, B.jsxs)(hk, {
"aria-label": "统计视图",
- className: wM,
+ className: CM,
children: [
- /* @__PURE__ */ (0, B.jsx)(X6, {
+ /* @__PURE__ */ (0, B.jsx)(Z6, {
id: "inventory",
label: "馆藏视频",
icon: ST,
@@ -73356,7 +73341,7 @@ function BHe(e) {
figure: a.toLocaleString(),
detail: ye(o)
}),
- /* @__PURE__ */ (0, B.jsx)(X6, {
+ /* @__PURE__ */ (0, B.jsx)(Z6, {
id: "viewing",
label: "看过",
icon: TT,
@@ -73364,7 +73349,7 @@ function BHe(e) {
figure: r.played.toLocaleString(),
detail: nbe(r.play_seconds)
}),
- /* @__PURE__ */ (0, B.jsx)(X6, {
+ /* @__PURE__ */ (0, B.jsx)(Z6, {
id: "coverage",
label: "内容标签",
icon: kT,
@@ -73372,7 +73357,7 @@ function BHe(e) {
figure: `${s}%`,
detail: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- /* @__PURE__ */ (0, B.jsx)(X6, {
+ /* @__PURE__ */ (0, B.jsx)(Z6, {
id: "storage",
label: "使用空间",
icon: ET,
@@ -73392,8 +73377,8 @@ function BHe(e) {
/* @__PURE__ */ (0, B.jsxs)(_k, {
id: "viewing",
className: "flex flex-col gap-5",
- children: [/* @__PURE__ */ (0, B.jsx)(Y6, {
- headline: /* @__PURE__ */ (0, B.jsx)(J6, {
+ children: [/* @__PURE__ */ (0, B.jsx)(X6, {
+ headline: /* @__PURE__ */ (0, B.jsx)(Y6, {
term: "观看",
figure: r.played.toLocaleString(),
unit: "个作品有播放记录"
@@ -73401,35 +73386,35 @@ function BHe(e) {
children: /* @__PURE__ */ (0, B.jsxs)("div", {
className: "inline-grid w-full gap-3 sm:grid-cols-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(K6, {
+ /* @__PURE__ */ (0, B.jsx)(q6, {
term: "馆藏观看",
value: r.library_played
}),
- /* @__PURE__ */ (0, B.jsx)(K6, {
+ /* @__PURE__ */ (0, B.jsx)(q6, {
term: "在线直接观看",
value: r.online_played
}),
- /* @__PURE__ */ (0, B.jsx)(K6, {
+ /* @__PURE__ */ (0, B.jsx)(q6, {
term: "高潮计数",
value: r.o_total
}),
- /* @__PURE__ */ (0, B.jsx)(K6, {
+ /* @__PURE__ */ (0, B.jsx)(q6, {
term: "快进扫过",
value: r.skimmed
}),
- /* @__PURE__ */ (0, B.jsx)(K6, {
+ /* @__PURE__ */ (0, B.jsx)(q6, {
term: "喜欢",
value: r.liked
}),
- /* @__PURE__ */ (0, B.jsx)(K6, {
+ /* @__PURE__ */ (0, B.jsx)(q6, {
term: "明确不喜欢",
value: r.dislike
}),
- /* @__PURE__ */ (0, B.jsx)(K6, {
+ /* @__PURE__ */ (0, B.jsx)(q6, {
term: "看过了",
value: r.seen
}),
- /* @__PURE__ */ (0, B.jsx)(K6, {
+ /* @__PURE__ */ (0, B.jsx)(q6, {
term: "回收站",
value: r.trash
})
@@ -73439,8 +73424,8 @@ function BHe(e) {
}),
/* @__PURE__ */ (0, B.jsx)(_k, {
id: "coverage",
- children: /* @__PURE__ */ (0, B.jsx)(Y6, {
- headline: /* @__PURE__ */ (0, B.jsx)(J6, {
+ children: /* @__PURE__ */ (0, B.jsx)(X6, {
+ headline: /* @__PURE__ */ (0, B.jsx)(Y6, {
term: "内容标签覆盖",
figure: `${s}%`,
unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
@@ -73450,8 +73435,8 @@ function BHe(e) {
}),
/* @__PURE__ */ (0, B.jsx)(_k, {
id: "storage",
- children: /* @__PURE__ */ (0, B.jsx)(Y6, {
- headline: /* @__PURE__ */ (0, B.jsx)(J6, {
+ children: /* @__PURE__ */ (0, B.jsx)(X6, {
+ headline: /* @__PURE__ */ (0, B.jsx)(Y6, {
term: "使用空间",
figure: String(i.measured),
unit: "个卷已取得容量"
@@ -73470,23 +73455,23 @@ function BHe(e) {
children: [
/* @__PURE__ */ (0, B.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, B.jsxs)(hA, {
+ children: /* @__PURE__ */ (0, B.jsxs)(gA, {
"aria-label": "统计维度",
- className: _A,
+ className: vA,
children: [
/* @__PURE__ */ (0, B.jsx)(gk, {
id: "tags",
- className: vA,
+ className: yA,
children: "内容标签"
}),
/* @__PURE__ */ (0, B.jsx)(gk, {
id: "recent",
- className: vA,
+ className: yA,
children: "最近看过"
}),
/* @__PURE__ */ (0, B.jsx)(gk, {
id: "sources",
- className: vA,
+ className: yA,
children: "标签来源"
})
]
@@ -73524,23 +73509,23 @@ function VHe(e, t) {
}
//#endregion
//#region node_modules/d3-sankey/src/constant.js
-function Z6(e) {
+function Q6(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-sankey/src/sankey.js
-function Q6(e, t) {
- return e8(e.source, t.source) || e.index - t.index;
-}
function $6(e, t) {
- return e8(e.target, t.target) || e.index - t.index;
+ return t8(e.source, t.source) || e.index - t.index;
}
function e8(e, t) {
+ return t8(e.target, t.target) || e.index - t.index;
+}
+function t8(e, t) {
return e.y0 - t.y0;
}
-function t8(e) {
+function n8(e) {
return e.value;
}
function HHe(e) {
@@ -73552,12 +73537,12 @@ function UHe(e) {
function WHe(e) {
return e.links;
}
-function n8(e, t) {
+function r8(e, t) {
let n = e.get(t);
if (!n) throw Error("missing: " + t);
return n;
}
-function r8({ nodes: e }) {
+function i8({ 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;
@@ -73571,14 +73556,14 @@ function GHe() {
nodes: d.apply(null, arguments),
links: f.apply(null, arguments)
};
- return h(e), g(e), _(e), v(e), x(e), r8(e), e;
+ return h(e), g(e), _(e), v(e), x(e), i8(e), e;
}
m.update = function(e) {
- return r8(e), e;
+ return i8(e), e;
}, m.nodeId = function(e) {
- return arguments.length ? (s = typeof e == "function" ? e : Z6(e), m) : s;
+ return arguments.length ? (s = typeof e == "function" ? e : Q6(e), m) : s;
}, m.nodeAlign = function(e) {
- return arguments.length ? (c = typeof e == "function" ? e : Z6(e), m) : c;
+ return arguments.length ? (c = typeof e == "function" ? e : Q6(e), m) : c;
}, m.nodeSort = function(e) {
return arguments.length ? (l = e, m) : l;
}, m.nodeWidth = function(e) {
@@ -73586,9 +73571,9 @@ function GHe() {
}, m.nodePadding = function(e) {
return arguments.length ? (a = o = +e, m) : a;
}, m.nodes = function(e) {
- return arguments.length ? (d = typeof e == "function" ? e : Z6(e), m) : d;
+ return arguments.length ? (d = typeof e == "function" ? e : Q6(e), m) : d;
}, m.links = function(e) {
- return arguments.length ? (f = typeof e == "function" ? e : Z6(e), m) : f;
+ return arguments.length ? (f = typeof e == "function" ? e : Q6(e), m) : f;
}, m.linkSort = function(e) {
return arguments.length ? (u = e, m) : u;
}, m.size = function(i) {
@@ -73604,12 +73589,12 @@ function GHe() {
for (let [e, r] of t.entries()) {
r.index = e;
let { source: t, target: i } = r;
- typeof t != "object" && (t = r.source = n8(n, t)), typeof i != "object" && (i = r.target = n8(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
+ typeof t != "object" && (t = r.source = r8(n, t)), typeof i != "object" && (i = r.target = r8(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(Oq(t.sourceLinks, t8), Oq(t.targetLinks, t8)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(kq(t.sourceLinks, n8), kq(t.targetLinks, n8)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -73634,7 +73619,7 @@ function GHe() {
}
}
function y({ nodes: t }) {
- let r = wq(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
+ let r = Tq(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];
@@ -73643,7 +73628,7 @@ function GHe() {
return o;
}
function b(e) {
- let n = Tq(e, (e) => (r - t - (e.length - 1) * o) / Oq(e, t8));
+ let n = Eq(e, (e) => (r - t - (e.length - 1) * o) / kq(e, n8));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -73660,7 +73645,7 @@ function GHe() {
}
function x(e) {
let n = y(e);
- o = Math.min(a, (r - t) / (wq(n, (e) => e.length) - 1)), b(n);
+ o = Math.min(a, (r - t) / (Tq(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);
@@ -73679,7 +73664,7 @@ function GHe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(e8), w(i, n);
+ l === void 0 && i.sort(t8), w(i, n);
}
}
function C(e, t, n) {
@@ -73695,7 +73680,7 @@ function GHe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(e8), w(i, n);
+ l === void 0 && i.sort(t8), w(i, n);
}
}
function w(e, n) {
@@ -73716,12 +73701,12 @@ function GHe() {
}
function D({ sourceLinks: e, targetLinks: t }) {
if (u === void 0) {
- for (let { source: { sourceLinks: e } } of t) e.sort($6);
- for (let { target: { targetLinks: t } } of e) t.sort(Q6);
+ for (let { source: { sourceLinks: e } } of t) e.sort(e8);
+ for (let { target: { targetLinks: t } } of e) t.sort($6);
}
}
function O(e) {
- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort($6), n.sort(Q6);
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(e8), n.sort($6);
}
function k(e, t) {
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
@@ -73751,15 +73736,15 @@ function GHe() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var i8 = Math.PI, a8 = 2 * i8, o8 = 1e-6, KHe = a8 - o8;
-function s8() {
+var a8 = Math.PI, o8 = 2 * a8, s8 = 1e-6, KHe = o8 - s8;
+function c8() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
-function c8() {
- return new s8();
+function l8() {
+ return new c8();
}
-s8.prototype = c8.prototype = {
- constructor: s8,
+c8.prototype = l8.prototype = {
+ constructor: c8,
moveTo: function(e, t) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
},
@@ -73780,11 +73765,11 @@ s8.prototype = c8.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 > o8) {
- if (!(Math.abs(u * s - c * l) > o8) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
+ else if (d > s8) {
+ if (!(Math.abs(u * s - c * l) > s8) || !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((i8 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > o8 && (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((a8 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > s8 && (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);
}
}
},
@@ -73792,7 +73777,7 @@ s8.prototype = c8.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) > o8 || Math.abs(this._y1 - l) > o8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % a8 + a8), d > KHe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > o8 && (this._ += "A" + n + "," + n + ",0," + +(d >= i8) + "," + 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) > s8 || Math.abs(this._y1 - l) > s8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % o8 + o8), d > KHe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > s8 && (this._ += "A" + n + "," + n + ",0," + +(d >= a8) + "," + 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";
@@ -73803,7 +73788,7 @@ s8.prototype = c8.prototype = {
};
//#endregion
//#region node_modules/d3-shape/src/constant.js
-function l8(e) {
+function u8(e) {
return function() {
return e;
};
@@ -73831,16 +73816,16 @@ function QHe(e) {
var t = XHe, n = ZHe, r = qHe, i = JHe, a = null;
function o() {
var o, s = YHe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
- if (a ||= o = c8(), 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;
+ if (a ||= o = l8(), 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 : l8(+e), o) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : u8(+e), o) : r;
}, o.y = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : l8(+e), o) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : u8(+e), o) : i;
}, o.context = function(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
@@ -73864,20 +73849,20 @@ function rUe() {
}
//#endregion
//#region src/react/taste/taste.ts
-var iUe = "/api/taste", u8 = "/api/taste/refresh", aUe = "/api/taste/import", oUe = "/api/taste/source", d8 = (e) => ["taste", e], sUe = ["taste", "refresh"], cUe = [
+var iUe = "/api/taste", d8 = "/api/taste/refresh", aUe = "/api/taste/import", oUe = "/api/taste/source", f8 = (e) => ["taste", e], sUe = ["taste", "refresh"], cUe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], f8 = (e, t) => W(`${iUe}?window=${e}`, t), lUe = (e) => W(u8, e);
+], p8 = (e, t) => W(`${iUe}?window=${e}`, t), lUe = (e) => W(d8, e);
async function uUe(e, t) {
await p.fetchQuery({
- queryKey: d8(e),
- queryFn: () => f8(e, t)
+ queryKey: f8(e),
+ queryFn: () => p8(e, t)
});
}
-var dUe = (e) => G(u8, {
+var dUe = (e) => G(d8, {
window: e,
background: !0
}), fUe = (e, t) => G(oUe, {
@@ -73904,7 +73889,7 @@ async function pUe(e) {
}
return n;
}
-var mUe = 1e4, p8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", hUe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, gUe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+var mUe = 1e4, m8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", hUe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, gUe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
function _Ue(e) {
if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();
let t = [];
@@ -73914,18 +73899,18 @@ function vUe(e) {
let t = e.map(gUe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
-var m8 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
+var h8 = (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 yUe(e) {
- let t = m8(e, 6);
+ let t = h8(e, 6);
return t.length < 3 ? [] : t;
}
-var h8 = {
+var g8 = {
width: 720,
height: 435
-}, g8 = {
+}, _8 = {
source: 145,
target: 545
};
@@ -73977,11 +73962,11 @@ function bUe(e = []) {
total: a
};
}
-var xUe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, _8 = R.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var xUe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, v8 = R.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = R.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, B.jsx)(y8, {
+ case "border": return /* @__PURE__ */ (0, B.jsx)(b8, {
cx: e,
cy: t,
dotId: c,
@@ -73990,7 +73975,7 @@ var xUe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, _8 = R.memo(functio
className: i,
maskId: s
});
- case "colored-border": return /* @__PURE__ */ (0, B.jsx)(b8, {
+ case "colored-border": return /* @__PURE__ */ (0, B.jsx)(x8, {
cx: e,
cy: t,
dotId: c,
@@ -73999,7 +73984,7 @@ var xUe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, _8 = R.memo(functio
className: i,
maskId: s
});
- default: return /* @__PURE__ */ (0, B.jsx)(v8, {
+ default: return /* @__PURE__ */ (0, B.jsx)(y8, {
cx: e,
cy: t,
dotId: c,
@@ -74009,7 +73994,7 @@ var xUe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, _8 = R.memo(functio
maskId: s
});
}
-}), v8 = R.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, B.jsxs)("g", {
+}), y8 = R.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, B.jsxs)("g", {
className: a,
mask: o ? `url(#${o})` : void 0,
children: [/* @__PURE__ */ (0, B.jsx)("defs", { children: /* @__PURE__ */ (0, B.jsx)("clipPath", {
@@ -74029,9 +74014,9 @@ var xUe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, _8 = R.memo(functio
clipPath: `url(#dot-clip-${n})`
})]
}));
-v8.displayName = "DefaultDot";
-var y8 = R.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, B.jsxs)("g", {
- className: Y3(a, "text-background"),
+y8.displayName = "DefaultDot";
+var b8 = R.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, B.jsxs)("g", {
+ className: X3(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
/* @__PURE__ */ (0, B.jsx)("defs", { children: /* @__PURE__ */ (0, B.jsx)("clipPath", {
@@ -74067,9 +74052,9 @@ var y8 = R.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
}) })
]
}));
-y8.displayName = "PrimaryBorderDot";
-var b8 = R.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, B.jsxs)("g", {
- className: Y3(a, "text-background"),
+b8.displayName = "PrimaryBorderDot";
+var x8 = R.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, B.jsxs)("g", {
+ className: X3(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
/* @__PURE__ */ (0, B.jsx)("defs", { children: /* @__PURE__ */ (0, B.jsx)("clipPath", {
@@ -74097,16 +74082,16 @@ var b8 = R.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
})
]
}));
-b8.displayName = "ColoredBorderDot";
+x8.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var SUe = 1, CUe = .3, wUe = 6, x8 = 1500, S8 = "value", C8 = (0, R.createContext)(null);
-function w8() {
- let e = (0, R.use)(C8);
+var SUe = 1, CUe = .3, wUe = 6, S8 = 1500, C8 = "value", w8 = (0, R.createContext)(null);
+function T8() {
+ let e = (0, R.use)(w8);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
-function T8({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {
+function E8({ 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, R.useId)().replace(/:/g, ""), [d, f] = (0, R.useState)(o), p = LUe(c, l), m = (0, R.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, R.useMemo)(() => ({
@@ -74120,17 +74105,17 @@ function T8({ config: e, data: t, children: n, className: r, chartProps: i, back
d,
m
]);
- return /* @__PURE__ */ (0, B.jsx)(C8, {
+ return /* @__PURE__ */ (0, B.jsx)(w8, {
value: h,
- children: /* @__PURE__ */ (0, B.jsxs)(e6, {
+ children: /* @__PURE__ */ (0, B.jsxs)(t6, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, B.jsx)(t6, { isLoading: c }), /* @__PURE__ */ (0, B.jsxs)(cVe, {
+ children: [/* @__PURE__ */ (0, B.jsx)(n6, { isLoading: c }), /* @__PURE__ */ (0, B.jsxs)(cVe, {
id: u,
data: c ? p : t,
...i,
children: [
- a && /* @__PURE__ */ (0, B.jsx)(f6, { variant: a }),
+ a && /* @__PURE__ */ (0, B.jsx)(p6, { variant: a }),
n,
c && /* @__PURE__ */ (0, B.jsx)(RUe, {})
]
@@ -74139,14 +74124,14 @@ function T8({ config: e, data: t, children: n, className: r, chartProps: i, back
});
}
function TUe({ dataKey: e, variant: t = "filled", fillOpacity: n = CUe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
- let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = w8(), d = (0, R.useId)().replace(/:/g, "");
+ let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = T8(), d = (0, R.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 } = jUe(a, d, e, p.dot);
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(z0, {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(B0, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
@@ -74184,9 +74169,9 @@ function TUe({ dataKey: e, variant: t = "filled", fillOpacity: n = CUe, isGlowin
})
] })] });
}
-var E8 = () => null, D8 = () => null;
+var D8 = () => null, O8 = () => null;
function EUe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
- return /* @__PURE__ */ (0, B.jsx)(M1, {
+ return /* @__PURE__ */ (0, B.jsx)(N1, {
gridType: e,
stroke: t,
strokeOpacity: n,
@@ -74198,8 +74183,8 @@ function DUe({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
- let { isLoading: r } = w8();
- return r ? null : /* @__PURE__ */ (0, B.jsx)(K1, {
+ let { isLoading: r } = T8();
+ return r ? null : /* @__PURE__ */ (0, B.jsx)(q1, {
tick: e,
tickLine: t,
...n
@@ -74209,8 +74194,8 @@ function OUe({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
- let { isLoading: i } = w8();
- return i ? null : /* @__PURE__ */ (0, B.jsx)(B1, {
+ let { isLoading: i } = T8();
+ return i ? null : /* @__PURE__ */ (0, B.jsx)(V1, {
tick: e,
tickLine: t,
axisLine: n,
@@ -74218,11 +74203,11 @@ function OUe({ tick: e = {
});
}
function kUe({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, selectedDataKey: i } = w8();
- return r ? null : /* @__PURE__ */ (0, B.jsx)(o6, {
+ let { isLoading: r, selectedDataKey: i } = T8();
+ return r ? null : /* @__PURE__ */ (0, B.jsx)(s6, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, B.jsx)(a6, {
+ content: /* @__PURE__ */ (0, B.jsx)(o6, {
selected: i,
roundness: t,
variant: e
@@ -74230,11 +74215,11 @@ function kUe({ variant: e, roundness: t, defaultIndex: n }) {
});
}
function AUe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { isLoading: i, selectedDataKey: a, selectDataKey: o } = w8();
- return i ? null : /* @__PURE__ */ (0, B.jsx)(c6, {
+ let { isLoading: i, selectedDataKey: a, selectDataKey: o } = T8();
+ return i ? null : /* @__PURE__ */ (0, B.jsx)(l6, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, B.jsx)(s6, {
+ content: /* @__PURE__ */ (0, B.jsx)(c6, {
selected: a,
onSelectChange: o,
isClickable: r,
@@ -74246,18 +74231,18 @@ var jUe = (e, t, n, r) => {
let i = !1, a = !1;
return R.Children.forEach(e, (e) => {
if ((0, R.isValidElement)(e)) {
- if (e.type === E8) {
+ if (e.type === D8) {
let { variant: a } = e.props;
- i = /* @__PURE__ */ (0, B.jsx)(_8, {
+ i = /* @__PURE__ */ (0, B.jsx)(v8, {
type: a,
dataKey: n,
chartId: t,
fillOpacity: r
});
}
- if (e.type === D8) {
+ if (e.type === O8) {
let { variant: i } = e.props;
- a = /* @__PURE__ */ (0, B.jsx)(_8, {
+ a = /* @__PURE__ */ (0, B.jsx)(v8, {
type: i,
dataKey: n,
chartId: t,
@@ -74269,7 +74254,7 @@ var jUe = (e, t, n, r) => {
dot: i,
activeDot: a
};
-}, O8 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("stop", {
+}, k8 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("stop", {
offset: "0%",
stopColor: `var(--color-${e}-0)`,
stopOpacity: n?.[0]
@@ -74285,39 +74270,39 @@ var jUe = (e, t, n, r) => {
stopOpacity: n?.[i]
}, a);
}) }), MUe = ({ id: e, dataKey: t, config: n }) => {
- let r = i6(n[t] ?? {});
+ let r = a6(n[t] ?? {});
return /* @__PURE__ */ (0, B.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
x1: "0",
y1: "0",
x2: "1",
y2: "0",
- children: /* @__PURE__ */ (0, B.jsx)(O8, {
+ children: /* @__PURE__ */ (0, B.jsx)(k8, {
dataKey: t,
colorsCount: r
})
});
}, NUe = ({ id: e, dataKey: t, config: n }) => {
- let r = i6(n[t] ?? {});
+ let r = a6(n[t] ?? {});
return /* @__PURE__ */ (0, B.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
x1: "0",
y1: "0",
x2: "1",
y2: "1",
- children: /* @__PURE__ */ (0, B.jsx)(O8, {
+ children: /* @__PURE__ */ (0, B.jsx)(k8, {
dataKey: t,
colorsCount: r
})
});
}, PUe = ({ id: e, dataKey: t, config: n }) => {
- let r = i6(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
+ let r = a6(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
return /* @__PURE__ */ (0, B.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
cx: "50%",
cy: "50%",
r: "50%",
- children: /* @__PURE__ */ (0, B.jsx)(O8, {
+ children: /* @__PURE__ */ (0, B.jsx)(k8, {
dataKey: t,
colorsCount: r,
opacities: i
@@ -74352,7 +74337,7 @@ var jUe = (e, t, n, r) => {
"F"
].slice(0, e).map((e) => ({
skill: e,
- [S8]: 30 + Math.random() * 70
+ [C8]: 30 + Math.random() * 70
}));
function LUe(e, t = wUe) {
let [n, r] = (0, R.useState)(0);
@@ -74360,12 +74345,12 @@ function LUe(e, t = wUe) {
if (!e) return;
let t = setInterval(() => {
r((e) => e + 1);
- }, x8);
+ }, S8);
return () => clearInterval(t);
}, [e]), (0, R.useMemo)(() => IUe(t), [t, n]);
}
-var RUe = () => /* @__PURE__ */ (0, B.jsx)(z0, {
- dataKey: S8,
+var RUe = () => /* @__PURE__ */ (0, B.jsx)(B0, {
+ dataKey: C8,
stroke: "currentColor",
strokeOpacity: .3,
strokeWidth: 2,
@@ -74373,10 +74358,10 @@ var RUe = () => /* @__PURE__ */ (0, B.jsx)(z0, {
fillOpacity: .1,
dot: !1,
isAnimationActive: !0,
- animationDuration: x8,
+ animationDuration: S8,
animationEasing: "ease-in-out"
});
-T8.Radar = TUe, T8.Dot = E8, T8.ActiveDot = D8, T8.PolarGrid = EUe, T8.PolarAngleAxis = DUe, T8.PolarRadiusAxis = OUe, T8.Tooltip = kUe, T8.Legend = AUe;
+E8.Radar = TUe, E8.Dot = D8, E8.ActiveDot = O8, E8.PolarGrid = EUe, E8.PolarAngleAxis = DUe, E8.PolarRadiusAxis = OUe, E8.Tooltip = kUe, E8.Legend = AUe;
//#endregion
//#region src/react/taste/charts.tsx
var zUe = [
@@ -74393,9 +74378,9 @@ var zUe = [
"fill-chart-4",
"fill-chart-5",
"fill-chart-6"
-], k8 = { value: {
+], A8 = { value: {
label: "标签命中",
- colors: x6(b6[3])
+ colors: S6(x6[3])
} }, VUe = [
"min-h-24",
"min-h-24",
@@ -74406,7 +74391,7 @@ var zUe = [
"min-h-52",
"min-h-60",
"min-h-64"
-], HUe = 26, UUe = { radius: k8.value }, WUe = (e, t) => Math.sqrt(e / t);
+], HUe = 26, UUe = { radius: A8.value }, WUe = (e, t) => Math.sqrt(e / t);
function GUe({ rows: e, label: t }) {
let n = yUe(e);
if (!n.length) return null;
@@ -74417,55 +74402,55 @@ function GUe({ rows: e, label: t }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
- children: /* @__PURE__ */ (0, B.jsxs)(T8, {
+ children: /* @__PURE__ */ (0, B.jsxs)(E8, {
data: i,
config: UUe,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
- /* @__PURE__ */ (0, B.jsx)(T8.PolarGrid, {}),
- /* @__PURE__ */ (0, B.jsx)(T8.PolarAngleAxis, { dataKey: "name" }),
- /* @__PURE__ */ (0, B.jsx)(T8.PolarRadiusAxis, {
+ /* @__PURE__ */ (0, B.jsx)(E8.PolarGrid, {}),
+ /* @__PURE__ */ (0, B.jsx)(E8.PolarAngleAxis, { dataKey: "name" }),
+ /* @__PURE__ */ (0, B.jsx)(E8.PolarRadiusAxis, {
domain: [0, 1],
allowDecimals: !0,
tick: !1
}),
- /* @__PURE__ */ (0, B.jsx)(T8.Radar, { dataKey: "radius" }),
- /* @__PURE__ */ (0, B.jsx)(E6, { valueKey: "value" })
+ /* @__PURE__ */ (0, B.jsx)(E8.Radar, { dataKey: "radius" }),
+ /* @__PURE__ */ (0, B.jsx)(D6, { valueKey: "value" })
]
})
});
}
function KUe({ rows: e, label: t }) {
- let n = m8(e, 8);
+ let n = h8(e, 8);
return n.length ? /* @__PURE__ */ (0, B.jsx)("section", {
"aria-label": t,
className: `flex grow flex-col ${VUe[n.length]}`,
- children: /* @__PURE__ */ (0, B.jsxs)(g6, {
+ children: /* @__PURE__ */ (0, B.jsxs)(_6, {
data: n,
- config: k8,
+ config: A8,
layout: "horizontal",
barRadius: 4,
chartProps: { maxBarSize: HUe },
className: "aspect-auto text-text-secondary",
children: [
- /* @__PURE__ */ (0, B.jsx)(g6.YAxis, {
+ /* @__PURE__ */ (0, B.jsx)(_6.YAxis, {
dataKey: "name",
interval: 0
}),
- /* @__PURE__ */ (0, B.jsx)(g6.XAxis, {
+ /* @__PURE__ */ (0, B.jsx)(_6.XAxis, {
hide: !0,
- domain: D6
+ domain: O6
}),
- /* @__PURE__ */ (0, B.jsx)(g6.Bar, {
+ /* @__PURE__ */ (0, B.jsx)(_6.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: O6("right")
+ label: k6("right")
}
}),
- /* @__PURE__ */ (0, B.jsx)(E6, {})
+ /* @__PURE__ */ (0, B.jsx)(D6, {})
]
})
}) : null;
@@ -74475,9 +74460,9 @@ function qUe({ flows: 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, B.jsxs)("section", {
- className: v6,
+ className: y6,
children: [
- /* @__PURE__ */ (0, B.jsx)(y6, {
+ /* @__PURE__ */ (0, B.jsx)(b6, {
title: "创作者线索来源",
figure: (t ? t.value : r.total).toLocaleString(),
note: t ? t.label : "条线索"
@@ -74485,7 +74470,7 @@ function qUe({ flows: e }) {
/* @__PURE__ */ (0, B.jsx)("div", {
className: "min-w-0 overflow-x-auto",
children: /* @__PURE__ */ (0, B.jsxs)("svg", {
- viewBox: `0 0 ${h8.width} ${h8.height}`,
+ viewBox: `0 0 ${g8.width} ${g8.height}`,
fill: "none",
role: "img",
"aria-label": "来源网站与创作者线索",
@@ -74535,13 +74520,13 @@ function qUe({ flows: e }) {
rx: 5,
className: e.side === "source" ? BUe[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, B.jsxs)("text", {
- x: g8[e.side],
+ x: _8[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: [xUe(e.name), /* @__PURE__ */ (0, B.jsx)("tspan", {
- x: g8[e.side],
+ x: _8[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
})]
@@ -74558,11 +74543,11 @@ function qUe({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var JUe = 10, A8 = CE(wk, Tk, "text-body-2-medium"), j8 = `${kE()} flex flex-col gap-4`, M8 = "rounded-xl bg-background-primary-default p-3", YUe = "读取运行 Peach 的这台电脑上的浏览记录", XUe = "导入或读取浏览记录后,这里会列出已采集设备。", ZUe = "馆藏里暂时没有对得上浏览信号的标签。", QUe = "采集浏览记录后,这里会显示聚合后的口味证据。", $Ue = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", eWe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", tWe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", nWe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", rWe = "这个数据源将不再用于口味分析。原始导出文件保留。", N8 = "peach-taste-guide-dismissed";
-function P8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
+var JUe = 10, j8 = CE(wk, Tk, "text-body-2-medium"), M8 = `${kE()} flex flex-col gap-4`, N8 = "rounded-xl bg-background-primary-default p-3", YUe = "读取运行 Peach 的这台电脑上的浏览记录", XUe = "导入或读取浏览记录后,这里会列出已采集设备。", ZUe = "馆藏里暂时没有对得上浏览信号的标签。", QUe = "采集浏览记录后,这里会显示聚合后的口味证据。", $Ue = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", eWe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", tWe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", nWe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", rWe = "这个数据源将不再用于口味分析。原始导出文件保留。", P8 = "peach-taste-guide-dismissed";
+function F8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
- className: CM(),
- children: /* @__PURE__ */ (0, B.jsx)(DM, {
+ className: SM(),
+ children: /* @__PURE__ */ (0, B.jsx)(EM, {
label: t,
icon: e,
accent: i,
@@ -74571,7 +74556,7 @@ function P8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
})
});
}
-function F8({ name: e, domain: t }) {
+function I8({ name: e, domain: t }) {
return /* @__PURE__ */ (0, B.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: [e.slice(0, 1).toUpperCase(), /* @__PURE__ */ (0, B.jsx)("img", {
@@ -74587,7 +74572,7 @@ function F8({ name: e, domain: t }) {
}
function iWe({ html: e }) {
return /* @__PURE__ */ (0, B.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 ${aL}`,
+ 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 ${oL}`,
dangerouslySetInnerHTML: { __html: e }
});
}
@@ -74599,7 +74584,7 @@ function aWe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
children: r
});
let a = vUe(e);
- return /* @__PURE__ */ (0, B.jsx)(L6, {
+ return /* @__PURE__ */ (0, B.jsx)(R6, {
previewCount: JUe,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
@@ -74619,11 +74604,11 @@ function aWe({ 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, B.jsx)(F8, {
+ n === "domain" ? /* @__PURE__ */ (0, B.jsx)(I8, {
name: e.name,
domain: e.name
}) : null,
- n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, B.jsx)(F8, {
+ n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, B.jsx)(I8, {
name: e.name,
domain: s
}) : null,
@@ -74663,17 +74648,17 @@ function aWe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
})
});
}
-function I8({ label: e, panels: t, onSignal: n }) {
+function L8({ label: e, panels: t, onSignal: n }) {
return /* @__PURE__ */ (0, B.jsxs)(mk, {
className: `${kE({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, B.jsx)(hA, {
+ children: /* @__PURE__ */ (0, B.jsx)(gA, {
"aria-label": e,
- className: _A,
+ className: vA,
children: t.map((e) => /* @__PURE__ */ (0, B.jsx)(gk, {
id: e.id,
- className: vA,
+ className: yA,
children: e.name
}, e.id))
})
@@ -74702,7 +74687,7 @@ function oWe({ data: e, onSignal: t, navigate: n }) {
act: () => n(e.route)
}))];
return /* @__PURE__ */ (0, B.jsxs)("section", {
- className: j8,
+ className: M8,
"aria-label": "口味总结",
children: [
/* @__PURE__ */ (0, B.jsxs)("header", {
@@ -74728,7 +74713,7 @@ function oWe({ data: e, onSignal: t, navigate: n }) {
r.points?.length ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "inline-grid w-full gap-3 sm:grid-cols-2",
children: r.points.map((e) => /* @__PURE__ */ (0, B.jsxs)("div", {
- className: `flex min-w-0 flex-col gap-1 ${M8}`,
+ className: `flex min-w-0 flex-col gap-1 ${N8}`,
children: [/* @__PURE__ */ (0, B.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: e.label
@@ -74743,7 +74728,7 @@ function oWe({ data: e, onSignal: t, navigate: n }) {
children: a.map((e) => /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
onClick: e.act,
- className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${M8} 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 ${N8} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
children: [/* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-1",
children: [/* @__PURE__ */ (0, B.jsx)("b", {
@@ -74770,7 +74755,7 @@ function oWe({ data: e, onSignal: t, navigate: n }) {
function sWe({ onboarding: e, done: t }) {
let [n, r] = (0, R.useState)(() => {
try {
- return localStorage.getItem(N8) === "1";
+ return localStorage.getItem(P8) === "1";
} catch {
return !1;
}
@@ -74829,7 +74814,7 @@ function sWe({ onboarding: e, done: t }) {
size: "small",
onClick: () => {
try {
- localStorage.setItem(N8, "1");
+ localStorage.setItem(P8, "1");
} catch {}
r(!0);
},
@@ -74873,12 +74858,12 @@ function cWe({ busy: e, onRefresh: t, onImport: n }) {
placement: "bottom end",
offset: 4,
className: Ck,
- children: /* @__PURE__ */ (0, B.jsxs)(OM, {
+ children: /* @__PURE__ */ (0, B.jsxs)(DM, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
- className: A8,
+ className: j8,
onClick: () => o(t),
children: [/* @__PURE__ */ (0, B.jsx)(xT, {
"aria-hidden": !0,
@@ -74886,7 +74871,7 @@ function cWe({ busy: e, onRefresh: t, onImport: n }) {
}), "读取浏览器历史"]
}), /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
- className: A8,
+ className: j8,
onClick: () => o(n),
children: [/* @__PURE__ */ (0, B.jsx)(NT, {
"aria-hidden": !0,
@@ -74900,11 +74885,11 @@ function lWe({ sources: e, window: t, toast: n }) {
let r = DS({
mutationFn: (e) => fUe(e, t),
onSuccess: (e) => {
- p.setQueryData(d8(t), e.dashboard), n("已移除口味数据源");
+ p.setQueryData(f8(t), e.dashboard), n("已移除口味数据源");
}
});
return /* @__PURE__ */ (0, B.jsxs)("section", {
- className: j8,
+ className: M8,
"aria-label": "数据源",
children: [
/* @__PURE__ */ (0, B.jsx)("h3", {
@@ -74918,7 +74903,7 @@ function lWe({ sources: e, window: t, toast: n }) {
e.length ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "inline-grid w-full gap-2 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, B.jsxs)("div", {
- className: `flex min-w-0 items-center gap-3 ${M8}`,
+ className: `flex min-w-0 items-center gap-3 ${N8}`,
children: [
/* @__PURE__ */ (0, B.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
@@ -74969,10 +74954,10 @@ function lWe({ sources: e, window: t, toast: n }) {
}
function uWe(e) {
let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, R.useState)("all"), [s, c] = (0, R.useState)("browser"), l = (0, R.useRef)(null), u = wS({
- queryKey: d8(a),
- queryFn: ({ signal: e }) => f8(a, e),
+ queryKey: f8(a),
+ queryFn: ({ signal: e }) => p8(a, e),
placeholderData: kS.keepPreviousData
- }), { job: d, running: f, outcome: m, start: h } = HM({
+ }), { job: d, running: f, outcome: m, start: h } = VM({
queryKey: sUe,
queryFn: ({ signal: e }) => lUe(e),
start: () => dUe(a),
@@ -74983,7 +74968,7 @@ function uWe(e) {
}), g = DS({
mutationFn: (e) => pUe(e),
onSuccess: (e) => {
- p.setQueryData(d8("all"), e.dashboard), o("all"), r("已导入口味数据");
+ p.setQueryData(f8("all"), e.dashboard), o("all"), r("已导入口味数据");
}
}), _ = (e) => {
let t = e.currentTarget.files?.[0];
@@ -75005,16 +74990,16 @@ function uWe(e) {
children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, B.jsxs)(hA, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(gA, {
"aria-label": "口味证据来源",
- className: _A,
+ className: vA,
children: [/* @__PURE__ */ (0, B.jsx)(gk, {
id: "browser",
- className: vA,
+ className: yA,
children: "浏览器记录"
}), /* @__PURE__ */ (0, B.jsx)(gk, {
id: "peach",
- className: vA,
+ className: yA,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -75055,12 +75040,12 @@ function uWe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- f ? /* @__PURE__ */ (0, B.jsx)(RM, {
+ f ? /* @__PURE__ */ (0, B.jsx)(LM, {
label: d?.message || "正在读取浏览记录并更新口味分析",
value: d?.checked,
total: d?.total
}) : null,
- g.isPending ? /* @__PURE__ */ (0, B.jsx)(RM, { label: "正在导入历史文件" }) : null,
+ g.isPending ? /* @__PURE__ */ (0, B.jsx)(LM, { label: "正在导入历史文件" }) : null,
O ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
children: O
@@ -75072,29 +75057,29 @@ function uWe(e) {
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
- className: wM,
+ className: CM,
children: [
- /* @__PURE__ */ (0, B.jsx)(P8, {
+ /* @__PURE__ */ (0, B.jsx)(F8, {
accent: 0,
icon: DT,
term: "浏览记录",
figure: Number(b.history_visits || 0).toLocaleString(),
- detail: `${b.history_sources || 0} 个数据源 · ${p8(b.range_start)}—${p8(b.range_end)}`
+ detail: `${b.history_sources || 0} 个数据源 · ${m8(b.range_start)}—${m8(b.range_end)}`
}),
- /* @__PURE__ */ (0, B.jsx)(P8, {
+ /* @__PURE__ */ (0, B.jsx)(F8, {
accent: 1,
icon: kT,
term: "口味维度",
figure: w.length.toLocaleString(),
detail: w[0]?.name || "尚无主维度"
}),
- /* @__PURE__ */ (0, B.jsx)(P8, {
+ /* @__PURE__ */ (0, B.jsx)(F8, {
accent: 2,
icon: MT,
term: "浏览候选",
figure: T.length.toLocaleString()
}),
- /* @__PURE__ */ (0, B.jsx)(P8, {
+ /* @__PURE__ */ (0, B.jsx)(F8, {
accent: 3,
icon: ST,
term: "私有导出",
@@ -75104,7 +75089,7 @@ function uWe(e) {
]
}),
/* @__PURE__ */ (0, B.jsxs)("section", {
- className: `${j8} md:flex-row md:gap-6`,
+ className: `${M8} md:flex-row md:gap-6`,
"aria-label": "浏览器画像",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex shrink-0 flex-col gap-2 pb-5 md:w-80 md:pr-6 md:pb-0",
@@ -75119,7 +75104,7 @@ function uWe(e) {
}),
/* @__PURE__ */ (0, B.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: y.updated_at ? `更新于 ${p8(y.updated_at)}` : "尚未采集浏览记录"
+ children: y.updated_at ? `更新于 ${m8(y.updated_at)}` : "尚未采集浏览记录"
})
]
}), /* @__PURE__ */ (0, B.jsx)("div", {
@@ -75135,7 +75120,7 @@ function uWe(e) {
})
})]
}),
- /* @__PURE__ */ (0, B.jsx)(I6, {
+ /* @__PURE__ */ (0, B.jsx)(L6, {
activity: y.activity,
title: "浏览活跃时间",
dailyTitle: "每日活跃",
@@ -75148,7 +75133,7 @@ function uWe(e) {
empty: "还没有可用于分析的口味网站访问记录。"
}),
/* @__PURE__ */ (0, B.jsx)(qUe, { flows: y.creator_flows }),
- /* @__PURE__ */ (0, B.jsx)(I8, {
+ /* @__PURE__ */ (0, B.jsx)(L8, {
label: "浏览器口味维度",
onSignal: t,
panels: [
@@ -75201,28 +75186,28 @@ function uWe(e) {
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
- className: wM,
+ className: CM,
children: [
- /* @__PURE__ */ (0, B.jsx)(P8, {
+ /* @__PURE__ */ (0, B.jsx)(F8, {
accent: 0,
icon: TT,
term: "Peach 看过",
figure: Number(b.peach_items || 0).toLocaleString(),
detail: hUe(b.peach_seconds || 0)
}),
- /* @__PURE__ */ (0, B.jsx)(P8, {
+ /* @__PURE__ */ (0, B.jsx)(F8, {
accent: 1,
icon: mae,
term: "喜欢",
figure: Number(b.liked || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, B.jsx)(P8, {
+ /* @__PURE__ */ (0, B.jsx)(F8, {
accent: 2,
icon: pae,
term: "不合口味",
figure: Number(b.disliked || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, B.jsx)(P8, {
+ /* @__PURE__ */ (0, B.jsx)(F8, {
accent: 3,
icon: kT,
term: "有标签",
@@ -75231,7 +75216,7 @@ function uWe(e) {
]
}),
/* @__PURE__ */ (0, B.jsxs)("section", {
- className: `${j8} md:flex-row md:gap-6`,
+ className: `${M8} md:flex-row md:gap-6`,
"aria-label": "Peach 观看",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-72 md:pr-6 md:pb-0",
@@ -75251,18 +75236,18 @@ function uWe(e) {
]
}), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 grow flex-col",
- children: [/* @__PURE__ */ (0, B.jsx)(L8, {
+ children: [/* @__PURE__ */ (0, B.jsx)(R8, {
term: "有标签",
value: E,
rest: x.untagged || 0
- }), /* @__PURE__ */ (0, B.jsx)(L8, {
+ }), /* @__PURE__ */ (0, B.jsx)(R8, {
term: "有身份",
value: D,
rest: x.unidentified || 0
})]
})]
}),
- /* @__PURE__ */ (0, B.jsx)(I8, {
+ /* @__PURE__ */ (0, B.jsx)(L8, {
label: "Peach 口味维度",
onSignal: t,
panels: [
@@ -75314,7 +75299,7 @@ function uWe(e) {
})
] });
}
-function L8({ term: e, value: t, rest: n }) {
+function R8({ term: e, value: t, rest: n }) {
let r = Math.max(t + n, 1);
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -75342,9 +75327,9 @@ function dWe(e, t, n) {
return;
}
let r = t.managePath(e);
- z8(r) ? n(r) : t.openManage(e);
+ B8(r) ? n(r) : t.openManage(e);
}
-var R8 = {
+var z8 = {
"/stats": {
prefetch: (e, t) => tbe(t),
page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(BHe, {
@@ -75366,7 +75351,7 @@ var R8 = {
})
},
"/review": {
- prefetch: (e, t) => bue(t),
+ prefetch: (e, t) => kj(t),
page: (e, t) => /* @__PURE__ */ (0, B.jsx)(Dve, {
...e,
route: t.routeReview,
@@ -75377,15 +75362,15 @@ var R8 = {
})
},
"/data-cleanup": {
- prefetch: (e, t) => sde(t),
- page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(mfe, {
+ prefetch: (e, t) => cde(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(hfe, {
failure: t.failure,
open: (e) => dWe(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
})
},
"/duplicates": {
- prefetch: (e, t) => Rle(t),
+ prefetch: (e, t) => Lle(t),
page: (e, t) => /* @__PURE__ */ (0, B.jsx)(sme, {
openItem: t.openItem,
failure: t.failure,
@@ -75393,7 +75378,7 @@ var R8 = {
})
},
"/quality-goals": {
- prefetch: (e, t) => $le(t),
+ prefetch: (e, t) => tue(t),
page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(dve, {
openItem: t.openItem,
javTitleHtml: st,
@@ -75409,7 +75394,7 @@ var R8 = {
page: (e, t) => /* @__PURE__ */ (0, B.jsx)(Vve, { toast: (e) => t.toast(e) })
},
"/configuration": {
- prefetch: (e, t) => xR(t),
+ prefetch: (e, t) => SR(t),
page: (e, t) => /* @__PURE__ */ (0, B.jsx)($ye, {
receipt: (e) => t.receipt(e),
reopenTutorial: t.reopenTutorial
@@ -75428,7 +75413,7 @@ var R8 = {
},
"/activity": {
prefetch: (e, t) => Sce(t),
- page: (e) => /* @__PURE__ */ (0, B.jsx)(Kce, { ...e.prefill ? { prefill: e.prefill } : {} })
+ page: (e) => /* @__PURE__ */ (0, B.jsx)(Gce, { ...e.prefill ? { prefill: e.prefill } : {} })
},
"/follow-manage": {
prefetch: (e, t) => Wme(t, e.tab),
@@ -75443,7 +75428,7 @@ var R8 = {
}
})
}
-}, z8 = (e) => Object.hasOwn(R8, e), B8 = {
+}, B8 = (e) => Object.hasOwn(z8, e), V8 = {
"/playlists": {
prefetch: (e, t) => Z_e(t),
page: (e, t) => /* @__PURE__ */ (0, B.jsx)(lve, {
@@ -75458,7 +75443,7 @@ var R8 = {
prefetch: (e, t) => Qme(e, t),
page: (e) => /* @__PURE__ */ (0, B.jsx)(She, { ...e })
}
-}, V8 = (e) => Object.hasOwn(B8, e), H8 = {
+}, H8 = (e) => Object.hasOwn(V8, e), U8 = {
prefetch: (e, t) => Ffe(e, t),
page: (e, t) => /* @__PURE__ */ (0, B.jsx)(O_e, {
...e,
@@ -75473,48 +75458,48 @@ var R8 = {
openFollowAuthor: t.openFollowAuthor,
openFollowTag: t.openFollowTag
})
-}, U8 = {
- "/performers": H8,
- "/creators": H8,
- "/studios": H8,
- "/agencies": H8,
- "/tags": H8
}, W8 = {
+ "/performers": U8,
+ "/creators": U8,
+ "/studios": U8,
+ "/agencies": U8,
+ "/tags": U8
+}, G8 = {
prefetch: (e) => wfe(e),
page: (e) => /* @__PURE__ */ (0, B.jsx)(Qpe, { ...e })
-}, G8 = {
- "/performers/*": W8,
- "/studios/*": W8,
- "/creators/*": W8,
- "/series/*": W8,
- "/agencies/*": W8
}, K8 = {
+ "/performers/*": G8,
+ "/studios/*": G8,
+ "/creators/*": G8,
+ "/series/*": G8,
+ "/agencies/*": G8
+}, q8 = {
"/": {
prefetch: (e, t) => kre(e, t),
- page: (e) => /* @__PURE__ */ (0, B.jsx)(HA, { ...e })
+ page: (e) => /* @__PURE__ */ (0, B.jsx)(UA, { ...e })
},
"/junk-files": {
prefetch: async () => {},
page: (e) => /* @__PURE__ */ (0, B.jsx)(U_e, { ...e })
}
-}, q8 = (e) => Object.hasOwn(K8, e), fWe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, B.jsx)(Y_e, { ...e }) : /* @__PURE__ */ (0, B.jsx)(BM, { ...e }), J8 = {
+}, J8 = (e) => Object.hasOwn(q8, e), fWe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, B.jsx)(Y_e, { ...e }) : /* @__PURE__ */ (0, B.jsx)(zM, { ...e }), Y8 = {
"catalog-filter": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, B.jsx)(sle, { ...e })
+ page: (e) => /* @__PURE__ */ (0, B.jsx)(ole, { ...e })
},
"feed-new": {
prefetch: (e) => yfe(e),
page: (e) => /* @__PURE__ */ (0, B.jsx)(pme, { ...e })
},
"library-processing": {
- prefetch: (e, t) => tj(t),
+ prefetch: (e, t) => nj(t),
page: (e) => /* @__PURE__ */ (0, B.jsx)(fWe, { ...e })
},
search: {
prefetch: async () => {},
page: (e) => /* @__PURE__ */ (0, B.jsx)(Kve, { ...e })
}
-}, Y8 = (e) => Object.hasOwn(J8, e), pWe = [
+}, X8 = (e) => Object.hasOwn(Y8, e), pWe = [
"/",
"/unseen",
"/watch-later",
@@ -75522,20 +75507,20 @@ var R8 = {
"/trash",
"/junk-files"
], mWe = [
- ...Object.keys(R8),
- ...Object.keys(B8),
- ...Object.keys(U8),
- ...Object.keys(G8),
+ ...Object.keys(z8),
+ ...Object.keys(V8),
+ ...Object.keys(W8),
+ ...Object.keys(K8),
...pWe
-], X8 = (e) => z8(e) || V8(e) || Object.hasOwn(U8, e) || Object.hasOwn(G8, e) || q8(e) || Y8(e);
-function Z8(e) {
- return z8(e) ? R8[e] : V8(e) ? B8[e] : q8(e) ? K8[e] : Y8(e) ? J8[e] : Object.hasOwn(U8, e) ? U8[e] : G8[e];
+], Z8 = (e) => B8(e) || H8(e) || Object.hasOwn(W8, e) || Object.hasOwn(K8, e) || J8(e) || X8(e);
+function Q8(e) {
+ return B8(e) ? z8[e] : H8(e) ? V8[e] : J8(e) ? q8[e] : X8(e) ? Y8[e] : Object.hasOwn(W8, e) ? W8[e] : K8[e];
}
function hWe(e, t, n) {
- return X8(e) ? Z8(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
+ return Z8(e) ? Q8(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
function gWe(e, t, n, r) {
- return Z8(e).page(t, n, r);
+ return Q8(e).page(t, n, r);
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/url.js
@@ -75545,10 +75530,10 @@ function yWe(e, t) {
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/history.js
-function Q8(e, t) {
+function $8(e, t) {
if (e === !1 || e == null) throw Error(t);
}
-function $8(e, t) {
+function e5(e, t) {
if (!e) {
typeof console < "u" && console.warn(t);
try {
@@ -75559,7 +75544,7 @@ function $8(e, t) {
function bWe({ 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 e5(e) {
+function t5(e) {
let t = {};
if (e) {
let n = e.indexOf("#");
@@ -75575,17 +75560,17 @@ function xWe(e, t, n = "/") {
return SWe(e, t, n, !1);
}
function SWe(e, t, n, r, i) {
- let a = s5((typeof t == "string" ? e5(t) : t).pathname || "/", n);
+ let a = c5((typeof t == "string" ? t5(t) : t).pathname || "/", n);
if (a == null) return null;
let o = i ?? CWe(e), s = null, c = IWe(a);
for (let e = 0; s == null && e < o.length; ++e) s = FWe(o[e], c, r);
return s;
}
function CWe(e) {
- let t = t5(e);
+ let t = n5(e);
return wWe(t), t;
}
-function t5(e, t = [], n = [], r = "", i = !1) {
+function n5(e, t = [], n = [], r = "", i = !1) {
let a = (e, a, o = i, s) => {
let c = {
relativePath: s === void 0 ? e.path || "" : s,
@@ -75595,14 +75580,14 @@ function t5(e, t = [], n = [], r = "", i = !1) {
};
if (c.relativePath.startsWith("/")) {
if (!c.relativePath.startsWith(r) && o) return;
- Q8(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);
+ $8(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 = d5([r, c.relativePath]), u = n.concat(c);
- e.children && e.children.length > 0 && (Q8(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), t5(e.children, t, u, l, o)), !(e.path == null && !e.index) && t.push({
+ let l = f5([r, c.relativePath]), u = n.concat(c);
+ e.children && e.children.length > 0 && ($8(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), n5(e.children, t, u, l, o)), !(e.path == null && !e.index) && t.push({
path: l,
score: NWe(l, e.index),
routesMeta: u.map((e, t) => {
- let [n, r] = o5(e.relativePath, e.caseSensitive, t === u.length - 1);
+ let [n, r] = s5(e.relativePath, e.caseSensitive, t === u.length - 1);
return {
...e,
matcher: n,
@@ -75613,24 +75598,24 @@ function t5(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 n5(e.path)) a(e, t, !0, n);
+ else for (let n of r5(e.path)) a(e, t, !0, n);
}), t;
}
-function n5(e) {
+function r5(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 = n5(r.join("/")), s = [];
+ let o = r5(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 wWe(e) {
e.sort((e, t) => e.score === t.score ? PWe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
}
-var TWe = /^:[\w-]+$/, EWe = /^:[\w-]+/, DWe = 3.5, OWe = 3, kWe = 2, AWe = 1, jWe = 10, MWe = -2, r5 = (e) => e === "*";
+var TWe = /^:[\w-]+$/, EWe = /^:[\w-]+/, DWe = 3.5, OWe = 3, kWe = 2, AWe = 1, jWe = 10, MWe = -2, i5 = (e) => e === "*";
function NWe(e, t) {
let n = e.split("/"), r = n.length;
- return n.some(r5) && (r += MWe), t && (r += kWe), n.filter((e) => !r5(e)).reduce((e, t) => e + (TWe.test(t) ? OWe : EWe.test(t) ? DWe : t === "" ? AWe : jWe), r);
+ return n.some(i5) && (r += MWe), t && (r += kWe), n.filter((e) => !i5(e)).reduce((e, t) => e + (TWe.test(t) ? OWe : EWe.test(t) ? DWe : t === "" ? AWe : jWe), r);
}
function PWe(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;
@@ -75642,39 +75627,39 @@ function FWe(e, t, n = !1) {
path: s.relativePath,
caseSensitive: s.caseSensitive,
end: c
- }, d = s.matcher && s.compiledParams ? a5(u, l, s.matcher, s.compiledParams) : i5(u, l), f = s.route;
- if (!d && c && n && !r[r.length - 1].route.index && (d = i5({
+ }, d = s.matcher && s.compiledParams ? o5(u, l, s.matcher, s.compiledParams) : a5(u, l), f = s.route;
+ if (!d && c && n && !r[r.length - 1].route.index && (d = a5({
path: s.relativePath,
caseSensitive: s.caseSensitive,
end: !1
}, l)), !d) return null;
Object.assign(i, d.params), o.push({
params: i,
- pathname: d5([a, d.pathname]),
- pathnameBase: VWe(d5([a, d.pathnameBase])),
+ pathname: f5([a, d.pathname]),
+ pathnameBase: VWe(f5([a, d.pathnameBase])),
route: f
- }), d.pathnameBase !== "/" && (a = d5([a, d.pathnameBase]));
+ }), d.pathnameBase !== "/" && (a = f5([a, d.pathnameBase]));
}
return o;
}
-function i5(e, t) {
+function a5(e, t) {
typeof e == "string" && (e = {
path: e,
caseSensitive: !1,
end: !0
});
- let [n, r] = o5(e.path, e.caseSensitive, e.end);
- return a5(e, t, n, r);
+ let [n, r] = s5(e.path, e.caseSensitive, e.end);
+ return o5(e, t, n, r);
}
-function a5(e, t, n, r) {
+function o5(e, t, n, r) {
let i = t.match(n);
if (!i) return null;
- let a = i[0], o = f5(a, 1), s = i.slice(1);
+ let a = i[0], o = p5(a, 1), s = i.slice(1);
return {
params: r.reduce((e, { paramName: t, isOptional: n }, r) => {
if (t === "*") {
let e = s[r] || "";
- o = f5(a.slice(0, a.length - e.length), 1);
+ o = p5(a.slice(0, a.length - e.length), 1);
}
let i = s[r];
return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;
@@ -75684,8 +75669,8 @@ function a5(e, t, n, r) {
pattern: e
};
}
-function o5(e, t = !1, n = !0) {
- $8(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 s5(e, t = !1, n = !0) {
+ e5(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,
@@ -75702,30 +75687,30 @@ function IWe(e) {
try {
return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");
} catch (t) {
- return $8(!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 e5(!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 s5(e, t) {
+function c5(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 LWe(e, t = "/") {
- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? e5(e) : e, a;
- return n ? (n = u5(n), a = n.startsWith("/") || n.startsWith("\\") ? c5(n.substring(1), "/") : c5(n, t)) : a = t, {
+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? t5(e) : e, a;
+ return n ? (n = d5(n), a = n.startsWith("/") || n.startsWith("\\") ? l5(n.substring(1), "/") : l5(n, t)) : a = t, {
pathname: a,
search: HWe(r),
hash: UWe(i)
};
}
-function c5(e, t) {
- let n = f5(t).split("/");
+function l5(e, t) {
+ let n = p5(t).split("/");
return e.split("/").forEach((e) => {
e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);
}), n.length > 1 ? n.join("/") : "/";
}
-function l5(e, t, n, r) {
+function u5(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 RWe(e) {
@@ -75737,7 +75722,7 @@ function zWe(e) {
}
function BWe(e, t, n, r = !1) {
let i;
- typeof e == "string" ? i = e5(e) : (i = { ...e }, Q8(!i.pathname || !i.pathname.includes("?"), l5("?", "pathname", "search", i)), Q8(!i.pathname || !i.pathname.includes("#"), l5("#", "pathname", "hash", i)), Q8(!i.search || !i.search.includes("#"), l5("#", "search", "hash", i)));
+ typeof e == "string" ? i = t5(e) : (i = { ...e }, $8(!i.pathname || !i.pathname.includes("?"), u5("?", "pathname", "search", i)), $8(!i.pathname || !i.pathname.includes("#"), u5("#", "pathname", "hash", i)), $8(!i.search || !i.search.includes("#"), u5("#", "search", "hash", i)));
let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;
if (o == null) s = n;
else {
@@ -75752,13 +75737,13 @@ function BWe(e, t, n, r = !1) {
let c = LWe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;
}
-var u5 = (e) => e.replace(/[\\/]{2,}/g, "/"), d5 = (e) => u5(e.join("/"));
-function f5(e, t = 0) {
+var d5 = (e) => e.replace(/[\\/]{2,}/g, "/"), f5 = (e) => d5(e.join("/"));
+function p5(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 VWe = (e) => f5(e).replace(/^\/*/, "/"), HWe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, UWe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, WWe = class {
+var VWe = (e) => p5(e).replace(/^\/*/, "/"), HWe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, UWe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, WWe = class {
status;
statusText;
data;
@@ -75772,9 +75757,9 @@ function GWe(e) {
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
}
function KWe(e) {
- return d5(e.map((e) => e.route.path).filter(Boolean)) || "/";
+ return f5(e.map((e) => e.route.path).filter(Boolean)) || "/";
}
-var p5 = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
+var m5 = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
function qWe(e, t) {
let n = e;
if (typeof n != "string" || !_We.test(n)) return {
@@ -75783,11 +75768,11 @@ function qWe(e, t) {
to: n
};
let r = n, i = !1;
- if (p5) try {
- let e = new URL(window.location.href), r = vWe.test(n) ? new URL(yWe(n, e.protocol)) : new URL(n), a = s5(r.pathname, t);
+ if (m5) try {
+ let e = new URL(window.location.href), r = vWe.test(n) ? new URL(yWe(n, e.protocol)) : new URL(n), a = c5(r.pathname, t);
r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;
} catch {
- $8(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
+ e5(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
}
return {
absoluteURL: r,
@@ -75797,16 +75782,16 @@ function qWe(e, t) {
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/navigation.js
-var m5 = new URL("http://localhost");
-function h5(e) {
+var h5 = new URL("http://localhost");
+function g5(e) {
if (e.createURL) return e.createURL("/");
try {
- return new URL(e.createHref("/"), m5);
+ return new URL(e.createHref("/"), h5);
} catch {
- return m5;
+ return h5;
}
}
-function g5(e, t) {
+function _5(e, t) {
return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);
}
function JWe(e, t) {
@@ -75814,26 +75799,26 @@ function JWe(e, t) {
let n = t.protocol.toLowerCase();
return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;
}
-function _5(e, t, n, r) {
+function v5(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 && !g5(i, n), s = !g5(a, n);
+ let a = new URL(t, n), o = i != null && !_5(i, n), s = !_5(a, n);
if (r === "reject") {
if (o || s) throw Error("External navigation is not allowed");
- } else if (s && (i == null || !JWe(e, i) || !g5(i, a))) throw Error("External navigation is not allowed");
+ } else if (s && (i == null || !JWe(e, i) || !_5(i, a))) throw Error("External navigation is not allowed");
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/router.js
-var v5 = [
+var y5 = [
"POST",
"PUT",
"PATCH",
"DELETE"
];
-new Set(v5);
-var YWe = ["GET", ...v5];
+new Set(y5);
+var YWe = ["GET", ...y5];
new Set(YWe);
var XWe = [
"about:",
@@ -75856,12 +75841,12 @@ function ZWe(e) {
}
//#endregion
//#region node_modules/react-router/dist/production/lib/context.js
-var y5 = R.createContext(null);
-y5.displayName = "DataRouter";
+var b5 = R.createContext(null);
+b5.displayName = "DataRouter";
var QWe = R.createContext(null);
QWe.displayName = "DataRouterState";
-var b5 = R.createContext(null);
-b5.displayName = "DataRouterData";
+var x5 = R.createContext(null);
+x5.displayName = "DataRouterData";
var $We = R.createContext(null);
$We.displayName = "DataRouterNavigation";
var eGe = R.createContext(!1), tGe = R.createContext({ isTransitioning: !1 });
@@ -75870,62 +75855,62 @@ var nGe = R.createContext(null);
nGe.displayName = "Fetchers";
var rGe = R.createContext(null);
rGe.displayName = "Await";
-var x5 = R.createContext(null);
-x5.displayName = "Navigation";
var S5 = R.createContext(null);
-S5.displayName = "Location";
-var C5 = R.createContext({
+S5.displayName = "Navigation";
+var C5 = R.createContext(null);
+C5.displayName = "Location";
+var w5 = R.createContext({
outlet: null,
matches: [],
isDataRoute: !1
});
-C5.displayName = "Route";
-var w5 = R.createContext(!1);
-w5.displayName = "IsDataRoute";
-var T5 = R.createContext(void 0);
-T5.displayName = "RouteId";
-var E5 = R.createContext(null);
-E5.displayName = "RouteError";
+w5.displayName = "Route";
+var T5 = R.createContext(!1);
+T5.displayName = "IsDataRoute";
+var E5 = R.createContext(void 0);
+E5.displayName = "RouteId";
+var D5 = R.createContext(null);
+D5.displayName = "RouteError";
//#endregion
//#region node_modules/react-router/dist/production/lib/errors.js
-var D5 = "REACT_ROUTER_ERROR", iGe = "REDIRECT", aGe = "ROUTE_ERROR_RESPONSE";
+var O5 = "REACT_ROUTER_ERROR", iGe = "REDIRECT", aGe = "ROUTE_ERROR_RESPONSE";
function oGe(e) {
- if (e.startsWith(`${D5}:${iGe}:{`)) try {
+ if (e.startsWith(`${O5}:${iGe}:{`)) 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 sGe(e) {
- if (e.startsWith(`${D5}:${aGe}:{`)) try {
+ if (e.startsWith(`${O5}:${aGe}:{`)) try {
let t = JSON.parse(e.slice(40));
if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new WWe(t.status, t.statusText, t.data);
} catch {}
}
//#endregion
//#region node_modules/react-router/dist/production/lib/hooks.js
-function O5() {
- return R.useContext(S5) != null;
-}
function k5() {
- return Q8(O5(), "useLocation() may be used only in the context of a <Router> component."), R.useContext(S5).location;
+ return R.useContext(C5) != null;
+}
+function A5() {
+ return $8(k5(), "useLocation() may be used only in the context of a <Router> component."), R.useContext(C5).location;
}
-var A5 = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
+var j5 = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
function cGe() {
- return R.useContext(w5) ? yGe() : lGe();
+ return R.useContext(T5) ? bGe() : lGe();
}
function lGe() {
- Q8(O5(), "useNavigate() may be used only in the context of a <Router> component.");
- let e = R.useContext(y5), { basename: t, navigator: n } = R.useContext(x5), { matches: r } = R.useContext(C5), { pathname: i } = k5(), a = JSON.stringify(zWe(r)), o = R.useRef(!1);
+ $8(k5(), "useNavigate() may be used only in the context of a <Router> component.");
+ let e = R.useContext(b5), { basename: t, navigator: n } = R.useContext(S5), { matches: r } = R.useContext(w5), { pathname: i } = A5(), a = JSON.stringify(zWe(r)), o = R.useRef(!1);
return R.useLayoutEffect(() => {
o.current = !0;
}), R.useCallback((r, s = {}) => {
- if ($8(o.current, A5), !o.current) return;
+ if (e5(o.current, j5), !o.current) return;
if (typeof r == "number") {
n.go(r);
return;
}
let c = BWe(r, JSON.parse(a), i, s.relative === "path");
- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : d5([t, c.pathname])), _5(typeof r == "string" ? r : bWe(r), n.createHref(c), h5(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : f5([t, c.pathname])), v5(typeof r == "string" ? r : bWe(r), n.createHref(c), g5(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
}, [
t,
n,
@@ -75936,18 +75921,18 @@ function lGe() {
}
R.createContext(null);
function uGe(e, t) {
- return j5(e, t);
+ return M5(e, t);
}
-function j5(e, t, n) {
- Q8(O5(), "useRoutes() may be used only in the context of a <Router> component.");
- let { navigator: r } = R.useContext(x5), { matches: i } = R.useContext(C5), a = i[i.length - 1], o = a ? a.params : {};
+function M5(e, t, n) {
+ $8(k5(), "useRoutes() may be used only in the context of a <Router> component.");
+ let { navigator: r } = R.useContext(S5), { matches: i } = R.useContext(w5), a = i[i.length - 1], o = a ? a.params : {};
a && a.pathname;
let s = a ? a.pathnameBase : "/";
a && a.route;
- let c = k5(), l;
+ let c = A5(), l;
if (t) {
- let e = typeof t == "string" ? e5(t) : t;
- Q8(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" ? t5(t) : t;
+ $8(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 !== "/") {
@@ -75956,12 +75941,12 @@ function j5(e, t, n) {
}
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) : xWe(e, { pathname: d });
- let p = hGe(f && f.map((e) => Object.assign({}, e, {
+ let p = gGe(f && f.map((e) => Object.assign({}, e, {
params: Object.assign({}, o, e.params),
- pathname: d5([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
- pathnameBase: e.pathnameBase === "/" ? s : d5([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])
+ pathname: f5([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
+ pathnameBase: e.pathnameBase === "/" ? s : f5([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__ */ R.createElement(S5.Provider, { value: {
+ return t && p ? /* @__PURE__ */ R.createElement(C5.Provider, { value: {
location: {
pathname: "/",
search: "",
@@ -75975,13 +75960,13 @@ function j5(e, t, n) {
} }, p) : p;
}
function dGe() {
- let e = vGe(), t = GWe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
+ let e = yGe(), t = GWe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
return /* @__PURE__ */ R.createElement(R.Fragment, null, /* @__PURE__ */ R.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ R.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ R.createElement("pre", { style: {
padding: "0.5rem",
backgroundColor: "rgba(200,200,200, 0.5)"
} }, n) : null, null);
}
-var M5 = /* @__PURE__ */ R.createElement(dGe, null), fGe = class extends R.Component {
+var fGe = /* @__PURE__ */ R.createElement(dGe, null), pGe = class extends R.Component {
constructor(e) {
super(e), this.state = {
location: e.location,
@@ -76013,23 +75998,23 @@ var M5 = /* @__PURE__ */ R.createElement(dGe, null), fGe = class extends R.Compo
let t = sGe(e.digest);
t && (e = t);
}
- let t = e === void 0 ? this.props.children : /* @__PURE__ */ R.createElement(C5.Provider, { value: this.props.routeContext }, /* @__PURE__ */ R.createElement(w5.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ R.createElement(T5.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ R.createElement(E5.Provider, {
+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ R.createElement(w5.Provider, { value: this.props.routeContext }, /* @__PURE__ */ R.createElement(T5.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ R.createElement(E5.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ R.createElement(D5.Provider, {
value: e,
children: this.props.component
}))));
- return this.context ? /* @__PURE__ */ R.createElement(pGe, { error: e }, t) : t;
+ return this.context ? /* @__PURE__ */ R.createElement(mGe, { error: e }, t) : t;
}
}, N5 = /* @__PURE__ */ new WeakMap();
-function pGe({ children: e, error: t }) {
- let { basename: n, navigator: r } = R.useContext(x5);
+function mGe({ children: e, error: t }) {
+ let { basename: n, navigator: r } = R.useContext(S5);
if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {
let e = oGe(t.digest);
if (e) {
let i = N5.get(t);
if (i) throw i;
let a = qWe(e.location, n), o = a.absoluteURL || a.to;
- if (_5(e.location, o, h5(r), "allow-explicit"), ZWe(o)) throw Error("Invalid redirect location");
- if (p5 && !N5.get(t)) {
+ if (v5(e.location, o, g5(r), "allow-explicit"), ZWe(o)) throw Error("Invalid redirect location");
+ if (m5 && !N5.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 }));
@@ -76044,11 +76029,11 @@ function pGe({ children: e, error: t }) {
}
return e;
}
-function mGe({ routeContext: e, match: t, children: n }) {
- let r = R.useContext(y5);
- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ R.createElement(C5.Provider, { value: e }, /* @__PURE__ */ R.createElement(w5.Provider, { value: e.isDataRoute }, /* @__PURE__ */ R.createElement(T5.Provider, { value: t.route.id }, n)));
+function hGe({ routeContext: e, match: t, children: n }) {
+ let r = R.useContext(b5);
+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ R.createElement(w5.Provider, { value: e }, /* @__PURE__ */ R.createElement(T5.Provider, { value: e.isDataRoute }, /* @__PURE__ */ R.createElement(E5.Provider, { value: t.route.id }, n)));
}
-function hGe(e, t = [], n) {
+function gGe(e, t = [], n) {
let r = n?.state;
if (e == null) {
if (!r) return null;
@@ -76059,7 +76044,7 @@ function hGe(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);
- Q8(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));
+ $8(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) {
@@ -76085,10 +76070,10 @@ function hGe(e, t = [], n) {
} : 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 || M5, o && (s < 0 && c === 0 ? (bGe("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 || fGe, o && (s < 0 && c === 0 ? (xGe("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__ */ R.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ R.createElement(mGe, {
+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ R.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ R.createElement(hGe, {
match: n,
routeContext: {
outlet: e,
@@ -76098,7 +76083,7 @@ function hGe(e, t = [], n) {
children: t
});
};
- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ R.createElement(fGe, {
+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ R.createElement(pGe, {
location: r.location,
revalidation: r.revalidation,
component: f,
@@ -76116,41 +76101,41 @@ function hGe(e, t = [], n) {
function P5(e) {
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
}
-function gGe(e) {
- let t = R.useContext(y5);
- return Q8(t, P5(e)), t;
-}
function _Ge(e) {
let t = R.useContext(b5);
- return Q8(t, P5(e)), t;
+ return $8(t, P5(e)), t;
+}
+function vGe(e) {
+ let t = R.useContext(x5);
+ return $8(t, P5(e)), t;
}
function F5(e) {
- let t = R.useContext(T5);
- return Q8(t, `${e} can only be used on routes that contain a unique "id"`), t;
+ let t = R.useContext(E5);
+ return $8(t, `${e} can only be used on routes that contain a unique "id"`), t;
}
-function vGe() {
- let e = R.useContext(E5), t = _Ge("useRouteError"), n = F5("useRouteError");
+function yGe() {
+ let e = R.useContext(D5), t = vGe("useRouteError"), n = F5("useRouteError");
return e === void 0 ? t.errors?.[n] : e;
}
-function yGe() {
- let { router: e } = gGe("useNavigate"), t = F5("useNavigate"), n = R.useRef(!1);
+function bGe() {
+ let { router: e } = _Ge("useNavigate"), t = F5("useNavigate"), n = R.useRef(!1);
return R.useLayoutEffect(() => {
n.current = !0;
}), R.useCallback(async (r, i = {}) => {
- $8(n.current, A5), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {
+ e5(n.current, j5), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {
fromRouteId: t,
...i
}));
}, [e, t]);
}
var I5 = {};
-function bGe(e, t, n) {
- !t && !I5[e] && (I5[e] = !0, $8(!1, n));
+function xGe(e, t, n) {
+ !t && !I5[e] && (I5[e] = !0, e5(!1, n));
}
-R.memo(xGe);
-function xGe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
- let a = R.useContext(y5);
- return Q8(a, "You must render this element inside a <DataRouterContext.Provider> element"), j5(e, void 0, {
+R.memo(SGe);
+function SGe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
+ let a = R.useContext(b5);
+ return $8(a, "You must render this element inside a <DataRouterContext.Provider> element"), M5(e, void 0, {
router: a.router,
manifest: t,
state: n,
@@ -76159,10 +76144,10 @@ function xGe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
});
}
function L5(e) {
- Q8(!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>.");
+ $8(!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 SGe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
- Q8(!O5(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
+function CGe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
+ $8(!k5(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
let s = e.replace(/^\/*/, "/"), c = R.useMemo(() => ({
basename: s,
navigator: i,
@@ -76175,9 +76160,9 @@ function SGe({ basename: e = "/", children: t = null, location: n, navigationTyp
a,
o
]);
- typeof n == "string" && (n = e5(n));
+ typeof n == "string" && (n = t5(n));
let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = R.useMemo(() => {
- let e = s5(l, s);
+ let e = c5(l, s);
return e == null ? null : {
location: {
pathname: e,
@@ -76199,7 +76184,7 @@ function SGe({ basename: e = "/", children: t = null, location: n, navigationTyp
r,
m
]);
- return $8(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__ */ R.createElement(x5.Provider, { value: c }, /* @__PURE__ */ R.createElement(S5.Provider, {
+ return e5(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__ */ R.createElement(S5.Provider, { value: c }, /* @__PURE__ */ R.createElement(C5.Provider, {
children: t,
value: h
}));
@@ -76217,9 +76202,9 @@ function z5(e, t = []) {
n.push.apply(n, z5(e.props.children, i));
return;
}
- Q8(e.type === L5, `[${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>`);
+ $8(e.type === L5, `[${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;
- Q8(!a.index || !a.children, "An index route cannot have child routes.");
+ $8(!a.index || !a.children, "An index route cannot have child routes.");
let o = {
id: a.id || i.join("-"),
caseSensitive: a.caseSensitive,
@@ -76244,11 +76229,11 @@ function z5(e, t = []) {
//#endregion
//#region src/react/router/router.tsx
var B5 = (0, R.createContext)(0), V5 = (0, R.createContext)(null);
-function CGe({ children: e }) {
+function wGe({ children: e }) {
let [t, n] = (0, R.useState)(() => mt.navigation);
return (0, R.useLayoutEffect)(() => (n(mt.navigation), mt.listen(n)), []), /* @__PURE__ */ (0, B.jsx)(B5.Provider, {
value: t.seq,
- children: /* @__PURE__ */ (0, B.jsx)(SGe, {
+ children: /* @__PURE__ */ (0, B.jsx)(CGe, {
location: t.location,
navigationType: t.action,
navigator: mt,
@@ -76256,44 +76241,44 @@ function CGe({ children: e }) {
})
});
}
-function wGe() {
+function TGe() {
let e = (0, R.useContext)(B5);
return (0, R.useLayoutEffect)(() => {
queueMicrotask(() => ht(e));
}, [e]), null;
}
-function TGe({ target: e }) {
+function EGe({ target: e }) {
let t = cGe();
return (0, R.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function EGe(e, t, n) {
+function DGe(e, t, n) {
let r = new URL(e, window.location.href);
- if (!z8(r.pathname)) {
+ if (!B8(r.pathname)) {
t.navigate(e);
return;
}
n(`${r.pathname}${r.search}${r.hash}`);
}
-function DGe() {
+function OGe() {
let e = (0, R.useContext)(V5), [t, n] = (0, R.useState)(pt), r = (0, R.useRef)(null);
(0, R.useLayoutEffect)(() => (n(pt()), ft((e, t) => {
t ? (0, rp.flushSync)(() => n(e)) : n(e);
})), []);
let i = (0, R.useMemo)(() => (t) => {
- e && r.current && EGe(t, e, r.current);
+ e && r.current && DGe(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(TGe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, B.jsx)(OGe, {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(EGe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, B.jsx)(kGe, {
entry: t,
- children: /* @__PURE__ */ (0, B.jsx)(kGe, {
+ children: /* @__PURE__ */ (0, B.jsx)(AGe, {
entry: t,
actions: e,
go: i
})
}, t.revision)) : null] });
}
-var OGe = class extends R.Component {
+var kGe = class extends R.Component {
state = { failed: !1 };
static getDerivedStateFromError() {
return { failed: !0 };
@@ -76304,11 +76289,11 @@ var OGe = class extends R.Component {
render() {
return this.state.failed ? null : this.props.children;
}
-}, kGe = (0, R.memo)(function({ entry: e, actions: t, go: n }) {
- return X8(e.path) ? (0, rp.createPortal)(gWe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+}, AGe = (0, R.memo)(function({ entry: e, actions: t, go: n }) {
+ return Z8(e.path) ? (0, rp.createPortal)(gWe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function AGe({ children: e }) {
- let t = k5(), n = ut(t.state);
+function jGe({ children: e }) {
+ let t = A5(), n = ut(t.state);
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)(R5, {
location: n ?? t,
children: [
@@ -76333,24 +76318,24 @@ function AGe({ children: e }) {
element: null
})] })] });
}
-function jGe({ children: e, actions: t = null }) {
+function MGe({ children: e, actions: t = null }) {
return /* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(V5.Provider, {
value: t,
- children: /* @__PURE__ */ (0, B.jsxs)(CGe, { children: [
- /* @__PURE__ */ (0, B.jsx)(wGe, {}),
- /* @__PURE__ */ (0, B.jsx)(DGe, {}),
- /* @__PURE__ */ (0, B.jsx)(AGe, { children: e })
+ children: /* @__PURE__ */ (0, B.jsxs)(wGe, { children: [
+ /* @__PURE__ */ (0, B.jsx)(TGe, {}),
+ /* @__PURE__ */ (0, B.jsx)(OGe, {}),
+ /* @__PURE__ */ (0, B.jsx)(jGe, { children: e })
] })
}) });
}
-var MGe = { onCaughtError: (e) => {
+var NGe = { onCaughtError: (e) => {
globalThis.reportError?.(e);
} }, H5 = null;
-function NGe(e) {
+function PGe(e) {
if (H5) return;
- H5 = (0, ip.createRoot)(document.createElement("div"), MGe);
+ H5 = (0, ip.createRoot)(document.createElement("div"), NGe);
let t = H5;
- (0, rp.flushSync)(() => t.render(/* @__PURE__ */ (0, B.jsx)(jGe, { actions: e })));
+ (0, rp.flushSync)(() => t.render(/* @__PURE__ */ (0, B.jsx)(MGe, { actions: e })));
}
//#endregion
//#region src/number-setting.ts
@@ -76359,14 +76344,14 @@ function U5(e, t, n, r) {
}
//#endregion
//#region src/react/settings/configuration-summary.tsx
-var PGe = (e) => {
+var FGe = (e) => {
let t = e.updates;
return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";
};
-function FGe({ openConfiguration: e }) {
+function IGe({ openConfiguration: e }) {
let t = wS({
- queryKey: yR,
- queryFn: ({ signal: e }) => bR(e)
+ queryKey: bR,
+ queryFn: ({ signal: e }) => xR(e)
}), n = t.data;
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col",
@@ -76381,7 +76366,7 @@ function FGe({ openConfiguration: e }) {
}),
/* @__PURE__ */ (0, B.jsx)(Uk, {
term: "更新",
- children: PGe(n)
+ children: FGe(n)
})
] }) : /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
@@ -76444,7 +76429,7 @@ function K5({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function IGe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function LGe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
let s = (0, R.useRef)(null), c = (0, R.useRef)(null), l = (0, R.useRef)({
onStep: a,
onSettle: o
@@ -76479,7 +76464,7 @@ function IGe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
}
//#endregion
//#region src/react/settings-panel/glow-settings.tsx
-var LGe = [
+var RGe = [
[
"strength",
"强度",
@@ -76506,7 +76491,7 @@ var LGe = [
100
]
];
-function RGe({ host: e, spot: t, index: n, glow: r }) {
+function zGe({ host: e, spot: t, index: n, glow: r }) {
let i = h[n], a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useRef)(null), [c, l] = (0, R.useState)("all");
(0, R.useLayoutEffect)(() => {
let [e, t, n] = [
@@ -76584,7 +76569,7 @@ function RGe({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function zGe({ host: e }) {
+function BGe({ host: e }) {
let t = e.store.value.homeGlow, n = E(t.preset);
return /* @__PURE__ */ (0, B.jsxs)("section", {
"data-glow-setting": "",
@@ -76614,7 +76599,7 @@ function zGe({ host: e }) {
}),
/* @__PURE__ */ (0, B.jsx)("div", {
"data-glow-fields": "",
- children: LGe.map(([r, i, a]) => /* @__PURE__ */ (0, B.jsx)(IGe, {
+ children: RGe.map(([r, i, a]) => /* @__PURE__ */ (0, B.jsx)(LGe, {
field: r,
label: i,
max: a,
@@ -76636,7 +76621,7 @@ function zGe({ host: e }) {
hidden: n,
children: [/* @__PURE__ */ (0, B.jsx)("h4", { children: "颜色" }), /* @__PURE__ */ (0, B.jsx)("div", {
"data-glow-stops": "",
- children: v.map((n, r) => /* @__PURE__ */ (0, B.jsx)(RGe, {
+ children: v.map((n, r) => /* @__PURE__ */ (0, B.jsx)(zGe, {
host: e,
spot: n,
index: r,
@@ -76661,7 +76646,7 @@ function zGe({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/number-setting.tsx
-var BGe = {
+var VGe = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -76704,7 +76689,7 @@ var BGe = {
}
}, q5 = (e) => `peach.number.${e}`;
function J5({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = BGe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, R.useRef)(0);
+ let a = VGe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, R.useRef)(0);
d.current ||= U5(Number(localStorage.getItem(q5(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, R.useState)(n ?? 0), [m, h] = (0, R.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, R.useState)(""), v = (0, R.useRef)(null), y = (0, R.useRef)(i);
y.current = i, (0, R.useLayoutEffect)(() => {
@@ -76783,7 +76768,7 @@ function J5({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
//#endregion
//#region src/react/sidebar/sidebar-order.ts
function Y5(e) {
- let { mutate: t } = Zj();
+ let { mutate: t } = Xj();
return (0, R.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
@@ -76798,8 +76783,8 @@ function X5(e, t, n, r) {
}
//#endregion
//#region src/react/settings-panel/sidebar-order.tsx
-var VGe = "__home__", Z5 = (e) => e === "" ? VGe : e;
-function HGe({ host: e }) {
+var HGe = "__home__", Z5 = (e) => e === "" ? HGe : e;
+function UGe({ host: e }) {
let t = Y5(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, R.useState)(null), [c, l] = (0, R.useState)(!1), [u, d] = (0, R.useState)(null), [f, p] = (0, R.useState)(null), m = (0, R.useRef)(null), h = (0, R.useRef)(null), g = (e, r, i) => {
let a = X5(n, e, r, i);
a && t(a);
@@ -76969,7 +76954,7 @@ var Q5 = [
["关注", "ri-rss-line"],
["安全", "ri-shield-check-line"],
["这台电脑", "ri-macbook-line"]
-], UGe = [
+], WGe = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -76978,16 +76963,16 @@ var Q5 = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], WGe = [["desc", "降序"], ["asc", "升序"]], GGe = [
+], GGe = [["desc", "降序"], ["asc", "升序"]], KGe = [
["off", "关闭"],
["precise", "精准"],
["coarse", "粗略"]
-], KGe = [
+], qGe = [
["7", "每周"],
["30", "每月"],
["90", "每季"],
["0", "从不"]
-], qGe = [[
+], JGe = [[
"cover",
"官方封面",
""
@@ -76995,7 +76980,7 @@ var Q5 = [
"thumbnail",
"预览图",
""
-]], JGe = [
+]], YGe = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -77020,19 +77005,19 @@ var Q5 = [
"feedHideExcerptDescription",
"把出过的正片剪成十几分钟单卖的,比如ハイライト厂牌。"
]
-], YGe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", $5 = null, e7 = null, t7 = null, n7 = {
+], XGe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", $5 = null, e7 = null, t7 = null, n7 = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
machine: "none"
}, r7 = 0, i7 = null;
-function XGe() {
+function ZGe() {
return (!e7 || !t7?.isConnected) && (e7?.unmount(), t7 = document.createElement("div"), t7.dataset.settingsHost = "", document.body.append(t7), e7 = (0, ip.createRoot)(t7)), e7;
}
function a7() {
let e = $5;
- e && (0, rp.flushSync)(() => XGe().render(/* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(rKe, {
+ e && (0, rp.flushSync)(() => ZGe().render(/* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(iKe, {
host: e,
view: n7
}) })));
@@ -77043,7 +77028,7 @@ function o7(e) {
...e
}, a7();
}
-async function ZGe(e) {
+async function QGe(e) {
if (n7.machine === "summary") return;
let t = await e.configurable();
if (n7.open) {
@@ -77052,16 +77037,16 @@ async function ZGe(e) {
return;
}
try {
- await xR(new AbortController().signal);
+ await SR(new AbortController().signal);
} catch {}
n7.open && o7({ machine: "summary" });
}
}
-function QGe(e = "") {
+function $Ge(e = "") {
let t = $5;
if (!t) return;
Ae(), r7 += 1, i7 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let n = Q5.findIndex(([t]) => t === e), r = kue();
+ let n = Q5.findIndex(([t]) => t === e), r = Aue();
o7({
open: !0,
closing: !1,
@@ -77069,7 +77054,7 @@ function QGe(e = "") {
tab: n >= 0 ? n : n7.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), ZGe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), QGe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
function s7() {
if (!n7.open || n7.closing) return;
@@ -77087,24 +77072,24 @@ function s7() {
}
t7?.querySelector("[data-settings-card]")?.addEventListener("animationend", t, { once: !0 }), setTimeout(t, 380);
}
-var $Ge = {
- open: QGe,
+var eKe = {
+ open: $Ge,
close: s7,
isOpen: () => n7.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function eKe(e) {
- return $5 = e, a7(), $Ge;
-}
function tKe(e) {
+ return $5 = e, a7(), eKe;
+}
+function nKe(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(YGe)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(XGe)].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 c7 = (e) => `settings-tab-${e}`, l7 = (e) => e === Q5.length - 1 ? "machineGroup" : `settings-group-${e}`;
-function nKe({ tab: e, epoch: t, onSelect: n }) {
+function rKe({ tab: e, epoch: t, onSelect: n }) {
let r = (0, R.useRef)(null), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(e), s = (0, R.useRef)([]), c = (e, t) => {
let n = i.current;
if (!n) return;
@@ -77220,7 +77205,7 @@ var p7 = ({ html: e, ...t }) => /* @__PURE__ */ (0, B.jsx)("small", {
...t,
dangerouslySetInnerHTML: { __html: e }
}), m7 = () => `${Qe("保存中")}<span>正在保存…</span>`, h7 = (e, t) => e instanceof Error && e.message || t;
-function rKe({ host: e, view: t }) {
+function iKe({ host: e, view: t }) {
(0, R.useSyncExternalStore)(e.store.subscribe, e.store.version);
let n = e.store.value, r = (0, R.useRef)(null), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useRef)(null), c = (0, R.useRef)(t.tab), l = () => {
let [e, t] = [i.current, o.current];
@@ -77252,7 +77237,7 @@ function rKe({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: tKe,
+ onKeyDown: nKe,
onClick: (e) => {
e.target === e.currentTarget && s7();
},
@@ -77277,7 +77262,7 @@ function rKe({ host: e, view: t }) {
})
})]
}),
- /* @__PURE__ */ (0, B.jsx)(nKe, {
+ /* @__PURE__ */ (0, B.jsx)(rKe, {
tab: t.tab,
epoch: d,
onSelect: f
@@ -77339,23 +77324,23 @@ function rKe({ host: e, view: t }) {
n.homeGlow.on = t, p(), e.changed("glow");
}
}),
- /* @__PURE__ */ (0, B.jsx)(zGe, { host: e }),
+ /* @__PURE__ */ (0, B.jsx)(BGe, { host: e }),
/* @__PURE__ */ (0, B.jsxs)("section", {
"data-sidebar-setting": "",
"aria-labelledby": "sidebarOrderTitle",
children: [/* @__PURE__ */ (0, B.jsxs)("span", { children: [/* @__PURE__ */ (0, B.jsx)("b", {
id: "sidebarOrderTitle",
children: "左侧导航"
- }), /* @__PURE__ */ (0, B.jsx)("small", { children: "直接拖动排序;可隐藏入口,也可从具体页面列表重新添加。窄栏和筛选抽屉会保持一致。" })] }), /* @__PURE__ */ (0, B.jsx)(HGe, { host: e })]
+ }), /* @__PURE__ */ (0, B.jsx)("small", { children: "直接拖动排序;可隐藏入口,也可从具体页面列表重新添加。窄栏和筛选抽屉会保持一致。" })] }), /* @__PURE__ */ (0, B.jsx)(UGe, { host: e })]
})
]
}),
- /* @__PURE__ */ (0, B.jsx)(aKe, {
+ /* @__PURE__ */ (0, B.jsx)(oKe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, B.jsx)(sKe, {
+ /* @__PURE__ */ (0, B.jsx)(cKe, {
host: e,
tab: t.tab,
epoch: d
@@ -77363,12 +77348,12 @@ function rKe({ host: e, view: t }) {
/* @__PURE__ */ (0, B.jsx)(u7, {
index: 3,
tab: t.tab,
- children: /* @__PURE__ */ (0, B.jsx)(lKe, {
+ children: /* @__PURE__ */ (0, B.jsx)(uKe, {
host: e,
epoch: d
})
}),
- /* @__PURE__ */ (0, B.jsx)(uKe, {
+ /* @__PURE__ */ (0, B.jsx)(dKe, {
host: e,
tab: t.tab,
epoch: d
@@ -77388,7 +77373,7 @@ function rKe({ host: e, view: t }) {
/* @__PURE__ */ (0, B.jsx)(u7, {
index: 6,
tab: t.tab,
- children: /* @__PURE__ */ (0, B.jsx)(fKe, {
+ children: /* @__PURE__ */ (0, B.jsx)(pKe, {
host: e,
machine: t.machine
})
@@ -77399,7 +77384,7 @@ function rKe({ host: e, view: t }) {
})
});
}
-function iKe(e, t) {
+function aKe(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = Le("arrow-up", "arrow-down", "a", {
@@ -77409,7 +77394,7 @@ function iKe(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function aKe({ host: e, tab: t, epoch: n }) {
+function oKe({ 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, B.jsxs)(u7, {
index: 1,
@@ -77442,7 +77427,7 @@ function aKe({ host: e, tab: t, epoch: n }) {
children: [/* @__PURE__ */ (0, B.jsx)(K5, {
id: "defaultSortSetting",
label: "默认排序",
- options: UGe,
+ options: WGe,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
@@ -77451,7 +77436,7 @@ function aKe({ host: e, tab: t, epoch: n }) {
}), /* @__PURE__ */ (0, B.jsx)(K5, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: WGe,
+ options: GGe,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -77460,7 +77445,7 @@ function aKe({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => iKe(e, o)
+ decorate: (e) => aKe(e, o)
})]
})
}),
@@ -77484,7 +77469,7 @@ function aKe({ host: e, tab: t, epoch: n }) {
id: "javImageSetting",
name: "jav-image",
legend: "JAV 默认封面",
- options: qGe,
+ options: JGe,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -77521,7 +77506,7 @@ function aKe({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- JGe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, B.jsx)(oKe, {
+ YGe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, B.jsx)(sKe, {
host: e,
id: t,
settingKey: n,
@@ -77533,8 +77518,8 @@ function aKe({ host: e, tab: t, epoch: n }) {
]
});
}
-function oKe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {
- let s = Zj(), [c, l] = (0, R.useState)(null), u = (0, R.useRef)(null), d = e.store.value, f = (t) => {
+function sKe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {
+ let s = Xj(), [c, l] = (0, R.useState)(null), u = (0, R.useRef)(null), d = e.store.value, f = (t) => {
l(t), Ye(u.current), s.mutate({ [n]: t }, {
onSuccess: (i) => {
d[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
@@ -77562,7 +77547,7 @@ function oKe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a
})]
});
}
-function sKe({ host: e, tab: t, epoch: n }) {
+function cKe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
return /* @__PURE__ */ (0, B.jsxs)(u7, {
index: 2,
@@ -77616,7 +77601,7 @@ function sKe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, B.jsx)(cKe, { epoch: n }),
+ /* @__PURE__ */ (0, B.jsx)(lKe, { epoch: n }),
/* @__PURE__ */ (0, B.jsx)(f7, {
title: "相关推荐",
description: "详情下方一次显示的相似作品数量。",
@@ -77635,15 +77620,15 @@ function sKe({ host: e, tab: t, epoch: n }) {
]
});
}
-function cKe({ epoch: e }) {
+function lKe({ epoch: e }) {
let t = wS({
- queryKey: Jj,
- queryFn: ({ signal: e }) => Xj(e)
- }), n = jue(), r = n.reset;
+ queryKey: qj,
+ queryFn: ({ signal: e }) => Yj(e)
+ }), n = Mue(), r = n.reset;
(0, R.useEffect)(() => {
r();
}, [e, r]);
- let i = t.data?.mode || "off", a = n.isPending ? m7() : t.isFetching ? Be("正在读取状态") : n.isError ? g7(h7(n.error, "保存失败")) : t.isError ? g7(`状态未取得:${h7(t.error, String(t.error))}`) : t.data ? g7(Nue(t.data)) : "读取运行状态…";
+ let i = t.data?.mode || "off", a = n.isPending ? m7() : t.isFetching ? Be("正在读取状态") : n.isError ? g7(h7(n.error, "保存失败")) : t.isError ? g7(`状态未取得:${h7(t.error, String(t.error))}`) : t.data ? g7(Pue(t.data)) : "读取运行状态…";
return /* @__PURE__ */ (0, B.jsx)(f7, {
title: "视频缩略图采集",
description: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("small", { children: "拖动进度条时按时间点看画面。精准每 10 秒一张,粗略每 30 秒一张;两小时的片子约 720 / 240 张,占 20–100 / 7–35 MB。只采集本机磁盘上的片子,网盘上的每张都要回源拉一次。" }), /* @__PURE__ */ (0, B.jsx)(p7, {
@@ -77654,7 +77639,7 @@ function cKe({ epoch: e }) {
children: /* @__PURE__ */ (0, B.jsx)(K5, {
id: "videoThumbnailSetting",
label: "视频缩略图采集",
- options: GGe,
+ options: KGe,
value: n.isPending || n.isError ? n.variables ?? i : i,
disabled: n.isPending || t.isFetching,
epoch: e,
@@ -77662,8 +77647,8 @@ function cKe({ epoch: e }) {
})
});
}
-function lKe({ host: e, epoch: t }) {
- let n = e.store.value, r = Zj();
+function uKe({ host: e, epoch: t }) {
+ let n = e.store.value, r = Xj();
return /* @__PURE__ */ (0, B.jsx)(f7, {
title: "搜索记录",
description: "保存在 Peach 账本,所有访问端同步。",
@@ -77680,8 +77665,8 @@ function lKe({ host: e, epoch: t }) {
})
});
}
-function uKe({ host: e, tab: t, epoch: n }) {
- let r = e.store.value, i = Zj(), a = Zj(), [o, s] = (0, R.useState)("");
+function dKe({ host: e, tab: t, epoch: n }) {
+ let r = e.store.value, i = Xj(), a = Xj(), [o, s] = (0, R.useState)("");
(0, R.useEffect)(() => {
s("");
}, [n]);
@@ -77716,14 +77701,14 @@ function uKe({ host: e, tab: t, epoch: n }) {
onPick: (e) => c(Number(e))
})
}),
- /* @__PURE__ */ (0, B.jsx)(dKe, { epoch: n }),
+ /* @__PURE__ */ (0, B.jsx)(fKe, { epoch: n }),
/* @__PURE__ */ (0, B.jsx)(f7, {
title: "头像与站点图标刷新",
description: "创作者头像、来源图标和外链圆标保存在本机,到期后下次显示时重新取一次;视频与图片不保存。",
children: /* @__PURE__ */ (0, B.jsx)(K5, {
id: "metadataRefreshSetting",
label: "头像与站点图标刷新",
- options: KGe,
+ options: qGe,
value: String(r.metadataRefreshDays),
epoch: n,
onPick: (t) => {
@@ -77735,15 +77720,15 @@ function uKe({ host: e, tab: t, epoch: n }) {
]
});
}
-function dKe({ epoch: e }) {
+function fKe({ epoch: e }) {
let t = wS({
- queryKey: qj,
- queryFn: ({ signal: e }) => Yj(e)
- }), n = Aue(), r = n.reset;
+ queryKey: Kj,
+ queryFn: ({ signal: e }) => Jj(e)
+ }), n = jue(), r = n.reset;
(0, R.useEffect)(() => {
r();
}, [e, r]);
- let i = t.data, a = n.isPending || t.isFetching || t.isError && !n.isError, o = n.isPending ? m7() : t.isFetching ? Be("正在读取状态") : n.isError ? g7(h7(n.error, "保存失败")) : t.isError ? g7(`状态未取得:${h7(t.error, String(t.error))}`) : i ? g7(Mue(i)) : "读取运行状态…";
+ let i = t.data, a = n.isPending || t.isFetching || t.isError && !n.isError, o = n.isPending ? m7() : t.isFetching ? Be("正在读取状态") : n.isError ? g7(h7(n.error, "保存失败")) : t.isError ? g7(`状态未取得:${h7(t.error, String(t.error))}`) : i ? g7(Nue(i)) : "读取运行状态…";
return /* @__PURE__ */ (0, B.jsx)(f7, {
title: "关注自动更新",
description: /* @__PURE__ */ (0, B.jsx)(p7, {
@@ -77763,12 +77748,12 @@ function dKe({ epoch: e }) {
})
});
}
-function fKe({ host: e, machine: t }) {
+function pKe({ host: e, machine: t }) {
return t === "summary" ? /* @__PURE__ */ (0, B.jsx)("div", {
id: "machineSettings",
children: /* @__PURE__ */ (0, B.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, B.jsx)(FGe, { openConfiguration: () => {
+ children: /* @__PURE__ */ (0, B.jsx)(IGe, { openConfiguration: () => {
s7(), e.openConfiguration();
} })
})
@@ -77782,7 +77767,7 @@ function g7(e) {
}
//#endregion
//#region src/react/sidebar/sidebar-island.tsx
-var _7 = "__home__", pKe = {
+var _7 = "__home__", mKe = {
creator: 26,
tag: 30,
tech: 16
@@ -77795,13 +77780,13 @@ function C7() {
let e = y7;
if (!e || !b7) return;
let t = x7, n = S7;
- (0, rp.flushSync)(() => b7.render(/* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(gKe, {
+ (0, rp.flushSync)(() => b7.render(/* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(_Ke, {
host: e,
props: t,
epoch: n
}) })));
}
-var mKe = {
+var hKe = {
render(e) {
x7 = e, C7();
},
@@ -77809,23 +77794,23 @@ var mKe = {
S7 += 1, C7();
}
};
-function hKe(e) {
+function gKe(e) {
return y7 = e, x7 = {
content: null,
filters: {},
latest: null
- }, e.scroll.replaceChildren(), b7 = (0, ip.createRoot)(e.scroll), C7(), e.attached(), mKe;
+ }, e.scroll.replaceChildren(), b7 = (0, ip.createRoot)(e.scroll), C7(), e.attached(), hKe;
}
-function gKe({ host: e, props: t, epoch: n }) {
+function _Ke({ host: e, props: t, epoch: n }) {
let r = (0, R.useSyncExternalStore)(e.store.subscribe, e.store.version);
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsx)("div", { "data-sidebar-head": "" }),
- /* @__PURE__ */ (0, B.jsx)(_Ke, {
+ /* @__PURE__ */ (0, B.jsx)(vKe, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, B.jsx)(yKe, {
+ t.content ? /* @__PURE__ */ (0, B.jsx)(bKe, {
host: e,
content: t.content,
filters: t.filters,
@@ -77833,8 +77818,8 @@ function gKe({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function _Ke({ host: e, epoch: t, version: n }) {
- let r = Y5(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, R.useRef)(null), l = (0, R.useRef)(null), u = pA(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || _7 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function vKe({ host: e, epoch: t, version: n }) {
+ let r = Y5(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, R.useRef)(null), l = (0, R.useRef)(null), u = mA(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || _7 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, R.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
return [
@@ -77899,7 +77884,7 @@ function _Ke({ host: e, epoch: t, version: n }) {
}), v) : null] });
}
var w7 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function vKe(e) {
+function yKe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -77912,7 +77897,7 @@ function vKe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function yKe({ host: e, content: t, filters: n, latest: r }) {
+function bKe({ 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(",")}`;
(0, R.useLayoutEffect)(() => {
t.kind === "catalog" && Ue(e.scroll, "drawer");
@@ -77921,8 +77906,8 @@ function yKe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? bKe(e, t.facets, n, r, i) : [xKe(e, t.tags, new Set(t.selected))], o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, B.jsx)(SKe, {
+ let a = t.kind === "catalog" ? xKe(e, t.facets, n, r, i) : [SKe(e, t.tags, new Set(t.selected))], o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, B.jsx)(CKe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -77931,8 +77916,8 @@ function yKe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function bKe(e, t, n, r, i) {
- let a = vKe(r), o = (t, r, i) => {
+function xKe(e, t, n, r, i) {
+ let a = yKe(r), o = (t, r, i) => {
if (!t.length) return null;
let o = w7(n, r);
return /* @__PURE__ */ (0, B.jsx)(D7, {
@@ -77957,12 +77942,12 @@ function bKe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, B.jsx)(wKe, {
+ body: /* @__PURE__ */ (0, B.jsx)(TKe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: pKe[d],
+ limit: mKe[d],
filterKey: l,
selected: f,
counts: a,
@@ -77977,7 +77962,7 @@ function bKe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, B.jsx)(TKe, {
+ body: /* @__PURE__ */ (0, B.jsx)(EKe, {
host: e,
filters: n
})
@@ -78000,7 +77985,7 @@ function bKe(e, t, n, r, i) {
} : null
];
}
-function xKe(e, t, n) {
+function SKe(e, t, n) {
return t.length ? {
title: "内容标签",
kind: "online",
@@ -78020,7 +78005,7 @@ function T7(e, t) {
} catch {}
return n === null ? t : n === "open";
}
-function SKe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
+function CKe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
let o = (0, R.useRef)(null), s = (0, R.useRef)(null), [c, l] = (0, R.useState)(() => T7(e, n)), u = (0, R.useRef)(!1);
(0, R.useLayoutEffect)(() => {
let t = o.current, r = s.current;
@@ -78067,7 +78052,7 @@ function SKe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
});
}
var E7 = (0, R.createContext)(() => {});
-function CKe({ dot: e }) {
+function wKe({ dot: e }) {
return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, B.jsx)(cT, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, B.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
@@ -78091,7 +78076,7 @@ function D7({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a }
title: e.offline,
onClick: () => a.toggleChip(t, e.value, n),
children: [
- /* @__PURE__ */ (0, B.jsx)(CKe, { dot: e.dot }),
+ /* @__PURE__ */ (0, B.jsx)(wKe, { dot: e.dot }),
/* @__PURE__ */ (0, B.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -78106,7 +78091,7 @@ function D7({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a }
})
});
}
-function wKe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
+function TKe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
let u = (0, R.useContext)(E7), [d, f] = (0, R.useState)(null), [p, m] = (0, R.useState)(e);
p !== e && (m(e), f(null));
let h = (0, R.useRef)(null), g = (0, R.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;
@@ -78172,7 +78157,7 @@ function O7({ rows: e, host: t, selected: n, badges: r }) {
});
}
var k7 = (e, t) => e ? Math.min(v7, Number(e) / 60) : t;
-function TKe({ host: e, filters: t }) {
+function EKe({ host: e, filters: t }) {
let n = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [r, i] = (0, R.useState)(n), [a, o] = (0, R.useState)(() => [k7(t.dur_min, 0), k7(t.dur_max, v7)]), [s, c] = (0, R.useState)("max");
r !== n && (i(n), o([k7(t.dur_min, 0), k7(t.dur_max, v7)]));
let [l, u] = a, d = (0, R.useRef)(null), f = (0, R.useRef)(null), p = (0, R.useRef)(null), m = (0, R.useRef)(a);
@@ -78242,17 +78227,17 @@ function TKe({ host: e, filters: t }) {
}
//#endregion
//#region src/board-skeleton.ts
-var A7 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, EKe = () => `${A7("80%")}${A7("48%")}`, DKe = (e, t) => e.repeat(t);
-function OKe() {
- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${A7("85%")}${A7("65%")}${DKe(EKe(), 4)}</div></aside></div>`;
+var A7 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, DKe = () => `${A7("80%")}${A7("48%")}`, OKe = (e, t) => e.repeat(t);
+function kKe() {
+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${A7("85%")}${A7("65%")}${OKe(DKe(), 4)}</div></aside></div>`;
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var j7 = (e) => ["follow-item", e], kKe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, AKe = "/api/follow/save", jKe = "/api/follow/media/hide";
+var j7 = (e) => ["follow-item", e], AKe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, jKe = "/api/follow/save", MKe = "/api/follow/media/hide";
async function M7(e, t) {
- let n = await W(kKe(e), t);
+ let n = await W(AKe(e), t);
for (let t of n.groups || []) {
- let r = PF(t).find((t) => t.id === e);
+ let r = FF(t).find((t) => t.id === e);
if (r) return {
item: r,
group: t,
@@ -78262,10 +78247,10 @@ async function M7(e, t) {
}
throw Error("这条关注内容已不存在");
}
-async function MKe(e, t) {
- let n = j7(e.id), r = $me(e.id), i = p.getQueryData(AF) ? null : p.fetchQuery({
- queryKey: AF,
- queryFn: () => jF(t)
+async function NKe(e, t) {
+ let n = j7(e.id), r = $me(e.id), i = p.getQueryData(jF) ? null : p.fetchQuery({
+ queryKey: jF,
+ queryFn: () => MF(t)
});
r ? p.setQueryData(n, {
...r,
@@ -78275,8 +78260,8 @@ async function MKe(e, t) {
queryFn: () => M7(e.id, t)
}), await i;
}
-function NKe(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 && zF(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);
+function PKe(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 && BF(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
return {
embedded: i,
selected: s,
@@ -78290,32 +78275,32 @@ function NKe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var PKe = (e) => PF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), FKe = {
+var FKe = (e) => FF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), IKe = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, IKe = {
+}, LKe = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function LKe(e) {
+function RKe(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return FKe[t] || t;
+ return IKe[t] || t;
} catch {
return "外部文件页";
}
}
function N7(e, t) {
- return IKe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+ return LKe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function RKe(e, t, n = "") {
+function zKe(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;
@@ -78324,16 +78309,16 @@ function RKe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var zKe = (e) => String(e.name || "").trim(), P7 = (e, t) => e.tag_types?.[t] || "unknown", BKe = /* @__PURE__ */ new Set([
+var BKe = (e) => String(e.name || "").trim(), P7 = (e, t) => e.tag_types?.[t] || "unknown", VKe = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function VKe(e, t) {
+function HKe(e, t) {
let n = P7(e, t);
- return `r34-${BKe.has(n) ? n : "general"}`;
+ return `r34-${VKe.has(n) ? n : "general"}`;
}
var F7 = [
"copyright",
@@ -78342,23 +78327,23 @@ var F7 = [
"general",
"metadata"
];
-function HKe(e, t) {
+function UKe(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
let n = F7.indexOf(P7(e, t));
return n < 0 ? F7.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function UKe(e, t) {
+function WKe(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 WKe = (e, t) => ({
+var GKe = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
}), I7 = (e) => e?.size ? { size: e.size } : {};
-function GKe(e, t) {
+function KKe(e, t) {
let { images: n, kind: r, src: i, selected: a } = t;
return n.length ? n.map((t, r) => ({
src: `/follow-stream?id=${e.id}&media=${t.index}`,
@@ -78385,7 +78370,7 @@ function GKe(e, t) {
total: 1
}] : [];
}
-var KKe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
+var qKe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
//#endregion
//#region src/react/components/mix-queue.tsx
function L7({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
@@ -78439,29 +78424,29 @@ function R7({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var qKe = ({ label: e, count: t }) => /* @__PURE__ */ (0, B.jsxs)("h3", {
+var JKe = ({ label: e, count: t }) => /* @__PURE__ */ (0, B.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
" ",
/* @__PURE__ */ (0, B.jsx)("span", { children: t })
]
-}), z7 = (e) => Number(e) > 0, JKe = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("span", {
+}), z7 = (e) => Number(e) > 0, YKe = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: L(e) }
}), B7 = L("external-link", "externalmark");
-function YKe(e) {
+function XKe(e) {
let { id: t, actions: n } = e, r = wS({
queryKey: j7(t),
queryFn: ({ signal: e }) => M7(t, e)
}), i = wS({
- queryKey: AF,
- queryFn: ({ signal: e }) => jF(e)
+ queryKey: jF,
+ queryFn: ({ signal: e }) => MF(e)
}), a = (0, R.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, R.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, B.jsx)(XKe, {
+ return r.data ? /* @__PURE__ */ (0, B.jsx)(ZKe, {
...e,
data: r.data,
- context: WKe(r.data, a),
+ context: GKe(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, B.jsx)("div", {
@@ -78472,7 +78457,7 @@ function YKe(e) {
"data-follow-detail-media": "none",
children: [/* @__PURE__ */ (0, B.jsx)(V7, { onClose: n.close }), /* @__PURE__ */ (0, B.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? /* @__PURE__ */ (0, B.jsx)(MA, {
+ children: r.isError ? /* @__PURE__ */ (0, B.jsx)(NA, {
message: Te(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -78489,8 +78474,8 @@ var V7 = ({ onClose: e }) => /* @__PURE__ */ (0, B.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function XKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
- let { item: s, group: c } = e, l = NKe(s, c, n, i), u = eqe(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, R.useState)({
+function ZKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
+ let { item: s, group: c } = e, l = PKe(s, c, n, i), u = tqe(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, R.useState)({
key: "",
kind: ""
}), m = {
@@ -78510,7 +78495,7 @@ function XKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
s,
l.kind
]);
- let h = !l.embedded.length && l.collection ? PKe(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, B.jsx)(G7, {
+ let h = !l.embedded.length && l.collection ? FKe(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, B.jsx)(G7, {
item: s,
current: l.selected.index,
helpers: a,
@@ -78523,7 +78508,7 @@ function XKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
actions: o,
onMedia: r,
currentId: s.id
- }) : /* @__PURE__ */ (0, B.jsx)(QKe, {
+ }) : /* @__PURE__ */ (0, B.jsx)($Ke, {
group: l.collection,
itemId: s.id,
helpers: a,
@@ -78534,7 +78519,7 @@ function XKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
"data-with-queue": g ? "" : void 0,
"data-follow-detail": "",
children: [
- /* @__PURE__ */ (0, B.jsx)(ZKe, {
+ /* @__PURE__ */ (0, B.jsx)(QKe, {
item: s,
media: l,
helpers: a,
@@ -78543,7 +78528,7 @@ function XKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
issues: m
}, d),
g,
- /* @__PURE__ */ (0, B.jsx)($Ke, {
+ /* @__PURE__ */ (0, B.jsx)(eqe, {
item: s,
data: e,
context: t,
@@ -78556,8 +78541,8 @@ function XKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
]
});
}
-function ZKe({ 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, R.useRef)(null), [p, m] = (0, R.useState)(null), h = GKe(e, t), g = o?.thumb_url || e.thumb_url || "", _ = e.playable && a === "video", v = e.playable && a === "image" ? s : e.thumb_url || "", y = e.playable && a === "image" && g && g !== s ? g : "", [b, x] = (0, R.useState)(v), S = (0, R.useRef)({
+function QKe({ 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, R.useRef)(null), [p, m] = (0, R.useState)(null), h = KKe(e, t), g = o?.thumb_url || e.thumb_url || "", _ = e.playable && a === "video", v = e.playable && a === "image" ? s : e.thumb_url || "", y = e.playable && a === "image" && g && g !== s ? g : "", [b, x] = (0, R.useState)(v), S = (0, R.useRef)({
item: e,
selected: o
}), C = (0, R.useRef)(i.failed);
@@ -78606,7 +78591,7 @@ function ZKe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, B.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: GF(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: KF(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, B.jsx)("span", { children: "没有可用预览" })]
}),
u ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
@@ -78664,8 +78649,8 @@ function W7(e) {
t && e.wireDrag(t);
}, [e]);
}
-function QKe({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = zF(e), a = W7(n);
+function $Ke({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = BF(e), a = W7(n);
return /* @__PURE__ */ (0, B.jsx)(L7, {
kind: "collection",
"data-follow-queue": "",
@@ -78674,7 +78659,7 @@ function QKe({ group: e, itemId: t, helpers: n, actions: r }) {
listRef: a,
summary: `${e.primary.title || "未命名合集"} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = RKe(e, n, i ? n.provider_label : ""), o = i ? GF(n.provider, n.provider_label) : "";
+ let i = e.duplicates.includes(n), a = zKe(e, n, i ? n.provider_label : ""), o = i ? KF(n.provider, n.provider_label) : "";
return /* @__PURE__ */ (0, B.jsxs)(R7, {
current: n.id === t,
"data-follow-queue-item": n.id,
@@ -78697,7 +78682,7 @@ function QKe({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, B.jsx)("time", {
dateTime: n.published_at || "",
- children: QF(n)
+ children: $F(n)
})]
})]
}, n.id);
@@ -78722,7 +78707,7 @@ function G7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
onClose: i.close,
listRef: s,
summary: `${e.title || "未命名内容"} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, B.jsx)(qKe, {
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, B.jsx)(JKe, {
label: n.label,
count: n.items.length
}, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, B.jsxs)(R7, {
@@ -78734,7 +78719,7 @@ function G7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
pic: n.thumb_url ? /* @__PURE__ */ (0, B.jsx)(U7, { src: n.thumb_url }) : /* @__PURE__ */ (0, B.jsx)(H7, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, B.jsx)("b", {
"data-middle-truncate": "",
- children: zKe(n)
+ children: BKe(n)
}), /* @__PURE__ */ (0, B.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -78742,13 +78727,13 @@ function G7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function $Ke({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function eqe({ 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 = XF(d, e), p = JF(e, UKe(e, t.sources), n), m = p.credited ? "" : e.author && be(e.author) !== be(p.author) ? e.author : "", h = ZF(e, n), g = HKe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
+ }, f = ZF(d, e), p = YF(e, WKe(e, t.sources), n), m = p.credited ? "" : e.author && be(e.author) !== be(p.author) ? e.author : "", h = QF(e, n), g = UKe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -78764,7 +78749,7 @@ function $Ke({ 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: YF(d, e) + ge(e.title) }
+ dangerouslySetInnerHTML: { __html: XF(d, e) + ge(e.title) }
}), e.url ? /* @__PURE__ */ (0, B.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -78791,7 +78776,7 @@ function $Ke({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, B.jsx)("span", { children: QF(e) }),
+ /* @__PURE__ */ (0, B.jsx)("span", { children: $F(e) }),
z7(e.duration) ? /* @__PURE__ */ (0, B.jsx)("span", { children: ve(e.duration) }) : null,
f ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-follow-badges": "",
@@ -78825,7 +78810,7 @@ function $Ke({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [LKe(e), /* @__PURE__ */ (0, B.jsx)("span", {
+ children: [RKe(e), /* @__PURE__ */ (0, B.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: B7 }
})]
@@ -78934,7 +78919,7 @@ function $Ke({ 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, B.jsx)(U7, { src: e.thumb_url }) : /* @__PURE__ */ (0, B.jsx)(JKe, { name: "image-off" }), /* @__PURE__ */ (0, B.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, B.jsx)(U7, { src: e.thumb_url }) : /* @__PURE__ */ (0, B.jsx)(YKe, { name: "image-off" }), /* @__PURE__ */ (0, B.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -78948,7 +78933,7 @@ function $Ke({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-follow-detail-tags": "",
children: g.map((t) => /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
- "data-tag-cat": VKe(e, t),
+ "data-tag-cat": HKe(e, t),
"data-follow-tag": t,
onClick: () => s.openTag(t),
children: o.tagLabel(t)
@@ -78958,7 +78943,7 @@ function $Ke({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function eqe(e, t, n) {
+function tqe(e, t, n) {
let r = e.id, i = j7(r), [a, o] = (0, R.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, R.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
@@ -78973,13 +78958,13 @@ function eqe(e, t, n) {
}, d = (e) => {
c(Te(e) || "操作失败"), t.failure("更新关注状态", e);
}, f = DS({
- mutationFn: ({ to: e }) => G(WP, {
+ mutationFn: ({ to: e }) => G(GP, {
item: r,
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && bL(), t.toast(KKe(n), { undo: i === "saved" ? void 0 : async () => {
- await G(WP, {
+ u(n), c(""), n === "ignored" && xL(), t.toast(qKe(n), { undo: i === "saved" ? void 0 : async () => {
+ await G(GP, {
item: r,
to: i
}), u(i);
@@ -78988,7 +78973,7 @@ function eqe(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), m = DS({
- mutationFn: () => G(AKe, { item: r }),
+ mutationFn: () => G(jKe, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到账本");
},
@@ -78996,7 +78981,7 @@ function eqe(e, t, n) {
onSettled: () => l("save", !1)
}), h = DS({
mutationFn: async ({ index: e, hidden: t }) => {
- await G(jKe, {
+ await G(MKe, {
item: r,
media: e,
hidden: t
@@ -79015,9 +79000,9 @@ function eqe(e, t, n) {
queryKey: i_e(r),
queryFn: ({ signal: e }) => s_e(r, e)
}).data?.want ?? null, _ = DS({
- mutationFn: async (e) => (e ? await yL([e.id]) : await vL({ follow: r }), !e),
+ mutationFn: async (e) => (e ? await bL([e.id]) : await yL({ follow: r }), !e),
onSuccess: (e) => {
- c(""), t.toast(e ? "已加入想要" : "已取消想要"), bL();
+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), xL();
},
onError: d,
onSettled: () => l("want", !1)
@@ -79057,19 +79042,19 @@ function eqe(e, t, n) {
}
//#endregion
//#region src/react/components/overlay-host.ts
-function tqe(e) {
+function nqe(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 nqe(e) {
+function rqe(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return tqe(n ?? t.body);
+ return nqe(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var rqe = "/api/cover-crop", iqe = (e, t) => G(rqe, {
+var iqe = "/api/cover-crop", aqe = (e, t) => G(iqe, {
code: e,
box: t
});
@@ -79088,7 +79073,7 @@ function K7({ className: e }) {
children: /* @__PURE__ */ (0, B.jsx)("use", { href: "#i-crop" })
});
}
-function aqe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function oqe({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, R.useState)(!1), o = (0, R.useRef)(null);
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("button", {
ref: o,
@@ -79100,14 +79085,14 @@ function aqe({ code: e, coverUrl: t, box: n, onSaved: r }) {
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, B.jsx)(K7, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, B.jsx)(iy, {
- getContainer: () => nqe(o.current),
+ }), /* @__PURE__ */ (0, B.jsx)(ry, {
+ getContainer: () => rqe(o.current),
children: /* @__PURE__ */ (0, B.jsx)(rP, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, B.jsx)(oqe, {
+ children: /* @__PURE__ */ (0, B.jsx)(sqe, {
code: e,
coverUrl: t,
box: n,
@@ -79117,9 +79102,9 @@ function aqe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function oqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, R.useState)(null), [s, c] = (0, R.useState)(null), [l, u] = (0, R.useState)(!0), d = PM(), f = DS({
- mutationFn: (t) => iqe(e, t),
+function sqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, R.useState)(null), [s, c] = (0, R.useState)(null), [l, u] = (0, R.useState)(!0), d = NM(), f = DS({
+ mutationFn: (t) => aqe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -79158,7 +79143,7 @@ function oqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, B.jsx)(IM, {
+ /* @__PURE__ */ (0, B.jsx)(FM, {
icon: yT,
size: "small",
"aria-label": "关闭",
@@ -79183,7 +79168,7 @@ function oqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, B.jsx)(iL, {
+ children: [/* @__PURE__ */ (0, B.jsx)(aL, {
isSelected: l,
onChange: (e) => {
u(e), e && s && a && c($N(s, a, IC));
@@ -79222,7 +79207,7 @@ var q7 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
});
-function sqe(e) {
+function cqe(e) {
let { queue: t, actions: n } = e, r = wS({
queryKey: t ? UC(t) : ["item-queue", "none"],
queryFn: ({ signal: n }) => QC(t, e.helpers, n),
@@ -79242,7 +79227,7 @@ function sqe(e) {
"data-item-media": "none",
children: [/* @__PURE__ */ (0, B.jsx)(Y7, { onClose: n.close }), /* @__PURE__ */ (0, B.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, B.jsx)(MA, {
+ children: e ? /* @__PURE__ */ (0, B.jsx)(NA, {
message: Te(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -79252,7 +79237,7 @@ function sqe(e) {
})
});
}
- return /* @__PURE__ */ (0, B.jsx)(cqe, {
+ return /* @__PURE__ */ (0, B.jsx)(lqe, {
...e,
item: zre(o.data, i),
queue: i
@@ -79267,8 +79252,8 @@ var Y7 = ({ onClose: e }) => /* @__PURE__ */ (0, B.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function cqe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = wqe(t, r, i.tagLabel), o = (0, R.useRef)(t);
+function lqe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = Tqe(t, r, i.tagLabel), o = (0, R.useRef)(t);
(0, R.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, R.useEffect)(() => {
@@ -79284,19 +79269,19 @@ function cqe(e) {
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
children: [
- /* @__PURE__ */ (0, B.jsx)(lqe, {
+ /* @__PURE__ */ (0, B.jsx)(uqe, {
item: t,
gate: s,
helpers: i,
actions: r
}),
- n ? /* @__PURE__ */ (0, B.jsx)(dqe, {
+ n ? /* @__PURE__ */ (0, B.jsx)(fqe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- /* @__PURE__ */ (0, B.jsx)(mqe, {
+ /* @__PURE__ */ (0, B.jsx)(hqe, {
item: t,
queue: n,
write: a,
@@ -79304,9 +79289,9 @@ function cqe(e) {
actions: r
})
]
- }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, B.jsx)(Cqe, { ...e }) : null] });
+ }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, B.jsx)(wqe, { ...e }) : null] });
}
-function lqe({ item: e, gate: t, helpers: n, actions: r }) {
+function uqe({ item: e, gate: t, helpers: n, actions: r }) {
let [i, a] = (0, R.useState)(t ? "" : "auto"), o = (0, R.useRef)(null), s = (0, R.useRef)(e);
(0, R.useLayoutEffect)(() => {
let e = o.current;
@@ -79317,7 +79302,7 @@ function lqe({ item: e, gate: t, helpers: n, actions: r }) {
ref: o,
"data-stage-media": "",
"data-item-media": t || "video",
- children: [/* @__PURE__ */ (0, B.jsx)(Y7, { onClose: r.close }), t === "offline" ? /* @__PURE__ */ (0, B.jsx)(uqe, {
+ children: [/* @__PURE__ */ (0, B.jsx)(Y7, { onClose: r.close }), t === "offline" ? /* @__PURE__ */ (0, B.jsx)(dqe, {
item: e,
badge: c,
helpers: n,
@@ -79346,7 +79331,7 @@ function lqe({ item: e, gate: t, helpers: n, actions: r }) {
}) : null]
});
}
-function uqe({ item: e, badge: t, helpers: n, actions: r }) {
+function dqe({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, R.useState)(!1), [o, s] = (0, R.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -79371,8 +79356,8 @@ function uqe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function dqe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = Yre(e), a = (0, R.useRef)(null), o = pqe(e, t, r), s = (0, R.useRef)(o);
+function fqe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = Yre(e), a = (0, R.useRef)(null), o = mqe(e, t, r), s = (0, R.useRef)(o);
s.current = o;
let c = (0, R.useCallback)((t) => {
a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -79380,7 +79365,7 @@ function dqe({ 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 = fqe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, B.jsx)("button", {
+ }, [n, e.kind]), l = pqe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -79457,7 +79442,7 @@ function dqe({ queue: e, itemId: t, helpers: n, actions: r }) {
})
});
}
-function fqe(e, t) {
+function pqe(e, t) {
let n = DS({ mutationFn: (t) => G(WC, {
action: "create",
name: t,
@@ -79471,7 +79456,7 @@ function fqe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function pqe(e, t, n) {
+function mqe(e, t, n) {
let r = UC({
kind: "playlist",
playlistId: e.playlistId
@@ -79538,7 +79523,7 @@ function pqe(e, t, n) {
}
};
}
-function mqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function hqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, R.useState)(!1);
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-stage-side": "",
@@ -79546,7 +79531,7 @@ function mqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, B.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, B.jsx)(hqe, {
+ /* @__PURE__ */ (0, B.jsx)(gqe, {
item: e,
queue: t,
helpers: r,
@@ -79558,7 +79543,7 @@ function mqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, B.jsx)(_qe, {
+ /* @__PURE__ */ (0, B.jsx)(vqe, {
item: e,
write: n
}),
@@ -79593,18 +79578,18 @@ function mqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, B.jsx)(vqe, {
+ /* @__PURE__ */ (0, B.jsx)(yqe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, B.jsx)(yqe, {
+ /* @__PURE__ */ (0, B.jsx)(bqe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, B.jsx)(xqe, { item: e }),
+ /* @__PURE__ */ (0, B.jsx)(Sqe, { item: e }),
/* @__PURE__ */ (0, B.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -79698,7 +79683,7 @@ function mqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
]
}),
- /* @__PURE__ */ (0, B.jsx)(Sqe, {
+ /* @__PURE__ */ (0, B.jsx)(Cqe, {
item: e,
open: s,
write: n
@@ -79722,7 +79707,7 @@ function mqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function hqe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+function gqe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
let a = (0, R.useRef)(null), [o, s] = (0, R.useState)(!1), [c, l] = (0, R.useState)(!1);
(0, R.useLayoutEffect)(() => {
let e = a.current;
@@ -79763,7 +79748,7 @@ function hqe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}),
e.has_cover && e.code ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, B.jsx)(aqe, {
+ children: /* @__PURE__ */ (0, B.jsx)(oqe, {
code: e.code,
coverUrl: M(e),
box: e.poster_box || null,
@@ -79775,7 +79760,7 @@ function hqe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, B.jsx)(gqe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, B.jsx)(_qe, {
id: e.id,
actions: r,
onStatus: i
@@ -79785,7 +79770,7 @@ function hqe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function gqe({ id: e, actions: t, onStatus: n }) {
+function _qe({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, R.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -79818,7 +79803,7 @@ function gqe({ id: e, actions: t, onStatus: n }) {
children: /* @__PURE__ */ (0, B.jsx)(q7, { name: "folder-sync" })
})] });
}
-function _qe({ item: e, write: t }) {
+function vqe({ item: e, write: t }) {
let n = rw(e.rating);
return /* @__PURE__ */ (0, B.jsxs)("div", {
id: "detailRating",
@@ -79851,7 +79836,7 @@ function _qe({ item: e, write: t }) {
})]
});
}
-function vqe({ item: e, actions: t }) {
+function yqe({ item: e, actions: t }) {
let n = (0, R.useMemo)(() => Vre(e), [e]), [r, i] = (0, R.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r, o = e === "performer" ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-id-face": "",
@@ -79969,7 +79954,7 @@ function vqe({ item: e, actions: t }) {
]
});
}
-function yqe({ item: e, write: t, helpers: n, actions: r }) {
+function bqe({ item: e, write: t, helpers: n, actions: r }) {
let i = Wre(e, n);
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-stage-tags": "",
@@ -79991,14 +79976,14 @@ function yqe({ item: e, write: t, helpers: n, actions: r }) {
onClick: () => t.removeTag(e),
children: /* @__PURE__ */ (0, B.jsx)(q7, { name: "x" })
})]
- }, e.k)), /* @__PURE__ */ (0, B.jsx)(bqe, {
+ }, e.k)), /* @__PURE__ */ (0, B.jsx)(xqe, {
item: e,
write: t,
helpers: n
})]
});
}
-function bqe({ item: e, write: t, helpers: n }) {
+function xqe({ item: e, write: t, helpers: n }) {
let r = (0, R.useRef)(null), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(!1), [s, c] = (0, R.useState)(!1), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), [p, m] = (0, R.useState)(-1), h = (0, R.useCallback)(() => {
i.current && Ne(i.current), c(!1);
}, []);
@@ -80142,7 +80127,7 @@ function bqe({ item: e, write: t, helpers: n }) {
})]
})] });
}
-function xqe({ item: e }) {
+function Sqe({ item: e }) {
let t = eie(e);
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-item-trace": "",
@@ -80177,7 +80162,7 @@ function xqe({ item: e }) {
})]
});
}
-function Sqe({ item: e, open: t, write: n }) {
+function Cqe({ item: e, open: t, write: n }) {
let [r, i] = (0, R.useState)(e.like_reason || ""), a = (0, R.useRef)(null);
(0, R.useEffect)(() => {
t && a.current?.focus();
@@ -80216,7 +80201,7 @@ function Sqe({ item: e, open: t, write: n }) {
})]
});
}
-function Cqe(e) {
+function wqe(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = wS({
queryKey: Ire(t.id, n),
queryFn: async ({ signal: e }) => (await W(Rre(t.id, n), e)).items || []
@@ -80232,7 +80217,7 @@ function Cqe(e) {
ref: s,
id: "nrow",
"data-related-row": "",
- children: a.data ? /* @__PURE__ */ (0, B.jsx)(HA, {
+ children: a.data ? /* @__PURE__ */ (0, B.jsx)(UA, {
mode: "items",
variant: "next",
items: a.data,
@@ -80249,7 +80234,7 @@ function Cqe(e) {
})]
});
}
-function wqe(e, t, n) {
+function Tqe(e, t, n) {
let r = e.id, i = HC(r), [a, o] = (0, R.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), d = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
@@ -80389,7 +80374,7 @@ function wqe(e, t, n) {
//#endregion
//#region src/react/stage/stage-player.ts
var X7 = null, Z7 = null, Q7 = null, $7 = null, e9 = null, t9 = !1, n9 = 0, r9 = null, i9 = () => !1, a9 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function Tqe(e, t) {
+function Eqe(e, t) {
X7 = e, i9 = () => t.isOpen(), r9 = () => t.requestClose(), qne({
...e.player,
stage: () => document.getElementById("stage")
@@ -80408,10 +80393,10 @@ function s9() {
function c9(e) {
$7 = e;
}
-var Eqe = () => $7;
+var Dqe = () => $7;
function l9(e, t) {
let { kind: n, item: r, media: i = null } = t, a = a9(n, r.id, i?.index ?? null);
- if (Z7 && Z7.key === a) return Dqe(e, Z7);
+ if (Z7 && Z7.key === a) return Oqe(e, Z7);
Z7 && S9();
let o = {
player: null,
@@ -80439,7 +80424,7 @@ function l9(e, t) {
Q7 === o && (Q7 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), yC());
};
}
-function Dqe(e, t) {
+function Oqe(e, t) {
let { player: n } = t;
b9(t), Z7 = null, x9(), n.el().classList.remove("vjs-peach-mini"), jC(e), e.append(n.el()), JS(n);
let r = {
@@ -80459,13 +80444,13 @@ var u9 = () => {
let e = Q7?.player;
return e && !e.isDisposed() ? e : null;
};
-function Oqe(e) {
+function kqe(e) {
let t = t9;
t9 = !1, Z7?.pending && S9();
let n = Q7, r = n?.player, i = $7;
if (!n || !r || r.isDisposed() || !i || !e9) return;
let a = s9().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && Nqe({
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && Pqe({
player: r,
kind: n.kind,
item: n.item,
@@ -80473,7 +80458,7 @@ function Oqe(e) {
key: n.key
}, i);
}
-function kqe(e, t) {
+function Aqe(e, t) {
if (t9 = !1, Z7) {
if (Z7.kind === e && Z7.item.id === t) {
Z7.pending = !0, x9();
@@ -80486,11 +80471,11 @@ function d9(e) {
e9 = e, e9 && v9();
}
var f9 = () => !!Z7 && !Z7.pending && !Z7.player.isDisposed();
-function Aqe() {
+function jqe() {
return f9() ? e9?.frame.querySelector("video") ?? null : null;
}
-function jqe() {
- return i9() ? document.getElementById("stage")?.querySelector("video") ?? null : Aqe();
+function Mqe() {
+ return i9() ? document.getElementById("stage")?.querySelector("video") ?? null : jqe();
}
function p9(e) {
e9 && (e9.title.textContent = e.title || "", e9.sub.textContent = e.sub || "", e9.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
@@ -80539,7 +80524,7 @@ function y9(e) {
function b9(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function Mqe() {
+function Nqe() {
let e = e9?.root;
if (!e) return;
let t = e.hidden;
@@ -80560,7 +80545,7 @@ function x9() {
e.style.transform = "";
}
}
-function Nqe(e, t) {
+function Pqe(e, t) {
if (!e9) return;
let n = {
...e,
@@ -80568,7 +80553,7 @@ function Nqe(e, t) {
off: [],
pending: !1
};
- Z7 = n, n9++, e.player.el().classList.add("vjs-peach-mini"), e9.frame.prepend(e.player.el()), p9(t), y9(n), Mqe(), YS(e.player);
+ Z7 = n, n9++, e.player.el().classList.add("vjs-peach-mini"), e9.frame.prepend(e.player.el()), p9(t), y9(n), Nqe(), YS(e.player);
}
function S9() {
let e = Z7;
@@ -80588,7 +80573,7 @@ function w9() {
}
i9() && u9() && r9 && (t9 = !0, r9());
}
-function Pqe() {
+function Fqe() {
let e = Z7?.player;
!e || e.isDisposed() || (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
@@ -80601,7 +80586,7 @@ function T9(e) {
function E9(e) {
return !(!f9() || !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 || s9().sourceOffline(String(e.location ?? "")));
}
-async function Fqe(e) {
+async function Iqe(e) {
if (!f9() || !Z7 || !e9) return;
let t = ++n9, n = await pe(`/api/item?id=${e}`).catch(() => null);
if (t !== n9 || !f9() || !Z7 || !e9 || !n || n.error) return;
@@ -80654,9 +80639,9 @@ var D9 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, B.jsx)("use", { href: `#i-${e}` })
-}), Iqe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, O9 = (e) => (t) => {
+}), Lqe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, O9 = (e) => (t) => {
t.stopPropagation(), e();
-}, Lqe = (0, R.memo)(function() {
+}, Rqe = (0, R.memo)(function() {
let e = (0, R.useRef)(null), t = (0, R.useRef)(null), n = (0, R.useRef)(null), r = (0, R.useRef)(null), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useRef)(null), c = (0, R.useRef)(null), l = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => (d9({
root: e.current,
@@ -80668,7 +80653,7 @@ var D9 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => d9(null)), []), (0, R.useEffect)(() => zqe(e.current, t.current), []), /* @__PURE__ */ (0, B.jsx)("aside", {
+ }), () => d9(null)), []), (0, R.useEffect)(() => Bqe(e.current, t.current), []), /* @__PURE__ */ (0, B.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -80718,8 +80703,8 @@ var D9 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: O9(Pqe),
- dangerouslySetInnerHTML: Iqe
+ onClick: O9(Fqe),
+ dangerouslySetInnerHTML: Lqe
}),
/* @__PURE__ */ (0, B.jsx)("button", {
ref: o,
@@ -80758,7 +80743,7 @@ var D9 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
})
});
});
-function Rqe(e, t, n) {
+function zqe(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
@@ -80780,7 +80765,7 @@ function Rqe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function zqe(e, t) {
+function Bqe(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 = {
@@ -80806,7 +80791,7 @@ function zqe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), Rqe(e, i.dx, i.dy));
+ }, 0), zqe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -80826,21 +80811,21 @@ function R9() {
if (!k9) throw Error("舞台还没有接上宿主(configureStage)");
return k9;
}
-function Bqe() {
+function Vqe() {
return (!A9 || !j9?.isConnected) && (A9?.unmount(), j9 = document.createElement("div"), j9.dataset.stageHost = "", document.body.append(j9), A9 = (0, ip.createRoot)(j9)), A9;
}
function z9() {
- let e = Bqe();
- (0, rp.flushSync)(() => e.render(/* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(Vqe, { view: M9 }) })));
+ let e = Vqe();
+ (0, rp.flushSync)(() => e.render(/* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(Hqe, { view: M9 }) })));
}
-function Vqe({ view: e }) {
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [e ? /* @__PURE__ */ (0, B.jsx)(Hqe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, B.jsx)(Lqe, {})] });
+function Hqe({ view: e }) {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [e ? /* @__PURE__ */ (0, B.jsx)(Uqe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, B.jsx)(Rqe, {})] });
}
var B9 = () => /* @__PURE__ */ (0, B.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: OKe() }
+ dangerouslySetInnerHTML: { __html: kKe() }
});
function V9(e) {
let t = e.currentTarget;
@@ -80848,7 +80833,7 @@ function V9(e) {
let n = t.getBoundingClientRect();
return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;
}
-function Hqe({ view: e }) {
+function Uqe({ view: e }) {
let t = (0, R.useRef)(null);
(0, R.useLayoutEffect)(() => {
let e = t.current, n = (e) => {
@@ -80856,7 +80841,7 @@ function Hqe({ view: e }) {
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, B.jsx)(sqe, { ...r.props }) : /* @__PURE__ */ (0, B.jsx)(YKe, { ...r.props });
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, B.jsx)(cqe, { ...r.props }) : /* @__PURE__ */ (0, B.jsx)(XKe, { ...r.props });
return /* @__PURE__ */ (0, B.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -80895,7 +80880,7 @@ function U9(e, t) {
let n = L9();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function Uqe(e) {
+function Wqe(e) {
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
@@ -80957,7 +80942,7 @@ function Uqe(e) {
}
};
}
-function Wqe(e, t) {
+function Gqe(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 = () => {
@@ -80970,13 +80955,13 @@ function Wqe(e, t) {
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-async function Gqe(e) {
+async function Kqe(e) {
M9 && W9({ miniplayer: !1 });
let t = ++N9, n = new AbortController();
- P9 = n, F9 = !1, I9 = !1, kqe(e.kind, e.id ?? NaN), M9 = {
+ P9 = n, F9 = !1, I9 = !1, Aqe(e.kind, e.id ?? NaN), M9 = {
generation: t,
request: e,
- content: Uqe(e),
+ content: Wqe(e),
phase: "skeleton"
}, z9();
let r = L9();
@@ -80984,7 +80969,7 @@ async function Gqe(e) {
Fe(r), document.body.setAttribute("data-detail-open", ""), r.open || r.showModal();
let i = M9.content;
try {
- i.kind === "item" ? await Bre(i.props, n.signal) : await MKe(i.props, n.signal);
+ i.kind === "item" ? await Bre(i.props, n.signal) : await NKe(i.props, n.signal);
} catch {
if (n.signal.aborted) return;
}
@@ -80993,11 +80978,11 @@ async function Gqe(e) {
M9 = {
...M9,
phase: a ? "content" : "reveal"
- }, z9(), a || Wqe(r, t), Ke(r, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, z9(), a || Gqe(r, t), Ke(r, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let o = document.activeElement;
(o === r || !r.contains(o)) && r.querySelector("#closeStage")?.focus();
}
-function Kqe() {
+function qqe() {
let e = L9();
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 = () => {
@@ -81009,11 +80994,11 @@ function Kqe() {
}));
}
function W9({ miniplayer: e = !0 } = {}) {
- if (N9++, P9?.abort(), P9 = null, Oqe(e), !M9) return;
+ if (N9++, P9?.abort(), P9 = null, kqe(e), !M9) return;
let t = L9();
t && ue(t), GS(), t?.open && t.close(), M9 = null, F9 = !1, I9 = !1, z9(), c9(null), document.body.removeAttribute("data-detail-open");
}
-function qqe(e) {
+function Jqe(e) {
!M9 || M9.content.kind !== "item" || (M9 = {
...M9,
content: {
@@ -81025,21 +81010,21 @@ function qqe(e) {
}
}, z9());
}
-function Jqe() {
- let e = Eqe(), t = e?.kind === "item" ? e.item : null, n = t ? N(t, R9().player.settings().javImage) : "";
+function Yqe() {
+ let e = Dqe(), t = e?.kind === "item" ? e.item : null, n = t ? N(t, R9().player.settings().javImage) : "";
if (!n) return;
let r = u9();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var Yqe = {
- open: Gqe,
- update: qqe,
- exit: Kqe,
+var Xqe = {
+ open: Kqe,
+ update: Jqe,
+ exit: qqe,
dispose: W9,
requestClose: H9,
- repaintPoster: Jqe,
+ repaintPoster: Yqe,
isOpen: () => !!M9,
- activeVideo: () => jqe(),
+ activeVideo: () => Mqe(),
toggleTheater: () => {
M9 && uC(!R9().player.settings().theaterMode);
},
@@ -81048,37 +81033,37 @@ var Yqe = {
miniplayerActive: () => f9(),
miniplayerTakesCard: (e) => E9(e),
miniplayerPlay: (e) => {
- Fqe(e);
+ Iqe(e);
}
};
-function Xqe(e) {
- return k9 = e, Tqe(e, {
+function Zqe(e) {
+ return k9 = e, Eqe(e, {
isOpen: () => !!M9,
requestClose: H9
- }), z9(), Yqe;
+ }), z9(), Xqe;
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function Zqe(e) {
+function Qqe(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 Qqe = (e) => {
+var $qe = (e) => {
switch (e) {
- case "success": return tJe;
- case "info": return rJe;
- case "warning": return nJe;
- case "error": return iJe;
+ case "success": return nJe;
+ case "info": return iJe;
+ case "warning": return rJe;
+ case "error": return aJe;
default: return null;
}
-}, $qe = Array(12).fill(0), eJe = ({ visible: e, className: t }) => /*#__PURE__*/ R.createElement("div", {
+}, eJe = Array(12).fill(0), tJe = ({ visible: e, className: t }) => /*#__PURE__*/ R.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ R.createElement("div", { className: "sonner-spinner" }, $qe.map((e, t) => /*#__PURE__*/ R.createElement("div", {
+}, /*#__PURE__*/ R.createElement("div", { className: "sonner-spinner" }, eJe.map((e, t) => /*#__PURE__*/ R.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), tJe = /*#__PURE__*/ R.createElement("svg", {
+})))), nJe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -81089,7 +81074,7 @@ var Qqe = (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"
-})), nJe = /*#__PURE__*/ R.createElement("svg", {
+})), rJe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -81100,7 +81085,7 @@ var Qqe = (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"
-})), rJe = /*#__PURE__*/ R.createElement("svg", {
+})), iJe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -81111,7 +81096,7 @@ var Qqe = (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"
-})), iJe = /*#__PURE__*/ R.createElement("svg", {
+})), aJe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -81122,7 +81107,7 @@ var Qqe = (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"
-})), aJe = /*#__PURE__*/ R.createElement("svg", {
+})), oJe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -81143,7 +81128,7 @@ var Qqe = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), oJe = () => {
+})), sJe = () => {
let [e, t] = R.useState(document.hidden);
return R.useEffect(() => {
let e = () => {
@@ -81151,7 +81136,7 @@ var Qqe = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, sJe = 1, cJe = 100, G9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : sJe++, K9 = new class {
+}, cJe = 1, lJe = 100, G9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : cJe++, K9 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -81161,7 +81146,7 @@ var Qqe = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - cJe;
+ let e = this.toasts.length - lJe;
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 = G9(e), i = this.pendingDismissals.get(r);
@@ -81239,7 +81224,7 @@ var Qqe = (e) => {
type: "default",
message: e
});
- else if (uJe(e) && !e.ok) {
+ else if (dJe(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" && !R.isValidElement(r) ? r : { message: r };
this.create({
@@ -81292,7 +81277,7 @@ var Qqe = (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();
}
-}(), lJe = (e, t) => K9.message(e, t), uJe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", q9 = Object.assign(lJe, {
+}(), uJe = (e, t) => K9.message(e, t), dJe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", q9 = Object.assign(uJe, {
success: K9.success,
info: K9.info,
warning: K9.warning,
@@ -81306,20 +81291,20 @@ var Qqe = (e) => {
getHistory: () => K9.toasts,
getToasts: () => K9.getActiveToasts()
});
-Zqe("[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%)}");
+Qqe("[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 J9(e) {
return e.label !== void 0;
}
-var dJe = 3, fJe = "24px", pJe = "16px", Y9 = 4e3, mJe = 356, hJe = 14, gJe = 45, _Je = 200;
+var fJe = 3, pJe = "24px", mJe = "16px", Y9 = 4e3, hJe = 356, gJe = 14, _Je = 45, vJe = 200;
function X9(...e) {
return e.filter(Boolean).join(" ");
}
-function vJe(e) {
+function yJe(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var yJe = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = R.useState(null), [O, k] = R.useState(null), [A, j] = R.useState(!1), [M, N] = R.useState(!1), [ee, te] = R.useState(!1), [P, F] = R.useState(!1), [ne, re] = R.useState(!1), [ie, ae] = R.useState(0), [oe, se] = R.useState(0), ce = R.useRef(n.duration || y || Y9), le = R.useRef(null), ue = R.useRef(null), de = c === 0, fe = c + 1 <= o, I = n.type, pe = I ?? "default", me = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = R.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = R.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = R.useMemo(() => n.duration || y || Y9, [n.duration, y]), be = R.useRef(0), L = R.useRef(0), xe = R.useRef(0), Se = R.useRef(null), [Ce, we] = b.split("-"), Te = R.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), Ee = oJe(), De = R.useMemo(() => e.swipeDirections ?? vJe(b), [e.swipeDirections, b]), Oe = n.invert || t, ke = I === "loading";
+var bJe = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = R.useState(null), [O, k] = R.useState(null), [A, j] = R.useState(!1), [M, N] = R.useState(!1), [ee, te] = R.useState(!1), [P, F] = R.useState(!1), [ne, re] = R.useState(!1), [ie, ae] = R.useState(0), [oe, se] = R.useState(0), ce = R.useRef(n.duration || y || Y9), le = R.useRef(null), ue = R.useRef(null), de = c === 0, fe = c + 1 <= o, I = n.type, pe = I ?? "default", me = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = R.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = R.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = R.useMemo(() => n.duration || y || Y9, [n.duration, y]), be = R.useRef(0), L = R.useRef(0), xe = R.useRef(0), Se = R.useRef(null), [Ce, we] = b.split("-"), Te = R.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), Ee = sJe(), De = R.useMemo(() => e.swipeDirections ?? yJe(b), [e.swipeDirections, b]), Oe = n.invert || t, ke = I === "loading";
L.current = R.useMemo(() => _e * x + Te, [_e, Te]), R.useEffect(() => {
ce.current = ye;
}, [ye]), R.useEffect(() => {
@@ -81360,7 +81345,7 @@ var yJe = (e) => {
let Ae = R.useCallback(() => {
N(!0), ae(L.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, _Je);
+ }, vJe);
}, [
n,
d,
@@ -81393,12 +81378,12 @@ var yJe = (e) => {
return w?.loading ? /*#__PURE__*/ R.createElement("div", {
className: X9(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": I === "loading"
- }, w.loading) : /*#__PURE__*/ R.createElement(eJe, {
+ }, w.loading) : /*#__PURE__*/ R.createElement(tJe, {
className: X9(C?.loader, n?.classNames?.loader),
visible: I === "loading"
});
}
- let Me = n.icon || w?.[I] || Qqe(I);
+ let Me = n.icon || w?.[I] || $qe(I);
return /*#__PURE__*/ R.createElement("li", {
tabIndex: 0,
ref: ue,
@@ -81445,7 +81430,7 @@ var yJe = (e) => {
if (P || !me) return;
Se.current = null;
let e = Number(ue.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ue.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - le.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? De.includes(e > 0 ? "right" : "left") : De.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= gJe || a > .11)) {
+ if ((E === "x" ? De.includes(e > 0 ? "right" : "left") : De.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= _Je || a > .11)) {
ae(L.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Ae(), F(!0);
return;
}
@@ -81486,7 +81471,7 @@ var yJe = (e) => {
Ae(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: X9(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? aJe) : null, (I || n.icon || n.promise) && n.icon !== null && (w?.[I] !== null || n.icon) ? /*#__PURE__*/ R.createElement("div", {
+ }, w?.close ?? oJe) : null, (I || n.icon || n.promise) && n.icon !== null && (w?.[I] !== null || n.icon) ? /*#__PURE__*/ R.createElement("div", {
"data-icon": "",
className: X9(C?.icon, n?.classNames?.icon)
}, I === "loading" ? n.icon || je() : n.promise ? je() : null, I === "loading" ? null : Me) : null, /*#__PURE__*/ R.createElement("div", {
@@ -81521,10 +81506,10 @@ function Z9() {
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function bJe(e, t) {
+function xJe(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? pJe : fJe;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? mJe : pJe;
function o(e) {
[
"top",
@@ -81545,8 +81530,8 @@ function bJe(e, t) {
}) : o(a);
}), n;
}
-var xJe = /*#__PURE__*/ R.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 = dJe, toastOptions: g, dir: _ = Z9(), gap: v = hJe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = R.useState([]), w = R.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = R.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = R.useState([]), [O, k] = R.useState(!1), [A, j] = R.useState(!1), [M, N] = R.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = R.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = R.useRef(null), F = R.useRef(!1), ne = R.useCallback((e) => {
+var SJe = /*#__PURE__*/ R.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 = fJe, toastOptions: g, dir: _ = Z9(), gap: v = gJe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = R.useState([]), w = R.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = R.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = R.useState([]), [O, k] = R.useState(!1), [A, j] = R.useState(!1), [M, N] = R.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = R.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = R.useRef(null), F = R.useRef(!1), ne = R.useCallback((e) => {
C((t) => (t.find((t) => t.id === e.id)?.delete || K9.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
return R.useEffect(() => K9.subscribe((e) => {
@@ -81632,10 +81617,10 @@ var xJe = /*#__PURE__*/ R.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${mJe}px`,
+ "--width": `${hJe}px`,
"--gap": `${v}px`,
...m,
- ...bJe(l, u)
+ ...xJe(l, u)
},
onBlur: (e) => {
F.current && !e.currentTarget.contains(e.relatedTarget) && (F.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));
@@ -81653,7 +81638,7 @@ var xJe = /*#__PURE__*/ R.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);
},
onPointerUp: () => j(!1)
- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ R.createElement(yJe, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ R.createElement(bJe, {
key: n.id,
icons: y,
index: i,
@@ -81687,8 +81672,8 @@ var xJe = /*#__PURE__*/ R.forwardRef(function(e, t) {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), $9 = !1, SJe = (e, t) => {
- $9 || ($9 = !0, (0, ip.createRoot)(e).render(/* @__PURE__ */ (0, B.jsx)(xJe, {
+}), $9 = !1, CJe = (e, t) => {
+ $9 || ($9 = !0, (0, ip.createRoot)(e).render(/* @__PURE__ */ (0, B.jsx)(SJe, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -81709,7 +81694,7 @@ var xJe = /*#__PURE__*/ R.forwardRef(function(e, t) {
error: Q9(t.error, !1)
}
})));
-}, CJe = (e, t) => {
+}, wJe = (e, t) => {
let n = t.alert ? q9.error : q9.success, r = t.action;
n(/* @__PURE__ */ (0, B.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
@@ -81723,4 +81708,4 @@ var xJe = /*#__PURE__*/ R.forwardRef(function(e, t) {
});
};
//#endregion
-export { Une as configureBatchDock, Gne as configureGlowPicker, Mie as configureImmerse, Vie as configureManageHeader, NGe as configureRouter, eKe as configureSettingsPanel, hKe as configureSidebar, Xqe as configureStage, SJe as mountToaster, hWe as prefetchManagedRoute, CJe as showToast };
+export { Une as configureBatchDock, Gne as configureGlowPicker, Mie as configureImmerse, Vie as configureManageHeader, PGe as configureRouter, tKe as configureSettingsPanel, gKe as configureSidebar, Zqe as configureStage, CJe as mountToaster, hWe as prefetchManagedRoute, wJe as showToast };