Skip to content

armgit / peach

Public Imported from GitHub
0

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

feat(entity): 补齐厂牌和事务所公司资料

longmeidaod1c35507d514
diff --git a/README.en.md b/README.en.md
index 5260bef73..0d6b1e0ae 100644
--- a/README.en.md
+++ b/README.en.md
@@ -34,6 +34,7 @@ https://github.com/user-attachments/assets/a5610874-e611-41bb-be22-7d99f0d64b62
- **Cloud and local together**: once 115 or PikPak is mounted as a local drive with CloudDrive2, its videos join the same library as your hard drives.
- **Mount status**: media directories are checked periodically. A failed read is checked again before the tray and video page show the affected source and reason. Scans skip NAS recycle bins and system folders.
- **Your data stays on your computer**: watch history, favorites and settings are stored locally. When filling in details, Peach only sends the video code or performer name to source sites. With cloud download, a magnet link goes only to the cloud drive you pick.
+- **Company profiles**: studio and agency pages can show company names, foundation dates, brand launch dates, locations and operating relationships when sourced information is available.
## Screenshots
diff --git a/README.md b/README.md
index c73bf146d..fd92273e1 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,7 @@ https://github.com/user-attachments/assets/a5610874-e611-41bb-be22-7d99f0d64b62
- **网盘和本地一起看**:115、PikPak 用 CloudDrive2 挂载成本地磁盘后,和硬盘里的片子进同一个馆藏。
- **挂载状态**:定期检查媒体目录;读取失败会复查,确认后在托盘和作品页说明来源及原因。扫描跳过 NAS 回收站与系统目录。
- **数据留在自己电脑上**:观看记录、收藏和设置都存在本机;补资料时只向来源站点发送番号或女优名;用云下载时,磁力只交给你选的网盘。
+- **公司资料**:厂牌和事务所可显示公司名称、成立日期、品牌启动日期、所在地及运营归属;只显示有来源的资料。
## 截图
diff --git a/docs/REUSE.md b/docs/REUSE.md
index 33038d52e..7d6fe6ea2 100644
--- a/docs/REUSE.md
+++ b/docs/REUSE.md
@@ -8,6 +8,8 @@ Babepedia 主图库和 Vixen 网络公开 GraphQL 的字段核对 [Stash Communi
## 实体身份与职业
+公司资料复用 `entity.metadata_json`、HTTPX、官网公司概要表和定义列表、实体链接安装器与标识采集器。`company_profiles` 按字段保存公开出处、原文和批次,只填空;集团公司表按实体限定范围,公司成立与品牌启动分列,运营主体、发行商和集团不互相推导。目录页面不作独立公司官网。`harvest_company_profiles.py` 默认产复核 JSON,`--input --apply --backup --batch` 才落库,候选不落库,来源冲突留在产物;别名碰撞不写。`revert_auto_landing.py` 可撤回同批公司字段、链接、别名及标识,无新增依赖。
+
Babepedia 资料采集复用 `babepedia_page` 的主名与别名交叉核对、`performer_profiles` 的整行来源保护和 `performer_alias_followup.land` 的占用检查。英文艺名只在明确允许的来源中登记,JAV 后继保留自己的名字策略。真人账号与出演者共用资料表、别名分组与头像候选;保留账号角色及旧地址。主图可以补空头像,本人档案图库仅作候选,推荐人物排除,单图失败继续其余有限候选。`harvest_western_profiles.py` 每轮至多 16 位,计划、备份、回执与批次撤回齐备;既有资料和头像保留。真实只读复核取得 Ria Kurumi 等 16 份匹配档案,无新增依赖。
身份分类复用 `entity`、来源关系、`field_owners`、SQLite 迁移与版本触发器。职业与账号角色使用独立多值断言,跨角色身份使用可撤回关系;[Schema.org Person](https://schema.org/Person) 的 `hasOccupation`、`sameAs` 与 [Role](https://schema.org/Role) 提供语义参照,2026-10-06 已核对官方文档。实现不复制外部解析器或新增依赖。目录推断和搜索命中只存候选,公开来源事实与用户复核分别保留状态。
diff --git a/docs/STATUS.md b/docs/STATUS.md
index 48dfa0b36..914e43152 100644
--- a/docs/STATUS.md
+++ b/docs/STATUS.md
@@ -7,9 +7,10 @@
## 运行态
- 分类:素人须有非职业出演证据;职业女优不归素人,FC2 与题材只筛作品;账号分网黄博主、卖家、动画作者。
-- 目录归属修复 652 条;StraplessDildo 归厂牌并接官网标识,4 项来源未取得。回执见 `peach-data/review/`。
-- 身份:18 组同人共用资料,旧址跳转;FC2 分段按作品计数,文件保留。
-- JAV 头像 816 张(中位脸宽 258px,38 张水印待复核);档案 17 位、14 位头像候选 253 张、2 张官方封面。
+- 公司资料按公开来源填空,缺项隐藏;回执见 `peach-data/review/`。
+- 目录归属修复 652 条;StraplessDildo 归厂牌,4 项来源未取得。
+- 身份合并 18 组,旧址跳转;FC2 分段按作品计数,文件保留。
+- JAV 头像 816 张,38 张水印待复核;17 位档案、253 张头像候选、2 张官方封面。
- 「整理」(ADR-0039)可预览、执行、回滚,真实库未跑过。
- 产地是独立维度、JAV 是其投影:`region` 空时按厂牌、创作者、番号逐层推断,不落库;韩国 MIB 不算 JAV。
- Windows writer 支持异常恢复;`restart_windows_tray.py --source` 重启。内置盘存代码数据,外置盘供媒体。
diff --git a/frontend/e2e/design.test.ts b/frontend/e2e/design.test.ts
index 5e88ccf22..3cbb3558c 100644
--- a/frontend/e2e/design.test.ts
+++ b/frontend/e2e/design.test.ts
@@ -3396,6 +3396,31 @@ describe('设计决定', () => {
});
}
+ for (const viewport of [DESKTOP, MOBILE]) {
+ it(`公司资料页显示公司与品牌事实且长地址可折行(${viewport.name})`, { timeout: 60_000 }, async () => {
+ const fact = (value: string) => ({ value, source_url: 'https://company.example/about' });
+ const opened = await openProfiledPerformer(browser, viewport, 'light', {
+ kind: 'studio', canonical_name: 'Company', profile: undefined, agency: undefined,
+ company_profile: { legal_name: fact('Example Company, LLC'), founded: fact('2002-05'),
+ launched: fact('2016'), operator: fact('General Media Systems, LLC'),
+ location: fact('LongOfficeAddressWithoutSpaces'.repeat(5)) },
+ });
+ try {
+ await opened.page.goto(new URL('/studios/Company', opened.page.url()).href, { waitUntil: 'load' });
+ await opened.page.locator('[data-entity-facts]').waitFor();
+ await settle(opened.page);
+ const geometry = await heroGeometry(opened.page);
+ assert.deepEqual(geometry.labels, ['公司名称', '公司成立', '品牌启动', '所在地', '运营公司']);
+ assert.equal(geometry.heroScrolls, false);
+ assert.ok(geometry.hero && geometry.facts && geometry.facts.right <= geometry.hero.right + 1);
+ assert.equal(await opened.page.locator('[data-entity-facts] [title]').count(), 0);
+ const page_ = await layout(opened.page);
+ assert.ok(page_.scrollWidth <= page_.viewportWidth);
+ assert.deepEqual(opened.problems, []);
+ } finally { await opened.close(); }
+ });
+ }
+
it('女优页头名字下面一行:视频数、事务所与读音加前三个别名,外链一律 36px 纯图标方块', { timeout: 60_000 }, async () => {
const opened = await openProfiledPerformer(browser, DESKTOP);
try {
diff --git a/frontend/src/react/entity-hero/entity-hero-page.tsx b/frontend/src/react/entity-hero/entity-hero-page.tsx
index b621d39f5..cd40fbb6b 100644
--- a/frontend/src/react/entity-hero/entity-hero-page.tsx
+++ b/frontend/src/react/entity-hero/entity-hero-page.tsx
@@ -19,7 +19,7 @@ import { Glyph } from './glyph';
import { FeedSwitch, MorePop } from './hero-pop';
import { NamePicker } from './name-picker';
import {
- agencyOf, entityFeedTip, entryMarks, factRows, heroLinks, isCompany, isPeople, nameChoices, nameLine, shownTags,
+ agencyOf, companyFactRows, entityFeedTip, entryMarks, factRows, heroLinks, isCompany, isPeople, nameChoices, nameLine, shownTags,
type EntityHeroActions, type EntityHeroData, type EntityHeroHelpers, type EntityHeroProps,
type HeroCostar, type LinkMark, type LinkView,
} from './entity-hero';
@@ -35,7 +35,7 @@ function costarImg(person: HeroCostar): string {
export function EntityHeroPage({ kind, name, entity, feedNew, feedHost, actions, helpers }: EntityHeroProps) {
const people = isPeople(kind);
const company = isCompany(kind);
- const facts = people ? factRows(entity.profile) : [];
+ const facts = people ? factRows(entity.profile) : company ? companyFactRows(entity.company_profile) : [];
const links = heroLinks(entity, kind);
const marks = entryMarks(entity);
const costars = kind === 'agency' ? [] : (entity.related_performers || []);
diff --git a/frontend/src/react/entity-hero/entity-hero.css b/frontend/src/react/entity-hero/entity-hero.css
index 6a070dfa8..5a7ee664a 100644
--- a/frontend/src/react/entity-hero/entity-hero.css
+++ b/frontend/src/react/entity-hero/entity-hero.css
@@ -296,7 +296,7 @@
color: var(--muted);
white-space: nowrap;
}
-.peach-react [data-entity-facts] dd { min-width: 0; margin: 0; color: var(--ink); }
+.peach-react [data-entity-facts] dd { min-width: 0; margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.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"] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
diff --git a/frontend/src/react/entity-hero/entity-hero.ts b/frontend/src/react/entity-hero/entity-hero.ts
index 242c3a6a7..410fcbdbc 100644
--- a/frontend/src/react/entity-hero/entity-hero.ts
+++ b/frontend/src/react/entity-hero/entity-hero.ts
@@ -64,6 +64,7 @@ export interface HeroNameGroups {
/** `/api/entity` 里资料卡读到的那些字段。 */
export interface EntityHeroData {
+ company_profile?: Partial<Record<'legal_name' | 'founded' | 'launched' | 'country' | 'location' | 'operator' | 'parent' | 'group' | 'distributor', { value: string; source_url: string; evidence?: string }>>;
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 }[];
@@ -215,6 +216,19 @@ export interface FactRow {
tags?: string[] | undefined;
}
+/** 公司资料每格表达独立事实;没有数据的格子不显示。 */
+export function companyFactRows(profile: EntityHeroData['company_profile']): FactRow[] {
+ const fields = [
+ ['legal_name', '公司名称', 'briefcase'], ['founded', '公司成立', 'calendar'],
+ ['launched', '品牌启动', 'flag'], ['country', '国家/地区', 'globe'],
+ ['location', '所在地', 'globe'], ['operator', '运营公司', 'briefcase'], ['parent', '母公司', 'briefcase'],
+ ['group', '所属集团', 'briefcase'], ['distributor', '发行商', 'film'],
+ ] as const;
+ return fields.flatMap(([key, label, glyph]) => profile?.[key]?.value?.trim()
+ ? [{ label, glyph, parts: [{ text: profile[key]!.value, tone: 'plain' as const }] }]
+ : []);
+}
+
/** 资料表的五项:生日、身材、出道、生涯、标签。有哪项画哪项。仍在活跃的写「至今」。 */
export function factRows(p: HeroProfile | null | undefined): FactRow[] {
if (!p) return [];
diff --git a/frontend/test/react/entity-hero.test.tsx b/frontend/test/react/entity-hero.test.tsx
index e2984410a..e8f24a1e2 100644
--- a/frontend/test/react/entity-hero.test.tsx
+++ b/frontend/test/react/entity-hero.test.tsx
@@ -53,6 +53,21 @@ async function open(initial: EntityHeroProps) {
}
describe('排版用的纯函数', () => {
+ it('厂牌与事务所显示独立的公司资料,不显示来源悬浮说明', async () => {
+ const host = await open(props({ kind: 'studio', name: 'Brand', entity: {
+ id: 1, canonical_name: 'Brand', asset_count: 3,
+ company_profile: {
+ founded: { value: '2002-05', source_url: 'https://brand.example/company' },
+ launched: { value: '2003', source_url: 'https://brand.example/company' },
+ operator: { value: 'Brand株式会社', source_url: 'https://brand.example/company' },
+ },
+ } }));
+ const facts = host.querySelector('[data-entity-facts]')!;
+ expect(facts.textContent).toContain('公司成立2002-05');
+ expect(facts.textContent).toContain('品牌启动2003');
+ expect(facts.textContent).toContain('运营公司Brand株式会社');
+ expect(facts.querySelector('[title]')).toBeNull();
+ });
it('真人账号与女优共用资料、别名和图标行', async () => {
const host = await open(props({ kind: 'creator', name: 'RiaKurumi', entity: performer({
canonical_name: 'RiaKurumi', identity_labels: ['女优','网黄博主'],
diff --git a/scripts/harvest_company_profiles.py b/scripts/harvest_company_profiles.py
new file mode 100644
index 000000000..90230cb9e
--- /dev/null
+++ b/scripts/harvest_company_profiles.py
@@ -0,0 +1,171 @@
+"""逐家采集公开公司资料;默认只生成可复核的 JSON,不写账本。"""
+from __future__ import annotations
+
+import argparse
+import json
+import sys
+from concurrent.futures import ThreadPoolExecutor, as_completed
+from pathlib import Path
+from urllib.parse import urlsplit
+
+sys.path.insert(0, str(Path(__file__).resolve().parents[1] / 'src'))
+
+from peach.company_profiles import extract_for_entity, brand_facts, fill, fill_aliases # noqa: E402
+from peach.http import HttpRequest, HttpxTransport, body_text # noqa: E402
+from peach.scripting import (USER_AGENT, HostLimiter, add_ledger_write_args, counts_of,
+ open_for_write, open_readonly, verify_after_write) # noqa: E402
+from peach.studio_sites import parked_reason, page_title # noqa: E402
+from find_studio_socials import affirmative_link # noqa: E402
+from install_entity_links import plan, check_links, install # noqa: E402
+
+
+def scan(entity: dict, root: Path, limiter: HostLimiter) -> dict:
+ result = {'entity_id': entity['id'], 'kind': entity['kind'], 'name': entity['canonical_name'],
+ 'facts': {}, 'pages': [], 'conflicts': [], 'socials': [], 'status': '未取得'}
+ urls = [link['url'] for link in entity['links'] if link['link_kind'] == 'official'
+ and link['url'].startswith('https://') and 'web.archive.org' not in link['url']][:2]
+ if not urls:
+ result['reason'] = '没有可访问的已确认官网;存档官网另行复核'
+ return result
+ http = HttpxTransport()
+ try:
+ visited = set()
+ while urls and len(visited) < 5:
+ url = urls.pop(0)
+ if url in visited:
+ continue
+ visited.add(url)
+ limiter.wait(url)
+ try:
+ response = http(HttpRequest('GET', url, {'User-Agent': USER_AGENT}), 7.0, 2 << 20)
+ status = response.status
+ final = response.url or url
+ item = {'url': url, 'final_url': final, 'http_status': status}
+ result['pages'].append(item)
+ if status != 200:
+ item['reason'] = f'HTTP {status}'
+ if status in {403, 429}:
+ break
+ continue
+ html = body_text(response.body, response.headers)
+ reason = parked_reason(page_title(response.body), html, str(response.headers), final)
+ if reason:
+ item['reason'] = reason
+ continue
+ # 域名改变需要重新核对身份,不跟随新站自动写入。
+ if (urlsplit(final).hostname or '').removeprefix('www.') != (urlsplit(url).hostname or '').removeprefix('www.'):
+ item['reason'] = '官网重定向到其他域名,需要身份复核'
+ continue
+ file = root / f"{entity['id']}-{len(visited)}.html"
+ file.write_text(html, encoding='utf-8')
+ item['cache'] = str(file)
+ parsed = extract_for_entity(html, final, entity['canonical_name'])
+ parsed['facts'].update(brand_facts(html, final, entity['canonical_name']))
+ for key, fact in parsed['facts'].items():
+ held = result['facts'].get(key)
+ if held and held['value'] != fact['value']:
+ result['conflicts'].append({'field': key, 'values': [held, fact]})
+ else:
+ result['facts'][key] = fact
+ result['conflicts'].extend(parsed['conflicts'])
+ result['socials'].extend(parsed['socials'])
+ for target in parsed['company_pages']:
+ if target not in visited and target not in urls:
+ urls.append(target)
+ gate = affirmative_link(html, final)
+ if gate and gate not in visited:
+ urls.insert(0, gate)
+ result['status'] = '已核查'
+ except Exception as error:
+ result['pages'].append({'url': url, 'reason': f'{type(error).__name__}: {str(error)[:150]}'})
+ for conflict in result['conflicts']:
+ result['facts'].pop(conflict['field'], None)
+ finally:
+ http.close()
+ return result
+
+
+def land(args: argparse.Namespace) -> int:
+ """写入已观测的填空清单,保存计数、出处与回执。"""
+ rows = json.loads(args.input.read_text(encoding='utf-8'))['entities']
+ connection = open_for_write(args)
+ try:
+ before = counts_of(connection)
+ before_fk = connection.execute('PRAGMA foreign_key_check').fetchall()
+ changes = []
+ link_rows = [link for row in rows if row.get('status') != 'candidate'
+ for link in row.get('links', []) if link.get('status') == 'observed']
+ links = plan(connection, link_rows)
+ check_links(links)
+ for link in links:
+ if link['action'] == 'relabel':
+ link.update(action='skip', reason='保留既有链接标签')
+ for row in rows:
+ if row.get('status') == 'candidate':
+ changes.append({'entity_id': row['entity_id'], 'skipped': '候选尚未复核'})
+ continue
+ facts = {key: fact for key, fact in row.get('facts', {}).items()
+ if fact.get('status') == 'observed'}
+ if args.apply:
+ changes.append({'entity_id': row['entity_id'], **fill(connection, row['entity_id'], facts, source='auto:company-profile', batch=args.batch),
+ 'aliases_written': fill_aliases(connection, row['entity_id'], row.get('aliases', []), batch=args.batch)})
+ else:
+ changes.append({'entity_id': row['entity_id'], 'planned': list(facts)})
+ if args.apply:
+ links_written = install(connection, links, 'auto:company-profile', batch=args.batch)
+ connection.commit()
+ after = counts_of(connection)
+ integrity, foreign_keys = verify_after_write(connection)
+ receipt = {'apply': args.apply, 'before': before, 'after': after, 'integrity': integrity,
+ 'foreign_keys_before': len(before_fk), 'foreign_keys_after': foreign_keys, 'changes': changes,
+ 'links': links, 'links_written': links_written if args.apply else 0}
+ args.output.write_text(json.dumps(receipt, ensure_ascii=False, indent=2), encoding='utf-8')
+ print(json.dumps({'entities_changed': sum(bool(row.get('written')) for row in changes), 'fields_written': sum(len(row.get('written', [])) for row in changes), 'integrity': integrity, 'foreign_keys': foreign_keys}))
+ return 0 if integrity == 'ok' and foreign_keys == len(before_fk) else 1
+ finally:
+ connection.close()
+
+
+def main() -> int:
+ parser = argparse.ArgumentParser(description=__doc__)
+ add_ledger_write_args(parser)
+ parser.add_argument('--inventory', type=Path)
+ parser.add_argument('--output', type=Path, required=True)
+ parser.add_argument('--cache', type=Path)
+ parser.add_argument('--input', type=Path)
+ parser.add_argument('--resume', action='store_true')
+ parser.add_argument('--batch', default='')
+ args = parser.parse_args()
+ if args.input:
+ if args.apply and not args.batch:
+ parser.error('--apply 需要 --batch 记录可撤回的批次')
+ return land(args)
+ if args.inventory:
+ entities = json.loads(args.inventory.read_text(encoding='utf-8'))['entities']
+ else:
+ with open_readonly(args.db) as connection:
+ entities = []
+ for row in connection.execute("SELECT id,kind,canonical_name FROM entity WHERE kind IN ('studio','agency') ORDER BY id"):
+ item = dict(row)
+ item['links'] = [dict(link) for link in connection.execute("SELECT link_kind,url FROM entity_link WHERE entity_id=?", (item['id'],))]
+ entities.append(item)
+ if args.cache is None:
+ parser.error('采集需要 --cache 保存原始页面')
+ args.cache.mkdir(parents=True, exist_ok=True)
+ results = json.loads(args.output.read_text(encoding='utf-8'))['entities'] if args.resume and args.output.exists() else []
+ done = {item['entity_id'] for item in results if item['status'] == '已核查'
+ or item.get('reason') or any(page.get('http_status') in {403, 429} for page in item['pages'])}
+ results = [item for item in results if item['entity_id'] in done]
+ limiter = HostLimiter({}, default_interval=1.5)
+ with ThreadPoolExecutor(max_workers=3) as workers:
+ futures = {workers.submit(scan, entity, args.cache, limiter): entity for entity in entities if entity['id'] not in done}
+ for future in as_completed(futures):
+ result = future.result()
+ results.append(result)
+ args.output.write_text(json.dumps({'entities': results}, ensure_ascii=False, indent=2), encoding='utf-8')
+ print(f"{len(results)}/{len(entities)} {result['name']} {result['status']} {list(result['facts'])}", flush=True)
+ return 0
+
+
+if __name__ == '__main__':
+ raise SystemExit(main())
diff --git a/scripts/install_entity_links.py b/scripts/install_entity_links.py
index bceed4ba5..1b7f45281 100644
--- a/scripts/install_entity_links.py
+++ b/scripts/install_entity_links.py
@@ -262,13 +262,15 @@ def dead_links(connection: sqlite3.Connection, interval: float = 0.4, probe=None
return out
-def install(connection: sqlite3.Connection, planned: list[dict], source: str) -> int:
+def install(connection: sqlite3.Connection, planned: list[dict], source: str, *, batch: str = '') -> int:
now = datetime.now(timezone.utc).isoformat()
written = 0
for item in planned:
if item["action"] != "insert":
continue
metadata = {"source": source, "installed_at": now}
+ if batch:
+ metadata['batch'] = batch
if item["evidence"]:
metadata["evidence"] = item["evidence"]
connection.execute(
diff --git a/scripts/revert_auto_landing.py b/scripts/revert_auto_landing.py
index 237baaa4b..6dab0f41b 100644
--- a/scripts/revert_auto_landing.py
+++ b/scripts/revert_auto_landing.py
@@ -50,7 +50,7 @@ from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parents[1] / "src"))
-from peach import record_rehome, sample_images, wants # noqa: E402
+from peach import company_profiles, record_rehome, sample_images, wants # noqa: E402
from peach.config import GENERATED_DIR # noqa: E402
from peach.metadata_auto_apply import UNION_TAGS_SOURCE # noqa: E402
from peach.scripting import add_ledger_write_args, open_for_write, verify_after_write # noqa: E402
@@ -250,6 +250,14 @@ def build_parser() -> argparse.ArgumentParser:
return parser
+def print_profiles(profiles: list[dict], companies: list[dict]) -> None:
+ """显示逐行人物资料与逐字段公司资料的撤回清单。"""
+ for profile in profiles:
+ print(f" - 资料 {profile['entity'][:20]:<20} {profile['source']}")
+ for company in companies:
+ print(f" - 公司资料 {company['entity']}: {','.join(company['fields'])}")
+
+
def main(argv: list[str] | None = None) -> int:
args = build_parser().parse_args(argv)
connection = open_for_write(args)
@@ -257,6 +265,7 @@ def main(argv: list[str] | None = None) -> int:
links = planned_links(connection, args.source, args.batch)
aliases = planned_aliases(connection, args.source, args.batch)
profiles = planned_profiles(connection, args.source, args.batch)
+ companies = company_profiles.planned_revert(connection, args.source, args.batch)
refs = planned_refs(connection, args.source, args.batch)
memberships = planned_memberships(connection, args.source, args.batch)
makers = planned_makers(connection, args.source, args.batch)
@@ -271,8 +280,7 @@ def main(argv: list[str] | None = None) -> int:
print(f" - 链接 {link['entity'][:20]:<20} {link['url'][:56]} {link['batch']}")
for alias in aliases:
print(f" - 别名 {alias['entity'][:20]:<20} {alias['alias'][:40]} {alias['source']}")
- for profile in profiles:
- print(f" - 资料 {profile['entity'][:20]:<20} {profile['source']}")
+ print_profiles(profiles, companies)
for ref in refs:
print(f" - 编号 {ref['entity'][:20]:<20} {ref['provider']} {ref['id']} {ref['batch']}")
for membership in memberships:
@@ -290,7 +298,7 @@ def main(argv: list[str] | None = None) -> int:
for rehome in rehomes:
print(f" - 接回 {rehome['old_asset_id']:<8} → {rehome['new_asset_id']:<8} "
f"{rehome['name'][:40]} {rehome['batch']}")
- print({"链接": len(links), "别名": len(aliases), "资料": len(profiles), "编号": len(refs),
+ print({"链接": len(links), "别名": len(aliases), "资料": len(profiles), "公司资料": len(companies), "编号": len(refs),
"归属": len(memberships), "片商": len(makers), "标识文件": len(files),
"样张": sum(sample["count"] for sample in samples), "否决": len(rejections),
"标签": len(tags), "接回": len(rehomes), "想要入库": len(acquired)})
@@ -298,6 +306,7 @@ def main(argv: list[str] | None = None) -> int:
print("dry-run;确认无误后加 --apply --backup <路径>")
return 0
with connection:
+ company_profiles.revert(connection, companies)
connection.executemany("DELETE FROM entity_link WHERE id=?",
[(link["id"],) for link in links])
connection.executemany(
diff --git a/scripts/test_runner.py b/scripts/test_runner.py
index 239e2221b..628fdec20 100644
--- a/scripts/test_runner.py
+++ b/scripts/test_runner.py
@@ -36,7 +36,7 @@ SCOPES: dict[str, tuple[str, ...]] = {
"catalog": ("test_ad_judgement.py", "test_composite_name_split.py", "test_media_libraries.py",
"test_content_region.py",
"test_duplicate_identity_merge.py",
- "test_entity_classification.py",
+ "test_entity_classification.py", "test_company_profiles.py",
"test_entity_merge.py", "test_entity_redirect.py", "test_fastapi_api.py", "test_field_owners.py",
"test_migrations.py",
"test_review_mirror.py", "test_rm_web.py",
@@ -89,7 +89,7 @@ SCOPES: dict[str, tuple[str, ...]] = {
"test_duplicate_identity_merge.py", "test_entity_merge.py", "test_entity_redirect.py",
"test_migrations.py",
"test_entity_link_install.py", "test_studio_site_harvest.py",
- "test_studio_followup.py", "test_sample_images.py",
+ "test_studio_followup.py", "test_sample_images.py", "test_company_profiles.py",
"test_performer_link_harvest.py", "test_directory_link_harvest.py",
"test_minnano_av.py", "test_agency_roster_harvest.py",
"test_performer_agency_resync.py",
@@ -133,7 +133,7 @@ SCOPES: dict[str, tuple[str, ...]] = {
"test_agency_entity.py", "test_label_maker.py", "test_dependency_policy.py",
"test_desktop_settings.py", "test_dev_copy.py",
"test_fastapi_api.py", "test_follow_assets.py", "test_follow_web.py",
- "test_metadata_library.py", "test_studio_icon_variants.py", "test_web_settings.py"),
+ "test_metadata_library.py", "test_studio_icon_variants.py", "test_web_settings.py", "test_company_profiles.py"),
"core": ("test_access.py", "test_auth.py", "test_config.py", "test_field_owners.py",
"test_entity_classification.py",
"test_migrations.py", "test_ledger_revision.py",
@@ -197,6 +197,8 @@ AUTO_SCOPE_FILES: dict[str, tuple[str, ...]] = {
# 厂牌判据由命令行与后继共用,两边的测试分住 catalog、metadata 与 web。
"src/peach/studio_icons.py": ("catalog", "metadata", "web"),
"src/peach/studio_sites.py": ("catalog", "metadata"),
+ "src/peach/company_profiles.py": ("catalog", "metadata", "web"),
+ "scripts/harvest_company_profiles.py": ("catalog", "metadata", "web", "tooling"),
# 失效标记由资料页、网页链接体检、维护脚本与种子导出共用。
"src/peach/link_status.py": ("catalog", "metadata", "tooling", "web"),
"scripts/revert_auto_landing.py": ("catalog", "metadata", "tooling"),
diff --git a/src/peach/company_profiles.py b/src/peach/company_profiles.py
new file mode 100644
index 000000000..9adc83037
--- /dev/null
+++ b/src/peach/company_profiles.py
@@ -0,0 +1,294 @@
+"""公司资料的公开字段、逐字段来源和填空写入。
+
+厂牌与事务所资料保存在 entity.metadata_json.company_profile;不参与身份归并。
+成立日期、品牌启动与运营公司各有字段。每格保存来源 URL、原文和批次,自动结果只填空。
+"""
+from __future__ import annotations
+
+import json
+import re
+import sqlite3
+from datetime import datetime, timezone
+from urllib.parse import urljoin, urlsplit
+
+from bs4 import BeautifulSoup
+
+from .http import public_https_url
+from .entities import normalize_entity_name
+
+KEY = 'company_profile'
+FIELDS = ('legal_name', 'founded', 'launched', 'country', 'location', 'operator', 'parent', 'group', 'distributor')
+LABELS = {
+ '会社名': 'legal_name', '社名': 'legal_name', '商号': 'legal_name',
+ '法人名': 'legal_name', 'companyname': 'legal_name',
+ '設立': 'founded', '設立年月日': 'founded', '設立年月': 'founded',
+ '創立': 'founded', '創業': 'founded', 'founded': 'founded',
+ 'ブランド設立': 'launched', 'レーベル設立': 'launched', 'ブランド開始': 'launched',
+ '所在地': 'location', '本社所在地': 'location', '本店所在地': 'location',
+ '住所': 'location', '本社': 'location', 'address': 'location', 'headquarters': 'location',
+ '運営会社': 'operator', '運営法人': 'operator', 'operatedby': 'operator',
+ '親会社': 'parent', 'parentcompany': 'parent',
+ '国': 'country', 'country': 'country',
+}
+COMPANY_LINK = re.compile(r'会社概要|企業情報|会社案内|特定商取引|about\s*(?:us)?|company\s*(?:profile)?|terms\s*(?:of|and|&)?\s*(?:service|use|conditions)|privacy\s*policy', re.I)
+SOCIAL_HOSTS = {'x.com', 'twitter.com', 'instagram.com', 'youtube.com', 'tiktok.com', 'facebook.com', 'threads.net', 'threads.com'}
+
+
+def _clean(value: str) -> str:
+ return re.sub(r'\s+', ' ', value).strip()
+
+
+def date_text(value: str) -> str | None:
+ """只接受明确日期或年份;不从版权、周年数字或公司简介里猜成立年。"""
+ value = value.strip()
+ era = re.fullmatch(r'(昭和|平成|令和)(元|\d{1,2})年(.*)', value)
+ if era:
+ offset = {'昭和': 1925, '平成': 1988, '令和': 2018}[era[1]]
+ value = f"{offset + (1 if era[2] == '元' else int(era[2]))}年{era[3]}"
+ match = re.fullmatch(r'(18\d{2}|19\d{2}|20\d{2})(?:[年/.-](\d{1,2})(?:[月/.-](\d{1,2})日?)?月?)?(?:年)?', value)
+ if not match:
+ return None
+ year, month, day = match.groups()
+ try:
+ datetime(int(year), int(month or 1), int(day or 1))
+ except ValueError:
+ return None
+ return year + (f'-{int(month):02d}' if month else '') + (f'-{int(day):02d}' if day else '')
+
+
+def _labelled_pairs(soup: BeautifulSoup) -> list[tuple[str, str]]:
+ """公司概要中的两列表格、定义列表与成对区块。"""
+ pairs = []
+ for row in soup.select('tr'):
+ cells = row.find_all(['th', 'td'], recursive=False)
+ if len(cells) == 2:
+ pairs.append((cells[0].get_text(' ', strip=True), cells[1].get_text(' ', strip=True)))
+ for label in soup.select('dt'):
+ value = label.find_next_sibling('dd')
+ if value:
+ pairs.append((label.get_text(' ', strip=True), value.get_text(' ', strip=True)))
+ for row in soup.select('div, li'):
+ cells = row.find_all(['div', 'span', 'p'], recursive=False)
+ if len(cells) == 2 and re.sub(r'[\s::]', '', cells[0].get_text()).casefold() in LABELS:
+ pairs.append((cells[0].get_text(' ', strip=True), cells[1].get_text(' ', strip=True)))
+ return pairs
+
+
+def _page_links(soup: BeautifulSoup, source_url: str) -> tuple[list, list]:
+ """同站公司资料入口与社媒候选;候选账号需要独立核对归属。"""
+ pages, socials = [], []
+ host = (urlsplit(source_url).hostname or '').removeprefix('www.')
+ for anchor in soup.select('a[href]'):
+ target = urljoin(source_url, str(anchor['href']))
+ target_host = (urlsplit(target).hostname or '').removeprefix('www.')
+ text = _clean(anchor.get_text(' ', strip=True))
+ if public_https_url(target) and target_host == host and len(text) < 65 and COMPANY_LINK.search(text):
+ if target not in pages:
+ pages.append(target)
+ if public_https_url(target) and target_host in SOCIAL_HOSTS:
+ path = urlsplit(target).path.strip('/')
+ if path and not re.search(r'(?:^|/)(?:intent|share|sharer|status|watch|search|embed)(?:/|$)', path):
+ socials.append({'url': target, 'label': text, 'source_url': source_url})
+ return pages[:3], socials
+
+
+def extract(html: str, source_url: str) -> dict:
+ """读取官网明确标注的字段,歧义字段留在 conflicts 中。"""
+ soup = BeautifulSoup(html, 'html.parser')
+ facts, conflicts = {}, []
+ for label, raw in _labelled_pairs(soup):
+ key = LABELS.get(re.sub(r'[\s::]', '', label).casefold())
+ raw = _clean(raw)
+ if not key or not raw or len(raw) > 240:
+ continue
+ value = date_text(raw) if key in {'founded', 'launched'} else raw
+ if key == 'location':
+ value = re.split(r'\s*(?:TEL\s*[::]|FAX\s*[::]|■|丸ノ内線)', raw, maxsplit=1, flags=re.I)[0].strip()
+ if not value:
+ continue
+ fact = {'value': value, 'source_url': source_url, 'evidence': f'{_clean(label)}:{raw}', 'status': 'observed'}
+ if key in facts and facts[key]['value'] != value:
+ conflicts.append({'field': key, 'values': [facts.pop(key), fact]})
+ elif not any(item['field'] == key for item in conflicts):
+ facts[key] = fact
+ pages, socials = _page_links(soup, source_url)
+ return {'facts': facts, 'conflicts': conflicts, 'company_pages': pages, 'socials': socials}
+
+
+def _vmg_facts(text: str, source_url: str, name: str) -> dict:
+ """VMG 的站点条款、品牌启动与官方品牌名录。"""
+ host = (urlsplit(source_url).hostname or '').removeprefix('www.')
+ facts = {}
+
+ def keep(key: str, value: str, evidence: str) -> None:
+ facts[key] = {'value': value, 'source_url': source_url, 'evidence': evidence, 'status': 'observed'}
+
+ if host in {'vixen.com', 'tushy.com', 'blacked.com'} and urlsplit(source_url).path == '/terms':
+ match = re.search(r'These terms of service are entered into between you and ([^.]+?)(?:\s*\(|\.)', text, re.I)
+ if match and name.casefold() == host.split('.')[0]:
+ keep('operator', match[1].strip(), match[0])
+ if host == 'vixengroup.com':
+ if urlsplit(source_url).path.rstrip('/') == '/vixen10' and name == 'Vixen':
+ match = re.search(r'\bSince (20\d{2})\.', text)
+ if match:
+ keep('launched', match[1], match[0])
+ listing = re.search(r'OUR BRANDS .*?Explore ([^.]+), all available on Vixen Plus', text)
+ if listing and name in {'Vixen', 'Tushy', 'Blacked'} and 'Vixen Media Group' in text:
+ names = [part.strip().removeprefix('and ') for part in listing[1].split(',')]
+ if name in names:
+ keep('group', 'Vixen Media Group', listing[0])
+ return facts
+
+
+def _corporate_events(soup: BeautifulSoup, text: str, source_url: str, name: str) -> dict:
+ """公司招聘页、法人沿革与分工陈述。"""
+ host = (urlsplit(source_url).hostname or '').removeprefix('www.')
+ facts = {}
+
+ def keep(key: str, value: str, evidence: str) -> None:
+ facts[key] = {'value': value, 'source_url': source_url, 'evidence': evidence, 'status': 'observed'}
+
+ if host == 'arwrk.net' and urlsplit(source_url).path == '/recruit/prestige-av/' and name == 'Prestige':
+ heading = soup.select_one('h1')
+ if heading and '有限会社プレステージ' in heading.get_text():
+ keep('legal_name', '有限会社プレステージ', heading.get_text(' ', strip=True))
+ if host == 'corporate.sod.co.jp' and name == 'SOD Create':
+ if '/business/softondemand' in source_url and 'SODクリエイト株式会社を設立。ソフト・オン・デマンドが販売・物流業務などを担う' in text:
+ keep('distributor', 'ソフト・オン・デマンド株式会社', 'SODクリエイト株式会社を設立。ソフト・オン・デマンドが販売・物流業務などを担う形になりました。')
+ if 'SODグループ' in text and 'SODクリエイト株式会社' in text:
+ keep('group', 'SODグループ', 'SODグループ:SODクリエイト株式会社')
+ if host == 't-powers.co.jp' and '/company' in source_url:
+ # 法人成立与2001年的集团创立是两件事,读取时间线里的法人事件。
+ for row in soup.select('dl, .p-company__history-list-item'):
+ year = row.select_one('dt, .p-company__history-list-year-text')
+ detail = row.select_one('dd, .p-company__history-list-desc')
+ if year and detail:
+ detail_text = _clean(detail.get_text(' ', strip=True))
+ if 'ティーパワーズ株式会社を設立' in detail_text:
+ date = date_text(year.get_text(strip=True))
+ if date:
+ keep('founded', date, f'{year.get_text(strip=True)} {detail_text}')
+ keep('legal_name', 'ティーパワーズ株式会社', detail_text)
+ return facts
+
+
+def brand_facts(html: str, source_url: str, name: str) -> dict:
+ """官方品牌页明确陈述的事实;运营主体与集团名录分别读取。"""
+ soup = BeautifulSoup(html, 'html.parser')
+ for node in soup(['script', 'style']):
+ node.decompose()
+ text = _clean(soup.get_text(' ', strip=True))
+ host = (urlsplit(source_url).hostname or '').removeprefix('www.')
+ facts = _vmg_facts(text, source_url, name)
+ facts.update(_corporate_events(soup, text, source_url, name))
+ if host == 'falenogroup.com' and name == '素人CLOVER' and '/makers' in source_url:
+ if 'メーカー一覧' in text and 'FALENO GROUP' in text and re.search(r'\b素人CLOVER\s+PROFILE', text):
+ facts['group'] = {'value': 'FALENO GROUP', 'source_url': source_url,
+ 'evidence': 'メーカー一覧:素人CLOVER PROFILE', 'status': 'observed'}
+ if host == 'dorcel.com' and name == 'DorcelClub' and '/confidentialitedonnees' in source_url:
+ # 隐私页的法文句子按字符倒序存放;只读该站域名与明确运营陈述的完整句子。
+ for node in soup.find_all(string=lambda value: value and 'TFK secivreS ycnegAbeW' in value):
+ statement = _clean(str(node)[::-1])
+ if statement.startswith('WebAgency Services KFT') and 'exploite les Sites internet dorcelclub.com' in statement:
+ facts['operator'] = {'value': 'WebAgency Services KFT', 'source_url': source_url,
+ 'evidence': statement, 'status': 'observed'}
+ return facts
+
+
+def extract_for_entity(html: str, source_url: str, name: str) -> dict:
+ """集团页面只读该实体的公司表,不合并其他子公司的成立日期。"""
+ if (urlsplit(source_url).hostname or '') == 'corporate.sod.co.jp' and name == 'SOD Create':
+ soup = BeautifulSoup(html, 'html.parser')
+ tables = [table for table in soup.select('table')
+ if any(cell.get_text(strip=True) == 'SODクリエイト株式会社' for cell in table.select('td'))]
+ if len(tables) == 1:
+ return extract(str(tables[0]), source_url)
+ return {'facts': {}, 'conflicts': [], 'company_pages': [], 'socials': []}
+ return extract(html, source_url)
+
+
+def public_profile(metadata: dict) -> dict:
+ """API 的值与逐字段来源;未知字段不进入显示契约。"""
+ profile = metadata.get(KEY)
+ if not isinstance(profile, dict):
+ return {}
+ return {key: dict(value) for key, value in profile.items()
+ if key in FIELDS and isinstance(value, dict) and isinstance(value.get('value'), str)
+ and value.get('status') != 'candidate'
+ and value['value'].strip() and public_https_url(str(value.get('source_url', '')))}
+
+
+def fill_aliases(connection: sqlite3.Connection, entity_id: int, aliases: list[dict], *, batch: str) -> list[str]:
+ """只补带官方出处的观测别名;与其他同类实体冲突时留在复核文件。"""
+ row = connection.execute('SELECT kind,canonical_name FROM entity WHERE id=?', (entity_id,)).fetchone()
+ if not row or row[0] not in {'studio', 'agency'}:
+ return []
+ written = []
+ for alias in aliases:
+ name = str(alias.get('value', '')).strip()
+ if alias.get('status') != 'observed' or not name or name == row[1] or not public_https_url(alias.get('source_url', '')):
+ continue
+ normalized = normalize_entity_name(name)
+ conflict = connection.execute(
+ 'SELECT e.id FROM entity e LEFT JOIN entity_alias a ON a.entity_id=e.id '
+ 'WHERE e.kind=? AND e.id!=? AND (e.normalized_name=? OR a.normalized_alias=?) LIMIT 1',
+ (row[0], entity_id, normalized, normalized)).fetchone()
+ if conflict:
+ continue
+ connection.execute('INSERT OR IGNORE INTO entity_alias(entity_id,alias,normalized_alias,source,confidence) VALUES(?,?,?,?,1)',
+ (entity_id, name, normalized, batch))
+ if connection.execute('SELECT changes()').fetchone()[0]:
+ written.append(name)
+ return written
+
+
+def fill(connection: sqlite3.Connection, entity_id: int, facts: dict, *, source: str, batch: str) -> dict:
+ """给公司资料填空,保留其他元信息和既有字段。调用方负责事务。"""
+ row = connection.execute('SELECT kind,metadata_json FROM entity WHERE id=?', (entity_id,)).fetchone()
+ if row is None or row[0] not in {'studio', 'agency'}:
+ return {'written': [], 'conflicts': []}
+ metadata = json.loads(row[1] or '{}')
+ held = metadata.get(KEY, {})
+ if not isinstance(held, dict):
+ return {'written': [], 'conflicts': ['company_profile']}
+ written, conflicts = [], []
+ now = datetime.now(timezone.utc).isoformat()
+ for key, fact in public_profile({KEY: facts}).items():
+ if key in held:
+ if held[key] != fact and (not isinstance(held[key], dict) or held[key].get('value') != fact['value']):
+ conflicts.append(key)
+ continue
+ held[key] = {**fact, 'source': source, 'batch': batch, 'fetched_at': now}
+ written.append(key)
+ if written:
+ metadata[KEY] = held
+ connection.execute('UPDATE entity SET metadata_json=?,updated_at=? WHERE id=?',
+ (json.dumps(metadata, ensure_ascii=False), now, entity_id))
+ return {'written': written, 'conflicts': conflicts}
+
+
+def planned_revert(connection: sqlite3.Connection, source: str, batch: str) -> list[dict]:
+ """只列这批拥有的公司资料格,其他元信息不受影响。"""
+ found = []
+ for row in connection.execute("SELECT id,canonical_name,metadata_json FROM entity WHERE kind IN ('studio','agency')"):
+ metadata = json.loads(row[2] or '{}')
+ fields = [key for key, fact in public_profile(metadata).items()
+ if fact.get('source') == source and (not batch or fact.get('batch') == batch)]
+ if fields:
+ found.append({'entity_id': row[0], 'entity': row[1], 'fields': fields})
+ return found
+
+
+def revert(connection: sqlite3.Connection, rows: list[dict]) -> int:
+ """撤回已列出的字段,保留公司的其他资料。"""
+ count = 0
+ for item in rows:
+ raw = connection.execute('SELECT metadata_json FROM entity WHERE id=?', (item['entity_id'],)).fetchone()
+ metadata = json.loads(raw[0] or '{}')
+ for key in item['fields']:
+ metadata[KEY].pop(key, None)
+ count += 1
+ if not metadata[KEY]:
+ metadata.pop(KEY)
+ connection.execute('UPDATE entity SET metadata_json=? WHERE id=?', (json.dumps(metadata, ensure_ascii=False), item['entity_id']))
+ return count
diff --git a/src/peach/entities.py b/src/peach/entities.py
index 5a221e799..df949c946 100644
--- a/src/peach/entities.py
+++ b/src/peach/entities.py
@@ -508,6 +508,13 @@ def upsert_asset_entity(
)
entity_id = int(connection.execute("SELECT last_insert_rowid()").fetchone()[0])
elif update_entity_metadata:
+ if kind in {'studio', 'agency'}:
+ held = connection.execute('SELECT metadata_json FROM entity WHERE id=?', (entity_id,)).fetchone()
+ previous = json.loads(held[0] or '{}')
+ incoming = json.loads(payload)
+ if 'company_profile' in previous:
+ incoming['company_profile'] = previous['company_profile']
+ payload = json.dumps(incoming, ensure_ascii=False)
connection.execute(
"UPDATE entity SET metadata_json=?,updated_at=? WHERE id=?",
(payload, stamp, entity_id),
diff --git a/src/peach/web_entity.py b/src/peach/web_entity.py
index cba01c7d5..a7ee3df40 100644
--- a/src/peach/web_entity.py
+++ b/src/peach/web_entity.py
@@ -14,7 +14,7 @@ import time
from urllib.parse import urlsplit
-from . import entry_links, feeds, link_status, performer_header, web_feeds
+from . import company_profiles, entry_links, feeds, link_status, performer_header, web_feeds
from .catalog_rules import (LENGTH_TAGS, dir_expr, photo_set_title, solo_performer_clause, tag_cat)
from .entities import normalize_entity_name, resolve_entity, rewrite_flat_projection
from .social_links import ARCHIVE_HOSTS, is_archive
@@ -182,6 +182,8 @@ def q_entity(contract: WebContract, args):
# 只会像名称没有本地化。展示契约单独收窄,身份契约 `aliases` 保持完整。
d["display_aliases"] = _display_entity_aliases(
d["canonical_name"], d["aliases"])
+ if kind in {'studio', 'agency'}:
+ d['display_aliases'] = [alias for alias in d['aliases'] if alias != d['canonical_name']]
# 自己敲进来的那几个单独报一遍:界面只在这些名字上给撤销,刮削和合并留下的
# 是来源记录,不给一次点击删掉。
d["user_aliases"] = [r[0] for r in c.execute(
@@ -204,6 +206,8 @@ def q_entity(contract: WebContract, args):
# 人物资料与按名义分组的别名。
if kind in {"performer", "creator"}:
d.update(performer_header.header(c, d["id"], d["canonical_name"]))
+ elif kind in {'studio', 'agency'}:
+ d['company_profile'] = company_profiles.public_profile(metadata)
scope = scope_predicate(kind, "ae.entity_id")
count, rep = c.execute(
"SELECT count(DISTINCT " + video_work_key(contract) + "),"
diff --git a/tests/test_company_profiles.py b/tests/test_company_profiles.py
new file mode 100644
index 000000000..e8a0312c9
--- /dev/null
+++ b/tests/test_company_profiles.py
@@ -0,0 +1,102 @@
+"""公司事实的来源、日期精度、填空与撤回。"""
+import json
+import sqlite3
+import tempfile
+import unittest
+from pathlib import Path
+
+from peach import company_profiles
+from peach.entities import upsert_asset_entity
+from peach import web_contract
+from support.ledger import fresh_ledger
+
+
+class CompanyProfileTests(unittest.TestCase):
+ def test_dates_keep_precision_and_reject_copyright_or_invalid_dates(self):
+ for raw, expected in [('2002年5月', '2002-05'), ('1999年3月1日', '1999-03-01'), ('2016', '2016'), ('平成16年7月21日', '2004-07-21')]:
+ self.assertEqual(company_profiles.date_text(raw), expected)
+ for raw in ['© 2002', '20周年', '2025年2月30日', '2002年(ブランド発売)']:
+ self.assertIsNone(company_profiles.date_text(raw))
+
+ def test_official_tables_separate_company_and_brand_and_detect_conflicts(self):
+ html = '<table><tr><th>設立</th><td>2002年5月</td></tr><tr><th>ブランド設立</th><td>2003年</td></tr><tr><th>主要取引先</th><td>WILL</td></tr></table><dl><dt>所在地</dt><dd>東京都中野区</dd></dl><a href="/company/">会社概要 Company</a>'
+ parsed = company_profiles.extract(html, 'https://brand.example/')
+ self.assertEqual(parsed['facts']['founded']['value'], '2002-05')
+ self.assertEqual(parsed['facts']['launched']['value'], '2003')
+ self.assertNotIn('parent', parsed['facts'])
+ self.assertNotIn('country', parsed['facts'])
+ self.assertEqual(parsed['company_pages'], ['https://brand.example/company/'])
+ conflict = company_profiles.extract(html + '<dl><dt>設立</dt><dd>2001</dd></dl>', 'https://brand.example/')
+ self.assertNotIn('founded', conflict['facts'])
+ self.assertEqual(conflict['conflicts'][0]['field'], 'founded')
+
+ def test_fill_protects_existing_facts_and_revert_preserves_metadata(self):
+ temporary = tempfile.TemporaryDirectory()
+ self.addCleanup(temporary.cleanup)
+ connection = sqlite3.connect(fresh_ledger(Path(temporary.name).resolve()))
+ self.addCleanup(connection.close)
+ connection.execute("INSERT INTO entity(id,kind,canonical_name,normalized_name,metadata_json,created_at,updated_at) VALUES(1,'studio','Brand','brand','{\"provider\":\"catalog\"}','2026-10-07','2026-10-07')")
+ fact = {'value': '2002', 'source_url': 'https://brand.example/company', 'evidence': '設立:2002年'}
+ self.assertEqual(company_profiles.fill(connection, 1, {'founded': fact}, source='auto:company-profile', batch='batch1')['written'], ['founded'])
+ conflict = company_profiles.fill(connection, 1, {'founded': {**fact, 'value': '2001'}}, source='auto:company-profile', batch='batch2')
+ self.assertEqual(conflict, {'written': [], 'conflicts': ['founded']})
+ self.assertEqual(company_profiles.planned_revert(connection, 'auto:company-profile', 'batch2'), [])
+ rows = company_profiles.planned_revert(connection, 'auto:company-profile', 'batch1')
+ self.assertEqual(company_profiles.revert(connection, rows), 1)
+ self.assertEqual(json.loads(connection.execute('SELECT metadata_json FROM entity').fetchone()[0]), {'provider': 'catalog'})
+
+ def test_group_company_tables_are_scoped_to_the_named_company(self):
+ html = '<table><tr><th>社名</th><td>ソフト・オン・デマンド株式会社</td></tr><tr><th>設立</th><td>1995年11月</td></tr></table><table><tr><th>社名</th><td>SODクリエイト株式会社</td></tr><tr><th>設立</th><td>1999年3月</td></tr></table>'
+ result = company_profiles.extract_for_entity(html, 'https://corporate.sod.co.jp/about_us/info/', 'SOD Create')
+ self.assertEqual(result['facts']['founded']['value'], '1999-03')
+ self.assertEqual(result['facts']['legal_name']['value'], 'SODクリエイト株式会社')
+
+ def test_brand_listing_is_not_a_company_foundation_date(self):
+ html = '<h1>Vixen Media Group</h1><p>OUR BRANDS Each studio is a world. Explore Vixen, Blacked, Blacked Raw, Tushy, and Deeper, all available on Vixen Plus</p>'
+ facts = company_profiles.brand_facts(html, 'https://www.vixengroup.com/', 'Tushy')
+ self.assertEqual(facts['group']['value'], 'Vixen Media Group')
+ self.assertNotIn('founded', facts)
+ terms = '<p>These terms of service are entered into between you and General Media Systems, LLC (the Company).</p>'
+ facts = company_profiles.brand_facts(terms, 'https://www.tushy.com/terms', 'Tushy')
+ self.assertEqual(facts['operator']['value'], 'General Media Systems, LLC')
+
+ def test_aliases_are_observed_and_do_not_collide_with_another_company(self):
+ temporary = tempfile.TemporaryDirectory()
+ self.addCleanup(temporary.cleanup)
+ connection = sqlite3.connect(fresh_ledger(Path(temporary.name).resolve()))
+ self.addCleanup(connection.close)
+ connection.executemany("INSERT INTO entity(id,kind,canonical_name,normalized_name,created_at,updated_at) VALUES(?,?,?,?,'2026-10-07','2026-10-07')",
+ [(1,'studio','Brand','brand'),(2,'studio','Other','other')])
+ aliases = [{'value': value, 'source_url': 'https://brand.example/', 'status': status}
+ for value,status in [('Brand JP','observed'),('Unverified','candidate'),('Other','observed')]]
+ self.assertEqual(company_profiles.fill_aliases(connection,1,aliases,batch='auto:company-profile@1'), ['Brand JP'])
+ self.assertEqual(connection.execute('SELECT alias,source FROM entity_alias WHERE entity_id=1').fetchall(),
+ [('Brand JP','auto:company-profile@1')])
+
+ def test_public_profile_requires_public_source_and_known_nonempty_values(self):
+ facts = {key: {'value': value, 'source_url': url} for key, value, url in [('country','日本','https://brand.example/company'), ('operator','secret','https://localhost/admin'), ('founded','','https://brand.example/'), ('telephone','123','https://brand.example/')]}
+ self.assertEqual(list(company_profiles.public_profile({'company_profile': facts})), ['country'])
+
+ def test_company_profile_survives_catalog_ingest(self):
+ temporary = tempfile.TemporaryDirectory()
+ self.addCleanup(temporary.cleanup)
+ root = Path(temporary.name).resolve()
+ path = fresh_ledger(root)
+ connection = sqlite3.connect(path)
+ self.addCleanup(connection.close)
+ connection.execute("INSERT INTO asset(id,location,path,name,medium) VALUES(1,'local','C:/test/a.mp4','a.mp4','video')")
+ entity_id = upsert_asset_entity(connection, kind='studio', name='Brand', asset_id=1, role='studio', source='scan:filename')
+ fact = {'value': '2002', 'source_url': 'https://brand.example/company'}
+ company_profiles.fill(connection, entity_id, {'founded': fact}, source='auto:company-profile', batch='batch1')
+ upsert_asset_entity(connection, kind='studio', name='Brand', asset_id=1, role='studio', source='scan:filename', metadata={'provider': 'fresh'})
+ metadata = json.loads(connection.execute('SELECT metadata_json FROM entity WHERE id=?', (entity_id,)).fetchone()[0])
+ self.assertEqual(metadata['provider'], 'fresh')
+ self.assertEqual(metadata['company_profile']['founded']['value'], '2002')
+ connection.commit()
+ contract = web_contract.WebContract(path, avatar_root=root / 'avatars', logo_root=root / 'logos', cover_root=root / 'covers')
+ response = web_contract.q_entity(contract, {'kind': 'studio', 'name': 'Brand'})
+ self.assertEqual(response['company_profile']['founded']['value'], '2002')
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/tests/test_complexity_ratchet.py b/tests/test_complexity_ratchet.py
index b80381c69..a1504bd43 100644
--- a/tests/test_complexity_ratchet.py
+++ b/tests/test_complexity_ratchet.py
@@ -76,9 +76,6 @@ ACCEPTED: dict[str, tuple[int, str]] = {
65, "顺序流水线:扫描、探时长、读本地资料、联网采集、写候选、收尾共用一份进度状态"
"与问题记录;能独立命名的段已经拆出(`_RemoteSession`、`_merge_candidates`、"
"`_record_issue`),剩下的是编排本身"),
- "scripts/revert_auto_landing.py:main": (
- 30, "撤回入口:每类自动落库各列一遍计划、在同一个事务里各撤一遍、最后汇总报数,"
- "每类一个循环;拆开只是把同一个连接和十来份计划在几个只调一次的函数之间来回传"),
"src/peach/jav_cover_fetch.py:run": (
50, "批处理的主循环:每个番号依次量本机尺寸、择优、比较、落盘、记日志,统计、日志行"
"和出错后换新的连接池在整轮里共用,逐段拆开只是把这几样来回传"),
diff --git a/tests/test_entity_link_install.py b/tests/test_entity_link_install.py
index 7b76488cc..883f366e5 100644
--- a/tests/test_entity_link_install.py
+++ b/tests/test_entity_link_install.py
@@ -93,6 +93,12 @@ class InstallTests(unittest.TestCase):
self.assertEqual(
self.connection.execute("SELECT count(*) FROM entity_link").fetchone()[0], 1)
+ def test_automatic_link_keeps_its_revert_batch(self):
+ planned = self.module.plan(self.connection, [self.row()])
+ self.module.install(self.connection, planned, 'auto:company-profile', batch='batch1')
+ metadata = json.loads(self.connection.execute('SELECT metadata_json FROM entity_link').fetchone()[0])
+ self.assertEqual((metadata['source'],metadata['batch']), ('auto:company-profile','batch1'))
+
def test_a_label_edited_in_the_review_table_reaches_the_ledger_on_rerun(self):
"""label 是资料页上的链接文字,复核表是它的出处:表里改了字,重跑就对齐,不另建一行。"""
self.module.install(self.connection, self.module.plan(self.connection, [self.row()]),
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index 67b81952f..fd0518720 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=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-company-names]{flex-basis:100%}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.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]{align-self:center;margin-top:7px}.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-company-names]{flex-basis:100%}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.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);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{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]{align-self:center;margin-top:7px}.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 6ac529a80..b17e75e17 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -21118,7 +21118,7 @@ function ene(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function tne(e) {
+function ux(e) {
let t = jg(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
@@ -21128,7 +21128,7 @@ function tne(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function nne(e, t, n) {
+function tne(e, t, n) {
let { labelProps: r, inputProps: i, isSelected: a, ...o } = L_(e, t, n);
return {
labelProps: r,
@@ -21143,10 +21143,10 @@ function nne(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var ux = class {
+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 rne(e.layout) : new nv(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";
@@ -21312,7 +21312,7 @@ var ux = class {
}
return null;
}
-}, rne = class {
+}, nne = class {
constructor(e) {
this.layout = e;
}
@@ -21325,16 +21325,16 @@ var ux = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, dx = /* @__PURE__ */ new WeakMap();
+}, fx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function ine(e, t, n) {
+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 = ty({
usage: "search",
sensitivity: "base"
- }), { direction: g } = Cg(), _ = t.selectionManager.disabledBehavior, v = (0, R.useMemo)(() => a || new ux({
+ }), { direction: g } = Cg(), _ = t.selectionManager.disabledBehavior, v = (0, R.useMemo)(() => a || new dx({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -21360,7 +21360,7 @@ function ine(e, t, n) {
disallowTypeAhead: i,
escapeKeyBehavior: d
}), b = gh(e.id);
- dx.set(t, {
+ fx.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -21390,27 +21390,27 @@ function ine(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var fx = /* @__PURE__ */ new WeakMap();
-function px(e) {
+var px = /* @__PURE__ */ new WeakMap();
+function mx(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function ane(e, t) {
- let n = fx.get(e);
+function ine(e, t) {
+ let n = px.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${px(t)}`;
+ return `${n}-${mx(t)}`;
}
-function mx(e, t, n) {
- let r = fx.get(e);
+function hx(e, t, n) {
+ let r = px.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${px(t)}-${px(n)}`;
+ return `${r}-${mx(t)}-${mx(n)}`;
}
-function hx(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => mx(e, t, n)).join(" ");
+function gx(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => hx(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var gx = {};
-gx = {
+var _x = {};
+_x = {
ascending: "تصاعدي",
ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,
collapse: "طي",
@@ -21425,8 +21425,8 @@ gx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var _x = {};
-_x = {
+var vx = {};
+vx = {
ascending: "възходящ",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,
collapse: "Свиване",
@@ -21441,8 +21441,8 @@ _x = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var vx = {};
-vx = {
+var yx = {};
+yx = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -21457,8 +21457,8 @@ vx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var yx = {};
-yx = {
+var bx = {};
+bx = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -21473,8 +21473,8 @@ yx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var bx = {};
-bx = {
+var xx = {};
+xx = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -21489,8 +21489,8 @@ bx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var xx = {};
-xx = {
+var Sx = {};
+Sx = {
ascending: "αύξουσα",
ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,
collapse: "Σύμπτυξη",
@@ -21505,8 +21505,8 @@ xx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var Sx = {};
-Sx = {
+var Cx = {};
+Cx = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -21521,8 +21521,8 @@ Sx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var Cx = {};
-Cx = {
+var wx = {};
+wx = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -21537,8 +21537,8 @@ Cx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var wx = {};
-wx = {
+var Tx = {};
+Tx = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -21553,8 +21553,8 @@ wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var Tx = {};
-Tx = {
+var Ex = {};
+Ex = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -21569,8 +21569,8 @@ Tx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var Ex = {};
-Ex = {
+var Dx = {};
+Dx = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -21585,8 +21585,8 @@ Ex = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var Dx = {};
-Dx = {
+var Ox = {};
+Ox = {
ascending: "עולה",
ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,
collapse: "כווץ",
@@ -21601,8 +21601,8 @@ Dx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var Ox = {};
-Ox = {
+var kx = {};
+kx = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -21617,8 +21617,8 @@ Ox = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var kx = {};
-kx = {
+var Ax = {};
+Ax = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -21633,8 +21633,8 @@ kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var Ax = {};
-Ax = {
+var jx = {};
+jx = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -21649,8 +21649,8 @@ Ax = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var jx = {};
-jx = {
+var Mx = {};
+Mx = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -21665,8 +21665,8 @@ jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var Mx = {};
-Mx = {
+var Nx = {};
+Nx = {
ascending: "오름차순",
ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,
collapse: "접기",
@@ -21681,8 +21681,8 @@ Mx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var Nx = {};
-Nx = {
+var Px = {};
+Px = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -21697,8 +21697,8 @@ Nx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var Px = {};
-Px = {
+var Fx = {};
+Fx = {
ascending: "augošā secībā",
ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,
collapse: "Sakļaut",
@@ -21713,8 +21713,8 @@ Px = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var Fx = {};
-Fx = {
+var Ix = {};
+Ix = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -21729,8 +21729,8 @@ Fx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var Ix = {};
-Ix = {
+var Lx = {};
+Lx = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -21745,8 +21745,8 @@ Ix = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var Lx = {};
-Lx = {
+var Rx = {};
+Rx = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -21761,8 +21761,8 @@ Lx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var Rx = {};
-Rx = {
+var zx = {};
+zx = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -21777,8 +21777,8 @@ Rx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var zx = {};
-zx = {
+var Bx = {};
+Bx = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -21793,8 +21793,8 @@ zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var Bx = {};
-Bx = {
+var Vx = {};
+Vx = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -21809,8 +21809,8 @@ Bx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var Vx = {};
-Vx = {
+var Hx = {};
+Hx = {
ascending: "возрастание",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,
collapse: "Свернуть",
@@ -21825,8 +21825,8 @@ Vx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var Hx = {};
-Hx = {
+var Ux = {};
+Ux = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -21841,8 +21841,8 @@ Hx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var Ux = {};
-Ux = {
+var Wx = {};
+Wx = {
ascending: "naraščajoče",
ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,
collapse: "Strni",
@@ -21857,8 +21857,8 @@ Ux = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var Wx = {};
-Wx = {
+var Gx = {};
+Gx = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -21873,8 +21873,8 @@ Wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var Gx = {};
-Gx = {
+var Kx = {};
+Kx = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -21889,8 +21889,8 @@ Gx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var Kx = {};
-Kx = {
+var qx = {};
+qx = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -21905,8 +21905,8 @@ Kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var qx = {};
-qx = {
+var Jx = {};
+Jx = {
ascending: "висхідний",
ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,
collapse: "Згорнути",
@@ -21921,8 +21921,8 @@ qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var Jx = {};
-Jx = {
+var Yx = {};
+Yx = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -21937,8 +21937,8 @@ Jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var Yx = {};
-Yx = {
+var Xx = {};
+Xx = {
ascending: "遞增",
ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,
collapse: "收合",
@@ -21953,46 +21953,46 @@ Yx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var Xx = {};
-Xx = {
- "ar-AE": gx,
- "bg-BG": _x,
- "cs-CZ": vx,
- "da-DK": yx,
- "de-DE": bx,
- "el-GR": xx,
- "en-US": Sx,
- "es-ES": Cx,
- "et-EE": wx,
- "fi-FI": Tx,
- "fr-FR": Ex,
- "he-IL": Dx,
- "hr-HR": Ox,
- "hu-HU": kx,
- "it-IT": Ax,
- "ja-JP": jx,
- "ko-KR": Mx,
- "lt-LT": Nx,
- "lv-LV": Px,
- "nb-NO": Fx,
- "nl-NL": Ix,
- "pl-PL": Lx,
- "pt-BR": Rx,
- "pt-PT": zx,
- "ro-RO": Bx,
- "ru-RU": Vx,
- "sk-SK": Hx,
- "sl-SI": Ux,
- "sr-SP": Wx,
- "sv-SE": Gx,
- "tr-TR": Kx,
- "uk-UA": qx,
- "zh-CN": Jx,
- "zh-TW": Yx
+var Zx = {};
+Zx = {
+ "ar-AE": _x,
+ "bg-BG": vx,
+ "cs-CZ": yx,
+ "da-DK": bx,
+ "de-DE": xx,
+ "el-GR": Sx,
+ "en-US": Cx,
+ "es-ES": wx,
+ "et-EE": Tx,
+ "fi-FI": Ex,
+ "fr-FR": Dx,
+ "he-IL": Ox,
+ "hr-HR": kx,
+ "hu-HU": Ax,
+ "it-IT": jx,
+ "ja-JP": Mx,
+ "ko-KR": Nx,
+ "lt-LT": Px,
+ "lv-LV": Fx,
+ "nb-NO": Ix,
+ "nl-NL": Lx,
+ "pl-PL": Rx,
+ "pt-BR": zx,
+ "pt-PT": Bx,
+ "ro-RO": Vx,
+ "ru-RU": Hx,
+ "sk-SK": Ux,
+ "sl-SI": Wx,
+ "sr-SP": Gx,
+ "sv-SE": Kx,
+ "tr-TR": qx,
+ "uk-UA": Jx,
+ "zh-CN": Yx,
+ "zh-TW": Xx
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var one = class extends ux {
+var ane = class extends dx {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -22070,14 +22070,14 @@ var one = class extends ux {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function sne(e) {
+function one(e) {
return e && e.__esModule ? e.default : e;
}
-function cne(e, t, n) {
+function sne(e, t, n) {
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 one({
+ }), { direction: c } = Cg(), l = t.selectionManager.disabledBehavior, u = (0, R.useMemo)(() => r || new ane({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -22097,14 +22097,14 @@ function cne(e, t, n) {
a,
o
]), d = gh(e.id);
- fx.set(t, d);
- let { gridProps: f } = ine({
+ px.set(t, d);
+ let { gridProps: f } = rne({
...e,
id: d,
keyboardDelegate: u
}, t, n);
i && (f["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), t.treeColumn != null && (f.role = "treegrid");
- let { column: p, direction: m } = t.sortDescriptor || {}, h = kg(sne(Xx), "@react-aria/table"), g = (0, R.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = kg(one(Zx), "@react-aria/table"), g = (0, R.useMemo)(() => {
let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";
return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;
}, [
@@ -22118,13 +22118,13 @@ function cne(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function Zx(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Cg(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = dx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, R.useRef)(null), h = () => {
+function Qx(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Cg(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = fx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, R.useRef)(null), h = () => {
if (n.current) {
let e = f_(n.current);
if (p === "child") {
if (Ip(n.current) && n.current !== Pp(Cp(n.current))) return;
- let r = t.selectionManager.childFocusStrategy === "last" ? Qx(e) : e.firstChild();
+ let r = t.selectionManager.childFocusStrategy === "last" ? $x(e) : e.firstChild();
if (r) {
lh(r);
return;
@@ -22156,7 +22156,7 @@ function Zx(e, t, n) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "rtl" ? (lh(n.current), C_(n.current, { containingElement: b_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : Qx(a), t && (lh(t), C_(t, { containingElement: b_(n.current) })));
+ p === "cell" && l === "rtl" ? (lh(n.current), C_(n.current, { containingElement: b_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : $x(a), t && (lh(t), C_(t, { containingElement: b_(n.current) })));
}
break;
}
@@ -22168,7 +22168,7 @@ function Zx(e, t, n) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "ltr" ? (lh(n.current), C_(n.current, { containingElement: b_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? Qx(a) : a.firstChild(), t && (lh(t), C_(t, { containingElement: b_(n.current) })));
+ p === "cell" && l === "ltr" ? (lh(n.current), C_(n.current, { containingElement: b_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? $x(a) : a.firstChild(), t && (lh(t), C_(t, { containingElement: b_(n.current) })));
}
break;
}
@@ -22213,7 +22213,7 @@ function Zx(e, t, n) {
isPressed: _
};
}
-function Qx(e) {
+function $x(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -22222,20 +22222,20 @@ function Qx(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
-function lne(e, t, n) {
- let { gridCellProps: r, isPressed: i } = Zx(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = mx(t, e.node.parentKey, a)), {
+function cne(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = Qx(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = hx(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function une(e) {
+function lne(e) {
return e && e.__esModule ? e.default : e;
}
-function dne(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = Zx({
+function une(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = Qx({
focusMode: "child",
...e
}, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Wg({
@@ -22246,7 +22246,7 @@ function dne(e, t, n) {
ref: n
}), { focusableProps: l } = Hh({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
r.props.allowsSorting && !lm() && (u = d ? f : "none");
- let p = kg(une(Xx), "@react-aria/table"), m;
+ let p = kg(lne(Zx), "@react-aria/table"), m;
i && (m = `${p.format("sortable")}`, d && f && lm() && (m = `${m}, ${p.format(f)}`));
let h = T_(m), g = t.collection.size === 0;
return (0, R.useEffect)(() => {
@@ -22259,7 +22259,7 @@ function dne(e, t, n) {
columnHeaderProps: {
...H(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: ane(t, r.key),
+ id: ine(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -22268,14 +22268,14 @@ function dne(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function fne(e, t, n) {
+function dne(e, t, n) {
let { node: r, isVirtualized: i } = e, a = { role: "row" };
return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs
-function pne(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = dx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Qy({
+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 } = Qy({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -22296,10 +22296,10 @@ function pne(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function mne(e) {
+function pne(e) {
return e && e.__esModule ? e.default : e;
}
-var $x = {
+var eS = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -22309,21 +22309,21 @@ var $x = {
rtl: "ArrowRight"
}
};
-function hne(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = pne(e, t, n), { direction: s } = Cg();
+function mne(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = fne(e, t, n), { direction: s } = Cg();
i && t.treeColumn == null ? a["aria-rowindex"] = r.index + 1 + t.collection.headerRows.length : delete a["aria-rowindex"];
- let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = kg(mne(Xx), "@react-aria/table"), u = _g({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = kg(pne(Zx), "@react-aria/table"), u = _g({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": hx(t, r.key)
+ "aria-labelledby": gx(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = eS(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = eS(t.collection, a);
+ let n = tS(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = tS(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === $x.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === $x.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
+ n.key === eS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === eS.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
},
"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,
"aria-level": e.level + 1,
@@ -22345,41 +22345,41 @@ function hne(e, t, n) {
return {
rowProps: {
...H(a, d, m),
- "aria-labelledby": hx(t, r.key)
+ "aria-labelledby": gx(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function eS(e, t) {
+function tS(e, t) {
return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function gne() {
+function hne() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function tS() {
- return gne();
+function nS() {
+ return hne();
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function _ne(e) {
+function gne(e) {
return e && e.__esModule ? e.default : e;
}
-function vne(e, t) {
+function _ne(e, t) {
let { key: n } = e, { checkboxProps: r } = Ete(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${hx(t, n)}`
+ "aria-labelledby": `${r.id} ${gx(t, n)}`
} };
}
-function yne(e) {
+function vne(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": kg(_ne(Xx), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": kg(gne(Zx), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
isSelected: n,
isDisabled: r !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",
isIndeterminate: !t && !n,
@@ -22388,13 +22388,13 @@ function yne(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var nS = /* @__PURE__ */ new WeakMap();
-function rS(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${nS.get(e)}-${n}-${t}`) : "";
+var rS = /* @__PURE__ */ new WeakMap();
+function iS(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${rS.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function bne(e, t, n) {
+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 } = Qy({
selectionManager: o,
key: r,
@@ -22402,7 +22402,7 @@ function bne(e, t, n) {
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = rS(t, r, "tab"), m = rS(t, r, "tabpanel"), { tabIndex: h } = d, g = jg(u?.props, { labelable: !0 });
+ }), p = iS(t, r, "tab"), m = iS(t, r, "tabpanel"), { tabIndex: h } = d, g = jg(u?.props, { labelable: !0 });
delete g.id;
let _ = bm(u?.props), { focusableProps: v } = Hh({
...u?.props,
@@ -22424,7 +22424,7 @@ function bne(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var xne = class {
+var bne = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -22468,11 +22468,11 @@ var xne = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function Sne(e, t, n) {
+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 } = Gv({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, R.useMemo)(() => new xne(a, c, r, s), [
+ keyboardDelegate: (0, R.useMemo)(() => new bne(a, c, r, s), [
a,
s,
r,
@@ -22483,7 +22483,7 @@ function Sne(e, t, n) {
scrollRef: n,
linkBehavior: "selection"
}), u = gh();
- return nS.set(t, u), { tabListProps: {
+ return rS.set(t, u), { tabListProps: {
...H(l, _g({
...e,
id: u
@@ -22495,12 +22495,12 @@ function Sne(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function Cne(e, t, n) {
- let r = Xy(n) ? void 0 : 0, i = rS(t, e.id ?? t?.selectedKey, "tabpanel");
+function Sne(e, t, n) {
+ let r = Xy(n) ? void 0 : 0, i = iS(t, e.id ?? t?.selectedKey, "tabpanel");
return { tabPanelProps: H(_g({
...e,
id: i,
- "aria-labelledby": rS(t, t?.selectedKey, "tab")
+ "aria-labelledby": iS(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -22510,12 +22510,12 @@ function Cne(e, t, n) {
}
//#endregion
//#region src/react/components/selection-dock.tsx
-var iS = "(prefers-reduced-motion: reduce)", wne = () => matchMedia(iS).matches, Tne = (e) => {
- let t = matchMedia(iS);
+var aS = "(prefers-reduced-motion: reduce)", Cne = () => matchMedia(aS).matches, wne = (e) => {
+ let t = matchMedia(aS);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
};
-function Ene({ children: e, count: t, label: n }) {
- let r = Hu(), i = (0, R.useSyncExternalStore)(Tne, wne, () => !1), { isFocusVisible: a } = nh(), o = i || a, s = {
+function Tne({ children: e, count: t, label: n }) {
+ let r = Hu(), i = (0, R.useSyncExternalStore)(wne, Cne, () => !1), { isFocusVisible: a } = nh(), o = i || a, s = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
@@ -22551,23 +22551,23 @@ function Ene({ children: e, count: t, label: n }) {
}), e]
});
}
-function aS({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, B.jsx)(Ku, { children: e ? /* @__PURE__ */ (0, B.jsx)(Ene, { ...t }, "selection") : null });
+function oS({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, B.jsx)(Ku, { children: e ? /* @__PURE__ */ (0, B.jsx)(Tne, { ...t }, "selection") : null });
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
-var oS = R.createContext(void 0), sS = (e) => {
- let t = R.useContext(oS);
+var sS = R.createContext(void 0), cS = (e) => {
+ let t = R.useContext(sS);
if (e) return e;
if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");
return t;
-}, cS = ({ client: e, children: t }) => (R.useEffect(() => (e.mount(), () => {
+}, lS = ({ client: e, children: t }) => (R.useEffect(() => (e.mount(), () => {
e.unmount();
-}), [e]), /* @__PURE__ */ (0, B.jsx)(oS.Provider, {
+}), [e]), /* @__PURE__ */ (0, B.jsx)(sS.Provider, {
value: e,
children: t
-})), Dne = ({ children: e, options: t = {}, state: n, queryClient: r }) => {
- let a = sS(r), o = R.useRef(t);
+})), Ene = ({ children: e, options: t = {}, state: n, queryClient: r }) => {
+ let a = cS(r), o = R.useRef(t);
R.useEffect(() => {
o.current = t;
});
@@ -22585,10 +22585,10 @@ var oS = R.createContext(void 0), sS = (e) => {
return R.useEffect(() => {
s && i(a, { queries: s }, o.current);
}, [a, s]), e;
-}, lS = R.createContext(!1), uS = () => R.useContext(lS), One = lS.Provider;
+}, uS = R.createContext(!1), dS = () => R.useContext(uS), Dne = uS.Provider;
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
-function dS() {
+function fS() {
let e = !1;
return {
clearReset: () => {
@@ -22600,31 +22600,31 @@ function dS() {
isReset: () => e
};
}
-var fS = R.createContext(dS()), pS = () => R.useContext(fS), kne = ({ children: e }) => {
- let [t] = R.useState(() => dS());
- return /* @__PURE__ */ (0, B.jsx)(fS.Provider, {
+var pS = R.createContext(fS()), mS = () => R.useContext(pS), One = ({ children: e }) => {
+ let [t] = R.useState(() => fS());
+ return /* @__PURE__ */ (0, B.jsx)(pS.Provider, {
value: t,
children: typeof e == "function" ? e(t) : e
});
-}, mS = (e, t, n) => {
+}, hS = (e, t, n) => {
let r = n?.state.error && typeof e.throwOnError == "function" ? c(e.throwOnError, [n.state.error, n]) : e.throwOnError;
(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));
-}, hS = (e) => {
+}, gS = (e) => {
R.useEffect(() => {
e.clearReset();
}, [e]);
-}, gS = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || c(n, [e.error, r])), _S = (e, t) => t.state.data === void 0, vS = (e) => {
+}, _S = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || c(n, [e.error, r])), vS = (e, t) => t.state.data === void 0, yS = (e) => {
if (e.suspense) {
let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;
e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));
}
-}, yS = (e, t) => e?.suspense && t.isPending, bS = (e, t, n) => t.fetchOptimistic(e).catch(() => {
+}, bS = (e, t) => e?.suspense && t.isPending, xS = (e, t, n) => t.fetchOptimistic(e).catch(() => {
n.clearReset();
});
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useQueries.js
-function xS({ queries: e, ...t }, i) {
- let s = sS(i), c = uS(), l = pS(), u = t.subscribed !== !1, d = R.useMemo(() => e.map((e) => {
+function SS({ queries: e, ...t }, i) {
+ let s = cS(i), c = dS(), l = mS(), u = t.subscribed !== !1, d = R.useMemo(() => e.map((e) => {
let t = s.defaultQueryOptions(e);
return t._optimisticResults = c ? "isRestoring" : u ? "optimistic" : void 0, t;
}), [
@@ -22634,10 +22634,10 @@ function xS({ queries: e, ...t }, i) {
u
]);
d.forEach((e) => {
- vS(e);
+ yS(e);
let t = s.getQueryCache().get(e.queryHash);
- mS(e, l, t);
- }), hS(l);
+ hS(e, l, t);
+ }), gS(l);
let [f] = R.useState(() => new n(s, d, t)), [p, m, h] = f.getOptimisticResult(d, t.combine), g = !c && u;
R.useSyncExternalStore(R.useCallback((e) => g ? f.subscribe(o.batchCalls(e)) : a, [f, g]), () => f.getCurrentResult(), () => f.getCurrentResult()), R.useEffect(() => {
f.setQueries(d, t);
@@ -22646,14 +22646,14 @@ function xS({ queries: e, ...t }, i) {
t,
f
]);
- let _ = p.some((e, t) => yS(d[t], e)) ? p.flatMap((e, t) => {
+ let _ = p.some((e, t) => bS(d[t], e)) ? p.flatMap((e, t) => {
let n = d[t];
- return n && yS(n, e) ? bS(n, new r(s, n), l) : [];
+ return n && bS(n, e) ? xS(n, new r(s, n), l) : [];
}) : [];
if (_.length > 0) throw Promise.all(_);
let v = p.find((e, t) => {
let n = d[t];
- return n && gS({
+ return n && _S({
result: e,
errorResetBoundary: l,
throwOnError: n.throwOnError,
@@ -22666,17 +22666,17 @@ function xS({ queries: e, ...t }, i) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
-function SS(e, t, n) {
- let r = uS(), i = pS(), s = sS(n), c = s.defaultQueryOptions(e), l = s.getQueryCache().get(c.queryHash), u = e.subscribed !== !1;
- c._optimisticResults = r ? "isRestoring" : u ? "optimistic" : void 0, vS(c), mS(c, i, l), hS(i);
+function CS(e, t, n) {
+ let r = dS(), i = mS(), s = cS(n), c = s.defaultQueryOptions(e), l = s.getQueryCache().get(c.queryHash), u = e.subscribed !== !1;
+ c._optimisticResults = r ? "isRestoring" : u ? "optimistic" : void 0, yS(c), hS(c, i, l), gS(i);
let [d] = R.useState(() => new t(s, c)), f = d.getOptimisticResult(c), p = !r && u;
if (R.useSyncExternalStore(R.useCallback((e) => {
let t = p ? d.subscribe(o.batchCalls(e)) : a;
return d.updateResult(), t;
}, [d, p]), () => d.getCurrentResult(), () => d.getCurrentResult()), R.useEffect(() => {
d.setOptions(c);
- }, [c, d]), yS(c, f)) throw bS(c, d, i);
- if (gS({
+ }, [c, d]), bS(c, f)) throw xS(c, d, i);
+ if (_S({
result: f,
errorResetBoundary: i,
throwOnError: c.throwOnError,
@@ -22687,40 +22687,40 @@ function SS(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useQuery.js
-function CS(e, t) {
- return SS(e, r, t);
+function wS(e, t) {
+ return CS(e, r, t);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useSuspenseQuery.js
-function Ane(e, t) {
- return SS({
+function kne(e, t) {
+ return CS({
...e,
enabled: !0,
suspense: !0,
- throwOnError: _S,
+ throwOnError: vS,
placeholderData: void 0
}, r, t);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useSuspenseInfiniteQuery.js
-function jne(t, n) {
- return SS({
+function Ane(t, n) {
+ return CS({
...t,
enabled: !0,
suspense: !0,
- throwOnError: _S,
+ throwOnError: vS,
placeholderData: void 0
}, e, n);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useSuspenseQueries.js
-function Mne(e, t) {
- return xS({
+function jne(e, t) {
+ return SS({
...e,
queries: e.queries.map((e) => ({
...e,
suspense: !0,
- throwOnError: _S,
+ throwOnError: vS,
enabled: !0,
placeholderData: void 0
}))
@@ -22728,57 +22728,57 @@ function Mne(e, t) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/usePrefetchQuery.js
-function Nne(e, t) {
- let n = sS(t);
+function Mne(e, t) {
+ let n = cS(t);
n.getQueryState(e.queryKey) || n.query(e).catch(a);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/usePrefetchInfiniteQuery.js
-function Pne(e, t) {
- let n = sS(t);
+function Nne(e, t) {
+ let n = cS(t);
n.getQueryState(e.queryKey) || n.infiniteQuery(e).catch(a);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/queryOptions.js
-function Fne(e) {
+function Pne(e) {
return e;
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/infiniteQueryOptions.js
-function Ine(e) {
+function Fne(e) {
return e;
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useIsFetching.js
-function Lne(e, t) {
- let n = sS(t), r = n.getQueryCache();
+function Ine(e, t) {
+ let n = cS(t), r = n.getQueryCache();
return R.useSyncExternalStore(R.useCallback((e) => r.subscribe(o.batchCalls(e)), [r]), () => n.isFetching(e), () => n.isFetching(e));
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useMutationState.js
-function Rne(e, t) {
- let n = sS(t);
- return TS({ filters: {
+function Lne(e, t) {
+ let n = cS(t);
+ return ES({ filters: {
...e,
status: "pending"
} }, n).length;
}
-function wS(e, t) {
+function TS(e, t) {
return e.findAll(t.filters).map((e) => t.select ? t.select(e) : e.state);
}
-function TS(e = {}, t) {
- let n = sS(t).getMutationCache(), r = R.useRef(e), i = R.useRef(null);
- return i.current === null && (i.current = wS(n, e)), R.useEffect(() => {
+function ES(e = {}, t) {
+ let n = cS(t).getMutationCache(), r = R.useRef(e), i = R.useRef(null);
+ return i.current === null && (i.current = TS(n, e)), R.useEffect(() => {
r.current = e;
}), R.useSyncExternalStore(R.useCallback((e) => n.subscribe(() => {
- let t = s(i.current, wS(n, r.current));
+ let t = s(i.current, TS(n, r.current));
i.current !== t && (i.current = t, o.schedule(e));
}), [n]), () => i.current, () => i.current);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useMutation.js
-function ES(e, n) {
- let r = sS(n), [i] = R.useState(() => new t(r, e));
+function DS(e, n) {
+ let r = cS(n), [i] = R.useState(() => new t(r, e));
R.useEffect(() => {
i.setOptions(e);
}, [i, e]);
@@ -22794,57 +22794,57 @@ function ES(e, n) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/mutationOptions.js
-function zne(e) {
+function Rne(e) {
return e;
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useInfiniteQuery.js
-function DS(t, n) {
- return SS(t, e, n);
+function OS(t, n) {
+ return CS(t, e, n);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/index.js
-var OS = /* @__PURE__ */ wt({
- HydrationBoundary: () => Dne,
- IsRestoringProvider: () => One,
- QueryClientContext: () => oS,
- QueryClientProvider: () => cS,
- QueryErrorResetBoundary: () => kne,
- infiniteQueryOptions: () => Ine,
- mutationOptions: () => zne,
- queryOptions: () => Fne,
- useInfiniteQuery: () => DS,
- useIsFetching: () => Lne,
- useIsMutating: () => Rne,
- useIsRestoring: () => uS,
- useMutation: () => ES,
- useMutationState: () => TS,
- usePrefetchInfiniteQuery: () => Pne,
- usePrefetchQuery: () => Nne,
- useQueries: () => xS,
- useQuery: () => CS,
- useQueryClient: () => sS,
- useQueryErrorResetBoundary: () => pS,
- useSuspenseInfiniteQuery: () => jne,
- useSuspenseQueries: () => Mne,
- useSuspenseQuery: () => Ane
+var kS = /* @__PURE__ */ wt({
+ HydrationBoundary: () => Ene,
+ IsRestoringProvider: () => Dne,
+ QueryClientContext: () => sS,
+ QueryClientProvider: () => lS,
+ QueryErrorResetBoundary: () => One,
+ infiniteQueryOptions: () => Fne,
+ mutationOptions: () => Rne,
+ queryOptions: () => Pne,
+ useInfiniteQuery: () => OS,
+ useIsFetching: () => Ine,
+ useIsMutating: () => Lne,
+ useIsRestoring: () => dS,
+ useMutation: () => DS,
+ useMutationState: () => ES,
+ usePrefetchInfiniteQuery: () => Nne,
+ usePrefetchQuery: () => Mne,
+ useQueries: () => SS,
+ useQuery: () => wS,
+ useQueryClient: () => cS,
+ useQueryErrorResetBoundary: () => mS,
+ useSuspenseInfiniteQuery: () => Ane,
+ useSuspenseQueries: () => jne,
+ useSuspenseQuery: () => kne
});
-import * as Bne from "/dist/peach-ui.js";
-Et(OS, Bne);
+import * as zne from "/dist/peach-ui.js";
+Et(kS, zne);
/* istanbul ignore file */
//#endregion
//#region src/react/providers.tsx
-var kS = null;
-function Vne() {
- return kS?.isConnected || (kS = document.createElement("div"), kS.className = "peach-react", kS.dataset.reactOverlays = "", document.body.append(kS)), kS;
+var AS = null;
+function Bne() {
+ return AS?.isConnected || (AS = document.createElement("div"), AS.className = "peach-react", AS.dataset.reactOverlays = "", document.body.append(AS)), AS;
}
-function AS({ children: e }) {
- return /* @__PURE__ */ (0, B.jsx)(cS, {
+function jS({ children: e }) {
+ return /* @__PURE__ */ (0, B.jsx)(lS, {
client: p,
children: /* @__PURE__ */ (0, B.jsx)(sd, {
reducedMotion: "user",
children: /* @__PURE__ */ (0, B.jsx)(ry, {
- getContainer: Vne,
+ getContainer: Bne,
children: e
})
})
@@ -22852,13 +22852,13 @@ function AS({ children: e }) {
}
//#endregion
//#region src/react/batch-dock/batch-dock-api.ts
-var jS = {
+var MS = {
group: "clear",
operation: "clear",
label: "取消",
glyph: "x"
};
-function Hne(e, t = !1) {
+function Vne(e, t = !1) {
switch (e) {
case "trash": return [
{
@@ -22874,7 +22874,7 @@ function Hne(e, t = !1) {
glyph: "trash",
danger: !0
},
- jS
+ MS
];
case "junk": return [
t ? {
@@ -22895,7 +22895,7 @@ function Hne(e, t = !1) {
glyph: "trash",
danger: !0
},
- jS
+ MS
];
case "follow": return [
{
@@ -22916,7 +22916,7 @@ function Hne(e, t = !1) {
label: "忽略",
glyph: "eye-off"
},
- jS
+ MS
];
default: return [
{
@@ -22950,42 +22950,42 @@ function Hne(e, t = !1) {
glyph: "trash",
danger: !0
},
- jS
+ MS
];
}
}
//#endregion
//#region src/react/batch-dock/batch-dock-island.tsx
-var MS = null, NS = null, PS = {
+var NS = null, PS = null, FS = {
count: 0,
context: "catalog",
junkDismissed: !1
};
-function FS() {
- let e = MS;
- if (!e || !NS) return;
- let t = PS;
- (0, rp.flushSync)(() => NS.render(/* @__PURE__ */ (0, B.jsx)(AS, { children: /* @__PURE__ */ (0, B.jsx)(Gne, {
+function IS() {
+ let e = NS;
+ if (!e || !PS) return;
+ let t = FS;
+ (0, rp.flushSync)(() => PS.render(/* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(Wne, {
host: e,
props: t
}) })));
}
-var Une = { render(e) {
- PS = e, FS();
+var Hne = { render(e) {
+ FS = e, IS();
} };
-function Wne(e) {
- return MS = e, NS = (0, ip.createRoot)(e.root), FS(), Une;
+function Une(e) {
+ return NS = e, PS = (0, ip.createRoot)(e.root), IS(), Hne;
}
-function Gne({ host: e, props: t }) {
+function Wne({ host: e, props: t }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
className: "peach-react",
"data-batch-scope": "",
"data-context": t.context,
- children: /* @__PURE__ */ (0, B.jsx)(aS, {
+ children: /* @__PURE__ */ (0, B.jsx)(oS, {
label: "所选项目操作",
visible: t.count > 0,
count: `已选 ${t.count} 项`,
- children: Hne(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, B.jsxs)("button", {
+ children: Vne(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
"data-batch-group": t.group,
"data-batch-action": t.operation,
@@ -23002,7 +23002,7 @@ function Gne({ host: e, props: t }) {
}
//#endregion
//#region src/react/components/glow-preset-grid.tsx
-function IS({ store: e, label: t, hidden: n }) {
+function LS({ store: e, label: t, hidden: n }) {
let r = e.value.homeGlow;
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-glow-grid": "",
@@ -23028,11 +23028,11 @@ function IS({ store: e, label: t, hidden: n }) {
}
//#endregion
//#region src/react/glow-picker/glow-picker-island.tsx
-function Kne(e) {
+function Gne(e) {
let t = (0, ip.createRoot)(e.root);
- (0, rp.flushSync)(() => t.render(/* @__PURE__ */ (0, B.jsx)(qne, { host: e })));
+ (0, rp.flushSync)(() => t.render(/* @__PURE__ */ (0, B.jsx)(Kne, { host: e })));
}
-function qne({ host: e }) {
+function Kne({ host: e }) {
let { store: t } = e;
(0, R.useSyncExternalStore)(t.subscribe, t.version);
let { homeGlow: n, accent: r } = t.value;
@@ -23048,7 +23048,7 @@ function qne({ host: e }) {
children: "重置"
})]
}),
- /* @__PURE__ */ (0, B.jsx)(IS, {
+ /* @__PURE__ */ (0, B.jsx)(LS, {
store: t,
label: "光晕",
hidden: !n.on
@@ -23088,13 +23088,13 @@ function qne({ host: e }) {
}
//#endregion
//#region src/api.ts
-var LS = class extends Error {
+var RS = class extends Error {
status;
body;
constructor(e, t, n = null) {
super(Te(e, t)), this.name = "ApiError", this.status = t, this.body = n;
}
-}, RS = (e) => {
+}, zS = (e) => {
if (!e || typeof e != "object") return "";
let t = e;
for (let e of [
@@ -23116,7 +23116,7 @@ async function W(e, t) {
try {
r = await n.json();
} catch {}
- if (!n.ok) throw new LS(RS(r) || `请求失败(${n.status})`, n.status);
+ if (!n.ok) throw new RS(zS(r) || `请求失败(${n.status})`, n.status);
return r;
}
async function G(e, t, n = "POST", r) {
@@ -23133,37 +23133,37 @@ async function G(e, t, n = "POST", r) {
try {
a = await i.json();
} catch {}
- if (!i.ok) throw new LS(RS(a) || `请求失败(${i.status})`, i.status, a);
+ if (!i.ok) throw new RS(zS(a) || `请求失败(${i.status})`, i.status, a);
return a;
}
//#endregion
//#region src/player/host.ts
-var zS = null;
-function Jne(e) {
- zS = e;
+var BS = null;
+function qne(e) {
+ BS = e;
}
-function BS() {
- if (!zS) throw Error("播放器还没有接上宿主(configurePlayer)");
- return zS;
+function VS() {
+ if (!BS) throw Error("播放器还没有接上宿主(configurePlayer)");
+ return BS;
}
//#endregion
//#region src/player/menu.ts
-var VS = null;
-function Yne(e) {
- VS = e;
+var HS = null;
+function Jne(e) {
+ HS = e;
}
-function Xne() {
+function Yne() {
let e = document.getElementById("playerMenu");
return e || (e = document.createElement("div"), e.className = "popmenu", e.setAttribute("data-player-context-menu", ""), e.id = "playerMenu", e.setAttribute("role", "menu"), e.setAttribute("aria-label", "播放器菜单"), e.hidden = !0, document.body.append(e)), e;
}
-var HS = null, US = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
-function WS() {
+var US = null, WS = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
+function GS() {
let e = document.getElementById("playerMenu");
e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && Ne(e, () => {
e.innerHTML = "";
- }), HS &&= (HS(), null);
+ }), US &&= (US(), null);
}
-async function Zne(e) {
+async function Xne(e) {
try {
return await navigator.clipboard.writeText(e), !0;
} catch {
@@ -23176,12 +23176,12 @@ async function Zne(e) {
return t.remove(), n;
}
}
-function Qne(e) {
- let t = !!VS?.inMiniplayer(e), n = e.peachItem, r = VS?.kind(e) ?? "item", i = (t) => {
+function Zne(e) {
+ let t = !!HS?.inMiniplayer(e), n = e.peachItem, r = HS?.kind(e) ?? "item", i = (t) => {
let i = new URL(r === "follow" ? `/follow/item/${n?.id}` : `/item/${n?.id}`, location.origin);
return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;
}, a = (e, t) => {
- Zne(i(e)).then((e) => BS().toast(e ? t : "复制失败,请手动复制地址栏", {
+ Xne(i(e)).then((e) => VS().toast(e ? t : "复制失败,请手动复制地址栏", {
timeout: 4e3,
warn: !e
}));
@@ -23193,11 +23193,11 @@ function Qne(e) {
}, t ? {
icon: "maximize-2",
label: "展开",
- run: () => VS?.expand()
+ run: () => HS?.expand()
} : {
icon: "picture-in-picture-2",
label: "迷你播放器",
- run: () => VS?.toMiniplayer()
+ run: () => HS?.toMiniplayer()
}];
document.pictureInPictureEnabled && o.push({
icon: "player-pip",
@@ -23220,29 +23220,29 @@ function Qne(e) {
run: () => s.click()
}), o;
}
-function $ne(e, t, n) {
- let r = Xne();
- WS();
- let i = BS().stage();
+function Qne(e, t, n) {
+ let r = Yne();
+ GS();
+ let i = VS().stage();
i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");
- let a = Qne(e);
+ let a = Zne(e);
r.innerHTML = a.map((e, t) => {
let n = e.checked !== void 0;
- return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${US(L(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${ge(e.label)}</span>${n ? US(L("check"), "data-player-menu-check") : ""}</button>`;
+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${WS(L(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${ge(e.label)}</span>${n ? WS(L("check"), "data-player-menu-check") : ""}</button>`;
}).join(""), Ge(r), r.showPopover(), r.style.left = `${Math.max(8, Math.min(t, innerWidth - r.offsetWidth - 8))}px`, r.style.top = `${Math.max(8, Math.min(n, innerHeight - r.offsetHeight - 8))}px`;
let o = [...r.querySelectorAll("[data-player-menu]")];
o.forEach((e) => {
e.onclick = (t) => {
t.stopPropagation();
let n = a[Number(e.dataset.playerMenu)];
- WS(), n?.run();
+ GS(), n?.run();
};
});
let s = (e) => {
- r.contains(e.target) || WS();
+ r.contains(e.target) || GS();
}, c = (e) => {
if (e.key === "Escape") {
- e.preventDefault(), e.stopPropagation(), WS();
+ e.preventDefault(), e.stopPropagation(), GS();
return;
}
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
@@ -23250,51 +23250,51 @@ function $ne(e, t, n) {
let t = o.indexOf(document.activeElement);
o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();
}, l = (t) => {
- qe(t, e.el()) && WS();
+ qe(t, e.el()) && GS();
};
setTimeout(() => {
document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {
capture: !0,
passive: !0
});
- }, 0), HS = () => {
+ }, 0), US = () => {
document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);
}, o[0]?.focus();
}
-function ere(e) {
+function $ne(e) {
e.el().addEventListener("contextmenu", (t) => {
- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), $ne(e, t.clientX, t.clientY));
- }), e.on("dispose", WS);
+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Qne(e, t.clientX, t.clientY));
+ }), e.on("dispose", GS);
}
//#endregion
//#region src/player/registry.ts
-var GS = null, KS = () => GS;
-function qS(e) {
- GS = e;
-}
+var KS = null, qS = () => KS;
function JS(e) {
+ KS = e;
+}
+function YS(e) {
!e || e.isDisposed() || requestAnimationFrame(() => {
e.isDisposed() || e.trigger("resize");
});
}
//#endregion
//#region src/player/stats.ts
-function YS(e) {
+function XS(e) {
let t = e.currentTime || 0;
for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t && e.buffered.end(n) >= t) return Math.max(0, e.buffered.end(n) - t);
return 0;
}
-function tre(e) {
+function ere(e) {
let t = e.currentTime || 0;
for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t + .25 && e.buffered.end(n) >= t) return e.buffered.end(n);
return e.buffered.length ? e.buffered.end(e.buffered.length - 1) : 0;
}
-var XS = 3e3;
-function ZS(e, t) {
+var ZS = 3e3;
+function QS(e, t) {
let n = Number(e) || 0, r = we(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function nre(e) {
+function tre(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -23309,10 +23309,10 @@ function nre(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = tre(e), s = e.currentTime || 0;
+ let a = performance.now(), o = ere(e), s = e.currentTime || 0;
if (n) {
let e = (a - n.at) / 1e3, i = Math.abs(s - n.ct) > e * 4 + 1, c = o - n.frontier;
- !i && c > 0 && (r += c), e * 1e3 > XS * 2 && (t.length = 0);
+ !i && c > 0 && (r += c), e * 1e3 > ZS * 2 && (t.length = 0);
}
for (n = {
at: a,
@@ -23321,56 +23321,56 @@ function nre(e) {
}, t.push({
at: a,
advanced: r
- }); t.length > 2 && a - t[0].at > XS;) t.shift();
+ }); t.length > 2 && a - t[0].at > ZS;) t.shift();
let c = t[0], l = (a - c.at) / 1e3, u = r - c.advanced;
return l >= .5 && u > 0 && this.bitrate > 0 && (i = u * this.bitrate / l), i;
}
};
}
-var QS = 24;
-function $S(e, t) {
- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > QS && e.splice(0, e.length - QS);
+var $S = 24;
+function eC(e, t) {
+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > $S && e.splice(0, e.length - $S);
}
-var eC = "peach-player-panel";
-function tC(e, t, n, r) {
- let i = [...Array(Math.max(0, QS - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
+var tC = "peach-player-panel";
+function nC(e, t, n, r) {
+ let i = [...Array(Math.max(0, $S - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
if (e === null) return "<i aria-hidden=\"true\"></i>";
let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / a));
return `<i data-bar="${t === "buffer" ? e < 5 ? "low" : e < 15 ? "mid" : "good" : "on"}" style="height:${(n * 100).toFixed(1)}%" aria-hidden="true"></i>`;
}).join("");
return `<span data-player-stats-plot="${t}" role="img" aria-label="${ge(r)}">${o}</span>`;
}
-function rre() {
+function nre() {
return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${L("chart")}</button>
<div data-player-net="" id="playerNet" role="status" aria-live="polite" hidden></div>
<div data-player-stats="" id="playerStats" role="status" hidden></div>`;
}
-function nC(e, t = "") {
+function rC(e, t = "") {
let n = t ? encodeURIComponent(t) : "";
return performance.getEntriesByType("resource").filter((t) => t.name.includes("/stream") && (t.name.includes(`/stream?id=${e}`) || t.name.includes(`/stream/hls/${e}/`)) && (!n || t.name.includes(`session=${n}`)));
}
-function rC(e, t = "") {
- let n = nC(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+function iC(e, t = "") {
+ let n = rC(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
return r > 0 && i > 0 ? r * 8 / i : 0;
}
-function iC(e, t, n = "", r = null) {
+function aC(e, t, n = "", r = null) {
let i = 0;
try {
i = Number(e?.tech({ IWillNotUseThisInPlugins: !0 })?.vhs?.stats?.bandwidth) || 0;
} catch {}
- return i > 0 ? i : r ? Number(r.bits) || 0 : rC(t, n);
+ return i > 0 ? i : r ? Number(r.bits) || 0 : iC(t, n);
}
-function aC(e) {
+function oC(e) {
if (!Number.isFinite(e) || e <= 0) return "加载中…";
let t = e / 8;
return t >= 1048576 ? `${(t / 1048576).toFixed(1)} MB/s` : `${Math.max(1, Math.round(t / 1024))} KB/s`;
}
-function ire(e, t) {
- return e > 0 ? aC(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : aC(0);
+function rre(e, t) {
+ return e > 0 ? oC(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : oC(0);
}
//#endregion
//#region src/player/controls.ts
-function oC(e, t, n = "") {
+function sC(e, t, n = "") {
if (!e) return () => {};
let r = e.querySelector(":scope>.vjs-peach-tooltip");
r || (r = document.createElement("span"), r.className = "vjs-peach-tooltip", r.setAttribute("role", "tooltip"), r.innerHTML = "<span class=\"vjs-peach-tooltip-text\"></span><kbd hidden></kbd>", e.append(r));
@@ -23381,24 +23381,24 @@ function oC(e, t, n = "") {
};
return o(), o;
}
-function are(e, t = !0) {
- let n = BS(), r = n.settings();
+function ire(e, t = !0) {
+ let n = VS(), r = n.settings();
r.ambientMode = !!e, t && n.saveSettings(), n.stage()?.toggleAttribute("data-ambient", r.ambientMode), document.dispatchEvent(new CustomEvent("peachambientchange", { detail: { enabled: r.ambientMode } }));
}
-var sC = /* @__PURE__ */ new WeakMap();
-function cC(e) {
+var cC = /* @__PURE__ */ new WeakMap();
+function lC(e) {
if (!e) return;
- let t = BS().settings().theaterMode;
- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), sC.get(e)?.(t ? "默认视图" : "影院模式");
+ let t = VS().settings().theaterMode;
+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), cC.get(e)?.(t ? "默认视图" : "影院模式");
}
-function lC(e, t = !0) {
- let n = BS(), r = n.settings();
+function uC(e, t = !0) {
+ let n = VS(), r = n.settings();
r.theaterMode = !!e, t && n.saveSettings();
let i = n.stage();
- i?.toggleAttribute("data-theater", r.theaterMode), cC(i?.querySelector("[data-player-theater]")), JS(KS());
+ i?.toggleAttribute("data-theater", r.theaterMode), lC(i?.querySelector("[data-player-theater]")), YS(qS());
}
-function ore(e) {
- let t = BS().stage(), n = t?.querySelector("[data-ambient-canvas]");
+function are(e) {
+ let t = VS().stage(), n = t?.querySelector("[data-ambient-canvas]");
if (!t || !n) return () => {};
let r = n.getContext("2d", { alpha: !1 });
if (!r) return () => {};
@@ -23422,14 +23422,14 @@ function ore(e) {
e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));
}, d = (t, n) => {
if (!(i || t !== o)) {
- if (!BS().settings().ambientMode) {
+ if (!VS().settings().ambientMode) {
c();
return;
}
e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t));
}
}, f = () => {
- i || !BS().settings().ambientMode || (l(), e.paused || u(++o));
+ i || !VS().settings().ambientMode || (l(), e.paused || u(++o));
}, p = (e) => {
let n = !!e.detail.enabled;
t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());
@@ -23438,7 +23438,7 @@ function ore(e) {
i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();
};
}
-function sre(e, t, n = 0, r = null) {
+function ore(e, t, n = 0, r = null) {
let i = e.getChild("controlBar")?.el();
if (!i || i.querySelector("[data-player-quality]")) return;
let a = document.createElement("div");
@@ -23448,7 +23448,7 @@ function sre(e, t, n = 0, r = null) {
let o = i.querySelector(".vjs-fullscreen-control");
i.insertBefore(a, o || null);
let s = a.querySelector("button"), c = a.querySelector("[data-player-quality-badge]");
- oC(s, "设置");
+ sC(s, "设置");
let l = a.querySelector(".vjs-peach-settings-menu"), u = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, d = r, f = "auto", p = (e, t) => {
let n = [Number(e), Number(t)].filter((e) => e > 0);
return n.length ? Math.min(...n) : 0;
@@ -23488,11 +23488,11 @@ function sre(e, t, n = 0, r = null) {
active: n
};
}, g = () => l.getAttribute("aria-hidden") !== "true", _ = (e) => {
- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(eC, { detail: "settings" }));
+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(tC, { detail: "settings" }));
}, v = () => _(!1), y = (e) => {
e.detail !== "settings" && v();
};
- document.addEventListener(eC, y);
+ document.addEventListener(tC, y);
let b = null, x = (e, t) => {
let n = l.querySelector(".vjs-peach-panel"), r = document.createElement("div");
if (r.className = "vjs-peach-panel", r.innerHTML = e, !n || !t || !g()) return l.replaceChildren(r), l.style.height = "", r;
@@ -23506,12 +23506,12 @@ function sre(e, t, n = 0, r = null) {
}, 250);
}), r;
}, S = (e, t) => e.querySelector(t), C = (t = 0) => {
- let { active: n } = h(), r = Number(e.playbackRate()) || 1, i = x(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${BS().settings().ambientMode}">
+ let { active: n } = h(), r = Number(e.playbackRate()) || 1, i = x(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${VS().settings().ambientMode}">
${L("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${L("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${L("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${L("player-quality")}<span>清晰度</span><b>${ge(n.label)}</b>${L("player-menu-next")}</button></div>`, t);
S(i, "[data-player-ambient]").onclick = () => {
- are(!BS().settings().ambientMode), C();
+ ire(!VS().settings().ambientMode), C();
}, S(i, "[data-player-speed]").onclick = () => D(), S(i, "[data-player-quality-view]").onclick = () => O();
}, w = .05, T = [
1,
@@ -23574,22 +23574,22 @@ function sre(e, t, n = 0, r = null) {
], () => {
g() ? C() : h();
}), e.on("dispose", () => {
- document.removeEventListener("pointerdown", k), document.removeEventListener(eC, y), b && clearTimeout(b);
- }), h(), cre(e, a), lre(e), (e) => {
+ document.removeEventListener("pointerdown", k), document.removeEventListener(tC, y), b && clearTimeout(b);
+ }), h(), sre(e, a), cre(e), (e) => {
d = e?.length ? e : null, g() ? C() : h();
};
}
-function cre(e, t) {
+function sre(e, t) {
let n = e.getChild("controlBar")?.el();
if (!n || n.querySelector("[data-player-theater]")) return;
- let r = BS().settings().theaterMode, i = document.createElement("div");
+ let r = VS().settings().theaterMode, i = document.createElement("div");
i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${L(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);
let a = i.querySelector("button");
- sC.set(a, oC(a, "影院模式", "T")), cC(a), a.onclick = (e) => {
- e.stopPropagation(), lC(!BS().settings().theaterMode);
+ cC.set(a, sC(a, "影院模式", "T")), lC(a), a.onclick = (e) => {
+ e.stopPropagation(), uC(!VS().settings().theaterMode);
};
}
-function lre(e) {
+function cre(e) {
let t = e.getChild("controlBar")?.el();
if (!t || t.querySelector(".vjs-peach-right-controls")) return;
let n = t.querySelector(":scope>.vjs-play-control");
@@ -23601,7 +23601,7 @@ function lre(e) {
e.dataset.peachExplicitIcon = "";
let r = document.createElementNS("http://www.w3.org/2000/svg", "svg");
return r.setAttribute("viewBox", n.getAttribute("viewBox") || ""), r.setAttribute("aria-hidden", "true"), r.setAttribute("class", "vjs-peach-control-icon vjs-peach-morph-icon"), r.innerHTML = n.innerHTML, e.append(r), r;
- }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = oC(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {
+ }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = sC(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {
let t = e.paused() || e.ended(), n = t ? s : c;
o && (u ? o.style.setProperty("d", `path("${n}")`) : o.setAttribute("d", n)), l(t ? "播放" : "暂停");
};
@@ -23612,7 +23612,7 @@ function lre(e) {
], d), d();
let f = t.querySelector(":scope>.vjs-volume-panel"), p = f?.querySelector(":scope>.vjs-mute-control"), m = i(p, "player-volume");
m && a("player-volume-muted").forEach((e) => m.append(e.cloneNode(!0)));
- let h = oC(p, "静音", "M"), g = () => {
+ let h = sC(p, "静音", "M"), g = () => {
let t = e.muted() || e.volume() === 0;
m && (m.dataset.silent = String(t), m.dataset.loud = String(!t && e.volume() > .5)), h(t ? "取消静音" : "静音");
};
@@ -23638,7 +23638,7 @@ function lre(e) {
});
let x = document.createElement("button"), S = !1;
x.type = "button", x.className = "vjs-peach-time vjs-control", x.dataset.playerTime = "", x.innerHTML = "<span class=\"vjs-peach-time-text\"></span>";
- let C = x.querySelector(".vjs-peach-time-text"), w = oC(x, "显示剩余时间"), T = () => {
+ let C = x.querySelector(".vjs-peach-time-text"), w = sC(x, "显示剩余时间"), T = () => {
let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = _e(Math.max(0, n - t));
C.textContent = `${S ? `-${r}` : _e(t)} / ${_e(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${_e(n)};点击显示已播放时间` : `已播放 ${_e(t)},总时长 ${_e(n)};点击显示剩余时间`);
};
@@ -23651,11 +23651,11 @@ function lre(e) {
], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);
let E = t.querySelector(":scope>.vjs-picture-in-picture-control");
r(E, "player-pip");
- let D = oC(E, "画中画");
+ let D = sC(E, "画中画");
e.on(["enterpictureinpicture", "leavepictureinpicture"], () => D(document.pictureInPictureElement ? "退出画中画" : "画中画"));
- let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = oC(O, "全屏", "F"), j = () => {
+ let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = sC(O, "全屏", "F"), j = () => {
let t = !!e.isFullscreen();
- e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), JS(e);
+ e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), YS(e);
};
e.on([
"fullscreenchange",
@@ -23675,7 +23675,7 @@ function lre(e) {
});
let ee = document.createElement("div");
ee.className = "vjs-peach-expand vjs-control", ee.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${L("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, N.prepend(ee);
- let te = ee.querySelector("button"), P = oC(te, "展开控件"), F = (t) => {
+ let te = ee.querySelector("button"), P = sC(te, "展开控件"), F = (t) => {
e.el().classList.toggle("vjs-peach-right-expanded", t), te.setAttribute("aria-expanded", String(t)), P(t ? "收起控件" : "展开控件");
};
te.onclick = (t) => {
@@ -23687,7 +23687,7 @@ function lre(e) {
}, re = new ResizeObserver(ne);
re.observe(e.el()), e.on("dispose", () => re.disconnect()), F(!1), ne();
}
-function ure(e, t, n = {}) {
+function lre(e, t, n = {}) {
let r = e.getChild("controlBar")?.el()?.querySelector(".vjs-progress-control");
if (!r || r.querySelector("[data-player-seek-preview]")) return;
let i = n.thumbnail !== !1, a = document.createElement("div");
@@ -23720,13 +23720,13 @@ function ure(e, t, n = {}) {
r.removeEventListener("pointermove", p), r.removeEventListener("pointerleave", m);
});
}
-function dre(e, t) {
+function ure(e, t) {
let n = navigator.mediaSession;
if (!n || typeof n.setActionHandler != "function") return;
let r = () => we(e.duration()) || we(t.duration) || 0, i = (t) => {
let n = r();
e.currentTime(Math.max(0, n ? Math.min(n, t) : t));
- }, a = () => Math.max(1, Number(BS().settings().seekSeconds) || 10), o = [
+ }, a = () => Math.max(1, Number(VS().settings().seekSeconds) || 10), o = [
["play", () => {
e.play();
}],
@@ -23767,11 +23767,11 @@ function dre(e, t) {
} catch {}
});
}
-function fre(e) {
+function dre(e) {
let t = e.el().querySelector(".vjs-loading-spinner");
!t || t.querySelector(".vjs-peach-spinner-container") || (t.innerHTML = "<span class=\"vjs-peach-spinner-container\"><span class=\"vjs-peach-spinner-rotator\"><span class=\"vjs-peach-spinner-left\"><span class=\"vjs-peach-spinner-circle\"></span></span><span class=\"vjs-peach-spinner-right\"><span class=\"vjs-peach-spinner-circle\"></span></span></span></span>");
}
-function pre(e, t) {
+function fre(e, t) {
pe(`/api/assets/${t}/subtitles`).then((t) => {
!e || e.isDisposed() || (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {
e.addRemoteTextTrack({
@@ -23786,7 +23786,7 @@ function pre(e, t) {
}
//#endregion
//#region src/player/dispose.ts
-function uC(e) {
+function dC(e) {
if (!e || e.isDisposed()) return;
let t = e.el()?.querySelector("video");
try {
@@ -23804,23 +23804,23 @@ function uC(e) {
}
//#endregion
//#region src/player/stream.ts
-function dC() {
+function fC() {
return globalThis.crypto?.randomUUID?.() || `${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;
}
-function fC(e, t) {
+function pC(e, t) {
return {
src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,
type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"
};
}
-function mre(e) {
+function pre(e) {
return e.location === "online" && e.follow_item_id ? {
src: `/follow-stream?id=${e.follow_item_id}`,
type: "video/mp4"
} : null;
}
-async function pC(e, t) {
- let n = mre(e);
+async function mC(e, t) {
+ let n = pre(e);
if (n) return n;
try {
let n = await pe(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);
@@ -23829,9 +23829,9 @@ async function pC(e, t) {
type: n.mime_type || "application/vnd.apple.mpegurl"
};
} catch {}
- return fC(e, t);
+ return pC(e, t);
}
-function mC(e) {
+function hC(e) {
e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {
method: "POST",
credentials: "same-origin",
@@ -23840,21 +23840,21 @@ function mC(e) {
document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);
}).catch(() => {});
}
-var hC = "";
-function gC() {
- return hC;
-}
+var gC = "";
function _C() {
- return hC ||= dC(), hC;
+ return gC;
}
-var hre = (e) => fC(e, _C()), gre = (e) => pC(e, _C());
function vC() {
- let e = hC;
- e && (hC = "", mC(e));
+ return gC ||= fC(), gC;
+}
+var mre = (e) => pC(e, vC()), hre = (e) => mC(e, vC());
+function yC() {
+ let e = gC;
+ e && (gC = "", hC(e));
}
//#endregion
//#region src/player/telemetry.ts
-function yC(e, t, n = {}) {
+function bC(e, t, n = {}) {
if (!t) return;
let r = 0, i = 0, a = 0, o = null;
t.addEventListener("seeking", () => {
@@ -23902,7 +23902,7 @@ function yC(e, t, n = {}) {
u(), l(!1);
}, { once: !0 }), c();
}
-function _re(e, t) {
+function gre(e, t) {
let n = 0, r = 0, i = !1, a = null, o = (n) => {
let i = we(e.duration) || we(t.duration);
!r && !n || (pe("/api/follow/activity", {
@@ -23938,7 +23938,7 @@ function _re(e, t) {
}
//#endregion
//#region src/player/videojs.ts
-var bC = "/vendor/videojs/8.24.1/", xC = (e) => new Promise((t, n) => {
+var xC = "/vendor/videojs/8.24.1/", SC = (e) => new Promise((t, n) => {
let r = document.head.querySelector(`script[src="${e}"]`);
if (r?.dataset.loaded) {
t();
@@ -23950,20 +23950,20 @@ var bC = "/vendor/videojs/8.24.1/", xC = (e) => new Promise((t, n) => {
}, { once: !0 }), i.addEventListener("error", () => {
i.remove(), n(/* @__PURE__ */ Error(`script unavailable: ${e}`));
}, { once: !0 }), r || (i.src = e, document.head.appendChild(i));
-}), SC = () => globalThis.videojs, CC = null;
-function wC() {
- let e = SC();
- return e ? Promise.resolve(e) : (CC ??= xC(`${bC}video.min.js`).then(() => xC(`${bC}lang/zh-CN.js`)).then(() => {
- let e = SC();
+}), CC = () => globalThis.videojs, wC = null;
+function TC() {
+ let e = CC();
+ return e ? Promise.resolve(e) : (wC ??= SC(`${xC}video.min.js`).then(() => SC(`${xC}lang/zh-CN.js`)).then(() => {
+ let e = CC();
if (!e) throw Error("videojs unavailable");
return e;
}).catch((e) => {
- throw CC = null, e;
- }), CC);
+ throw wC = null, e;
+ }), wC);
}
//#endregion
//#region src/player/immerse-player.ts
-var vre = {
+var _re = {
controls: !1,
preload: "auto",
posterImage: !1,
@@ -23975,37 +23975,37 @@ var vre = {
errorDisplay: !1,
textTrackSettings: !1
};
-function yre(e, t) {
+function vre(e, t) {
let { item: n, session: r } = t, i = null, a = !1;
- return Promise.all([pC(n, r), wC().catch(() => null)]).then(([o, s]) => {
+ return Promise.all([mC(n, r), TC().catch(() => null)]).then(([o, s]) => {
if (a) return;
- let c = fC(n, r), l = String(o.type || "").includes("mpegurl");
+ let c = pC(n, r), l = String(o.type || "").includes("mpegurl");
if (!s) e.src = (l ? c : o).src;
else {
- let t = s(e, vre);
+ let t = s(e, _re);
i = t, l && t.one("error", () => {
a || t.src(c);
}), t.src(o);
}
- yC(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
+ bC(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
}), () => {
- a || (a = !0, mC(r), i ? uC(i) : (e.pause(), e.removeAttribute("src"), e.load()));
+ a || (a = !0, hC(r), i ? dC(i) : (e.pause(), e.removeAttribute("src"), e.load()));
};
}
//#endregion
//#region src/player/detail-player.ts
-var TC = /* @__PURE__ */ new WeakMap(), EC = null, DC = null, OC = null;
-function kC() {
- EC &&= (clearInterval(EC), null), DC &&= (clearInterval(DC), null), OC &&= (clearTimeout(OC), null);
+var EC = /* @__PURE__ */ new WeakMap(), DC = null, OC = null, kC = null;
+function AC() {
+ DC &&= (clearInterval(DC), null), OC &&= (clearInterval(OC), null), kC &&= (clearTimeout(kC), null);
}
-async function bre(e, t, n, r = {}) {
- let i = KS();
+async function yre(e, t, n, r = {}) {
+ let i = qS();
if (i && !i.isDisposed()) return i;
- let a = BS(), o = r.resume ?? null;
+ let a = VS(), o = r.resume ?? null;
o?.autoplay && (n = !0);
- let s = () => r.source ? Promise.resolve(r.source) : gre(e), c;
+ let s = () => r.source ? Promise.resolve(r.source) : hre(e), c;
try {
- c = await wC();
+ c = await TC();
} catch {
return t.controls = !0, s().then((e) => {
t.src = e.src, n && t.play().catch(() => {});
@@ -24029,7 +24029,7 @@ async function bre(e, t, n, r = {}) {
} }
}
});
- qS(l), l.peachItem = e, ere(l), l.on("loadedmetadata", () => {
+ JS(l), l.peachItem = e, $ne(l), l.on("loadedmetadata", () => {
let e = l.el()?.querySelector("video");
e?.videoWidth && e.videoHeight && l.el().style.setProperty("--peach-video-ratio", `${e.videoWidth}/${e.videoHeight}`);
});
@@ -24037,7 +24037,7 @@ async function bre(e, t, n, r = {}) {
speed: [],
activity: [],
buffer: []
- }, f = Number(r.size ?? e.size) || 0, p = nre(ZS(f, e.duration)), m = 0, h = !1, g = () => KS() === l && !l.isDisposed(), _ = () => {
+ }, f = Number(r.size ?? e.size) || 0, p = tre(QS(f, e.duration)), m = 0, h = !1, g = () => qS() === l && !l.isDisposed(), _ = () => {
if (!u || h || !g()) return;
let e = Number(l.duration());
(!Number.isFinite(e) || Math.abs(e - u) > Math.max(2, u * .001)) && (h = !0, l.duration(u), queueMicrotask(() => {
@@ -24048,15 +24048,15 @@ async function bre(e, t, n, r = {}) {
ready: !1,
updateStats: () => {}
};
- TC.set(l, y), y.updateStats = () => {
+ EC.set(l, y), y.updateStats = () => {
let n = y.chrome?.statsPanel;
if (!n || n.hidden || !g()) return;
- let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = gC(), h = s ? nC(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+ let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = _C(), h = s ? rC(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
p.sample(t);
- let x = iC(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);
+ let x = aC(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);
m = S;
- let w = YS(t);
- $S(d.speed, x), $S(d.activity, C), $S(d.buffer, w);
+ let w = XS(t);
+ eC(d.speed, x), eC(d.activity, C), eC(d.buffer, w);
let T = String(e.name || ""), E = (T.includes(".") ? T.split(".").pop() || "" : s ? "" : String(l.currentSource()?.type || "").split("/").pop() || "").toUpperCase() || "—", D = x ? `${(x / 1e6).toFixed(1)} Mbps` : "—", O = s || p.bitrate > 0, k = s ? [
"网络活动",
`${_ ? ye(_) : "—"} · ${h.length} 请求`,
@@ -24074,17 +24074,17 @@ async function bre(e, t, n, r = {}) {
[
"连接速度",
D,
- tC(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
+ nC(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
],
[
k[0],
k[1],
- tC(d.activity, "activity", Math.max(1, ...d.activity), k[2])
+ nC(d.activity, "activity", Math.max(1, ...d.activity), k[2])
],
[
"缓冲健康",
`${w.toFixed(1)} 秒`,
- tC(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
+ nC(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
],
["播放时间", `${_e(t.currentTime)} / ${_e(u || l.duration())}`],
["日期", (/* @__PURE__ */ new Date()).toLocaleString()]
@@ -24100,15 +24100,15 @@ async function bre(e, t, n, r = {}) {
if (!n || l.isDisposed()) return;
let r = v();
r || p.sample(t);
- let i = iC(l, e.id, gC(), r ? null : p), a = r ? aC(i) : ire(i, YS(t));
+ let i = aC(l, e.id, _C(), r ? null : p), a = r ? oC(i) : rre(i, XS(t));
n.innerHTML = `${L("gauge")}<span class="sr-only">加载速度</span><span>${ge(a)}</span>`;
}, C = () => {
let e = y.chrome?.netBadge;
- !e || !e.isConnected || (e.hidden = !1, S(), DC && clearInterval(DC), DC = setInterval(S, 500));
+ !e || !e.isConnected || (e.hidden = !1, S(), OC && clearInterval(OC), OC = setInterval(S, 500));
}, w = () => {
let e = y.chrome?.netBadge;
- e && (OC && clearTimeout(OC), OC = setTimeout(() => {
- e.hidden = !0, DC &&= (clearInterval(DC), null);
+ e && (kC && clearTimeout(kC), kC = setTimeout(() => {
+ e.hidden = !0, OC &&= (clearInterval(OC), null);
}, 1400));
};
return l.on([
@@ -24120,7 +24120,7 @@ async function bre(e, t, n, r = {}) {
S(), w();
}), l.on("error", () => {
if (b && !x && !l.isDisposed()) {
- x = !0, b = !1, l.src(hre(e)), n && l.play()?.catch(() => {});
+ x = !0, b = !1, l.src(mre(e)), n && l.play()?.catch(() => {});
return;
}
r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
@@ -24131,27 +24131,27 @@ async function bre(e, t, n, r = {}) {
});
}), l.ready(() => {
_();
- let n = sre(l, t, e.height, r.qualities ?? null);
+ let n = ore(l, t, e.height, r.qualities ?? null);
r.mediaPromise?.then((t) => {
if (!g()) return;
n?.(t?.qualities?.length ? t.qualities : null);
let r = Number(t?.size) || 0;
- r > 0 && !f && (f = r, p.bitrate = ZS(r, e.duration));
- }).catch(() => {}), ure(l, e, { thumbnail: !r.source }), dre(l, e), fre(l), r.source || pre(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
+ r > 0 && !f && (f = r, p.bitrate = QS(r, e.duration));
+ }).catch(() => {}), lre(l, e, { thumbnail: !r.source }), ure(l, e), dre(l), r.source || fre(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
}), s().then((e) => {
g() && (b = String(e.type || "").includes("mpegurl"), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), o && o.time > 0 && l.one("loadedmetadata", () => {
l.isDisposed() || l.currentTime(o.time);
}), n && l.play()?.catch(() => {}));
}).catch(() => {}), l;
}
-var xre = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
-function AC(e, t = null) {
- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", xre), e.querySelector(":scope > #playerStatsBtn")) return;
+var bre = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
+function jC(e, t = null) {
+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", bre), e.querySelector(":scope > #playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = rre(), e.insertBefore(n.content, t);
+ n.innerHTML = nre(), e.insertBefore(n.content, t);
}
-function jC(e, t) {
- let n = TC.get(e);
+function MC(e, t) {
+ let n = EC.get(e);
if (!n || e.isDisposed()) return () => {};
let r = (e) => t.querySelector(`:scope > #${e}`), i = {
statsButton: r("playerStatsBtn"),
@@ -24163,29 +24163,29 @@ function jC(e, t) {
if (a && o) {
a.hidden = !n.ready;
let e = () => {
- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), EC &&= (clearInterval(EC), null));
+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), DC &&= (clearInterval(DC), null));
};
a.onclick = () => {
if (!o.hidden) {
e();
return;
}
- document.dispatchEvent(new CustomEvent(eC, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), EC && clearInterval(EC), EC = setInterval(n.updateStats, 1e3);
+ document.dispatchEvent(new CustomEvent(tC, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), DC && clearInterval(DC), DC = setInterval(n.updateStats, 1e3);
};
let t = (t) => {
t.detail !== "stats" && e();
};
- document.addEventListener(eC, t), s = () => document.removeEventListener(eC, t);
+ document.addEventListener(tC, t), s = () => document.removeEventListener(tC, t);
}
- let c = e.el().querySelector("video"), l = c ? ore(c) : () => {}, u = !0, d = () => {
- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, kC()));
+ let c = e.el().querySelector("video"), l = c ? are(c) : () => {}, u = !0, d = () => {
+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, AC()));
};
return e.one("dispose", d), d;
}
-function MC(e, t) {
- if (t.kind === "immerse") return yre(e, t);
- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = BS(), c = t.chrome === !1 ? null : e.parentElement;
- c && AC(c, e);
+function NC(e, t) {
+ if (t.kind === "immerse") return vre(e, t);
+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = VS(), c = t.chrome === !1 ? null : e.parentElement;
+ c && jC(c, e);
let l = { resume: t.resume ?? null };
if (n === "follow") l = {
...l,
@@ -24205,16 +24205,16 @@ function MC(e, t) {
method: "POST",
body: JSON.stringify({ id: r.id })
}).catch(() => {});
- }, { once: !0 }), yC(r, e, {
+ }, { once: !0 }), bC(r, e, {
watched: "#watched",
mark: "#mark",
ratio: "#ratioTxt"
});
}
let u = null, d = !1, f = () => {}, p = () => {
- f(), !(!u || a?.(u)) && (KS() === u && (qS(null), kC()), uC(u));
+ f(), !(!u || a?.(u)) && (qS() === u && (JS(null), AC()), dC(u));
};
- return bre(r, e, t.autoplay ?? s.settings().detailAutoplay, l).then((t) => {
+ return yre(r, e, t.autoplay ?? s.settings().detailAutoplay, l).then((t) => {
if (u = t, d) {
p();
return;
@@ -24223,45 +24223,45 @@ function MC(e, t) {
o?.(null);
return;
}
- c && (f = jC(t, c)), n === "follow" && _re(r, e), o?.(t);
+ c && (f = MC(t, c)), n === "follow" && gre(r, e), o?.(t);
}), () => {
d = !0, p();
};
}
//#endregion
//#region src/player/playback.ts
-function NC(e) {
+function PC(e) {
e && (e.paused ? e.play()?.catch(() => {}) : e.pause());
}
-function Sre(e, t) {
+function xre(e, t) {
let n = e.duration, r = (e.currentTime || 0) + t;
e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);
}
//#endregion
//#region src/jav-artwork.ts
-function PC(e) {
+function FC(e) {
return e === "thumbnail" ? "thumbnail" : "cover";
}
-function Cre(e, t) {
- return e.is_jav && e.code && e.has_cover && (PC(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
+function Sre(e, t) {
+ return e.is_jav && e.code && e.has_cover && (FC(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
}
-var FC = .704;
-function IC(e, t) {
+var IC = .704;
+function LC(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var wre = (e, t) => [
+var Cre = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], Tre = (e, t) => [
+], wre = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function Ere(e, t, n, r, i) {
+async function Tre(e, t, n, r, i) {
let a = new URLSearchParams(e);
a.set("limit", String(n)), a.set("offset", String(t)), t && a.set("count", "0");
let o = await W(`/api/items?${a}`, i), s = {
@@ -24271,22 +24271,22 @@ async function Ere(e, t, n, r, i) {
};
return !t && !s.items.length && !r && (s.libraryEmpty = (await W("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var Dre = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Ore = (e, t) => {
+var Ere = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Dre = (e, t) => {
let n = t.reduce((e, t) => e + t.items.length, 0);
return (e.has_more == null ? n < (e.total || 0) : e.has_more) ? n : void 0;
};
-function LC(e) {
- let t = IC(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function RC(e) {
+ let t = LC(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: wre(t, e.revision || 0),
- queryFn: ({ pageParam: e, signal: i }) => Ere(t, e, n, r, i),
+ queryKey: Cre(t, e.revision || 0),
+ queryFn: ({ pageParam: e, signal: i }) => Tre(t, e, n, r, i),
initialPageParam: 0,
- getNextPageParam: Dre(n)
+ getNextPageParam: Ere(n)
};
}
-function kre(e) {
+function Ore(e) {
return {
- queryKey: Tre(e.entityKey || "", e.revision || 0),
+ queryKey: wre(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -24301,12 +24301,12 @@ function kre(e) {
};
},
initialPageParam: 0,
- getNextPageParam: Ore
+ getNextPageParam: Dre
};
}
-async function Are(e, t) {
+async function kre(e, t) {
if (e.mode !== "catalog") return;
- let n = LC(e);
+ let n = RC(e);
await p.fetchInfiniteQuery({
...n,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -24315,7 +24315,7 @@ async function Are(e, t) {
})
});
}
-function jre(e, t, n) {
+function Are(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -24330,24 +24330,24 @@ function jre(e, t, n) {
return !0;
}) : [...e];
}
-var RC = (e, t) => !!e && !!Cre(e, t);
-function Mre(e, t) {
- let n = (e) => RC(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
- return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => RC(e, t)) || e[e.length - 1];
+var zC = (e, t) => !!e && !!Sre(e, t);
+function jre(e, t) {
+ let n = (e) => zC(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
+ return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => zC(e, t)) || e[e.length - 1];
}
-function Nre(e, { collapse: t, mix: n, javImage: r }) {
+function Mre(e, { collapse: t, mix: n, javImage: r }) {
let i = {
parts: /* @__PURE__ */ new Set(),
editions: /* @__PURE__ */ new Set()
}, a = /* @__PURE__ */ new Set(), o = [], s = [];
for (let c of e) {
s.push(o.length);
- let e = jre(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = Are(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
kind: "card",
item: e
}));
if (n && e.length >= 8) {
- let t = Mre(e, r);
+ let t = jre(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -24360,16 +24360,16 @@ function Nre(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function Pre(e, t, n) {
+function Nre(e, t, n) {
let r = Math.max(1, n), i = [];
for (let n = Math.max(r, Math.ceil(Math.max(0, t) / r) * r); n < e; n += r) i.push(n);
return i;
}
-function Fre(e, t) {
+function Pre(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return n.set("orient", "竖屏"), n.set("limit", "18"), n.set("offset", String(t)), n.toString();
}
-function Ire(e, t) {
+function Fre(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -24382,10 +24382,10 @@ function Ire(e, t) {
strip: null
}), r;
}
-function zC(e, t) {
- BC((t) => t.id === e, t);
-}
function BC(e, t) {
+ VC((t) => t.id === e, t);
+}
+function VC(e, t) {
p.setQueriesData({
queryKey: ["catalog-grid"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -24402,31 +24402,31 @@ function BC(e, t) {
}
//#endregion
//#region src/react/item-detail/item-detail.ts
-var VC = (e) => ["item", e], HC = (e) => [
+var HC = (e) => ["item", e], UC = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], Lre = (e, t) => [
+], Ire = (e, t) => [
"item-related",
e,
t
-], Rre = (e) => `/api/item?id=${e}`, zre = (e, t) => `/api/related?id=${e}&limit=${t}`, UC = "/api/playlist", WC = "/api/feedback", GC = "/api/item-tag", KC = "/api/watch-later", qC = "/api/quality-goal", JC = "/api/preference", YC = class extends Error {};
-async function XC(e, t) {
- let n = await W(Rre(e), t);
- if (n.error) throw new YC(n.error);
+], Lre = (e) => `/api/item?id=${e}`, Rre = (e, t) => `/api/related?id=${e}&limit=${t}`, WC = "/api/playlist", GC = "/api/feedback", KC = "/api/item-tag", qC = "/api/watch-later", JC = "/api/quality-goal", YC = "/api/preference", XC = class extends Error {};
+async function ZC(e, t) {
+ let n = await W(Lre(e), t);
+ if (n.error) throw new XC(n.error);
return n;
}
-async function ZC(e, t, n) {
+async function QC(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([XC(r, n), t.mixRelated(r)]);
- return p.setQueryData(VC(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([ZC(r, n), t.mixRelated(r)]);
+ return p.setQueryData(HC(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${re(i, t.tagLabel)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return QC(await W(`${UC}?id=${e.playlistId}`, n));
+ if (e.kind === "playlist") return $C(await W(`${WC}?id=${e.playlistId}`, n));
let r = await W(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
@@ -24436,19 +24436,19 @@ async function ZC(e, t, n) {
items: r.items
};
}
-var QC = (e) => ({
+var $C = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
-}), $C = (e) => e.disposal === "vanished";
-function ew(e, t) {
+}), ew = (e) => e.disposal === "vanished";
+function tw(e, t) {
if (e.kind === "mix") return t;
- let n = e.kind === "playlist" ? e.items.filter((e) => !$C(e)) : e.items;
+ let n = e.kind === "playlist" ? e.items.filter((e) => !ew(e)) : e.items;
return n.length ? t != null && n.some((e) => e.id === t) ? t : e.kind === "playlist" && n.some((t) => t.id === e.currentAssetId) ? e.currentAssetId : n[0].id : null;
}
-function Bre(e, t) {
+function zre(e, t) {
if (t?.kind !== "parts") return e;
let n = t.items.find((t) => t.id === e.id)?.part_label || "";
return e.part_label === n ? e : {
@@ -24456,15 +24456,15 @@ function Bre(e, t) {
part_label: n
};
}
-async function Vre(e, t) {
+async function Bre(e, t) {
let { queue: n, actions: r } = e, i = null, a = !1;
if (n) {
- let o = HC(n);
+ let o = UC(n);
try {
let r = n.fresh ? void 0 : p.getQueryData(o);
a = !r && n.kind === "mix", i = r || await p.fetchQuery({
queryKey: o,
- queryFn: () => ZC(n, e.helpers, t),
+ queryFn: () => QC(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -24476,20 +24476,20 @@ async function Vre(e, t) {
return;
}
}
- let o = i ? ew(i, e.id) : e.id;
+ let o = i ? tw(i, e.id) : e.id;
if (o == null) {
r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });
return;
}
- let s, c = a && o === i?.seedId ? p.getQueryData(VC(o)) : void 0;
+ let s, c = a && o === i?.seedId ? p.getQueryData(HC(o)) : void 0;
try {
s = c || await p.fetchQuery({
- queryKey: VC(o),
- queryFn: () => XC(o, t),
+ queryKey: HC(o),
+ queryFn: () => ZC(o, t),
staleTime: 0
});
} catch (e) {
- if (e instanceof YC) {
+ if (e instanceof XC) {
r.redirect({ kind: "gone" });
return;
}
@@ -24500,7 +24500,7 @@ async function Vre(e, t) {
id: Number(s.follow_item_id)
});
}
-function Hre(e) {
+function Vre(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = be(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -24522,42 +24522,42 @@ function Hre(e) {
unowned: !i.length && !c.length && !String(e.creator || "").trim()
};
}
-var tw = (e) => Math.min(Math.max(e || 0, 0), 100), nw = (e) => Math.round(tw(e) / 20), Ure = (e) => {
- let t = nw(e);
+var nw = (e) => Math.min(Math.max(e || 0, 0), 100), rw = (e) => Math.round(nw(e) / 20), Hre = (e) => {
+ let t = rw(e);
return t ? `${t} 星` : "未评分";
-}, Wre = (e, t) => {
+}, Ure = (e, t) => {
let n = t * 20;
return n === (e || 0) ? 0 : n;
};
-function Gre(e, t) {
+function Wre(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = be(t.tagLabel(e.k)), i = n.get(r);
(!i || be(e.k) === r && be(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var rw = (e, t) => (e.tags || []).some((e) => be(e.k) === be(t)), iw = (e, t) => ({
+var iw = (e, t) => (e.tags || []).some((e) => be(e.k) === be(t)), aw = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => be(e.k) !== be(t))
-}), aw = (e, t) => rw(e, t.k) ? e : {
+}), ow = (e, t) => iw(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, ow = "peach.recentTags";
-function sw() {
+}, sw = "peach.recentTags";
+function cw() {
try {
- let e = JSON.parse(localStorage.getItem(ow) || "[]");
+ let e = JSON.parse(localStorage.getItem(sw) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function Kre(e) {
+function Gre(e) {
try {
- let t = sw().filter((t) => be(t) !== be(e));
- localStorage.setItem(ow, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = cw().filter((t) => be(t) !== be(e));
+ localStorage.setItem(sw, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function qre(e, t, n) {
+function Kre(e, t, n) {
let r = be(e), i = new Map(t.map((e) => [be(e.k), e])), a = t.filter((e) => !r || be(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(be(e)) || {
k: e,
n: 0
@@ -24568,73 +24568,73 @@ function qre(e, t, n) {
create: r && !s ? e.trim() : ""
};
}
-var Jre = {
+var qre = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, Yre = {
+}, Jre = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function Xre(e) {
+function Yre(e) {
let t = e.items.length, n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;
return {
- title: Yre[e.kind],
+ title: Jre[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var cw = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, Zre = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${ge(cw(e.part_label))}</small>` : "";
-function Qre(e, t, n, r) {
+var lw = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, Xre = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${ge(lw(e.part_label))}</small>` : "";
+function Zre(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var $re = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function eie(e, t) {
+var Qre = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function $re(e, t) {
return t ? "offline" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";
}
-function tie(e) {
+function eie(e) {
let t = Number(e.duration) > 0 ? Number(e.duration) : 0;
return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;
}
-function lw(e, t) {
+function uw(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
//#endregion
//#region src/react/immerse/immerse.ts
-var nie = (e, t, n) => [
+var tie = (e, t, n) => [
"immerse-list",
e,
t,
n
];
-function rie(e) {
+function nie(e) {
let t = new URLSearchParams();
for (let [n, r] of Object.entries(e)) r && t.set(n, String(r));
return t.delete("orient"), t.set("sort", "rand"), t.set("limit", "60"), t.set("offset", "0"), t.set("thumb", ""), t.toString();
}
-var iie = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
-function aie(e, t = Math.random) {
+var rie = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
+function iie(e, t = Math.random) {
for (let n = e.length - 1; n > 0; n--) {
let r = Math.floor(t() * (n + 1));
[e[n], e[r]] = [e[r], e[n]];
}
return e;
}
-async function oie(e, t) {
- return aie(((await W(`/api/items?${e}`)).items || []).filter((e) => iie(e, t)));
+async function aie(e, t) {
+ return iie(((await W(`/api/items?${e}`)).items || []).filter((e) => rie(e, t)));
}
-var uw = (e) => p.ensureQueryData({
- queryKey: VC(e),
- queryFn: ({ signal: t }) => XC(e, t)
+var dw = (e) => p.ensureQueryData({
+ queryKey: HC(e),
+ queryFn: ({ signal: t }) => ZC(e, t)
});
-function sie(e, t) {
+function oie(e, t) {
let n = new Set(e.map((e) => e.id));
return e.concat(t.filter((e) => !n.has(e.id)));
}
-function cie(e) {
+function sie(e) {
let t = e.performers || [], n = t.length ? t.slice(0, 3).join("、") + (t.length > 3 ? ` 等 ${t.length} 人` : "") : e.creator || "未归属", r = t.length ? "performer" : e.creator ? "creator" : "";
return {
who: n,
@@ -24643,314 +24643,314 @@ function cie(e) {
ref: r && e.entity_refs?.[r]?.[0] || null
};
}
-function lie(e, t, n) {
+function cie(e, t, n) {
if (!e || !t || !n || !Number.isFinite(n)) return null;
let r = e / t;
return (r > n ? r / n : n / r) > 1.05 ? "contain" : "cover";
}
-function uie(e, t) {
+function lie(e, t) {
return e.videoWidth && e.videoHeight ? e.videoWidth >= e.videoHeight : !!(t.width && t.height && t.width > 0 && t.height > 0 && t.width >= t.height);
}
-var die = 15e3, dw = {
+var uie = 15e3, fw = {
open: !1,
idle: !1,
wide: !1,
loading: null,
shown: null
-}, fw = null, pw = null, mw = null, hw = null, gw = dw, _w = 0, vw = 0, yw = 0, bw = "", xw = [], Sw = 0, Cw = !1, ww = !1, Tw = null, Ew = /* @__PURE__ */ new Set(), Dw = "", Ow = null, kw = 0, Aw = null, jw = !1;
-function Mw() {
- if (!fw) throw Error("沉浸岛还没有接上宿主(configureImmerse)");
- return fw;
-}
-function fie() {
- return (!pw || !mw?.isConnected) && (pw?.unmount(), mw = document.createElement("div"), mw.dataset.immerseHost = "", document.body.append(mw), pw = (0, ip.createRoot)(mw)), pw;
-}
+}, pw = null, mw = null, hw = null, gw = null, _w = fw, vw = 0, yw = 0, bw = 0, xw = "", Sw = [], Cw = 0, ww = !1, Tw = !1, Ew = null, Dw = /* @__PURE__ */ new Set(), Ow = "", kw = null, Aw = 0, jw = null, Mw = !1;
function Nw() {
- let e = fie();
- (0, rp.flushSync)(() => e.render(/* @__PURE__ */ (0, B.jsx)(AS, { children: /* @__PURE__ */ (0, B.jsx)(Aie, { view: gw }) })));
+ if (!pw) throw Error("沉浸岛还没有接上宿主(configureImmerse)");
+ return pw;
+}
+function die() {
+ return (!mw || !hw?.isConnected) && (mw?.unmount(), hw = document.createElement("div"), hw.dataset.immerseHost = "", document.body.append(hw), mw = (0, ip.createRoot)(hw)), mw;
}
function Pw() {
- let e = Ow ? rC(Ow.id) : 0;
- return e ? `${Dw} · ${aC(e)}` : Dw;
+ let e = die();
+ (0, rp.flushSync)(() => e.render(/* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(kie, { view: _w }) })));
}
-function Fw(e, t = null) {
- if (clearInterval(kw), kw = 0, e === null) {
- gw = {
- ...gw,
+function Fw() {
+ let e = kw ? iC(kw.id) : 0;
+ return e ? `${Ow} · ${oC(e)}` : Ow;
+}
+function Iw(e, t = null) {
+ if (clearInterval(Aw), Aw = 0, e === null) {
+ _w = {
+ ..._w,
loading: null
- }, Nw();
+ }, Pw();
return;
}
- Dw = e, Ow = t, gw = {
- ...gw,
- loading: Pw()
- }, Nw(), kw = window.setInterval(() => {
- Ow = xw[Sw] ?? null, gw = {
- ...gw,
- loading: Pw()
- }, Nw();
+ Ow = e, kw = t, _w = {
+ ..._w,
+ loading: Fw()
+ }, Pw(), Aw = window.setInterval(() => {
+ kw = Sw[Cw] ?? null, _w = {
+ ..._w,
+ loading: Fw()
+ }, Pw();
}, 500);
}
-function pie(e) {
+function fie(e) {
let t = document.createElement("div");
t.dataset.immerseSlide = "", e && (t.style.transform = `translateY(${e}%)`);
let n = document.createElement("video");
- n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), hw.track.append(t);
- let r = dC(), i = () => {}, a = {
+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), gw.track.append(t);
+ let r = fC(), i = () => {}, a = {
el: t,
video: n,
session: r,
- release: () => mC(r),
+ release: () => hC(r),
disposed: !1,
gone: new Promise((e) => {
i = e;
}),
leave: i
};
- return Ew.add(a), a;
+ return Dw.add(a), a;
}
-function mie(e, t) {
+function pie(e, t) {
return new Promise((n) => {
- e.release = MC(e.video, {
+ e.release = NC(e.video, {
kind: "immerse",
item: t,
session: e.session,
onLoaded: n,
onEnded: () => {
- gw.open && Hw(1);
+ _w.open && Uw(1);
}
}), e.gone.then(n);
});
}
-function Iw(e) {
- !e || e.disposed || (e.disposed = !0, Ew.delete(e), e.leave(), e.release(), e.el.remove(), Tw === e && (Tw = null));
+function Lw(e) {
+ !e || e.disposed || (e.disposed = !0, Dw.delete(e), e.leave(), e.release(), e.el.remove(), Ew === e && (Ew = null));
}
-var Lw = [
+var Rw = [
"loadeddata",
"canplay",
"error"
];
-function hie(e) {
+function mie(e) {
let { video: t } = e;
return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {
let r = !1, i = () => {
- r || (r = !0, clearTimeout(a), Lw.forEach((e) => t.removeEventListener(e, i)), n());
+ r || (r = !0, clearTimeout(a), Rw.forEach((e) => t.removeEventListener(e, i)), n());
};
- Lw.forEach((e) => t.addEventListener(e, i, { once: !0 }));
- let a = setTimeout(i, die);
+ Rw.forEach((e) => t.addEventListener(e, i, { once: !0 }));
+ let a = setTimeout(i, uie);
e.gone.then(i);
});
}
-function Rw(e) {
- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = lie(e.videoWidth, e.videoHeight, n);
+function zw(e) {
+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = cie(e.videoWidth, e.videoHeight, n);
r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;
}
-var zw = () => hw?.track.querySelectorAll("video").forEach(Rw);
-function gie(e) {
- delete e.dataset.fit, e.readyState >= 1 ? Rw(e) : e.addEventListener("loadedmetadata", () => Rw(e), { once: !0 });
+var Bw = () => gw?.track.querySelectorAll("video").forEach(zw);
+function hie(e) {
+ delete e.dataset.fit, e.readyState >= 1 ? zw(e) : e.addEventListener("loadedmetadata", () => zw(e), { once: !0 });
}
-function _ie(e) {
- gw = {
- ...gw,
+function gie(e) {
+ _w = {
+ ..._w,
wide: e
- }, Nw(), zw();
+ }, Pw(), Bw();
}
-var Bw = () => {
- let e = bw;
+var Vw = () => {
+ let e = xw;
return p.fetchQuery({
- queryKey: nie(e, vw, yw),
- queryFn: () => oie(e, Mw().sourceOffline),
+ queryKey: tie(e, yw, bw),
+ queryFn: () => aie(e, Nw().sourceOffline),
staleTime: Infinity
});
};
-function vie(e, t) {
+function _ie(e, t) {
let n = () => we(e.duration) || we(t.duration);
e.addEventListener("timeupdate", () => {
let t = n();
- t && hw && (hw.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
- }), Aw = {
+ t && gw && (gw.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
+ }), jw = {
video: e,
duration: n
};
}
-async function Vw(e = 0) {
- let t = xw[Sw];
- if (!t || Cw) return;
- let n = _w;
- Mw().route(t.id), Cw = !0, Fw(e ? "切换中…" : "加载中…", t);
+async function Hw(e = 0) {
+ let t = Sw[Cw];
+ if (!t || ww) return;
+ let n = vw;
+ Nw().route(t.id), ww = !0, Iw(e ? "切换中…" : "加载中…", t);
let r = null;
try {
- if (await uw(t.id).catch((e) => {
- if (!(e instanceof YC)) throw e;
- }), n !== _w) return;
- let i = Tw, a = !!(e && i);
- a || Iw(i);
- let o = pie(a ? e > 0 ? 100 : -100 : 0);
- if (r = o, gie(o.video), await mie(o, t), await hie(o), o.disposed || (_ie(uie(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
+ if (await dw(t.id).catch((e) => {
+ if (!(e instanceof XC)) throw e;
+ }), n !== vw) return;
+ let i = Ew, a = !!(e && i);
+ a || Lw(i);
+ let o = fie(a ? e > 0 ? 100 : -100 : 0);
+ if (r = o, hie(o.video), await pie(o, t), await mie(o), o.disposed || (gie(lie(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
i.el.style.transform = `translateY(${e > 0 ? -100 : 100}%)`, o.el.style.transform = "";
- })), await new Promise((e) => setTimeout(e, 210)), Iw(i), o.el.style.transform = ""), o.disposed)) return;
- Tw = o, r = null, o.video.play()?.catch(() => {}), gw = {
- ...gw,
+ })), await new Promise((e) => setTimeout(e, 210)), Lw(i), o.el.style.transform = ""), o.disposed)) return;
+ Ew = o, r = null, o.video.play()?.catch(() => {}), _w = {
+ ..._w,
idle: !1,
shown: {
item: t,
- index: Sw,
- length: xw.length
+ index: Cw,
+ length: Sw.length
}
- }, vie(o.video, t), G("/api/play", { id: t.id }).catch(() => {}), Fw(null);
+ }, _ie(o.video, t), G("/api/play", { id: t.id }).catch(() => {}), Iw(null);
} catch {
- Iw(r), n === _w && Fw(null);
+ Lw(r), n === vw && Iw(null);
} finally {
- n === _w && (Cw = !1);
+ n === vw && (ww = !1);
}
}
-async function Hw(e) {
- if (Cw || !gw.open) return;
- let t = _w;
- if (Sw += e, Fw("切换中…", xw[Sw] ?? null), Sw >= xw.length - 3 && !ww) {
- ww = !0;
+async function Uw(e) {
+ if (ww || !_w.open) return;
+ let t = vw;
+ if (Cw += e, Iw("切换中…", Sw[Cw] ?? null), Cw >= Sw.length - 3 && !Tw) {
+ Tw = !0;
try {
- yw += 1;
- let e = await Bw();
- t === _w && (xw = sie(xw, e));
+ bw += 1;
+ let e = await Vw();
+ t === vw && (Sw = oie(Sw, e));
} catch {} finally {
- ww = !1;
+ Tw = !1;
}
}
- t === _w && (Sw >= xw.length && (Sw = 0), Sw < 0 && (Sw = xw.length - 1), await Vw(e));
+ t === vw && (Cw >= Sw.length && (Cw = 0), Cw < 0 && (Cw = Sw.length - 1), await Hw(e));
}
-async function yie(e) {
- let t = ++_w;
- Uw(), vw += 1, yw = 0, bw = rie(Mw().filters()), p.removeQueries({ queryKey: ["immerse-list"] }), gw = {
- ...gw,
+async function vie(e) {
+ let t = ++vw;
+ Ww(), yw += 1, bw = 0, xw = nie(Nw().filters()), p.removeQueries({ queryKey: ["immerse-list"] }), _w = {
+ ..._w,
open: !0,
idle: !0,
shown: null
- }, document.body.setAttribute("data-immerse-open", ""), Fw("加载内容…");
+ }, document.body.setAttribute("data-immerse-open", ""), Iw("加载内容…");
try {
- let n = await Bw();
+ let n = await Vw();
if (e && !n.some((t) => t.id === e)) {
- let t = await uw(e).catch((e) => {
- if (e instanceof YC) return null;
+ let t = await dw(e).catch((e) => {
+ if (e instanceof XC) return null;
throw e;
});
t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);
}
- if (t !== _w) return;
- if (xw = n, !xw.length) {
- Ww(), Mw().warn("当前筛选下没有可直接播放的内容");
+ if (t !== vw) return;
+ if (Sw = n, !Sw.length) {
+ Gw(), Nw().warn("当前筛选下没有可直接播放的内容");
return;
}
- Sw = Math.max(0, xw.findIndex((t) => t.id === e)), await Vw();
+ Cw = Math.max(0, Sw.findIndex((t) => t.id === e)), await Hw();
} catch {
- if (t !== _w) return;
- Fw(null), Ww();
+ if (t !== vw) return;
+ Iw(null), Gw();
}
}
-function Uw() {
- clearInterval(kw), kw = 0, Xw(), Jw = null, Aw = null, jw = !1, [...Ew].forEach(Iw), Cw = !1;
-}
function Ww() {
- gw.open && (_w++, Uw(), gw = dw, document.body.removeAttribute("data-immerse-open"), Nw(), Mw().closed());
+ clearInterval(Aw), Aw = 0, Zw(), Yw = null, jw = null, Mw = !1, [...Dw].forEach(Lw), ww = !1;
}
-var Gw = 0, Kw = null, qw = 0, Jw = null, Yw = 0;
-function Xw() {
- clearTimeout(Gw), Gw = 0, Kw = null;
+function Gw() {
+ _w.open && (vw++, Ww(), _w = fw, document.body.removeAttribute("data-immerse-open"), Pw(), Nw().closed());
}
-function bie(e) {
- let t = Tw?.video;
+var Kw = 0, qw = null, Jw = 0, Yw = null, Xw = 0;
+function Zw() {
+ clearTimeout(Kw), Kw = 0, qw = null;
+}
+function yie(e) {
+ let t = Ew?.video;
if (!t) return;
let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();
- if (Kw && Kw.side === n && r - Kw.at <= 280) {
- Xw(), Sre(t, Mw().seekSeconds() * n);
+ if (qw && qw.side === n && r - qw.at <= 280) {
+ Zw(), xre(t, Nw().seekSeconds() * n);
return;
}
- Gw && (clearTimeout(Gw), Gw = 0, NC(t)), Kw = {
+ Kw && (clearTimeout(Kw), Kw = 0, PC(t)), qw = {
side: n,
at: r
- }, Gw = window.setTimeout(() => {
- Gw = 0, Kw = null, gw.open && NC(Tw?.video);
+ }, Kw = window.setTimeout(() => {
+ Kw = 0, qw = null, _w.open && PC(Ew?.video);
}, 280);
}
-function xie() {
- Date.now() < qw || NC(Tw?.video);
-}
-var Zw = (e) => hw?.bar.toggleAttribute("data-scrubbing", e);
-function Qw(e) {
- hw && (hw.progress.style.width = `${(e * 100).toFixed(2)}%`);
+function bie() {
+ Date.now() < Jw || PC(Ew?.video);
}
+var Qw = (e) => gw?.bar.toggleAttribute("data-scrubbing", e);
function $w(e) {
+ gw && (gw.progress.style.width = `${(e * 100).toFixed(2)}%`);
+}
+function eT(e) {
let t = e.target;
if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {
- Jw = null;
+ Yw = null;
return;
}
- let n = Tw?.video;
- Jw = {
+ let n = Ew?.video;
+ Yw = {
x: e.touches[0].clientX,
y: e.touches[0].clientY,
axis: "",
from: n && n.currentTime || 0
};
}
-function eT(e) {
- if (!Jw || e.touches.length !== 1) return;
- let t = e.touches[0].clientX - Jw.x, n = e.touches[0].clientY - Jw.y;
- if (!Jw.axis) {
+function tT(e) {
+ if (!Yw || e.touches.length !== 1) return;
+ let t = e.touches[0].clientX - Yw.x, n = e.touches[0].clientY - Yw.y;
+ if (!Yw.axis) {
if (Math.abs(t) < 12 && Math.abs(n) < 12) return;
- Jw.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", Jw.axis === "x" && Zw(!0);
+ Yw.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", Yw.axis === "x" && Qw(!0);
}
- if (Jw.axis !== "x") return;
- let r = Tw?.video, i = r && r.duration || 0;
- i && (e.preventDefault(), Jw.to = Math.min(i, Math.max(0, Jw.from + t / window.innerWidth * i)), Qw(Jw.to / i));
+ if (Yw.axis !== "x") return;
+ let r = Ew?.video, i = r && r.duration || 0;
+ i && (e.preventDefault(), Yw.to = Math.min(i, Math.max(0, Yw.from + t / window.innerWidth * i)), $w(Yw.to / i));
}
-function tT(e) {
- if (!Jw) return;
- let t = Jw;
- if (Jw = null, qw = Date.now() + 700, Zw(!1), t.axis === "x") {
- let e = Tw?.video;
+function nT(e) {
+ if (!Yw) return;
+ let t = Yw;
+ if (Yw = null, Jw = Date.now() + 700, Qw(!1), t.axis === "x") {
+ let e = Ew?.video;
e && t.to != null && (e.currentTime = t.to);
return;
}
let n = e.changedTouches[0], r = n.clientX - t.x, i = t.y - n.clientY;
if (Math.abs(i) > 60) {
- Xw(), Hw(i > 0 ? 1 : -1);
+ Zw(), Uw(i > 0 ? 1 : -1);
return;
}
- Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), bie(n.clientX));
+ Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), yie(n.clientX));
}
-function nT() {
- Jw = null, Zw(!1);
+function rT() {
+ Yw = null, Qw(!1);
}
-function rT(e) {
+function iT(e) {
let t = Date.now();
- t - Yw < 260 || (Yw = t, Hw(e.deltaY > 0 ? 1 : -1));
+ t - Xw < 260 || (Xw = t, Uw(e.deltaY > 0 ? 1 : -1));
}
-function iT(e) {
- let t = hw.bar.getBoundingClientRect();
+function aT(e) {
+ let t = gw.bar.getBoundingClientRect();
return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));
}
+function xie(e) {
+ jw?.duration() && (Mw = !0, Qw(!0), e.currentTarget.setPointerCapture(e.pointerId), $w(aT(e)), e.preventDefault());
+}
function Sie(e) {
- Aw?.duration() && (jw = !0, Zw(!0), e.currentTarget.setPointerCapture(e.pointerId), Qw(iT(e)), e.preventDefault());
+ Mw && $w(aT(e));
}
function Cie(e) {
- jw && Qw(iT(e));
-}
-function wie(e) {
- if (!jw) return;
- jw = !1, Zw(!1);
- let t = Aw?.duration();
- Aw && t && (Aw.video.currentTime = t * iT(e));
+ if (!Mw) return;
+ Mw = !1, Qw(!1);
+ let t = jw?.duration();
+ jw && t && (jw.video.currentTime = t * aT(e));
}
-function Tie() {
- jw = !1, Zw(!1);
+function wie() {
+ Mw = !1, Qw(!1);
}
-async function aT(e, t) {
- let n = await G(WC, {
+async function oT(e, t) {
+ let n = await G(GC, {
id: e,
kind: t
- }), r = p.getQueryData(VC(e));
- if (!r) return zC(e, {
+ }), r = p.getQueryData(HC(e));
+ if (!r) return BC(e, {
feedback: n.feedback ?? void 0,
o_count: n.o_count
}), n;
@@ -24959,7 +24959,7 @@ async function aT(e, t) {
feedback: n.feedback ?? void 0,
o_count: n.o_count
};
- return p.setQueryData(VC(e), i), zC(e, {
+ return p.setQueryData(HC(e), i), BC(e, {
feedback: i.feedback,
disposal: i.disposal,
watch_later: i.watch_later,
@@ -24967,7 +24967,7 @@ async function aT(e, t) {
o_count: i.o_count
}), n;
}
-var Eie = [
+var Tie = [
{
kind: "dislike",
glyph: "thumbs-down",
@@ -24984,31 +24984,31 @@ var Eie = [
label: "记一次高潮"
}
];
-function oT(e) {
- return CS({
- queryKey: VC(e ?? 0),
- queryFn: ({ signal: t }) => XC(e, t),
+function sT(e) {
+ return wS({
+ queryKey: HC(e ?? 0),
+ queryFn: ({ signal: t }) => ZC(e, t),
enabled: e != null,
staleTime: Infinity
}).data;
}
-function Die({ kind: e, glyph: t, label: n, id: r }) {
- let i = oT(r), a = ES({
+function Eie({ kind: e, glyph: t, label: n, id: r }) {
+ let i = sT(r), a = DS({
mutationFn: async (t) => {
- let n = p.getQueryData(VC(t))?.feedback || null;
+ let n = p.getQueryData(HC(t))?.feedback || null;
return {
- result: await aT(t, e),
+ result: await oT(t, e),
before: n
};
},
onSuccess: ({ result: t, before: n }, r) => {
- Mw().toast(lw(e, t), { undo: async () => {
- e === "o" ? await aT(r, "o-undo") : (t.feedback && await aT(r, t.feedback), n && await aT(r, n));
+ Nw().toast(uw(e, t), { undo: async () => {
+ e === "o" ? await oT(r, "o-undo") : (t.feedback && await oT(r, t.feedback), n && await oT(r, n));
} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {
- Hw(1);
+ Uw(1);
}, 260);
},
- onError: (e) => Mw().failure("更新反馈", e)
+ onError: (e) => Nw().failure("更新反馈", e)
}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-immerse-action": "",
@@ -25039,11 +25039,11 @@ function Die({ kind: e, glyph: t, label: n, id: r }) {
})]
});
}
-function Oie({ shown: e }) {
- let t = e?.item ?? null, n = oT(t?.id ?? null), r = n ? cie(n) : null, i = Mw(), a = (e) => {
- e.preventDefault(), n && (Ww(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
+function Die({ shown: e }) {
+ let t = e?.item ?? null, n = sT(t?.id ?? null), r = n ? sie(n) : null, i = Nw(), a = (e) => {
+ e.preventDefault(), n && (Gw(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
}, o = () => {
- t && (Ww(), i.openItem(t.id));
+ t && (Gw(), i.openItem(t.id));
}, s = r ? k(r.name, r.ref, de(r.name), r.kind || "performer") : "";
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-immerse-ui": "",
@@ -25072,18 +25072,18 @@ function Oie({ shown: e }) {
})]
});
}
-var kie = { __html: Qe("媒体加载中") };
-function Aie({ view: e }) {
+var Oie = { __html: Qe("媒体加载中") };
+function kie({ view: e }) {
let t = (0, R.useRef)(null), n = (0, R.useRef)(null), r = (0, R.useRef)(null), i = (0, R.useRef)(null);
(0, R.useLayoutEffect)(() => {
let e = t.current;
- return hw = {
+ return gw = {
root: e,
track: n.current,
bar: r.current,
progress: i.current
- }, e.addEventListener("touchstart", $w, { passive: !0 }), e.addEventListener("touchmove", eT, { passive: !1 }), e.addEventListener("touchend", tT, { passive: !1 }), e.addEventListener("touchcancel", nT, { passive: !0 }), e.addEventListener("wheel", rT, { passive: !0 }), () => {
- e.removeEventListener("touchstart", $w), e.removeEventListener("touchmove", eT), e.removeEventListener("touchend", tT), e.removeEventListener("touchcancel", nT), e.removeEventListener("wheel", rT), hw = null;
+ }, e.addEventListener("touchstart", eT, { passive: !0 }), e.addEventListener("touchmove", tT, { passive: !1 }), e.addEventListener("touchend", nT, { passive: !1 }), e.addEventListener("touchcancel", rT, { passive: !0 }), e.addEventListener("wheel", iT, { passive: !0 }), () => {
+ e.removeEventListener("touchstart", eT), e.removeEventListener("touchmove", tT), e.removeEventListener("touchend", nT), e.removeEventListener("touchcancel", rT), e.removeEventListener("wheel", iT), gw = null;
};
}, []);
let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;
@@ -25100,10 +25100,10 @@ function Aie({ view: e }) {
children: [/* @__PURE__ */ (0, B.jsx)("div", {
ref: n,
"data-immerse-track": "",
- onClick: xie
+ onClick: bie
}), /* @__PURE__ */ (0, B.jsx)("div", {
"data-immerse-actions": "",
- children: Eie.map((e) => /* @__PURE__ */ (0, B.jsx)(Die, {
+ children: Tie.map((e) => /* @__PURE__ */ (0, B.jsx)(Eie, {
...e,
id: a
}, e.kind))
@@ -25116,7 +25116,7 @@ function Aie({ view: e }) {
hidden: e.loading === null,
children: [/* @__PURE__ */ (0, B.jsx)("span", {
"data-immerse-spinner": "",
- dangerouslySetInnerHTML: kie
+ dangerouslySetInnerHTML: Oie
}), /* @__PURE__ */ (0, B.jsx)("span", { children: e.loading ?? "" })]
}),
/* @__PURE__ */ (0, B.jsx)("button", {
@@ -25124,7 +25124,7 @@ function Aie({ view: e }) {
"data-immerse-close": "",
title: "关闭",
"aria-label": "关闭",
- onClick: Ww,
+ onClick: Gw,
children: /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, B.jsx)("use", { href: "#i-x" })
@@ -25133,71 +25133,71 @@ function Aie({ view: e }) {
/* @__PURE__ */ (0, B.jsx)("div", {
ref: r,
"data-immerse-bar": "",
- onPointerDown: Sie,
- onPointerMove: Cie,
- onPointerUp: wie,
- onPointerCancel: Tie,
+ onPointerDown: xie,
+ onPointerMove: Sie,
+ onPointerUp: Cie,
+ onPointerCancel: wie,
children: /* @__PURE__ */ (0, B.jsx)("i", { ref: i })
}),
- /* @__PURE__ */ (0, B.jsx)(Oie, { shown: e.shown })
+ /* @__PURE__ */ (0, B.jsx)(Die, { shown: e.shown })
]
});
}
-var jie = {
- open: yie,
- close: Ww,
- isOpen: () => gw.open,
- activeVideo: () => gw.open ? Tw?.video ?? null : null
+var Aie = {
+ open: vie,
+ close: Gw,
+ isOpen: () => _w.open,
+ activeVideo: () => _w.open ? Ew?.video ?? null : null
};
-function Mie(e) {
- if (!gw.open) return;
+function jie(e) {
+ if (!_w.open) return;
let t = e.target;
- t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && Hw(1), e.key === "ArrowUp" && Hw(-1));
+ t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && Uw(1), e.key === "ArrowUp" && Uw(-1));
}
-function Nie(e) {
- let t = !fw;
- return fw = e, Nw(), t && (document.addEventListener("keydown", Mie), addEventListener("resize", () => {
- gw.open && zw();
+function Mie(e) {
+ let t = !pw;
+ return pw = e, Pw(), t && (document.addEventListener("keydown", jie), addEventListener("resize", () => {
+ _w.open && Bw();
}), addEventListener("pagehide", () => {
- Ew.forEach((e) => mC(e.session));
- })), jie;
+ Dw.forEach((e) => hC(e.session));
+ })), Aie;
}
//#endregion
//#region src/manage-header.ts
-var Pie = {
+var Nie = {
"/junk-files": "垃圾文件",
"/duplicates": "重复文件",
"/review": "人工复核",
"/trash": "回收站",
"/quality-goals": "高清版",
"/scraping": "来源和凭证"
-}, Fie = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]), Iie = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t}`;
-function Lie(e) {
+}, Pie = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]), Fie = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t}`;
+function Iie(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
- let n = Pie[e.path] ?? "";
+ let n = Nie[e.path] ?? "";
return {
title: e.path === "/diagnostics" ? "系统诊断" : e.section === "cleanup" && n || t[1],
crumb: n,
- compact: Fie.has(e.path) || e.section === "configuration",
+ compact: Pie.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: Iie(e.trash),
+ text: Fie(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
}
-var Rie = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
+var Lie = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
//#endregion
//#region src/react/settings-panel/icon.tsx
-function sT({ name: e }) {
+function cT({ 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 zie({ name: e }) {
+function Rie({ name: e }) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -25206,29 +25206,29 @@ function zie({ name: e }) {
}
//#endregion
//#region src/react/manage-header/manage-header-island.tsx
-var cT = null, lT = null, uT = null;
-function Bie() {
- let e = cT, t = uT;
- !e || !lT || !t || (0, rp.flushSync)(() => lT.render(/* @__PURE__ */ (0, B.jsx)(Uie, {
+var lT = null, uT = null, dT = null;
+function zie() {
+ let e = lT, t = dT;
+ !e || !uT || !t || (0, rp.flushSync)(() => uT.render(/* @__PURE__ */ (0, B.jsx)(Hie, {
host: e,
props: t
})));
}
-var Vie = { render(e) {
- uT = e, Bie();
+var Bie = { render(e) {
+ dT = e, zie();
} };
-function Hie(e) {
- return cT = e, uT = null, e.root.replaceChildren(), lT = (0, ip.createRoot)(e.root), Vie;
+function Vie(e) {
+ return lT = e, dT = null, e.root.replaceChildren(), uT = (0, ip.createRoot)(e.root), Bie;
}
-function Uie({ host: e, props: t }) {
- let n = Lie(t);
+function Hie({ host: e, props: t }) {
+ let n = Iie(t);
return n ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
- /* @__PURE__ */ (0, B.jsx)(Wie, {
+ /* @__PURE__ */ (0, B.jsx)(Uie, {
host: e,
section: t.section,
menu: t.menu
}),
- n.crumb ? /* @__PURE__ */ (0, B.jsx)(Gie, {
+ n.crumb ? /* @__PURE__ */ (0, B.jsx)(Wie, {
host: e,
label: n.crumb
}) : null,
@@ -25237,29 +25237,29 @@ function Uie({ host: e, props: t }) {
"data-compact": n.compact ? "" : void 0,
children: n.title
}),
- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, B.jsx)(Kie, {
+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, B.jsx)(Gie, {
host: e,
lede: n.lede
})
] }) : null;
}
-var dT = null;
-function fT(e, t, n) {
+var fT = null;
+function pT(e, t, n) {
e.style.setProperty("--tab-x", `${t}px`), e.style.setProperty("--tab-width", `${n}px`);
}
-function Wie({ host: e, section: t, menu: n }) {
+function Uie({ host: e, section: t, menu: n }) {
let r = (0, R.useRef)(null), i = (0, R.useRef)(null), a = () => {
let e = r.current, t = i.current;
if (!e || !t) return;
let n = e.querySelector("button[aria-pressed=\"true\"]");
- n && !n.offsetWidth || (fT(t, n?.offsetLeft ?? 0, n?.offsetWidth ?? 0), n && (dT = {
+ n && !n.offsetWidth || (pT(t, n?.offsetLeft ?? 0, n?.offsetWidth ?? 0), n && (fT = {
x: n.offsetLeft,
width: n.offsetWidth
}));
};
return (0, R.useLayoutEffect)(() => {
let e = r.current, t = i.current;
- dT ? fT(t, dT.x, dT.width) : a();
+ fT ? pT(t, fT.x, fT.width) : a();
let n = 0, o = requestAnimationFrame(() => {
t.setAttribute("data-ready", ""), n = requestAnimationFrame(a);
}), s = new ResizeObserver(a);
@@ -25282,7 +25282,7 @@ function Wie({ host: e, section: t, menu: n }) {
"aria-pressed": a,
"aria-current": a ? "page" : void 0,
onClick: () => e.openManage(n),
- children: [/* @__PURE__ */ (0, B.jsx)(sT, { name: i }), /* @__PURE__ */ (0, B.jsx)("span", { children: r })]
+ children: [/* @__PURE__ */ (0, B.jsx)(cT, { name: i }), /* @__PURE__ */ (0, B.jsx)("span", { children: r })]
}, n);
}), /* @__PURE__ */ (0, B.jsx)("span", {
ref: i,
@@ -25292,7 +25292,7 @@ function Wie({ host: e, section: t, menu: n }) {
})
});
}
-function Gie({ host: e, label: t }) {
+function Wie({ host: e, label: t }) {
return /* @__PURE__ */ (0, B.jsx)("nav", {
"data-manage-crumb": "",
"aria-label": "Breadcrumb",
@@ -25302,20 +25302,20 @@ function Gie({ host: e, label: t }) {
t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());
},
children: "数据管理"
- }), /* @__PURE__ */ (0, B.jsx)(sT, { name: "chevron-right" })] }), /* @__PURE__ */ (0, B.jsx)("li", {
+ }), /* @__PURE__ */ (0, B.jsx)(cT, { name: "chevron-right" })] }), /* @__PURE__ */ (0, B.jsx)("li", {
"aria-current": "true",
children: /* @__PURE__ */ (0, B.jsx)("span", { children: t })
})] })
});
}
-function Kie({ host: e, lede: t }) {
+function Gie({ host: e, lede: t }) {
return /* @__PURE__ */ (0, B.jsx)("p", {
className: "mono",
"data-manage-lede": "",
children: t.kind === "skeleton" ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-trash-lede-skeletons": "",
- dangerouslySetInnerHTML: { __html: Rie }
- }) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(qie, { text: t.text }), t.total ? /* @__PURE__ */ (0, B.jsx)("button", {
+ dangerouslySetInnerHTML: { __html: Lie }
+ }) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Kie, { text: t.text }), t.total ? /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-empty-trash": "",
"data-danger": "",
@@ -25325,7 +25325,7 @@ function Kie({ host: e, lede: t }) {
}) : null] })
});
}
-function qie({ text: e }) {
+function Kie({ text: e }) {
let t = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
$e(t.current, e);
@@ -25336,7 +25336,7 @@ function qie({ text: e }) {
}
//#endregion
//#region node_modules/@remixicon/react/index.mjs
-var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25344,7 +25344,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Yie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25352,7 +25352,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), pT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), mT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25360,7 +25360,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), mT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), hT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25368,7 +25368,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), hT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), gT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25376,7 +25376,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Xie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Yie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25384,7 +25384,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), gT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), _T = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25392,7 +25392,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Zie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Xie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25400,7 +25400,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), _T = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), vT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25408,7 +25408,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Zie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25416,7 +25416,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), vT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), yT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25424,7 +25424,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), yT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), bT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25432,7 +25432,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), bT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), xT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25440,7 +25440,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), xT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), ST = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25448,7 +25448,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), ST = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), CT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25456,7 +25456,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), $ie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25464,7 +25464,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), CT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), wT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25472,7 +25472,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), wT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), TT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25480,7 +25480,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), eae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), $ie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25488,7 +25488,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), tae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), eae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25496,7 +25496,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M13 12H16L12 16L8 12H11V8H13V12ZM15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918Z" })), nae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M13 12H16L12 16L8 12H11V8H13V12ZM15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918Z" })), tae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25504,7 +25504,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), rae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), nae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25512,7 +25512,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), iae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), rae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25520,7 +25520,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), aae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), iae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25528,7 +25528,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), TT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), ET = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25536,7 +25536,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), ET = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), DT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25544,7 +25544,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), oae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), aae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25552,7 +25552,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), sae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), oae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25560,7 +25560,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), cae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), sae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25568,7 +25568,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), lae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), cae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25576,7 +25576,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), lae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25584,7 +25584,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), DT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), OT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25592,7 +25592,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), dae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25600,7 +25600,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), OT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), kT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25608,7 +25608,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), kT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), AT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25616,7 +25616,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), AT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), jT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25624,7 +25624,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), jT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), MT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25632,7 +25632,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), fae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), dae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25640,7 +25640,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), pae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), fae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25648,7 +25648,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), mae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), pae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25656,7 +25656,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), hae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), mae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25664,7 +25664,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), MT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), NT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25672,7 +25672,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), NT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), PT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25680,7 +25680,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), gae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), hae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25688,7 +25688,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), _ae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), gae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25696,7 +25696,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M17 6C16.4477 6 16 5.55228 16 5C16 4.44772 16.4477 4 17 4C17.5523 4 18 4.44772 18 5C18 5.55228 17.5523 6 17 6ZM17 8C18.6569 8 20 6.65685 20 5C20 3.34315 18.6569 2 17 2C15.3431 2 14 3.34315 14 5C14 6.65685 15.3431 8 17 8ZM7 3C4.79086 3 3 4.79086 3 7V9H5V7C5 5.89543 5.89543 5 7 5H10V3H7ZM17 21C19.2091 21 21 19.2091 21 17V15H19V17C19 18.1046 18.1046 19 17 19H14V21H17ZM8 13C8 12.4477 7.55228 12 7 12C6.44772 12 6 12.4477 6 13C6 13.5523 6.44772 14 7 14C7.55228 14 8 13.5523 8 13ZM10 13C10 14.6569 8.65685 16 7 16C5.34315 16 4 14.6569 4 13C4 11.3431 5.34315 10 7 10C8.65685 10 10 11.3431 10 13ZM17 11C15.8954 11 15 11.8954 15 13H13C13 10.7909 14.7909 9 17 9C19.2091 9 21 10.7909 21 13H19C19 11.8954 18.1046 11 17 11ZM5 21C5 19.8954 5.89543 19 7 19C8.10457 19 9 19.8954 9 21H11C11 18.7909 9.20914 17 7 17C4.79086 17 3 18.7909 3 21H5Z" })), vae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M17 6C16.4477 6 16 5.55228 16 5C16 4.44772 16.4477 4 17 4C17.5523 4 18 4.44772 18 5C18 5.55228 17.5523 6 17 6ZM17 8C18.6569 8 20 6.65685 20 5C20 3.34315 18.6569 2 17 2C15.3431 2 14 3.34315 14 5C14 6.65685 15.3431 8 17 8ZM7 3C4.79086 3 3 4.79086 3 7V9H5V7C5 5.89543 5.89543 5 7 5H10V3H7ZM17 21C19.2091 21 21 19.2091 21 17V15H19V17C19 18.1046 18.1046 19 17 19H14V21H17ZM8 13C8 12.4477 7.55228 12 7 12C6.44772 12 6 12.4477 6 13C6 13.5523 6.44772 14 7 14C7.55228 14 8 13.5523 8 13ZM10 13C10 14.6569 8.65685 16 7 16C5.34315 16 4 14.6569 4 13C4 11.3431 5.34315 10 7 10C8.65685 10 10 11.3431 10 13ZM17 11C15.8954 11 15 11.8954 15 13H13C13 10.7909 14.7909 9 17 9C19.2091 9 21 10.7909 21 13H19C19 11.8954 18.1046 11 17 11ZM5 21C5 19.8954 5.89543 19 7 19C8.10457 19 9 19.8954 9 21H11C11 18.7909 9.20914 17 7 17C4.79086 17 3 18.7909 3 21H5Z" })), _ae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25704,100 +25704,100 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), yae = (e, t) => {
+}, R.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), vae = (e, t) => {
let n = Array(e.length + t.length);
for (let t = 0; t < e.length; t++) n[t] = e[t];
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
return n;
-}, bae = (e, t) => ({
+}, yae = (e, t) => ({
classGroupId: e,
validator: t
-}), PT = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), FT = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), FT = "-", IT = [], xae = "arbitrary..", Sae = (e) => {
- let t = wae(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), IT = "-", LT = [], bae = "arbitrary..", xae = (e) => {
+ let t = Cae(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return Cae(e);
- let n = e.split(FT);
- return LT(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return Sae(e);
+ let n = e.split(IT);
+ return RT(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? yae(i, t) : t : i || IT;
+ return t ? i ? vae(i, t) : t : i || LT;
}
- return n[e] || IT;
+ return n[e] || LT;
}
};
-}, LT = (e, t, n) => {
+}, RT = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = LT(e, t + 1, i);
+ let n = RT(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(FT) : e.slice(t).join(FT), s = a.length;
+ let o = t === 0 ? e.join(IT) : e.slice(t).join(IT), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, Cae = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, Sae = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
- return r ? xae + r : void 0;
-})(), wae = (e) => {
+ return r ? bae + r : void 0;
+})(), Cae = (e) => {
let { theme: t, classGroups: n } = e;
- return Tae(n, t);
-}, Tae = (e, t) => {
- let n = PT();
+ return wae(n, t);
+}, wae = (e, t) => {
+ let n = FT();
for (let r in e) {
let i = e[r];
- RT(i, n, r, t);
+ zT(i, n, r, t);
}
return n;
-}, RT = (e, t, n, r) => {
+}, zT = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- Eae(i, t, n, r);
+ Tae(i, t, n, r);
}
-}, Eae = (e, t, n, r) => {
+}, Tae = (e, t, n, r) => {
if (typeof e == "string") {
- Dae(e, t, n);
+ Eae(e, t, n);
return;
}
if (typeof e == "function") {
- Oae(e, t, n, r);
+ Dae(e, t, n, r);
return;
}
- kae(e, t, n, r);
-}, Dae = (e, t, n) => {
- let r = e === "" ? t : zT(t, e);
+ Oae(e, t, n, r);
+}, Eae = (e, t, n) => {
+ let r = e === "" ? t : BT(t, e);
r.classGroupId = n;
-}, Oae = (e, t, n, r) => {
- if (Aae(e)) {
- RT(e(r), t, n, r);
+}, Dae = (e, t, n, r) => {
+ if (kae(e)) {
+ zT(e(r), t, n, r);
return;
}
- t.validators === null && (t.validators = []), t.validators.push(bae(n, e));
-}, kae = (e, t, n, r) => {
+ t.validators === null && (t.validators = []), t.validators.push(yae(n, e));
+}, Oae = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- RT(o, zT(t, a), n, r);
+ zT(o, BT(t, a), n, r);
}
-}, zT = (e, t) => {
- let n = e, r = t.split(FT), i = r.length;
+}, BT = (e, t) => {
+ let n = e, r = t.split(IT), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = PT(), n.nextPart.set(t, i)), n = i;
+ i || (i = FT(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, Aae = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, jae = (e) => {
+}, kae = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Aae = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -25815,19 +25815,19 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
e in n ? n[e] = t : i(e, t);
}
};
-}, BT = "!", VT = ":", Mae = [], HT = (e, t, n, r, i) => ({
+}, VT = "!", HT = ":", jae = [], UT = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), Nae = (e) => {
+}), Mae = (e) => {
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
for (let s = 0; s < o; s++) {
let o = e[s];
if (n === 0 && r === 0) {
- if (o === VT) {
+ if (o === HT) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -25839,13 +25839,13 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(BT) ? (c = s.slice(0, -1), l = !0) : s.startsWith(BT) && (c = s.slice(1), l = !0);
+ s.endsWith(VT) ? (c = s.slice(0, -1), l = !0) : s.startsWith(VT) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return HT(t, l, c, u);
+ return UT(t, l, c, u);
};
if (t) {
- let e = t + VT, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : HT(Mae, !1, t, void 0, !0);
+ let e = t + HT, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : UT(jae, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -25855,7 +25855,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
});
}
return r;
-}, Pae = (e) => {
+}, Nae = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -25867,18 +25867,18 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, Fae = (e) => ({
- cache: jae(e.cacheSize),
- parseClassName: Nae(e),
- sortModifiers: Pae(e),
- postfixLookupClassGroupIds: Iae(e),
- ...Sae(e)
-}), Iae = (e) => {
+}, Pae = (e) => ({
+ cache: Aae(e.cacheSize),
+ parseClassName: Mae(e),
+ sortModifiers: Nae(e),
+ postfixLookupClassGroupIds: Fae(e),
+ ...xae(e)
+}), Fae = (e) => {
let t = Object.create(null), n = e.postfixLookupClassGroups;
if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
return t;
-}, Lae = /\s+/, Rae = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Lae), l = "";
+}, Iae = /\s+/, Lae = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Iae), l = "";
for (let e = c.length - 1; e >= 0; --e) {
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
if (u) {
@@ -25902,7 +25902,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + BT : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + VT : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -25913,34 +25913,34 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, zae = (...e) => {
+}, Rae = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = UT(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = WT(n)) && (i && (i += " "), i += r);
return i;
-}, UT = (e) => {
+}, WT = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = UT(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = WT(e[r])) && (n && (n += " "), n += t);
return n;
-}, WT = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = Fae(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, GT = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = Pae(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
let t = r(e);
if (t) return t;
- let a = Rae(e, n);
+ let a = Lae(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(zae(...e));
-}, Bae = [], GT = (e) => {
- let t = (t) => t[e] || Bae;
+ return a = o, (...e) => a(Rae(...e));
+}, zae = [], KT = (e) => {
+ let t = (t) => t[e] || zae;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, KT = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, qT = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Vae = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Hae = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Uae = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Wae = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Gae = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Kae = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, JT = (e) => Vae.test(e), YT = (e) => !!e && !Number.isNaN(Number(e)), XT = (e) => !!e && Number.isInteger(Number(e)), ZT = (e) => e.endsWith("%") && YT(e.slice(0, -1)), QT = (e) => Hae.test(e), $T = () => !0, qae = (e) => Uae.test(e) && !Wae.test(e), eE = () => !1, Jae = (e) => Gae.test(e), Yae = (e) => Kae.test(e), Xae = (e) => !K(e) && !q(e), Zae = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), Qae = (e) => cE(e, fE, eE), K = (e) => KT.test(e), tE = (e) => cE(e, pE, qae), nE = (e) => cE(e, ooe, YT), $ae = (e) => cE(e, hE, $T), eoe = (e) => cE(e, mE, eE), rE = (e) => cE(e, uE, eE), toe = (e) => cE(e, dE, Yae), iE = (e) => cE(e, gE, Jae), q = (e) => qT.test(e), aE = (e) => lE(e, pE), noe = (e) => lE(e, mE), oE = (e) => lE(e, uE), roe = (e) => lE(e, fE), ioe = (e) => lE(e, dE), sE = (e) => lE(e, gE, !0), aoe = (e) => lE(e, hE, !0), cE = (e, t, n) => {
- let r = KT.exec(e);
- return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, lE = (e, t, n = !1) => {
+}, qT = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, JT = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Bae = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Vae = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Hae = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Uae = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Wae = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Gae = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, YT = (e) => Bae.test(e), XT = (e) => !!e && !Number.isNaN(Number(e)), ZT = (e) => !!e && Number.isInteger(Number(e)), QT = (e) => e.endsWith("%") && XT(e.slice(0, -1)), $T = (e) => Vae.test(e), eE = () => !0, Kae = (e) => Hae.test(e) && !Uae.test(e), tE = () => !1, qae = (e) => Wae.test(e), Jae = (e) => Gae.test(e), Yae = (e) => !K(e) && !q(e), Xae = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), Zae = (e) => lE(e, pE, tE), K = (e) => qT.test(e), nE = (e) => lE(e, mE, Kae), rE = (e) => lE(e, aoe, XT), Qae = (e) => lE(e, gE, eE), $ae = (e) => lE(e, hE, tE), iE = (e) => lE(e, dE, tE), eoe = (e) => lE(e, fE, Jae), aE = (e) => lE(e, _E, qae), q = (e) => JT.test(e), oE = (e) => uE(e, mE), toe = (e) => uE(e, hE), sE = (e) => uE(e, dE), noe = (e) => uE(e, pE), roe = (e) => uE(e, fE), cE = (e) => uE(e, _E, !0), ioe = (e) => uE(e, gE, !0), lE = (e, t, n) => {
let r = qT.exec(e);
+ return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
+}, uE = (e, t, n = !1) => {
+ let r = JT.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, uE = (e) => e === "position" || e === "percentage", dE = (e) => e === "image" || e === "url", fE = (e) => e === "length" || e === "size" || e === "bg-size", pE = (e) => e === "length", ooe = (e) => e === "number", mE = (e) => e === "family-name", hE = (e) => e === "number" || e === "weight", gE = (e) => e === "shadow", _E = () => {
- let e = GT("color"), t = GT("font"), n = GT("text"), r = GT("font-weight"), i = GT("tracking"), a = GT("leading"), o = GT("breakpoint"), s = GT("container"), c = GT("spacing"), l = GT("radius"), u = GT("shadow"), d = GT("inset-shadow"), f = GT("text-shadow"), p = GT("drop-shadow"), m = GT("blur"), h = GT("perspective"), g = GT("aspect"), _ = GT("ease"), v = GT("animate"), y = () => [
+}, dE = (e) => e === "position" || e === "percentage", fE = (e) => e === "image" || e === "url", pE = (e) => e === "length" || e === "size" || e === "bg-size", mE = (e) => e === "length", aoe = (e) => e === "number", hE = (e) => e === "family-name", gE = (e) => e === "number" || e === "weight", _E = (e) => e === "shadow", vE = () => {
+ let e = KT("color"), t = KT("font"), n = KT("text"), r = KT("font-weight"), i = KT("tracking"), a = KT("leading"), o = KT("breakpoint"), s = KT("container"), c = KT("spacing"), l = KT("radius"), u = KT("shadow"), d = KT("inset-shadow"), f = KT("text-shadow"), p = KT("drop-shadow"), m = KT("blur"), h = KT("perspective"), g = KT("aspect"), _ = KT("ease"), v = KT("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -25982,12 +25982,12 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
K,
c
], T = () => [
- JT,
+ YT,
"full",
"auto",
...w()
], E = () => [
- XT,
+ ZT,
"none",
"subgrid",
q,
@@ -25996,15 +25996,15 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"auto",
{ span: [
"full",
- XT,
+ ZT,
q,
K
] },
- XT,
+ ZT,
q,
K
], O = () => [
- XT,
+ ZT,
"auto",
q,
K
@@ -26034,7 +26034,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- JT,
+ YT,
"auto",
"full",
"dvw",
@@ -26049,7 +26049,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
...w()
], ee = () => [
s,
- JT,
+ YT,
"screen",
"full",
"dvw",
@@ -26060,7 +26060,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"fit",
...w()
], te = () => [
- JT,
+ YT,
"screen",
"full",
"lh",
@@ -26077,8 +26077,8 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
K
], F = () => [
...b(),
- oE,
- rE,
+ sE,
+ iE,
{ position: [q, K] }
], ne = () => ["no-repeat", { repeat: [
"",
@@ -26090,13 +26090,13 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"auto",
"cover",
"contain",
- roe,
- Qae,
+ noe,
+ Zae,
{ size: [q, K] }
], ie = () => [
- ZT,
- aE,
- tE
+ QT,
+ oE,
+ nE
], ae = () => [
"",
"none",
@@ -26106,9 +26106,9 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
K
], oe = () => [
"",
- YT,
- aE,
- tE
+ XT,
+ oE,
+ nE
], se = () => [
"solid",
"dashed",
@@ -26132,10 +26132,10 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"color",
"luminosity"
], le = () => [
- YT,
- ZT,
- oE,
- rE
+ XT,
+ QT,
+ sE,
+ iE
], ue = () => [
"",
"none",
@@ -26144,20 +26144,20 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
K
], de = () => [
"none",
- YT,
+ XT,
q,
K
], fe = () => [
"none",
- YT,
+ XT,
q,
K
], I = () => [
- YT,
+ XT,
q,
K
], pe = () => [
- JT,
+ YT,
"full",
...w()
];
@@ -26171,17 +26171,17 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"bounce"
],
aspect: ["video"],
- blur: [QT],
- breakpoint: [QT],
- color: [$T],
- container: [QT],
- "drop-shadow": [QT],
+ blur: [$T],
+ breakpoint: [$T],
+ color: [eE],
+ container: [$T],
+ "drop-shadow": [$T],
ease: [
"in",
"out",
"in-out"
],
- font: [Xae],
+ font: [Yae],
"font-weight": [
"thin",
"extralight",
@@ -26193,7 +26193,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"extrabold",
"black"
],
- "inset-shadow": [QT],
+ "inset-shadow": [$T],
leading: [
"none",
"tight",
@@ -26210,11 +26210,11 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"distant",
"none"
],
- radius: [QT],
- shadow: [QT],
- spacing: ["px", YT],
- text: [QT],
- "text-shadow": [QT],
+ radius: [$T],
+ shadow: [$T],
+ spacing: ["px", XT],
+ text: [$T],
+ "text-shadow": [$T],
tracking: [
"tighter",
"tight",
@@ -26228,7 +26228,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
aspect: [{ aspect: [
"auto",
"square",
- JT,
+ YT,
K,
q,
g
@@ -26241,9 +26241,9 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
q,
K
] }],
- "container-named": [Zae],
+ "container-named": [Xae],
columns: [{ columns: [
- YT,
+ XT,
"auto",
K,
q,
@@ -26343,13 +26343,13 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"collapse"
],
z: [{ z: [
- XT,
+ ZT,
"auto",
q,
K
] }],
basis: [{ basis: [
- JT,
+ YT,
"full",
"auto",
s,
@@ -26367,8 +26367,8 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"wrap-reverse"
] }],
flex: [{ flex: [
+ XT,
YT,
- JT,
"auto",
"initial",
"none",
@@ -26376,18 +26376,18 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
] }],
grow: [{ grow: [
"",
- YT,
+ XT,
q,
K
] }],
shrink: [{ shrink: [
"",
- YT,
+ XT,
q,
K
] }],
order: [{ order: [
- XT,
+ ZT,
"first",
"last",
"none",
@@ -26499,15 +26499,15 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"font-size": [{ text: [
"base",
n,
- aE,
- tE
+ oE,
+ nE
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- aoe,
- $ae
+ ioe,
+ Qae
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -26519,12 +26519,12 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"expanded",
"extra-expanded",
"ultra-expanded",
- ZT,
+ QT,
K
] }],
"font-family": [{ font: [
- noe,
- eoe,
+ toe,
+ $ae,
t
] }],
"font-features": [{ "font-features": [K] }],
@@ -26540,10 +26540,10 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
K
] }],
"line-clamp": [{ "line-clamp": [
- YT,
+ XT,
"none",
q,
- nE
+ rE
] }],
leading: [{ leading: [
"none",
@@ -26581,15 +26581,15 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
],
"text-decoration-style": [{ decoration: [...se(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- YT,
+ XT,
"from-font",
"auto",
q,
- tE
+ nE
] }],
"text-decoration-color": [{ decoration: P() }],
"underline-offset": [{ "underline-offset": [
- YT,
+ XT,
"auto",
q,
K
@@ -26613,7 +26613,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- XT,
+ ZT,
q,
K
] }],
@@ -26691,7 +26691,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"l",
"tl"
] },
- XT,
+ ZT,
q,
K
],
@@ -26702,13 +26702,13 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
],
conic: [
"",
- XT,
+ ZT,
q,
K
]
},
- ioe,
- toe
+ roe,
+ eoe
] }],
"bg-color": [{ bg: P() }],
"gradient-from-pos": [{ from: ie() }],
@@ -26775,15 +26775,15 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- YT,
+ XT,
q,
K
] }],
"outline-w": [{ outline: [
"",
- YT,
- aE,
- tE
+ XT,
+ oE,
+ nE
] }],
"outline-color": [{ outline: P() }],
shadow: [{ shadow: [
@@ -26791,33 +26791,33 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"inner",
"none",
u,
- sE,
- iE
+ cE,
+ aE
] }],
"shadow-color": [{ shadow: P() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- sE,
- iE
+ cE,
+ aE
] }],
"inset-shadow-color": [{ "inset-shadow": P() }],
"ring-w": [{ ring: oe() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: P() }],
- "ring-offset-w": [{ "ring-offset": [YT, tE] }],
+ "ring-offset-w": [{ "ring-offset": [XT, nE] }],
"ring-offset-color": [{ "ring-offset": P() }],
"inset-ring-w": [{ "inset-ring": oe() }],
"inset-ring-color": [{ "inset-ring": P() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- sE,
- iE
+ cE,
+ aE
] }],
"text-shadow-color": [{ "text-shadow": P() }],
opacity: [{ opacity: [
- YT,
+ XT,
q,
K
] }],
@@ -26841,7 +26841,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [YT] }],
+ "mask-image-linear-pos": [{ "mask-linear": [XT] }],
"mask-image-linear-from-pos": [{ "mask-linear-from": le() }],
"mask-image-linear-to-pos": [{ "mask-linear-to": le() }],
"mask-image-linear-from-color": [{ "mask-linear-from": P() }],
@@ -26881,7 +26881,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [YT] }],
+ "mask-image-conic-pos": [{ "mask-conic": [XT] }],
"mask-image-conic-from-pos": [{ "mask-conic-from": le() }],
"mask-image-conic-to-pos": [{ "mask-conic-to": le() }],
"mask-image-conic-from-color": [{ "mask-conic-from": P() }],
@@ -26916,12 +26916,12 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
] }],
blur: [{ blur: ue() }],
brightness: [{ brightness: [
- YT,
+ XT,
q,
K
] }],
contrast: [{ contrast: [
- YT,
+ XT,
q,
K
] }],
@@ -26929,35 +26929,35 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"",
"none",
p,
- sE,
- iE
+ cE,
+ aE
] }],
"drop-shadow-color": [{ "drop-shadow": P() }],
grayscale: [{ grayscale: [
"",
- YT,
+ XT,
q,
K
] }],
"hue-rotate": [{ "hue-rotate": [
- YT,
+ XT,
q,
K
] }],
invert: [{ invert: [
"",
- YT,
+ XT,
q,
K
] }],
saturate: [{ saturate: [
- YT,
+ XT,
q,
K
] }],
sepia: [{ sepia: [
"",
- YT,
+ XT,
q,
K
] }],
@@ -26969,45 +26969,45 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
] }],
"backdrop-blur": [{ "backdrop-blur": ue() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- YT,
+ XT,
q,
K
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- YT,
+ XT,
q,
K
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- YT,
+ XT,
q,
K
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- YT,
+ XT,
q,
K
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- YT,
+ XT,
q,
K
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- YT,
+ XT,
q,
K
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- YT,
+ XT,
q,
K
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- YT,
+ XT,
q,
K
] }],
@@ -27030,7 +27030,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- YT,
+ XT,
"initial",
q,
K
@@ -27043,7 +27043,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
K
] }],
delay: [{ delay: [
- YT,
+ XT,
q,
K
] }],
@@ -27088,7 +27088,7 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"translate-z": [{ "translate-z": pe() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- XT,
+ ZT,
q,
K
] }],
@@ -27232,10 +27232,10 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
] }],
fill: [{ fill: ["none", ...P()] }],
"stroke-w": [{ stroke: [
- YT,
- aE,
- tE,
- nE
+ XT,
+ oE,
+ nE,
+ rE
] }],
stroke: [{ stroke: ["none", ...P()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -27493,16 +27493,16 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"selection"
]
};
-}, soe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (vE(e, "cacheSize", t), vE(e, "prefix", n), vE(e, "experimentalParseClassName", r), yE(e.theme, a.theme), yE(e.classGroups, a.classGroups), yE(e.conflictingClassGroups, a.conflictingClassGroups), yE(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), vE(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), vE(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), bE(e.theme, i.theme), bE(e.classGroups, i.classGroups), bE(e.conflictingClassGroups, i.conflictingClassGroups), bE(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), xE(e, i, "postfixLookupClassGroups"), xE(e, i, "orderSensitiveModifiers"), e), vE = (e, t, n) => {
+}, ooe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (yE(e, "cacheSize", t), yE(e, "prefix", n), yE(e, "experimentalParseClassName", r), bE(e.theme, a.theme), bE(e.classGroups, a.classGroups), bE(e.conflictingClassGroups, a.conflictingClassGroups), bE(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), yE(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), yE(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), xE(e.theme, i.theme), xE(e.classGroups, i.classGroups), xE(e.conflictingClassGroups, i.conflictingClassGroups), xE(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), SE(e, i, "postfixLookupClassGroups"), SE(e, i, "orderSensitiveModifiers"), e), yE = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, yE = (e, t) => {
- if (t) for (let n in t) vE(e, n, t[n]);
}, bE = (e, t) => {
- if (t) for (let n in t) xE(e, t, n);
-}, xE = (e, t, n) => {
+ if (t) for (let n in t) yE(e, n, t[n]);
+}, xE = (e, t) => {
+ if (t) for (let n in t) SE(e, t, n);
+}, SE = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, coe = (e, ...t) => typeof e == "function" ? WT(_E, e, ...t) : WT(() => soe(_E(), e), ...t), loe = [
+}, soe = (e, ...t) => typeof e == "function" ? GT(vE, e, ...t) : GT(() => ooe(vE(), e), ...t), coe = [
"large-title",
"display-1",
"display-2",
@@ -27516,18 +27516,18 @@ var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"body-2",
"caption-1",
"caption-2"
-], uoe = [
+], loe = [
"regular",
"medium",
"semibold",
"bold"
-], SE = coe({ extend: { classGroups: { "font-size": [{ text: loe.flatMap((e) => uoe.map((t) => `${e}-${t}`)) }] } } });
-function CE(e) {
+], CE = soe({ extend: { classGroups: { "font-size": [{ text: coe.flatMap((e) => loe.map((t) => `${e}-${t}`)) }] } } });
+function wE(e) {
return e;
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var wE = CE({
+var TE = wE({
base: "inline-flex items-center justify-center rounded-md px-1.5 whitespace-nowrap transition-[padding,font-size] duration-200 ease",
variant: {
bold: "py-0.5 text-body-medium",
@@ -27546,16 +27546,16 @@ var wE = CE({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function TE({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function EE({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, B.jsx)("span", {
ref: r,
- className: SE(wE.base, wE.variant[e], wE.color[t], n),
+ className: CE(TE.base, TE.variant[e], TE.color[t], n),
...i
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var EE = CE({
+var DE = wE({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -27614,40 +27614,40 @@ function J({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, B.jsxs)("button", {
ref: c,
type: s,
- className: SE(EE.base, EE.size[t], EE.variant[e], n && EE.iconOnlySize[t], o),
+ className: CE(DE.base, DE.size[t], DE.variant[e], n && DE.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, B.jsx)(r, {
- className: EE.icon[t],
+ className: DE.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, B.jsx)("span", {
- className: EE.label[t],
+ className: DE.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, B.jsx)(i, {
- className: EE.icon[t],
+ className: DE.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function DE({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function OE({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, B.jsxs)("a", {
ref: s,
- className: SE(EE.base, EE.size[t], EE.variant[e], n && EE.iconOnlySize[t], o),
+ className: CE(DE.base, DE.size[t], DE.variant[e], n && DE.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, B.jsx)(r, {
- className: EE.icon[t],
+ className: DE.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, B.jsx)("span", {
- className: EE.label[t],
+ className: DE.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, B.jsx)(i, {
- className: EE.icon[t],
+ className: DE.icon[t],
"aria-hidden": !0
}) : null
]
@@ -27655,47 +27655,47 @@ function DE({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region src/react/components/card.tsx
-var doe = "min-w-0", foe = {
+var uoe = "min-w-0", doe = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, poe = {
+}, foe = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, moe = {
+}, poe = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, hoe = {
+}, moe = {
none: "",
default: "p-5"
-}, goe = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", _oe = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
-function OE(e = {}) {
+}, hoe = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", goe = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
+function kE(e = {}) {
let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");
return [
- doe,
- foe[t],
- poe[s],
- hoe[n],
- a ? moe[a] : "",
- r ? goe : "",
- i ? _oe : "",
+ uoe,
+ doe[t],
+ foe[s],
+ moe[n],
+ a ? poe[a] : "",
+ r ? hoe : "",
+ i ? goe : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/empty-state.tsx
-var voe = {
+var _oe = {
page: "min-h-80 justify-center rounded-floating border border-separator-border bg-background-secondary-default px-6 py-12",
plain: "px-6 py-12",
inset: "min-h-40 justify-center rounded-xl bg-background-secondary-default px-4 py-4"
};
-function kE({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function AE({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
let a = i === "page";
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-empty-state": "",
- className: `flex flex-col items-center gap-2 text-center ${voe[i]}`,
+ className: `flex flex-col items-center gap-2 text-center ${_oe[i]}`,
children: [
a ? /* @__PURE__ */ (0, B.jsx)("span", {
"aria-hidden": !0,
@@ -27725,7 +27725,7 @@ function kE({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function AE({ label: e, inline: t = !1 }) {
+function jE({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, B.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex items-center gap-1",
@@ -27791,7 +27791,7 @@ function Y({ tone: e, title: t, action: n, extra: r, children: i }) {
}
//#endregion
//#region src/react/components/page.tsx
-function jE({ children: e }) {
+function ME({ children: e }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -27799,21 +27799,21 @@ function jE({ children: e }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var ME = 100, yoe = .4;
-function NE({ label: e, value: t, max: n = 100, stops: r = [] }) {
- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * ME;
+var NE = 100, voe = .4;
+function PE({ label: e, value: t, max: n = 100, stops: r = [] }) {
+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * NE;
return /* @__PURE__ */ (0, B.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": n,
"aria-valuenow": t,
- viewBox: `0 0 ${ME} 1`,
+ viewBox: `0 0 ${NE} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, B.jsx)("rect", {
- width: ME,
+ width: NE,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -27824,7 +27824,7 @@ function NE({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, B.jsx)("rect", {
x: a(e),
- width: yoe,
+ width: voe,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -27841,7 +27841,7 @@ function X(e) {
}
//#endregion
//#region src/react/settings/use-action.ts
-function PE(e = "") {
+function FE(e = "") {
let t = (0, R.useRef)(null), [n, r] = (0, R.useState)(""), [i, a] = (0, R.useState)(e);
(0, R.useEffect)(() => () => t.current?.abort(), []);
async function o(e, n, i, o) {
@@ -27867,12 +27867,12 @@ function PE(e = "") {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var FE = Symbol("default");
-function IE({ values: e, children: t }) {
+var IE = Symbol("default");
+function LE({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ R.createElement(n.Provider, { value: r }, t);
return t;
}
-function LE(e) {
+function RE(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, R.useMemo)(() => {
let e, l, u;
@@ -27906,11 +27906,11 @@ function LE(e) {
c
]);
}
-function RE(e, t) {
+function zE(e, t) {
let n = (0, R.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || FE;
+ let e = t || IE;
if (!n.slots[e]) {
let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";
throw Error(`${r} Valid slot names are ${e}.`);
@@ -27919,8 +27919,8 @@ function RE(e, t) {
}
return n;
}
-function zE(e, t, n) {
- let { ref: r, ...i } = RE(n, e.slot) || {}, a = Rh((0, R.useMemo)(() => yh(t, r), [t, r])), o = H(i, e);
+function BE(e, t, n) {
+ let { ref: r, ...i } = zE(n, e.slot) || {}, a = Rh((0, R.useMemo)(() => yh(t, r), [t, r])), o = H(i, e);
return "style" in i && i.style && "style" in e && e.style && (o.style = typeof i.style == "function" || typeof e.style == "function" ? (t) => {
let n = typeof i.style == "function" ? i.style(t) : i.style, r = {
...t.defaultStyle,
@@ -27938,7 +27938,7 @@ function zE(e, t, n) {
...e.style
}), [o, a];
}
-function BE(e = !0) {
+function VE(e = !0) {
let [t, n] = (0, R.useState)(e), r = (0, R.useRef)(!1), i = (0, R.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -27946,12 +27946,12 @@ function BE(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function VE(e) {
+function HE(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function boe(e, t, n) {
+function yoe(e, t, n) {
let { render: r, ...i } = t, a = (0, R.useRef)(null), o = (0, R.useMemo)(() => yh(n, a), [n, a]);
qp(() => {}, [e, r]);
let s = {
@@ -27960,19 +27960,19 @@ function boe(e, t, n) {
};
return r ? r(s, void 0) : /*#__PURE__*/ R.createElement(e, s);
}
-var HE = {}, UE = new Proxy({}, { get(e, t) {
+var UE = {}, WE = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = HE[t];
- return n || (n = /*#__PURE__*/ (0, R.forwardRef)(boe.bind(null, t)), HE[t] = n), n;
-} }), WE = /*#__PURE__*/ (0, R.createContext)(null), GE = /*#__PURE__*/ (0, R.createContext)(null), KE = /*#__PURE__*/ (0, R.createContext)(null), qE = {
+ let n = UE[t];
+ return n || (n = /*#__PURE__*/ (0, R.forwardRef)(yoe.bind(null, t)), UE[t] = n), n;
+} }), GE = /*#__PURE__*/ (0, R.createContext)(null), KE = /*#__PURE__*/ (0, R.createContext)(null), qE = /*#__PURE__*/ (0, R.createContext)(null), JE = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return JE(e, null, t);
+ return YE(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return JE(e, t, n);
+ return YE(e, t, n);
}
};
-function JE(e, t, n) {
+function YE(e, t, n) {
return gp({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
@@ -27983,11 +27983,11 @@ function JE(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, xoe(e, t, n));
+ }), r, boe(e, t, n));
}
});
}
-function xoe(e, t, n) {
+function boe(e, t, n) {
let r = t.key, i = e.getKeyAfter(r), a = i == null ? null : e.getItem(i);
for (; a != null && a.type !== "item";) i = e.getKeyAfter(a.key), a = i == null ? null : e.getItem(i);
let o = t.nextKey == null ? null : e.getItem(t.nextKey);
@@ -28006,24 +28006,24 @@ function xoe(e, t, n) {
}
return s;
}
-var YE = /*#__PURE__*/ (0, R.createContext)(qE);
-function XE(e) {
+var XE = /*#__PURE__*/ (0, R.createContext)(JE);
+function ZE(e) {
return (0, R.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Label.mjs
-var ZE = /*#__PURE__*/ (0, R.createContext)({}), Soe = /*#__PURE__*/ Gh(function(e, t) {
- [e, t] = zE(e, t, ZE);
- let { elementType: n = "label", ...r } = e, i = UE[n];
+var QE = /*#__PURE__*/ (0, R.createContext)({}), xoe = /*#__PURE__*/ Gh(function(e, t) {
+ [e, t] = BE(e, t, QE);
+ let { elementType: n = "label", ...r } = e, i = WE[n];
return /*#__PURE__*/ R.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), Coe = /*#__PURE__*/ (0, R.createContext)(null), QE = /*#__PURE__*/ (0, R.createContext)({}), $E = /*#__PURE__*/ Gh(function(e, t) {
- [e, t] = zE(e, t, QE);
+}), Soe = /*#__PURE__*/ (0, R.createContext)(null), $E = /*#__PURE__*/ (0, R.createContext)({}), eD = /*#__PURE__*/ Gh(function(e, t) {
+ [e, t] = BE(e, t, $E);
let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = jee(e, t);
- i = Toe(i, r);
+ i = woe(i, r);
let { focusProps: o, isFocused: s, isFocusVisible: c } = cy(e), { hoverProps: l, isHovered: u } = fy({
...e,
isDisabled: e.isDisabled || r
@@ -28034,7 +28034,7 @@ var ZE = /*#__PURE__*/ (0, R.createContext)({}), Soe = /*#__PURE__*/ Gh(function
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = LE({
+ }, f = RE({
...e,
values: d,
defaultClassName: "react-aria-Button"
@@ -28051,7 +28051,7 @@ var ZE = /*#__PURE__*/ (0, R.createContext)({}), Soe = /*#__PURE__*/ Gh(function
p
]);
let _ = jg(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ R.createElement(UE.button, {
+ return delete _.onClick, /*#__PURE__*/ R.createElement(WE.button, {
...H(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -28065,62 +28065,62 @@ var ZE = /*#__PURE__*/ (0, R.createContext)({}), Soe = /*#__PURE__*/ Gh(function
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ R.createElement(Coe.Provider, { value: { id: m } }, f.children));
-}), woe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function Toe(e, t) {
+ }, /*#__PURE__*/ R.createElement(Soe.Provider, { value: { id: m } }, f.children));
+}), Coe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function woe(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !woe.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !Coe.test(t) && (e[t] = void 0);
e.href = void 0, e.target = void 0;
}
return e;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Heading.mjs
-var eD = /*#__PURE__*/ (0, R.createContext)({}), tD = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = zE(e, t, eD);
- let { children: n, level: r = 3, className: i, ...a } = e, o = UE[`h${r}`];
+var tD = /*#__PURE__*/ (0, R.createContext)({}), nD = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [e, t] = BE(e, t, tD);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = WE[`h${r}`];
return /*#__PURE__*/ R.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), nD = /*#__PURE__*/ (0, R.createContext)({}), Eoe = /*#__PURE__*/ Gh(function(e, t) {
- [e, t] = zE(e, t, nD);
- let { elementType: n = "span", ...r } = e, i = UE[n];
+}), rD = /*#__PURE__*/ (0, R.createContext)({}), Toe = /*#__PURE__*/ Gh(function(e, t) {
+ [e, t] = BE(e, t, rD);
+ let { elementType: n = "span", ...r } = e, i = WE[n];
return /*#__PURE__*/ R.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), rD = /*#__PURE__*/ (0, R.createContext)(null), iD = /*#__PURE__*/ (0, R.createContext)(null), aD = /*#__PURE__*/ (0, R.createContext)(null), oD = /*#__PURE__*/ (0, R.createContext)(null), Doe = /*#__PURE__*/ (0, R.createContext)(null), sD = /*#__PURE__*/ (0, R.createContext)(null);
-function Ooe(e, t) {
- let { validationBehavior: n } = RE(iD) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, R.useContext)(Doe), a = Rh((0, R.useMemo)(() => yh(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...VE(e),
+}), iD = /*#__PURE__*/ (0, R.createContext)(null), aD = /*#__PURE__*/ (0, R.createContext)(null), oD = /*#__PURE__*/ (0, R.createContext)(null), sD = /*#__PURE__*/ (0, R.createContext)(null), Eoe = /*#__PURE__*/ (0, R.createContext)(null), cD = /*#__PURE__*/ (0, R.createContext)(null);
+function Doe(e, t) {
+ let { validationBehavior: n } = zE(aD) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, R.useContext)(Eoe), a = Rh((0, R.useMemo)(() => yh(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...HE(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
return [i ? ete(o, i, a) : R_(o, U_(e), a), a];
}
-var koe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+var Ooe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = zE(r, t, aD);
- let [i, a] = Ooe(e, n);
- return /*#__PURE__*/ R.createElement(sD.Provider, { value: {
+ [e, t] = BE(r, t, oD);
+ let [i, a] = Doe(e, n);
+ return /*#__PURE__*/ R.createElement(cD.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ R.createElement(Aoe, {
+ } }, /*#__PURE__*/ R.createElement(koe, {
...e,
ref: t
}));
-}), Aoe = /*#__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)(sD), { isFocused: p, isFocusVisible: m, focusProps: h } = cy(), g = a || o, { hoverProps: _, isHovered: v } = fy({
+}), 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 } = cy(), g = a || o, { hoverProps: _, isHovered: v } = fy({
...e,
isDisabled: g
- }), y = LE({
+ }), y = RE({
...e,
defaultClassName: u,
values: {
@@ -28136,7 +28136,7 @@ var koe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
isRequired: f || !1
}
}), b = jg(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ R.createElement(UE.label, {
+ return delete b.id, delete b.onClick, /*#__PURE__*/ R.createElement(WE.label, {
...H(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -28154,8 +28154,8 @@ var koe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
...H(r, h),
ref: l
})), y.children);
-}), cD = /*#__PURE__*/ (0, R.createContext)({}), joe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = zE(e, t, cD);
+}), lD = /*#__PURE__*/ (0, R.createContext)({}), Aoe = /*#__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 } = fy({
@@ -28163,7 +28163,7 @@ var koe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = cy({ within: !0 }), m = LE({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = cy({ within: !0 }), m = RE({
...e,
values: {
isHovered: u,
@@ -28174,7 +28174,7 @@ var koe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ R.createElement(UE.div, {
+ return /*#__PURE__*/ R.createElement(WE.div, {
...H(c, p, l),
...m,
ref: t,
@@ -28187,18 +28187,18 @@ var koe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), lD = /*#__PURE__*/ (0, R.createContext)({}), Moe = (e) => {
+}), uD = /*#__PURE__*/ (0, R.createContext)({}), joe = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, Noe = /*#__PURE__*/ Gh(function(e, t) {
- [e, t] = zE(e, t, lD);
+}, Moe = /*#__PURE__*/ Gh(function(e, t) {
+ [e, t] = BE(e, t, uD);
let { hoverProps: n, isHovered: r } = fy({
...e,
isDisabled: e.disabled
}), { isFocused: i, isFocusVisible: a, focusProps: o } = cy({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = LE({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = RE({
...e,
values: {
isHovered: r,
@@ -28209,8 +28209,8 @@ var koe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ R.createElement(UE.input, {
- ...H(Moe(e), o, n),
+ return /*#__PURE__*/ R.createElement(WE.input, {
+ ...H(joe(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -28219,8 +28219,8 @@ var koe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), uD = {};
-uD = {
+}), dD = {};
+dD = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -28228,8 +28228,8 @@ uD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var dD = {};
-dD = {
+var fD = {};
+fD = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -28237,8 +28237,8 @@ dD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var fD = {};
-fD = {
+var pD = {};
+pD = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -28246,8 +28246,8 @@ fD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var pD = {};
-pD = {
+var mD = {};
+mD = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -28255,8 +28255,8 @@ pD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var mD = {};
-mD = {
+var hD = {};
+hD = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -28264,8 +28264,8 @@ mD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var hD = {};
-hD = {
+var gD = {};
+gD = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -28273,8 +28273,8 @@ hD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var gD = {};
-gD = {
+var _D = {};
+_D = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -28282,8 +28282,8 @@ gD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var _D = {};
-_D = {
+var vD = {};
+vD = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -28291,8 +28291,8 @@ _D = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var vD = {};
-vD = {
+var yD = {};
+yD = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -28300,8 +28300,8 @@ vD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var yD = {};
-yD = {
+var bD = {};
+bD = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -28309,8 +28309,8 @@ yD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var bD = {};
-bD = {
+var xD = {};
+xD = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -28318,8 +28318,8 @@ bD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var xD = {};
-xD = {
+var SD = {};
+SD = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -28327,8 +28327,8 @@ xD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var SD = {};
-SD = {
+var CD = {};
+CD = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -28336,8 +28336,8 @@ SD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var CD = {};
-CD = {
+var wD = {};
+wD = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -28345,8 +28345,8 @@ CD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var wD = {};
-wD = {
+var TD = {};
+TD = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -28354,8 +28354,8 @@ wD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var TD = {};
-TD = {
+var ED = {};
+ED = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -28363,8 +28363,8 @@ TD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var ED = {};
-ED = {
+var DD = {};
+DD = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -28372,8 +28372,8 @@ ED = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var DD = {};
-DD = {
+var OD = {};
+OD = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -28381,8 +28381,8 @@ DD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var OD = {};
-OD = {
+var kD = {};
+kD = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -28390,8 +28390,8 @@ OD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var kD = {};
-kD = {
+var AD = {};
+AD = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -28399,8 +28399,8 @@ kD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var AD = {};
-AD = {
+var jD = {};
+jD = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -28408,8 +28408,8 @@ AD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var jD = {};
-jD = {
+var MD = {};
+MD = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -28417,8 +28417,8 @@ jD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var MD = {};
-MD = {
+var ND = {};
+ND = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -28426,8 +28426,8 @@ MD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var ND = {};
-ND = {
+var PD = {};
+PD = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -28435,8 +28435,8 @@ ND = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var PD = {};
-PD = {
+var FD = {};
+FD = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -28444,8 +28444,8 @@ PD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var FD = {};
-FD = {
+var ID = {};
+ID = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -28453,8 +28453,8 @@ FD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var ID = {};
-ID = {
+var LD = {};
+LD = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -28462,8 +28462,8 @@ ID = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var LD = {};
-LD = {
+var RD = {};
+RD = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -28471,8 +28471,8 @@ LD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var RD = {};
-RD = {
+var zD = {};
+zD = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -28480,8 +28480,8 @@ RD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var zD = {};
-zD = {
+var BD = {};
+BD = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -28489,8 +28489,8 @@ zD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var BD = {};
-BD = {
+var VD = {};
+VD = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -28498,8 +28498,8 @@ BD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var VD = {};
-VD = {
+var HD = {};
+HD = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -28507,8 +28507,8 @@ VD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var HD = {};
-HD = {
+var UD = {};
+UD = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -28516,8 +28516,8 @@ HD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var UD = {};
-UD = {
+var WD = {};
+WD = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -28525,52 +28525,52 @@ UD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var WD = {};
-WD = {
- "ar-AE": uD,
- "bg-BG": dD,
- "cs-CZ": fD,
- "da-DK": pD,
- "de-DE": mD,
- "el-GR": hD,
- "en-US": gD,
- "es-ES": _D,
- "et-EE": vD,
- "fi-FI": yD,
- "fr-FR": bD,
- "he-IL": xD,
- "hr-HR": SD,
- "hu-HU": CD,
- "it-IT": wD,
- "ja-JP": TD,
- "ko-KR": ED,
- "lt-LT": DD,
- "lv-LV": OD,
- "nb-NO": kD,
- "nl-NL": AD,
- "pl-PL": jD,
- "pt-BR": MD,
- "pt-PT": ND,
- "ro-RO": PD,
- "ru-RU": FD,
- "sk-SK": ID,
- "sl-SI": LD,
- "sr-SP": RD,
- "sv-SE": zD,
- "tr-TR": BD,
- "uk-UA": VD,
- "zh-CN": HD,
- "zh-TW": UD
+var GD = {};
+GD = {
+ "ar-AE": dD,
+ "bg-BG": fD,
+ "cs-CZ": pD,
+ "da-DK": mD,
+ "de-DE": hD,
+ "el-GR": gD,
+ "en-US": _D,
+ "es-ES": vD,
+ "et-EE": yD,
+ "fi-FI": bD,
+ "fr-FR": xD,
+ "he-IL": SD,
+ "hr-HR": CD,
+ "hu-HU": wD,
+ "it-IT": TD,
+ "ja-JP": ED,
+ "ko-KR": DD,
+ "lt-LT": OD,
+ "lv-LV": kD,
+ "nb-NO": AD,
+ "nl-NL": jD,
+ "pl-PL": MD,
+ "pt-BR": ND,
+ "pt-PT": PD,
+ "ro-RO": FD,
+ "ru-RU": ID,
+ "sk-SK": LD,
+ "sl-SI": RD,
+ "sr-SP": zD,
+ "sv-SE": BD,
+ "tr-TR": VD,
+ "uk-UA": HD,
+ "zh-CN": UD,
+ "zh-TW": WD
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var GD = /*#__PURE__*/ (0, R.createContext)({}), KD = /*#__PURE__*/ (0, R.createContext)(null), Poe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { render: n } = (0, R.useContext)(KD);
+var KD = /*#__PURE__*/ (0, R.createContext)({}), qD = /*#__PURE__*/ (0, R.createContext)(null), Noe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { render: n } = (0, R.useContext)(qD);
return /*#__PURE__*/ R.createElement(R.Fragment, null, n(e, t));
});
-function qD(e, t) {
+function JD(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, R.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ R.createElement(Poe, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ R.createElement(Noe, { target: e });
}, [
t?.target,
r,
@@ -28578,7 +28578,7 @@ function qD(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function JD(e, t, n) {
+function YD(e, t, n) {
let r = e.focusedKey, i = null;
if (t?.isVirtualDragging?.() && n?.target?.type === "item" && (i = n.target.key, n.target.dropPosition === "after")) {
let e = n.collection.getKeyAfter(i), t = null;
@@ -28601,14 +28601,14 @@ function JD(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var YD = /*#__PURE__*/ (0, R.createContext)({}), Foe = /*#__PURE__*/ (0, R.createContext)(null);
-function XD(e) {
+var XD = /*#__PURE__*/ (0, R.createContext)({}), Poe = /*#__PURE__*/ (0, R.createContext)(null);
+function ZD(e) {
let t = (0, R.useRef)({});
- return /*#__PURE__*/ R.createElement(Foe.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ R.createElement(Poe.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var ZD = /*#__PURE__*/ (0, R.createContext)({ isSelected: !1 }), QD = /*#__PURE__*/ (0, R.createContext)({}), Ioe = /*#__PURE__*/ og(class extends op {
+var QD = /*#__PURE__*/ (0, R.createContext)({ isSelected: !1 }), $D = /*#__PURE__*/ (0, R.createContext)({}), Foe = /*#__PURE__*/ og(class extends op {
static {
this.type = "separator";
}
@@ -28621,10 +28621,10 @@ var ZD = /*#__PURE__*/ (0, R.createContext)({ isSelected: !1 }), QD = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = zE(e, t, QD);
+ [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 = UE[c], { separatorProps: u } = tne({
+ let l = WE[c], { separatorProps: u } = ux({
...s,
elementType: n,
orientation: r
@@ -28640,13 +28640,13 @@ var ZD = /*#__PURE__*/ (0, R.createContext)({ isSelected: !1 }), QD = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function $D(e) {
+function eO(e) {
let t = R.version.split(".");
return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;
}
//#endregion
//#region node_modules/react-stately/dist/private/list/ListCollection.mjs
-var eO = class {
+var tO = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -28690,20 +28690,20 @@ var eO = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, tO = class e extends Set {
+}, nO = class e extends Set {
constructor(t, n, r) {
super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);
}
};
//#endregion
//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs
-function Loe(e, t) {
+function Ioe(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function nO(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] = H_((0, R.useMemo)(() => rO(e.selectedKeys), [e.selectedKeys]), (0, R.useMemo)(() => rO(e.defaultSelectedKeys, new tO()), [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);
+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] = 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)(() => {
@@ -28730,18 +28730,18 @@ function nO(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !Loe(e, d)) && f(e);
+ (r || !Ioe(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function rO(e, t) {
- return e ? e === "all" ? "all" : new tO(e) : t;
+function iO(e, t) {
+ return e ? e === "all" ? "all" : new nO(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var iO = class e {
+var aO = class e {
constructor(e, t, n) {
this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;
}
@@ -28824,10 +28824,10 @@ var iO = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new tO([t], t, t);
+ if (this.state.selectedKeys === "all") n = new nO([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new tO(e, r, t);
+ n = new nO(e, r, t);
for (let i of this.getKeyRange(r, e.currentKey ?? t)) n.delete(i);
for (let e of this.getKeyRange(t, r)) this.canSelectItem(e) && n.add(e);
}
@@ -28861,19 +28861,19 @@ var iO = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new tO(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new nO(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
n.has(t) ? n.delete(t) : this.canSelectItem(t) && (n.add(t), n.anchorKey = t, n.currentKey = t), !(this.disallowEmptySelection && n.size === 0) && this.state.setSelectedKeys(n);
}
replaceSelection(e) {
if (this.selectionMode === "none") return;
let t = this.getKey(e);
if (t == null) return;
- let n = this.canSelectItem(t) ? new tO([t], t, t) : new tO();
+ let n = this.canSelectItem(t) ? new nO([t], t, t) : new nO();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new tO();
+ let t = new nO();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -28896,7 +28896,7 @@ var iO = class e {
!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");
}
clearSelection() {
- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new tO());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new nO());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -28937,9 +28937,9 @@ var iO = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, Roe = class {
+}, Loe = class {
build(e, t) {
- return this.context = t, aO(() => this.iterateCollection(e));
+ return this.context = t, oO(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -29021,10 +29021,10 @@ var iO = class e {
...a,
key: l,
index: s,
- wrapper: zoe(e.wrapper, a.wrapper)
+ wrapper: Roe(e.wrapper, a.wrapper)
}, this.getChildState(t, a), n ? `${n}${i.key}` : i.key, r)];
for (let t of u) {
- if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${oO(t.type)}> in <${oO(r?.type ?? "unknown parent type")}>. Only <${oO(e.type)}> is supported.`);
+ if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${sO(t.type)}> in <${sO(r?.type ?? "unknown parent type")}>. Only <${sO(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -29046,7 +29046,7 @@ var iO = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: aO(function* () {
+ childNodes: oO(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -29065,7 +29065,7 @@ var iO = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function aO(e) {
+function oO(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -29073,18 +29073,18 @@ function aO(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function zoe(e, t) {
+function Roe(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function oO(e) {
+function sO(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function sO(e, t, n) {
- let r = (0, R.useMemo)(() => new Roe(), []), { children: i, items: a, collection: o } = e;
+function cO(e, t, n) {
+ let r = (0, R.useMemo)(() => new Loe(), []), { children: i, items: a, collection: o } = e;
return (0, R.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -29099,27 +29099,27 @@ function sO(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function cO(e) {
- let { filter: t, layoutDelegate: n } = e, r = nO(e), i = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = sO(e, (0, R.useCallback)((e) => t ? new eO(t(e)) : new eO(e), [t]), (0, R.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, R.useMemo)(() => new iO(a, r, { layoutDelegate: n }), [
+function lO(e) {
+ let { filter: t, layoutDelegate: n } = e, r = rO(e), i = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = cO(e, (0, R.useCallback)((e) => t ? new tO(t(e)) : new tO(e), [t]), (0, R.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, R.useMemo)(() => new aO(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return lO(a, o), {
+ return uO(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function Boe(e, t) {
+function zoe(e, t) {
let n = (0, R.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return lO(n, r), {
+ return uO(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function lO(e, t) {
+function uO(e, t) {
let n = (0, R.useRef)(null);
(0, R.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -29147,7 +29147,7 @@ function lO(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function uO(e, t) {
+function dO(e, t) {
let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, R.useRef)(null), s = hg((e) => {
for (let t of e) t.isIntersecting && r && r();
});
@@ -29171,42 +29171,42 @@ function uO(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var dO = /*#__PURE__*/ (0, R.createContext)(null), fO = /*#__PURE__*/ (0, R.createContext)(null), Voe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = zE(e, t, dO);
- let n = (0, R.useContext)(fO);
- return n ? /*#__PURE__*/ R.createElement(pO, {
+var fO = /*#__PURE__*/ (0, R.createContext)(null), pO = /*#__PURE__*/ (0, R.createContext)(null), Boe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [e, t] = BE(e, t, fO);
+ let n = (0, R.useContext)(pO);
+ return n ? /*#__PURE__*/ R.createElement(mO, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ R.createElement(Qh, { content: /*#__PURE__*/ R.createElement(ug, e) }, (n) => /*#__PURE__*/ R.createElement(Hoe, {
+ }) : /*#__PURE__*/ R.createElement(Qh, { content: /*#__PURE__*/ R.createElement(ug, e) }, (n) => /*#__PURE__*/ R.createElement(Voe, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function Hoe({ props: e, listBoxRef: t, collection: n }) {
+function Voe({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, R.useContext)(YE), i = cO({
+ let { layoutDelegate: r } = (0, R.useContext)(XE), i = lO({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ R.createElement(pO, {
+ return /*#__PURE__*/ R.createElement(mO, {
state: i,
props: e,
listBoxRef: t
});
}
-function pO({ state: e, props: t, listBoxRef: n }) {
- [t, n] = zE(t, n, WE);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Boe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Cg(), { disabledBehavior: p, disabledKeys: m } = l, h = ty({
+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 = ty({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, R.useContext)(YE), b = (0, R.useMemo)(() => t.keyboardDelegate || new rv({
+ }), { 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,
@@ -29267,7 +29267,7 @@ function pO({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, N = LE({
+ }, N = RE({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -29278,7 +29278,7 @@ function pO({ state: e, props: t, listBoxRef: n }) {
style: { display: "contents" }
}, t.renderEmptyState(M)));
let te = jg(t, { global: !0 });
- return /*#__PURE__*/ R.createElement(e_, null, /*#__PURE__*/ R.createElement(UE.div, {
+ return /*#__PURE__*/ R.createElement(e_, null, /*#__PURE__*/ R.createElement(WE.div, {
...H(te, N, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -29289,52 +29289,52 @@ function pO({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": A || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ R.createElement(IE, { values: [
- [dO, t],
- [fO, s],
- [GD, {
+ }, /*#__PURE__*/ R.createElement(LE, { values: [
+ [fO, t],
+ [pO, s],
+ [KD, {
dragAndDropHooks: r,
dragState: S,
dropState: C
}],
- [QD, { elementType: "div" }],
- [KD, { render: Goe }],
- [KE, {
+ [$D, { elementType: "div" }],
+ [qD, { render: Woe }],
+ [qE, {
name: "ListBoxSection",
- render: Uoe
+ render: Hoe
}]
- ] }, /*#__PURE__*/ R.createElement(XD, null, /*#__PURE__*/ R.createElement(y, {
+ ] }, /*#__PURE__*/ R.createElement(ZD, null, /*#__PURE__*/ R.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: JD(l, r, C),
- renderDropIndicator: qD(r, C)
+ persistedKeys: YD(l, r, C),
+ renderDropIndicator: JD(r, C)
}))), ee, E));
}
-function Uoe(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, R.useContext)(fO), { dragAndDropHooks: a, dropState: o } = (0, R.useContext)(GD), { CollectionBranch: s } = (0, R.useContext)(YE), [c, l] = BE(), { headingProps: u, groupProps: d } = Ote({
+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 } = Ote({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = LE({
+ }), f = RE({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
}), p = jg(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ R.createElement(UE.section, {
+ return delete p.id, /*#__PURE__*/ R.createElement(WE.section, {
...H(p, f, d),
ref: t
- }, /*#__PURE__*/ R.createElement(YD.Provider, { value: {
+ }, /*#__PURE__*/ R.createElement(XD.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ R.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: qD(a, o)
+ renderDropIndicator: JD(a, o)
})));
}
-var Woe = /*#__PURE__*/ og(lp, function(e, t, n) {
- let r = Rh(t), i = (0, R.useContext)(fO), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, R.useContext)(GD), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = kte({
+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 } = kte({
key: n.key,
"aria-label": e?.["aria-label"]
}, i, r), { hoverProps: p, isHovered: m } = fy({
@@ -29353,7 +29353,7 @@ var Woe = /*#__PURE__*/ og(lp, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = LE({
+ let y = o && o.isDragging(n.key), b = RE({
...e,
id: void 0,
children: e.children,
@@ -29371,7 +29371,7 @@ var Woe = /*#__PURE__*/ og(lp, function(e, t, n) {
(0, R.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? UE.a : UE.div, S = jg(e, { global: !0 });
+ let x = e.href ? WE.a : WE.div, S = jg(e, { global: !0 });
return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ R.createElement(x, {
...H(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -29385,29 +29385,29 @@ var Woe = /*#__PURE__*/ og(lp, function(e, t, n) {
"data-dragging": y || void 0,
"data-drop-target": v?.isDropTarget || void 0,
"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode
- }, /*#__PURE__*/ R.createElement(IE, { values: [[nD, { slots: {
- [FE]: u,
+ }, /*#__PURE__*/ R.createElement(LE, { values: [[rD, { slots: {
+ [IE]: u,
label: u,
description: d
- } }], [ZD, { isSelected: f.isSelected }]] }, b.children));
+ } }], [QD, { isSelected: f.isSelected }]] }, b.children));
});
-function Goe(e, t) {
+function Woe(e, t) {
t = Rh(t);
- let { dragAndDropHooks: n, dropState: r } = (0, R.useContext)(GD), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ R.createElement(qoe, {
+ let { dragAndDropHooks: n, dropState: r } = (0, R.useContext)(KD), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ R.createElement(Koe, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function Koe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = LE({
+function Goe(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = RE({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(UE.div, {
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(WE.div, {
...n,
...a,
role: "option",
@@ -29415,10 +29415,10 @@ function Koe(e, t) {
"data-drop-target": r || void 0
}));
}
-var qoe = /*#__PURE__*/ (0, R.forwardRef)(Koe);
+var Koe = /*#__PURE__*/ (0, R.forwardRef)(Goe);
og(cp, function(e, t, n) {
- let r = (0, R.useContext)(fO), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, R.useRef)(null);
- uO((0, R.useMemo)(() => ({
+ let r = (0, R.useContext)(pO), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, R.useRef)(null);
+ dO((0, R.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -29428,7 +29428,7 @@ og(cp, function(e, t, n) {
o,
r?.collection
]), c);
- let l = LE({
+ let l = RE({
...s,
id: void 0,
children: n.rendered,
@@ -29441,7 +29441,7 @@ og(cp, function(e, t, n) {
width: 0,
height: 0
},
- inert: $D(!0)
+ inert: eO(!0)
}, /*#__PURE__*/ R.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -29450,7 +29450,7 @@ og(cp, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(UE.div, {
+ })), i && l.children && /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(WE.div, {
...H(jg(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
@@ -29459,10 +29459,10 @@ og(cp, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var Joe = /*#__PURE__*/ (0, R.createContext)({ placement: "bottom" });
+var qoe = /*#__PURE__*/ (0, R.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function mO(e) {
+function hO(e) {
let [t, n] = H_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, R.useState)(null);
return {
isOpen: t,
@@ -29482,13 +29482,13 @@ function mO(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function hO(e, t = !0) {
+function gO(e, t = !0) {
let [n, r] = (0, R.useState)(!0), i = n && t;
return qp(() => {
if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, i]), _O(e, i, (0, R.useCallback)(() => r(!1), [])), i;
+ }, [e, i]), vO(e, i, (0, R.useCallback)(() => r(!1), [])), i;
}
-function gO(e, t) {
+function _O(e, t) {
let [n, r] = (0, R.useState)(t ? "open" : "closed");
switch (n) {
case "open":
@@ -29498,11 +29498,11 @@ function gO(e, t) {
case "exiting": t && r("open");
}
let i = n === "exiting";
- return _O(e, i, (0, R.useCallback)(() => {
+ return vO(e, i, (0, R.useCallback)(() => {
r((e) => e === "exiting" ? "closed" : e);
}, [])), i;
}
-function _O(e, t, n) {
+function vO(e, t, n) {
qp(() => {
if (t && e.current) {
if (!("getAnimations" in e.current)) {
@@ -29531,9 +29531,9 @@ function _O(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var vO = /*#__PURE__*/ (0, R.createContext)(null), yO = /*#__PURE__*/ (0, R.createContext)(null), bO = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = zE(e, t, vO);
- let n = (0, R.useContext)(AO), r = mO(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = gO(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Kh(), { direction: c } = Cg();
+var yO = /*#__PURE__*/ (0, R.createContext)(null), bO = /*#__PURE__*/ (0, R.createContext)(null), xO = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [e, t] = BE(e, t, yO);
+ let n = (0, R.useContext)(jO), r = hO(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = _O(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Kh(), { direction: c } = Cg();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -29544,7 +29544,7 @@ var vO = /*#__PURE__*/ (0, R.createContext)(null), yO = /*#__PURE__*/ (0, R.crea
defaultChildren: null
})), /*#__PURE__*/ R.createElement(R.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ R.createElement(Yoe, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ R.createElement(Joe, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -29553,13 +29553,13 @@ var vO = /*#__PURE__*/ (0, R.createContext)(null), yO = /*#__PURE__*/ (0, R.crea
dir: c
});
});
-function Yoe({ 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)(yO), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = Yte({
+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 } = Yte({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), m = i.popoverRef, h = hO(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = LE({
+ }, e), m = i.popoverRef, h = gO(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = RE({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -29594,7 +29594,7 @@ function Yoe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"--trigger-anchor-point": p ? `${p.x}px ${p.y}px` : void 0,
..._.style,
"--trigger-width": _.style?.["--trigger-width"] || S
- }, E = /*#__PURE__*/ R.createElement(UE.div, {
+ }, E = /*#__PURE__*/ R.createElement(WE.div, {
...H(jg(i, { global: !0 }), l),
..._,
id: y ? i.id : void 0,
@@ -29610,7 +29610,7 @@ function Yoe({ 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(Rb, { onDismiss: e.close }), /*#__PURE__*/ R.createElement(Joe.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ R.createElement(Rb, { onDismiss: e.close }), /*#__PURE__*/ R.createElement(qoe.Provider, { value: {
...d,
placement: f,
ref: a
@@ -29635,15 +29635,15 @@ function Yoe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ R.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ R.createElement(yO.Provider, { value: o }, E)));
+ }, /*#__PURE__*/ R.createElement(bO.Provider, { value: o }, E)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Keyboard.mjs
-var Xoe = /*#__PURE__*/ (0, R.createContext)({});
+var Yoe = /*#__PURE__*/ (0, R.createContext)({});
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function xO(e) {
- let t = mO(e), [n, r] = (0, R.useState)(null), [i, a] = (0, R.useState)([]), o = () => {
+function SO(e) {
+ let t = hO(e), [n, r] = (0, R.useState)(null), [i, a] = (0, R.useState)([]), o = () => {
a([]), t.close();
}, s = (e, t) => {
a((n) => t > n.length ? n : [...n.slice(0, t), e]);
@@ -29669,7 +29669,7 @@ function xO(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var Zoe = class {
+var Xoe = class {
constructor(e, { expandedKeys: t } = {}) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();
let n = (e) => {
@@ -29713,8 +29713,8 @@ var Zoe = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function Qoe(e) {
- 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 = nO(e), a = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = sO(e, (0, R.useCallback)((e) => new Zoe(e, { expandedKeys: n }), [n]), null);
+function Zoe(e) {
+ 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]), {
@@ -29722,32 +29722,32 @@ function Qoe(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r($oe(n, e));
+ r(Qoe(n, e));
},
setExpandedKeys: r,
- selectionManager: new iO(o, i)
+ selectionManager: new aO(o, i)
};
}
-function $oe(e, t) {
+function Qoe(e, t) {
let n = new Set(e);
return n.has(t) ? n.delete(t) : n.add(t), n;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Menu.mjs
-var SO = /*#__PURE__*/ (0, R.createContext)(null), CO = /*#__PURE__*/ (0, R.createContext)(null), wO = /*#__PURE__*/ (0, R.createContext)(null), TO = /*#__PURE__*/ (0, R.createContext)(null);
-function ese(e) {
- let t = xO(e), n = (0, R.useRef)(null), { menuTriggerProps: r, menuProps: i } = Vv({
+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 } = Vv({
...e,
type: "menu"
}, t, n), a = (0, R.useRef)(null);
- return Kh() ? null : /*#__PURE__*/ R.createElement(IE, { values: [
- [SO, {
+ return Kh() ? null : /*#__PURE__*/ R.createElement(LE, { values: [
+ [CO, {
...i,
ref: a
}],
- [AO, t],
- [wO, t],
- [vO, {
+ [jO, t],
+ [TO, t],
+ [yO, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -29761,7 +29761,7 @@ function ese(e) {
isPressed: t.isOpen
}, e.children));
}
-var tse = /*#__PURE__*/ (0, R.createContext)(null);
+var ese = /*#__PURE__*/ (0, R.createContext)(null);
(class extends op {
static {
this.type = "submenutrigger";
@@ -29775,24 +29775,24 @@ var tse = /*#__PURE__*/ (0, R.createContext)(null);
return null;
}
});
-var nse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- return [e, t] = zE(e, t, SO), /*#__PURE__*/ R.createElement(Qh, { content: /*#__PURE__*/ R.createElement(ug, e) }, (n) => /*#__PURE__*/ R.createElement(rse, {
+var tse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ return [e, t] = BE(e, t, CO), /*#__PURE__*/ R.createElement(Qh, { content: /*#__PURE__*/ R.createElement(ug, e) }, (n) => /*#__PURE__*/ R.createElement(nse, {
props: e,
collection: n,
menuRef: t
}));
});
-function rse({ props: e, collection: t, menuRef: n }) {
- [e, n] = zE(e, n, WE);
- let { filter: r, ...i } = e, a = (0, R.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = Qoe({
+function nse({ props: e, collection: t, menuRef: n }) {
+ [e, n] = BE(e, n, GE);
+ let { filter: r, ...i } = e, a = (0, R.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = Zoe({
...e,
collection: a,
children: void 0
- }), s = (0, R.useContext)(wO), { isVirtualized: c, CollectionRoot: l } = (0, R.useContext)(YE), { menuProps: u } = Ate({
+ }), s = (0, R.useContext)(TO), { isVirtualized: c, CollectionRoot: l } = (0, R.useContext)(XE), { menuProps: u } = Ate({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = LE({
+ }, o, n), d = RE({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -29803,35 +29803,35 @@ function rse({ props: e, collection: t, menuRef: n }) {
style: { display: "contents" }
}, e.renderEmptyState()));
let p = jg(e, { global: !0 });
- return /*#__PURE__*/ R.createElement(e_, null, /*#__PURE__*/ R.createElement(UE.div, {
+ return /*#__PURE__*/ R.createElement(e_, null, /*#__PURE__*/ R.createElement(WE.div, {
...H(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ R.createElement(IE, { values: [
- [CO, o],
- [QD, { elementType: "div" }],
- [KE, {
+ }, /*#__PURE__*/ R.createElement(LE, { values: [
+ [wO, o],
+ [$D, { elementType: "div" }],
+ [qE, {
name: "MenuSection",
- render: EO
+ render: DO
}],
- [tse, {
+ [ese, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [OO, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
- [WE, null],
+ [kO, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
[GE, null],
- [TO, o.selectionManager],
- [wO, s ?? xO({})]
- ] }, /*#__PURE__*/ R.createElement(XD, null, /*#__PURE__*/ R.createElement(l, {
+ [KE, null],
+ [EO, o.selectionManager],
+ [TO, s ?? SO({})]
+ ] }, /*#__PURE__*/ R.createElement(ZD, null, /*#__PURE__*/ R.createElement(l, {
collection: o.collection,
- persistedKeys: XE(o.selectionManager.focusedKey),
+ persistedKeys: ZE(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var ise = class extends iO {
+var rse = class extends aO {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -29851,11 +29851,11 @@ var ise = class extends iO {
return this.parent.childFocusStrategy;
}
};
-function EO(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, R.useContext)(CO), { CollectionBranch: a } = (0, R.useContext)(YE), [o, s] = BE(), { headingProps: c, groupProps: l } = Mte({
+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 } = Mte({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = LE({
+ }), u = RE({
...e,
id: void 0,
children: void 0,
@@ -29863,31 +29863,31 @@ function EO(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, R.useContext)(TO), f = nO(e), p = e.selectionMode == null ? d : new ise(d, f), m = RE(OO)?.shouldCloseOnSelect, h = jg(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ R.createElement(UE.section, {
+ }), d = (0, R.useContext)(EO), f = rO(e), p = e.selectionMode == null ? d : new rse(d, f), m = zE(kO)?.shouldCloseOnSelect, h = jg(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ R.createElement(WE.section, {
...H(h, u, l),
ref: t
- }, /*#__PURE__*/ R.createElement(IE, { values: [
- [YD, {
+ }, /*#__PURE__*/ R.createElement(LE, { values: [
+ [XD, {
...c,
ref: o
}],
- [TO, p],
- [OO, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [EO, p],
+ [kO, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ R.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var DO = /*#__PURE__*/ sg(up, EO), OO = /*#__PURE__*/ (0, R.createContext)(null), kO = /*#__PURE__*/ og(lp, function(e, t, n) {
- [e, t] = zE(e, t, OO);
- let r = RE(OO)?.id, i = (0, R.useContext)(CO), a = Rh(t), o = (0, R.useContext)(TO), { isVirtualized: s } = (0, R.useContext)(YE), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = jte({
+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 } = jte({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = fy({ isDisabled: f.isDisabled }), h = LE({
+ }, i, a), { hoverProps: p, isHovered: m } = fy({ isDisabled: f.isDisabled }), h = RE({
...e,
id: void 0,
children: n.rendered,
@@ -29901,7 +29901,7 @@ var DO = /*#__PURE__*/ sg(up, EO), OO = /*#__PURE__*/ (0, R.createContext)(null)
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? UE.a : UE.div, _ = jg(e, { global: !0 });
+ }), g = e.href ? WE.a : WE.div, _ = jg(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ R.createElement(g, {
...H(_, h, c, p),
ref: a,
@@ -29914,19 +29914,19 @@ var DO = /*#__PURE__*/ sg(up, EO), OO = /*#__PURE__*/ (0, R.createContext)(null)
"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,
"data-has-submenu": !!e["aria-haspopup"] || void 0,
"data-open": e["aria-expanded"] === "true" || void 0
- }, /*#__PURE__*/ R.createElement(IE, { values: [
- [nD, { slots: {
- [FE]: l,
+ }, /*#__PURE__*/ R.createElement(LE, { values: [
+ [rD, { slots: {
+ [IE]: l,
label: l,
description: u
} }],
- [Xoe, d],
- [ZD, { isSelected: f.isSelected }]
+ [Yoe, d],
+ [QD, { isSelected: f.isSelected }]
] }, h.children));
});
og(cp, function(e, t, n) {
- let r = (0, R.useContext)(CO), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, R.useRef)(null);
- uO((0, R.useMemo)(() => ({
+ let r = (0, R.useContext)(wO), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, R.useRef)(null);
+ dO((0, R.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -29936,7 +29936,7 @@ og(cp, function(e, t, n) {
o,
r?.collection
]), c);
- let l = LE({
+ let l = RE({
...s,
id: void 0,
children: n.rendered,
@@ -29949,7 +29949,7 @@ og(cp, function(e, t, n) {
width: 0,
height: 0
},
- inert: $D(!0)
+ inert: eO(!0)
}, /*#__PURE__*/ R.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -29958,7 +29958,7 @@ og(cp, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(UE.div, {
+ })), i && l.children && /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(WE.div, {
...H(jg(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
@@ -29967,56 +29967,56 @@ og(cp, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var ase = /*#__PURE__*/ (0, R.createContext)(null), AO = /*#__PURE__*/ (0, R.createContext)(null), jO = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+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] = zE(e, t, ase);
+ [e, t] = BE(e, t, ise);
let { dialogProps: r, titleProps: i, contentProps: a } = gte({
...e,
"aria-labelledby": n
- }, t), o = (0, R.useContext)(AO);
+ }, t), o = (0, R.useContext)(jO);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = LE({
+ let s = RE({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
}), c = jg(e, { global: !0 });
- return /*#__PURE__*/ R.createElement(UE.section, {
+ return /*#__PURE__*/ R.createElement(WE.section, {
...H(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ R.createElement(IE, { values: [
- [eD, { slots: {
- [FE]: {},
+ }, /*#__PURE__*/ R.createElement(LE, { values: [
+ [tD, { slots: {
+ [IE]: {},
title: {
...i,
level: 2
}
} }],
- [nD, { slots: {
- [FE]: {},
+ [rD, { slots: {
+ [IE]: {},
description: a
} }],
- [QE, { slots: {
- [FE]: {},
+ [$E, { slots: {
+ [IE]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), MO = typeof document < "u" && window.visualViewport;
-function ose() {
+}), NO = typeof document < "u" && window.visualViewport;
+function ase() {
let e = Nm(), [t, n] = (0, R.useState)(() => e ? {
width: 0,
height: 0
- } : NO());
+ } : PO());
return (0, R.useEffect)(() => {
let e = (e) => {
n((t) => e.width === t.width && e.height === t.height ? t : e);
}, t = () => {
- MO && MO.scale > 1 || e(NO());
+ NO && NO.scale > 1 || e(PO());
}, r, i = (t) => {
- MO && MO.scale > 1 || mg(V(t)) && (r = requestAnimationFrame(() => {
+ NO && NO.scale > 1 || mg(V(t)) && (r = requestAnimationFrame(() => {
let t = Pp();
(!t || !mg(t)) && e({
width: document.documentElement.clientWidth,
@@ -30024,26 +30024,26 @@ function ose() {
});
}));
};
- return e(NO()), am() && sm() && window.addEventListener("blur", i, !0), MO ? MO.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
- cancelAnimationFrame(r), am() && sm() && window.removeEventListener("blur", i, !0), MO ? MO.removeEventListener("resize", t) : window.removeEventListener("resize", t);
+ return e(PO()), am() && sm() && window.addEventListener("blur", i, !0), NO ? NO.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
+ cancelAnimationFrame(r), am() && sm() && window.removeEventListener("blur", i, !0), NO ? NO.removeEventListener("resize", t) : window.removeEventListener("resize", t);
};
}, []), t;
}
-function NO() {
+function PO() {
return {
- width: MO ? Math.min(MO.width * MO.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: MO ? MO.height * MO.scale : document.documentElement.clientHeight
+ width: NO ? Math.min(NO.width * NO.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: NO ? NO.height * NO.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var sse = /*#__PURE__*/ (0, R.createContext)(null), PO = /*#__PURE__*/ (0, R.createContext)(null), cse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- if ((0, R.useContext)(PO)) return /*#__PURE__*/ R.createElement(IO, {
+var ose = /*#__PURE__*/ (0, R.createContext)(null), FO = /*#__PURE__*/ (0, R.createContext)(null), sse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ if ((0, R.useContext)(FO)) return /*#__PURE__*/ R.createElement(LO, {
...e,
modalRef: t
}, e.children);
let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;
- return /*#__PURE__*/ R.createElement(FO, {
+ return /*#__PURE__*/ R.createElement(IO, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -30053,15 +30053,15 @@ var sse = /*#__PURE__*/ (0, R.createContext)(null), PO = /*#__PURE__*/ (0, R.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ R.createElement(IO, {
+ }, /*#__PURE__*/ R.createElement(LO, {
...f,
modalRef: t
}, s));
});
-function lse(e, t) {
- [e, t] = zE(e, t, sse);
- let n = (0, R.useContext)(AO), r = mO(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Rh(t), o = (0, R.useRef)(null), s = gO(a, i.isOpen), c = gO(o, i.isOpen), l = s || c || e.isExiting || !1, u = Nm();
- return !i.isOpen && !l || u ? null : /*#__PURE__*/ R.createElement(use, {
+function cse(e, t) {
+ [e, t] = BE(e, t, ose);
+ let n = (0, R.useContext)(jO), r = hO(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Rh(t), o = (0, R.useRef)(null), s = _O(a, i.isOpen), c = _O(o, i.isOpen), l = s || c || e.isExiting || !1, u = Nm();
+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ R.createElement(lse, {
...e,
state: i,
isExiting: l,
@@ -30069,9 +30069,9 @@ function lse(e, t) {
modalRef: o
});
}
-var FO = /*#__PURE__*/ (0, R.forwardRef)(lse);
-function use({ UNSTABLE_portalContainer: e, ...t }) {
- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Lte(t, r, n), o = hO(t.overlayRef) || t.isEntering || !1, s = LE({
+var IO = /*#__PURE__*/ (0, R.forwardRef)(cse);
+function lse({ UNSTABLE_portalContainer: e, ...t }) {
+ 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: {
@@ -30079,7 +30079,7 @@ function use({ UNSTABLE_portalContainer: e, ...t }) {
isExiting: t.isExiting,
state: r
}
- }), c = ose(), l, u;
+ }), c = ase(), l, u;
if (typeof document < "u") {
let e = y_(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
l = e.scrollWidth - t, u = e.scrollHeight - n;
@@ -30094,22 +30094,22 @@ function use({ UNSTABLE_portalContainer: e, ...t }) {
return /*#__PURE__*/ R.createElement(oy, {
isExiting: t.isExiting,
portalContainer: e
- }, /*#__PURE__*/ R.createElement(UE.div, {
+ }, /*#__PURE__*/ R.createElement(WE.div, {
...H(jg(t, { global: !0 }), a),
...s,
style: d,
ref: t.overlayRef,
"data-entering": o || void 0,
"data-exiting": t.isExiting || void 0
- }, /*#__PURE__*/ R.createElement(IE, { values: [[PO, {
+ }, /*#__PURE__*/ R.createElement(LE, { values: [[FO, {
modalProps: i,
modalRef: n,
isExiting: t.isExiting,
isDismissable: t.isDismissable
- }], [AO, r]] }, s.children)));
+ }], [jO, r]] }, s.children)));
}
-function IO(e) {
- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, R.useContext)(PO), a = (0, R.useContext)(AO), o = Rh((0, R.useMemo)(() => yh(e.modalRef, n), [e.modalRef, n])), s = hO(o), c = LE({
+function LO(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, R.useContext)(FO), a = (0, R.useContext)(jO), o = Rh((0, R.useMemo)(() => yh(e.modalRef, n), [e.modalRef, n])), s = gO(o), c = RE({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -30118,7 +30118,7 @@ function IO(e) {
state: a
}
});
- return /*#__PURE__*/ R.createElement(UE.div, {
+ return /*#__PURE__*/ R.createElement(WE.div, {
...H(jg(e, { global: !0 }), t),
...c,
ref: o,
@@ -30128,9 +30128,9 @@ function IO(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var dse = Math.round(Math.random() * 1e10), fse = 0;
-function pse(e) {
- let t = (0, R.useMemo)(() => e.name || `radio-group-${dse}-${++fse}`, [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_({
+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] = 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) => {
@@ -30153,16 +30153,16 @@ function pse(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var mse = /*#__PURE__*/ (0, R.createContext)(null), hse = /*#__PURE__*/ (0, R.createContext)(null), LO = /*#__PURE__*/ (0, R.createContext)(null), RO = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = zE(e, t, mse);
- let { validationBehavior: n } = RE(iD) || {}, r = e.validationBehavior ?? n ?? "native", i = pse({
+var pse = /*#__PURE__*/ (0, R.createContext)(null), mse = /*#__PURE__*/ (0, R.createContext)(null), RO = /*#__PURE__*/ (0, R.createContext)(null), zO = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [e, t] = BE(e, t, pse);
+ let { validationBehavior: n } = zE(aD) || {}, r = e.validationBehavior ?? n ?? "native", i = fse({
...e,
validationBehavior: r
- }), [a, o] = BE(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Zte({
+ }), [a, o] = VE(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Zte({
...e,
label: o,
validationBehavior: r
- }, i), f = LE({
+ }, i), f = RE({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -30174,7 +30174,7 @@ var mse = /*#__PURE__*/ (0, R.createContext)(null), hse = /*#__PURE__*/ (0, R.cr
},
defaultClassName: "react-aria-RadioGroup"
}), p = jg(e, { global: !0 });
- return /*#__PURE__*/ R.createElement(UE.div, {
+ return /*#__PURE__*/ R.createElement(WE.div, {
...H(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -30183,39 +30183,39 @@ var mse = /*#__PURE__*/ (0, R.createContext)(null), hse = /*#__PURE__*/ (0, R.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ R.createElement(IE, { values: [
- [LO, i],
- [ZE, {
+ }, /*#__PURE__*/ R.createElement(LE, { values: [
+ [RO, i],
+ [QE, {
...c,
ref: a,
elementType: "span"
}],
- [nD, { slots: {
+ [rD, { slots: {
description: l,
errorMessage: u
} }],
- [rD, d]
- ] }, /*#__PURE__*/ R.createElement(XD, null, f.children)));
-}), zO = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [iD, d]
+ ] }, /*#__PURE__*/ R.createElement(ZD, null, f.children)));
+}), BO = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = zE(r, t, hse);
- let i = R.useContext(LO), a = Rh((0, R.useMemo)(() => yh(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Xte({
- ...VE(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 = Xte({
+ ...HE(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ R.createElement(BO.Provider, { value: {
+ return /*#__PURE__*/ R.createElement(VO.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ R.createElement(gse, {
+ } }, /*#__PURE__*/ R.createElement(hse, {
...e,
ref: t
}));
-}), BO = /*#__PURE__*/ (0, R.createContext)(null), gse = /*#__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)(BO), l = R.useContext(LO), { isFocused: u, isFocusVisible: d, focusProps: f } = cy(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = fy({
+}), 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 } = cy(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = fy({
...e,
isDisabled: p
- }), g = LE({
+ }), g = RE({
...e,
defaultClassName: s,
values: {
@@ -30230,7 +30230,7 @@ var mse = /*#__PURE__*/ (0, R.createContext)(null), hse = /*#__PURE__*/ (0, R.cr
isRequired: l.isRequired
}
}), _ = jg(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ R.createElement(UE.label, {
+ return delete _.id, delete _.onClick, /*#__PURE__*/ R.createElement(WE.label, {
...H(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -30249,8 +30249,8 @@ var mse = /*#__PURE__*/ (0, R.createContext)(null), hse = /*#__PURE__*/ (0, R.cr
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function _se(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = mO(e), [i, a] = (0, R.useState)(null), o = (0, R.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function gse(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = hO(e), [i, a] = (0, R.useState)(null), o = (0, R.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
@@ -30266,12 +30266,12 @@ function _se(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = cO({
+ }, d = lO({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, R.useMemo)(() => vse(l), [l]),
+ selectedKeys: (0, R.useMemo)(() => _se(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -30308,16 +30308,16 @@ function _se(e) {
setFocused: g
};
}
-function vse(e) {
+function _se(e) {
if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Select.mjs
-function yse(e) {
+function vse(e) {
return e && e.__esModule ? e.default : e;
}
-var VO = /*#__PURE__*/ (0, R.createContext)(null), HO = /*#__PURE__*/ (0, R.createContext)(null), bse = /*#__PURE__*/ Gh(function(e, t) {
- [e, t] = zE(e, t, VO);
+var HO = /*#__PURE__*/ (0, R.createContext)(null), UO = /*#__PURE__*/ (0, R.createContext)(null), yse = /*#__PURE__*/ Gh(function(e, t) {
+ [e, t] = BE(e, t, HO);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, R.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -30332,24 +30332,24 @@ var VO = /*#__PURE__*/ (0, R.createContext)(null), HO = /*#__PURE__*/ (0, R.crea
i,
a
]);
- return /*#__PURE__*/ R.createElement(Qh, { content: o }, (n) => /*#__PURE__*/ R.createElement(Sse, {
+ return /*#__PURE__*/ R.createElement(Qh, { content: o }, (n) => /*#__PURE__*/ R.createElement(xse, {
props: e,
collection: n,
selectRef: t
}));
-}), xse = [
- ZE,
+}), bse = [
QE,
- nD
+ $E,
+ rD
];
-function Sse({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = RE(iD) || {}, i = e.validationBehavior ?? r ?? "native", a = _se({
+function xse({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = zE(aD) || {}, i = e.validationBehavior ?? r ?? "native", a = gse({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = cy({ within: !0 }), c = (0, R.useRef)(null), [l, u] = BE(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Qte({
- ...VE(e),
+ }), { 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
}, a, c), y = (0, R.useMemo)(() => ({
@@ -30366,48 +30366,48 @@ function Sse({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = LE({
+ ]), b = RE({
...e,
values: y,
defaultClassName: "react-aria-Select"
}), x = jg(e, { global: !0 });
delete x.id;
let S = (0, R.useRef)(null);
- return /*#__PURE__*/ R.createElement(IE, { values: [
- [VO, e],
- [HO, a],
- [UO, p],
- [ZE, {
+ return /*#__PURE__*/ R.createElement(LE, { values: [
+ [HO, e],
+ [UO, a],
+ [WO, p],
+ [QE, {
...d,
ref: l,
elementType: "span"
}],
- [QE, {
+ [$E, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [AO, a],
- [vO, {
+ [jO, a],
+ [yO, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: xse
+ clearContexts: bse
}],
- [dO, {
+ [fO, {
...m,
ref: S
}],
- [fO, a],
- [nD, { slots: {
+ [pO, a],
+ [rD, { slots: {
description: h,
errorMessage: g
} }],
- [rD, v]
- ] }, /*#__PURE__*/ R.createElement(UE.div, {
+ [iD, v]
+ ] }, /*#__PURE__*/ R.createElement(WE.div, {
...H(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -30422,9 +30422,9 @@ function Sse({ props: e, selectRef: t, collection: n }) {
autoComplete: e.autoComplete
})));
}
-for (var UO = /*#__PURE__*/ (0, R.createContext)(null), Cse = /*#__PURE__*/ Gh(function(e, t) {
- [e, t] = zE(e, t, UO);
- let n = (0, R.useContext)(HO), { placeholder: r } = RE(VO), i = n.selectedItems.map((e) => {
+for (var WO = /*#__PURE__*/ (0, R.createContext)(null), Sse = /*#__PURE__*/ Gh(function(e, t) {
+ [e, t] = BE(e, t, WO);
+ let n = (0, R.useContext)(UO), { placeholder: r } = zE(HO), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -30451,7 +30451,7 @@ for (var UO = /*#__PURE__*/ (0, R.createContext)(null), Cse = /*#__PURE__*/ Gh(f
a,
o,
i
- ]), u = kg(yse(WD), "react-aria-components"), d = LE({
+ ]), u = kg(vse(GD), "react-aria-components"), d = RE({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -30463,32 +30463,32 @@ for (var UO = /*#__PURE__*/ (0, R.createContext)(null), Cse = /*#__PURE__*/ Gh(f
state: n
}
}), f = jg(e, { global: !0 });
- return /*#__PURE__*/ R.createElement(UE.span, {
+ return /*#__PURE__*/ R.createElement(WE.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ R.createElement(nD.Provider, { value: void 0 }, d.children));
-}), wse = /*#__PURE__*/ (0, R.createContext)(null), WO = /*#__PURE__*/ (0, R.createContext)(null), Tse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ R.createElement(rD.Provider, { value: void 0 }, d.children));
+}), 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] = zE(r, t, wse);
- let i = Rh((0, R.useMemo)(() => yh(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = U_(e), o = nne({
- ...VE(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 = U_(e), o = tne({
+ ...HE(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ R.createElement(IE, { values: [[WO, a], [GO, {
+ return /*#__PURE__*/ R.createElement(LE, { values: [[GO, a], [KO, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ R.createElement(Ese, {
+ }]] }, /*#__PURE__*/ R.createElement(Tse, {
...e,
ref: t
}));
-}), GO = /*#__PURE__*/ (0, R.createContext)(null), Ese = /*#__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)(GO), { isFocused: f, isFocusVisible: p, focusProps: m } = cy(), h = a || o, g = (0, R.useContext)(WO), { hoverProps: _, isHovered: v } = fy({
+}), 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 } = cy(), h = a || o, g = (0, R.useContext)(GO), { hoverProps: _, isHovered: v } = fy({
...e,
isDisabled: h
- }), y = LE({
+ }), y = RE({
...e,
defaultClassName: u,
values: {
@@ -30504,7 +30504,7 @@ for (var UO = /*#__PURE__*/ (0, R.createContext)(null), Cse = /*#__PURE__*/ Gh(f
state: g
}
}), b = jg(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ R.createElement(UE.label, {
+ return delete b.id, delete b.onClick, /*#__PURE__*/ R.createElement(WE.label, {
...H(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -30521,7 +30521,7 @@ for (var UO = /*#__PURE__*/ (0, R.createContext)(null), Cse = /*#__PURE__*/ Gh(f
...H(r, m),
ref: l
})), y.children);
-}), KO = 10, qO = 5, Dse = class {
+}), qO = 10, JO = 5, Ese = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -30531,7 +30531,7 @@ for (var UO = /*#__PURE__*/ (0, R.createContext)(null), Cse = /*#__PURE__*/ Gh(f
}
resolveDropTarget(e, t, n, r) {
let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;
- if (Math.abs(a) > qO && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > KO && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > JO && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > qO && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
let t = this.state.collection.getKeyBefore(e.key);
for (; t != null;) {
let e = this.state.collection.getItem(t);
@@ -30610,11 +30610,11 @@ for (var UO = /*#__PURE__*/ (0, R.createContext)(null), Cse = /*#__PURE__*/ Gh(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > qO && i) {
+ if (Math.abs(r - c.lastSwitchY) > JO && i) {
let t = c.preferredTargetIndex || 0;
i === "down" && t === 0 ? c.preferredTargetIndex = e.length - 1 : i === "up" && t === e.length - 1 && (c.preferredTargetIndex = 0), o.xDirection = null;
}
- if (l > KO && a) {
+ if (l > qO && a) {
let t = c.preferredTargetIndex || 0;
a === "left" ? this.direction === "ltr" ? t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n) : t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : a === "right" && (this.direction === "ltr" ? t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n)), o.yDirection = null;
}
@@ -30629,7 +30629,7 @@ for (var UO = /*#__PURE__*/ (0, R.createContext)(null), Cse = /*#__PURE__*/ Gh(f
boundaryContext: null
};
}
-}, Ose = class {
+}, Dse = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -30699,8 +30699,8 @@ for (var UO = /*#__PURE__*/ (0, R.createContext)(null), Cse = /*#__PURE__*/ Gh(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, JO = "row-header-column-" + Math.random().toString(36).slice(2), YO = "row-header-column-" + Math.random().toString(36).slice(2); JO === YO;) YO = "row-header-column-" + Math.random().toString(36).slice(2);
-function XO(e, t) {
+}, YO = "row-header-column-" + Math.random().toString(36).slice(2), XO = "row-header-column-" + Math.random().toString(36).slice(2); YO === XO;) XO = "row-header-column-" + Math.random().toString(36).slice(2);
+function ZO(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -30784,13 +30784,13 @@ function XO(e, t) {
textValue: ""
}));
}
-var kse = class extends Ose {
+var Ose = class extends Dse {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: JO,
+ key: YO,
value: null,
textValue: "",
level: 0,
@@ -30805,7 +30805,7 @@ var kse = class extends Ose {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: YO,
+ key: XO,
value: null,
textValue: "",
level: 0,
@@ -30832,7 +30832,7 @@ var kse = class extends Ose {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = XO(s, a);
+ let l = ZO(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -30893,8 +30893,8 @@ var kse = class extends Ose {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function Ase(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || nO(e), i = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function kse(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || rO(e), i = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
let n = t.getItem(e);
@@ -30905,7 +30905,7 @@ function Ase(e) {
}
a(e, r);
};
- let o = (0, R.useMemo)(() => new iO(t, r), [t, r]), s = (0, R.useRef)(null);
+ let o = (0, R.useMemo)(() => new aO(t, r), [t, r]), s = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {
let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;
@@ -30944,11 +30944,11 @@ function Ase(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var jse = {
+var Ase = {
ascending: "descending",
descending: "ascending"
};
-function Mse(e) {
+function jse(e) {
let [t, n] = (0, R.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, R.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -30959,7 +30959,7 @@ function Mse(e) {
i,
r,
a
- ]), c = sO(e, (0, R.useCallback)((e) => new kse(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Ase({
+ ]), c = cO(e, (0, R.useCallback)((e) => new Ose(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = kse({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
@@ -30975,7 +30975,7 @@ function Mse(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? jse[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? Ase[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -30988,7 +30988,7 @@ function Mse(e) {
treeColumn: o
};
}
-function Nse(e, t) {
+function Mse(e, t) {
let n = (0, R.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -30998,7 +30998,7 @@ function Nse(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var Pse = class extends dp {
+var Nse = class extends dp {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -31013,7 +31013,7 @@ var Pse = class extends dp {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new rk(-2);
+ return new ik(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -31039,7 +31039,7 @@ var Pse = class extends dp {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = XO(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");
+ if (this.headerRows = ZO(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");
}
get columnCount() {
return this.columns.length;
@@ -31120,11 +31120,11 @@ var Pse = class extends dp {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new ek(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new tk(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, Fse = /*#__PURE__*/ (0, R.createContext)(null), Ise = /*#__PURE__*/ (0, R.createContext)(null), ZO = /*#__PURE__*/ (0, R.createContext)(null), QO = /*#__PURE__*/ (0, R.createContext)(null), Lse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = zE(e, t, Ise);
- let n = nO(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, R.useMemo)(() => ({
+}, Pse = /*#__PURE__*/ (0, R.createContext)(null), Fse = /*#__PURE__*/ (0, R.createContext)(null), QO = /*#__PURE__*/ (0, R.createContext)(null), $O = /*#__PURE__*/ (0, R.createContext)(null), Ise = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [e, t] = BE(e, t, Fse);
+ let n = rO(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, R.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -31134,26 +31134,26 @@ var Pse = class extends dp {
i,
a,
o
- ]), c = /*#__PURE__*/ R.createElement(Bse.Provider, { value: s }, /*#__PURE__*/ R.createElement(ug, e));
+ ]), c = /*#__PURE__*/ R.createElement(zse.Provider, { value: s }, /*#__PURE__*/ R.createElement(ug, e));
return /*#__PURE__*/ R.createElement(Qh, {
content: c,
- createCollection: () => new Pse()
- }, (r) => /*#__PURE__*/ R.createElement(zse, {
+ createCollection: () => new Nse()
+ }, (r) => /*#__PURE__*/ R.createElement(Rse, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), Rse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, R.useContext)(YE);
- return n ? /*#__PURE__*/ R.createElement(UE.div, {
+}), Lse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, R.useContext)(XE);
+ return n ? /*#__PURE__*/ R.createElement(WE.div, {
...e,
ref: t
- }) : /*#__PURE__*/ R.createElement(UE.table, {
+ }) : /*#__PURE__*/ R.createElement(WE.table, {
...e,
ref: t
});
-}), $O = {
+}), ek = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -31163,26 +31163,26 @@ var Pse = class extends dp {
rtl: "ArrowRight"
}
};
-function zse({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = zE(e, t, WE);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, R.useContext)(Fse);
+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] = 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 = Mse({
+ let d = jse({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Nse(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, R.useContext)(YE), { dragAndDropHooks: _ } = e, { gridProps: v } = cne({
+ }), f = Mse(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, R.useContext)(XE), { dragAndDropHooks: _ } = e, { gridProps: v } = sne({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, R.useRef)(b), (0, R.useRef)(x), (0, R.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, E = null, D = (0, R.useRef)(null), { direction: O } = Cg(), [k] = (0, R.useState)(() => new Dse());
+ let S, C, w, T = !1, E = null, D = (0, R.useRef)(null), { direction: O } = Cg(), [k] = (0, R.useState)(() => new Ese());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -31217,12 +31217,12 @@ function zse({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
let t = C?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = d.collection.getItem(t.key);
- (e.key === $O.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === $O.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === ek.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === ek.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, C, t), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: A, isFocused: j, isFocusVisible: M } = cy(), N = LE({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = cy(), N = RE({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -31239,18 +31239,18 @@ function zse({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
width: "min-content"
}));
let F = jg(e, { global: !0 });
- return /*#__PURE__*/ R.createElement(IE, { values: [
- [ZO, f],
- [QO, P],
- [GD, {
+ return /*#__PURE__*/ R.createElement(LE, { values: [
+ [QO, f],
+ [$O, P],
+ [KD, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [KD, { render: Xse }],
- [WE, null],
- [GE, null]
- ] }, /*#__PURE__*/ R.createElement(e_, null, /*#__PURE__*/ R.createElement(Rse, {
+ [qD, { render: Yse }],
+ [GE, null],
+ [KE, null]
+ ] }, /*#__PURE__*/ R.createElement(e_, null, /*#__PURE__*/ R.createElement(Lse, {
...H(F, N, v, A, w?.collectionProps),
style: te,
ref: t,
@@ -31260,45 +31260,45 @@ function zse({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": T || void 0,
"data-focused": j || void 0,
"data-focus-visible": M || void 0
- }, /*#__PURE__*/ R.createElement(XD, null, /*#__PURE__*/ R.createElement(g, {
+ }, /*#__PURE__*/ R.createElement(ZD, null, /*#__PURE__*/ R.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: JD(y, _, C)
+ persistedKeys: YD(y, _, C)
})))), E);
}
-var Bse = /*#__PURE__*/ (0, R.createContext)(null), ek = class extends op {
+var zse = /*#__PURE__*/ (0, R.createContext)(null), tk = class extends op {
static {
this.type = "tableheader";
}
-}, Vse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, R.useContext)(YE);
- return n ? /*#__PURE__*/ R.createElement(UE.div, {
+}, Bse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, R.useContext)(XE);
+ return n ? /*#__PURE__*/ R.createElement(WE.div, {
...e,
ref: t
- }) : /*#__PURE__*/ R.createElement(UE.thead, {
+ }) : /*#__PURE__*/ R.createElement(WE.thead, {
...e,
ref: t
});
-}), tk = /*#__PURE__*/ sg(ek, (e, t) => {
- let n = (0, R.useContext)(ZO).collection, r = gp({
+}), nk = /*#__PURE__*/ sg(tk, (e, t) => {
+ let n = (0, R.useContext)(QO).collection, r = gp({
items: n.headerRows,
children: (0, R.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ R.createElement(Use, { item: e });
+ case "headerrow": return /*#__PURE__*/ R.createElement(Hse, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = tS(), { hoverProps: a, isHovered: o } = fy({
+ }), { rowGroupProps: i } = nS(), { hoverProps: a, isHovered: o } = fy({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = LE({
+ }), s = RE({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ R.createElement(Vse, {
+ return /*#__PURE__*/ R.createElement(Bse, {
...H(jg(e, { global: !0 }), i, a),
...s,
ref: t,
@@ -31307,8 +31307,8 @@ var Bse = /*#__PURE__*/ (0, R.createContext)(null), ek = class extends op {
}, (e) => /*#__PURE__*/ R.createElement(ug, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), Hse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, R.useContext)(YE);
+}, e.children)), Vse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, R.useContext)(XE);
return n ? /*#__PURE__*/ R.createElement("div", {
...e,
ref: t
@@ -31317,41 +31317,41 @@ var Bse = /*#__PURE__*/ (0, R.createContext)(null), ek = class extends op {
ref: t
});
});
-function Use({ item: e }) {
- let t = (0, R.useRef)(null), n = (0, R.useContext)(ZO), { isVirtualized: r, CollectionBranch: i } = (0, R.useContext)(YE), { rowProps: a } = fne({
+function Hse({ item: e }) {
+ let t = (0, R.useRef)(null), n = (0, R.useContext)(QO), { isVirtualized: r, CollectionBranch: i } = (0, R.useContext)(XE), { rowProps: a } = dne({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = yne(n);
- return /*#__PURE__*/ R.createElement(Hse, {
+ }, n, t), { checkboxProps: o } = vne(n);
+ return /*#__PURE__*/ R.createElement(Vse, {
...a,
ref: t
- }, /*#__PURE__*/ R.createElement(IE, { values: [[aD, { slots: { selection: o } }], [oD, { slots: { selection: o } }]] }, /*#__PURE__*/ R.createElement(i, {
+ }, /*#__PURE__*/ R.createElement(LE, { values: [[oD, { slots: { selection: o } }], [sD, { slots: { selection: o } }]] }, /*#__PURE__*/ R.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var Wse = class extends op {
+var Use = class extends op {
static {
this.type = "column";
}
-}, Gse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, R.useContext)(YE);
- return n ? /*#__PURE__*/ R.createElement(UE.div, {
+}, Wse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, R.useContext)(XE);
+ return n ? /*#__PURE__*/ R.createElement(WE.div, {
...e,
ref: t
- }) : /*#__PURE__*/ R.createElement(UE.th, {
+ }) : /*#__PURE__*/ R.createElement(WE.th, {
...e,
ref: t
});
-}), nk = /*#__PURE__*/ og(Wse, (e, t, n) => {
- let r = Rh(t), i = (0, R.useContext)(ZO), { isVirtualized: a } = (0, R.useContext)(YE), { columnHeaderProps: o, isPressed: s } = dne({
+}), rk = /*#__PURE__*/ og(Use, (e, t, n) => {
+ let r = Rh(t), i = (0, R.useContext)(QO), { isVirtualized: a } = (0, R.useContext)(XE), { columnHeaderProps: o, isPressed: s } = une({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = cy(), d = (0, R.useContext)(QO), 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 } = fy({ isDisabled: !e.allowsSorting }), h = LE({
+ let { hoverProps: p, isHovered: m } = fy({ isDisabled: !e.allowsSorting }), h = RE({
...e,
id: void 0,
children: n.rendered,
@@ -31378,7 +31378,7 @@ var Wse = class extends op {
width: d.getColumnWidth(n.key)
});
let _ = jg(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ R.createElement(Gse, {
+ return delete _.id, /*#__PURE__*/ R.createElement(Wse, {
...H(_, o, u, p),
...h,
style: g,
@@ -31390,28 +31390,28 @@ var Wse = class extends op {
"data-resizing": f || void 0,
"data-allows-sorting": n.props.allowsSorting || void 0,
"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0
- }, /*#__PURE__*/ R.createElement(IE, { values: [[Kse, {
+ }, /*#__PURE__*/ R.createElement(LE, { values: [[Gse, {
column: n,
triggerRef: r
- }], [YE, qE]] }, h.children));
-}), Kse = /*#__PURE__*/ (0, R.createContext)(null), rk = class extends sp {
+ }], [XE, JE]] }, h.children));
+}), Gse = /*#__PURE__*/ (0, R.createContext)(null), ik = class extends sp {
static {
this.type = "tablebody";
}
-}, qse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, R.useContext)(YE);
- return n ? /*#__PURE__*/ R.createElement(UE.div, {
+}, Kse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, R.useContext)(XE);
+ return n ? /*#__PURE__*/ R.createElement(WE.div, {
...e,
ref: t
- }) : /*#__PURE__*/ R.createElement(UE.tbody, {
+ }) : /*#__PURE__*/ R.createElement(WE.tbody, {
...e,
ref: t
});
-}), ik = /*#__PURE__*/ sg(rk, (e, t, n) => {
- let r = (0, R.useContext)(ZO), { isVirtualized: i } = (0, R.useContext)(YE), a = r.collection, { CollectionBranch: o } = (0, R.useContext)(YE), { dragAndDropHooks: s, dropState: c } = (0, R.useContext)(GD), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), ak = /*#__PURE__*/ sg(ik, (e, t, n) => {
+ let r = (0, R.useContext)(QO), { isVirtualized: i } = (0, R.useContext)(XE), a = r.collection, { CollectionBranch: o } = (0, R.useContext)(XE), { dragAndDropHooks: s, dropState: c } = (0, R.useContext)(KD), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = LE({
+ }, p = RE({
...e,
id: void 0,
children: void 0,
@@ -31420,25 +31420,25 @@ var Wse = class extends op {
}), m, h = a.columnCount;
if (d && e.renderEmptyState && r) {
let t = {}, n = {}, r = {};
- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ R.createElement(ok, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ R.createElement(sk, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ R.createElement(ck, {
+ }, /*#__PURE__*/ R.createElement(lk, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = tS(), _ = jg(e, { global: !0 });
- return /*#__PURE__*/ R.createElement(qse, {
+ let { rowGroupProps: g } = nS(), _ = jg(e, { global: !0 });
+ return /*#__PURE__*/ R.createElement(Kse, {
...H(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ R.createElement(tce, null), /*#__PURE__*/ R.createElement(o, {
+ }, l && /*#__PURE__*/ R.createElement(ece, null), /*#__PURE__*/ R.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: qD(s, c)
+ renderDropIndicator: JD(s, c)
}), m);
});
(class extends sp {
@@ -31446,7 +31446,7 @@ var Wse = class extends op {
this.type = "tablefooter";
}
});
-var ak = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), Jse = class extends op {
+var ok = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), qse = class extends op {
static {
this.type = "item";
}
@@ -31458,17 +31458,17 @@ var ak = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), Js
}
return null;
}
-}, ok = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, R.useContext)(YE);
- return n ? /*#__PURE__*/ R.createElement(UE.div, {
+}, sk = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, R.useContext)(XE);
+ return n ? /*#__PURE__*/ R.createElement(WE.div, {
...e,
ref: t
- }) : /*#__PURE__*/ R.createElement(UE.tr, {
+ }) : /*#__PURE__*/ R.createElement(WE.tr, {
...e,
ref: t
});
-}), sk = /*#__PURE__*/ sg(Jse, (e, t, n) => {
- let r = Rh(t), i = (0, R.useContext)(ZO), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, R.useContext)(GD), { isVirtualized: c, CollectionBranch: l } = (0, R.useContext)(YE), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = hne({
+}), ck = /*#__PURE__*/ sg(qse, (e, t, n) => {
+ let r = Rh(t), i = (0, R.useContext)(QO), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, R.useContext)(KD), { isVirtualized: c, CollectionBranch: l } = (0, R.useContext)(XE), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = mne({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
@@ -31477,7 +31477,7 @@ var ak = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), Js
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = vne({ key: n.key }, i), S;
+ }), { checkboxProps: x } = _ne({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
@@ -31492,7 +31492,7 @@ var ak = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), Js
(0, R.useEffect)(() => {
o && E.current;
}, []);
- let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = LE({
+ let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = RE({
...k,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -31514,10 +31514,10 @@ var ak = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), Js
level: n.level + 1
}
}), N = jg(e, { global: !0 });
- return delete N.id, delete N.onClick, /*#__PURE__*/ R.createElement(R.Fragment, null, C && !C.isHidden && /*#__PURE__*/ R.createElement(ok, {
+ return delete N.id, delete N.onClick, /*#__PURE__*/ R.createElement(R.Fragment, null, C && !C.isHidden && /*#__PURE__*/ R.createElement(sk, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ R.createElement(ck, {
+ }, /*#__PURE__*/ R.createElement(lk, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -31526,7 +31526,7 @@ var ak = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), Js
...T,
...C.dropIndicatorProps,
ref: w
- }))), /*#__PURE__*/ R.createElement(ok, {
+ }))), /*#__PURE__*/ R.createElement(sk, {
...H(N, M, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -31542,17 +31542,17 @@ var ak = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), Js
"data-expanded": j || void 0,
"data-has-child-items": A || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ R.createElement(IE, { values: [
- [aD, { slots: {
- [FE]: {},
+ }, /*#__PURE__*/ R.createElement(LE, { values: [
+ [oD, { slots: {
+ [IE]: {},
selection: x
} }],
- [oD, { slots: {
- [FE]: {},
+ [sD, { slots: {
+ [IE]: {},
selection: x
} }],
- [QE, { slots: {
- [FE]: {},
+ [$E, { slots: {
+ [IE]: {},
chevron: f,
drag: {
...S?.dragButtonProps,
@@ -31560,8 +31560,8 @@ var ak = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), Js
style: { pointerEvents: "none" }
}
} }],
- [ZD, { isSelected: p.isSelected }],
- [ak, { isFocusVisibleWithinRow: _ }]
+ [QD, { isSelected: p.isSelected }],
+ [ok, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ R.createElement(l, {
collection: i.collection,
parent: n
@@ -31574,29 +31574,29 @@ var ak = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), Js
items: e.columns,
idScope: e.id
}, e.children);
-}), Yse = class extends op {
+}), Jse = class extends op {
static {
this.type = "cell";
}
-}, ck = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, R.useContext)(YE);
- return n ? /*#__PURE__*/ R.createElement(UE.div, {
+}, lk = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, R.useContext)(XE);
+ return n ? /*#__PURE__*/ R.createElement(WE.div, {
...e,
ref: t
- }) : /*#__PURE__*/ R.createElement(UE.td, {
+ }) : /*#__PURE__*/ R.createElement(WE.td, {
...e,
ref: t
});
-}), lk = /*#__PURE__*/ og(Yse, (e, t, n) => {
- let r = Rh(t), i = (0, R.useContext)(ZO), { dragState: a } = (0, R.useContext)(GD), { isVirtualized: o } = (0, R.useContext)(YE);
+}), uk = /*#__PURE__*/ og(Jse, (e, t, n) => {
+ let r = Rh(t), i = (0, R.useContext)(QO), { dragState: a } = (0, R.useContext)(KD), { isVirtualized: o } = (0, R.useContext)(XE);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = lne({
+ let { gridCellProps: s, isPressed: c } = cne({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = cy(), { hoverProps: f, isHovered: p } = fy({}), { isFocusVisibleWithinRow: m } = (0, R.useContext)(ak), 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 = LE({
+ }, 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",
@@ -31616,7 +31616,7 @@ var ak = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), Js
isTreeColumn: n.column.key === i.treeColumn
}
}), S = jg(e, { global: !0 });
- return delete S.id, /*#__PURE__*/ R.createElement(ck, {
+ return delete S.id, /*#__PURE__*/ R.createElement(lk, {
...H(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -31630,14 +31630,14 @@ var ak = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), Js
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ R.createElement(YE.Provider, { value: qE }, x.children));
+ }, /*#__PURE__*/ R.createElement(XE.Provider, { value: JE }, x.children));
});
-function Xse(e, t) {
+function Yse(e, t) {
t = Rh(t);
- let { dragAndDropHooks: n, dropState: r } = (0, R.useContext)(GD), i = (0, R.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+ let { dragAndDropHooks: n, dropState: r } = (0, R.useContext)(KD), i = (0, R.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
if (o) return null;
let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;
- return /*#__PURE__*/ R.createElement(ece, {
+ return /*#__PURE__*/ R.createElement($se, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -31646,40 +31646,40 @@ function Xse(e, t) {
ref: t
});
}
-var Zse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, R.useContext)(YE);
- return n ? /*#__PURE__*/ R.createElement(UE.div, {
+var Xse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, R.useContext)(XE);
+ return n ? /*#__PURE__*/ R.createElement(WE.div, {
...e,
ref: t
- }) : /*#__PURE__*/ R.createElement(UE.tr, {
+ }) : /*#__PURE__*/ R.createElement(WE.tr, {
...e,
ref: t
});
-}), Qse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, R.useContext)(YE);
- return n ? /*#__PURE__*/ R.createElement(UE.div, {
+}), Zse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, R.useContext)(XE);
+ return n ? /*#__PURE__*/ R.createElement(WE.div, {
...e,
ref: t
- }) : /*#__PURE__*/ R.createElement(UE.td, {
+ }) : /*#__PURE__*/ R.createElement(WE.td, {
...e,
ref: t
});
});
-function $se(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, R.useContext)(ZO), { visuallyHiddenProps: c } = K_(), l = LE({
+function Qse(e, t) {
+ 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 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ R.createElement(Zse, {
+ return /*#__PURE__*/ R.createElement(Xse, {
...jg(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ R.createElement(Qse, {
+ }, /*#__PURE__*/ R.createElement(Zse, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -31690,14 +31690,14 @@ function $se(e, t) {
ref: i
}), l.children));
}
-var ece = /*#__PURE__*/ (0, R.forwardRef)($se);
-function tce() {
- let e = (0, R.useContext)(ZO), { dragAndDropHooks: t, dropState: n } = (0, R.useContext)(GD), 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(ok, {
+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 } = K_();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ R.createElement(sk, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ R.createElement(ck, {
+ }, /*#__PURE__*/ R.createElement(lk, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -31709,8 +31709,8 @@ function tce() {
})));
}
og(cp, function(e, t, n) {
- let r = (0, R.useContext)(ZO), { isVirtualized: i } = (0, R.useContext)(YE), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, R.useRef)(null);
- uO((0, R.useMemo)(() => ({
+ let r = (0, R.useContext)(QO), { isVirtualized: i } = (0, R.useContext)(XE), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, R.useRef)(null);
+ dO((0, R.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -31720,7 +31720,7 @@ og(cp, function(e, t, n) {
s,
r?.collection
]), u);
- let d = LE({
+ let d = RE({
...c,
id: void 0,
children: n.rendered,
@@ -31728,10 +31728,10 @@ og(cp, function(e, t, n) {
defaultStyle: { "--table-row-level": n.level + 1 },
values: void 0
}), f = {}, p = {}, m = {};
- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(ok, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(sk, {
style: { height: 0 },
- inert: $D(!0)
- }, /*#__PURE__*/ R.createElement(ck, { style: {
+ inert: eO(!0)
+ }, /*#__PURE__*/ R.createElement(lk, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ R.createElement("div", {
@@ -31742,14 +31742,14 @@ og(cp, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ R.createElement(ok, {
+ }))), a && d.children && /*#__PURE__*/ R.createElement(sk, {
...H(jg(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ R.createElement(ck, {
+ }, /*#__PURE__*/ R.createElement(lk, {
role: "rowheader",
...p,
style: m
@@ -31757,8 +31757,8 @@ og(cp, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function nce(e) {
- 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 } = cO({
+function tce(e) {
+ 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,
@@ -31781,24 +31781,24 @@ function nce(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function rce(e) {
- let t = nce({
+function nce(e) {
+ let t = tce({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? uk(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? dk(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, R.useRef)(i);
return (0, R.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = uk(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = dk(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
}), {
...t,
isDisabled: e.isDisabled || !1
};
}
-function uk(e, t) {
+function dk(e, t) {
let n = null;
if (e) {
for (n = e.getFirstKey(); n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n !== e.getLastKey();) n = e.getKeyAfter(n);
@@ -31808,20 +31808,20 @@ function uk(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var dk = /*#__PURE__*/ (0, R.createContext)(null), fk = /*#__PURE__*/ (0, R.createContext)(null), pk = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = zE(e, t, dk);
+var fk = /*#__PURE__*/ (0, R.createContext)(null), pk = /*#__PURE__*/ (0, R.createContext)(null), mk = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [e, t] = BE(e, t, fk);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, R.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ R.createElement(Qh, { content: n }, (n) => /*#__PURE__*/ R.createElement(ice, {
+ }) : n, [n, r]), /*#__PURE__*/ R.createElement(Qh, { content: n }, (n) => /*#__PURE__*/ R.createElement(rce, {
props: e,
collection: n,
tabsRef: t
}));
});
-function ice({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = rce({
+function rce({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = nce({
...e,
collection: n,
children: void 0
@@ -31833,12 +31833,12 @@ function ice({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = LE({
+ ]), l = RE({
...e,
defaultClassName: "react-aria-Tabs",
values: c
}), u = jg(e, { global: !0 });
- return /*#__PURE__*/ R.createElement(UE.div, {
+ return /*#__PURE__*/ R.createElement(WE.div, {
...H(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -31846,20 +31846,20 @@ function ice({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ R.createElement(IE, { values: [[dk, e], [fk, i]] }, l.children));
+ }, /*#__PURE__*/ R.createElement(LE, { values: [[fk, e], [pk, i]] }, l.children));
}
-var mk = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- return (0, R.useContext)(fk) ? /*#__PURE__*/ R.createElement(ace, {
+var hk = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ return (0, R.useContext)(pk) ? /*#__PURE__*/ R.createElement(ice, {
props: e,
forwardedRef: t
}) : /*#__PURE__*/ R.createElement(ug, e);
});
-function ace({ props: e, forwardedRef: t }) {
- let n = (0, R.useContext)(fk), { CollectionRoot: r } = (0, R.useContext)(YE), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = RE(dk), o = Rh(t), { tabListProps: s } = Sne({
+function ice({ props: e, forwardedRef: t }) {
+ let n = (0, R.useContext)(pk), { CollectionRoot: r } = (0, R.useContext)(XE), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = zE(fk), o = Rh(t), { tabListProps: s } = xne({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = LE({
+ }, n, o), c = RE({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -31868,21 +31868,21 @@ function ace({ props: e, forwardedRef: t }) {
state: n
}
}), l = jg(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ R.createElement(UE.div, {
+ return delete l.id, /*#__PURE__*/ R.createElement(WE.div, {
...H(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ R.createElement(XD, null, /*#__PURE__*/ R.createElement(r, {
+ }, /*#__PURE__*/ R.createElement(ZD, null, /*#__PURE__*/ R.createElement(r, {
collection: n.collection,
- persistedKeys: XE(n.selectionManager.focusedKey)
+ persistedKeys: ZE(n.selectionManager.focusedKey)
})));
}
-var hk = /*#__PURE__*/ og(class extends op {
+var gk = /*#__PURE__*/ og(class extends op {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, R.useContext)(fk), i = Rh(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = bne({
+ 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 } = cy(), { hoverProps: f, isHovered: p } = fy({
@@ -31890,7 +31890,7 @@ var hk = /*#__PURE__*/ og(class extends op {
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = LE({
+ }), m = RE({
...e,
id: void 0,
children: n.rendered,
@@ -31903,7 +31903,7 @@ var hk = /*#__PURE__*/ og(class extends op {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? UE.a : UE.div, g = jg(e, { global: !0 });
+ }), h = n.props.href ? WE.a : WE.div, g = jg(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ R.createElement(h, {
...H(g, m, a, l, f),
ref: i,
@@ -31913,26 +31913,26 @@ var hk = /*#__PURE__*/ og(class extends op {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ R.createElement(ZD.Provider, { value: { isSelected: o } }, m.children));
-}), gk = /*#__PURE__*/ Gh(function(e, t) {
- let n = (0, R.useContext)(fk), r = Rh(t), i = n.selectedKey === e.id, [a, o] = (0, R.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ R.createElement(QD.Provider, { value: { isSelected: o } }, m.children));
+}), _k = /*#__PURE__*/ Gh(function(e, t) {
+ let n = (0, R.useContext)(pk), r = Rh(t), i = n.selectedKey === e.id, [a, o] = (0, R.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = gO(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ R.createElement(oce, {
+ let s = _O(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ R.createElement(ace, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function oce(e) {
- let t = (0, R.useContext)(fk), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Cne(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = cy(), d = t.selectedKey === e.id, f = hO(r) && !i, p = LE({
+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 } = cy(), d = t.selectedKey === e.id, f = gO(r) && !i, p = RE({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: $D(!d),
+ isInert: eO(!d),
isEntering: f,
isExiting: a,
state: t
@@ -31940,31 +31940,31 @@ function oce(e) {
}), m = jg(o, { global: !0 });
delete m.id;
let h = d ? H(m, s, c, p) : H(m, p);
- return /*#__PURE__*/ R.createElement(UE.div, {
+ return /*#__PURE__*/ R.createElement(WE.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: $D(!d || e.inert),
+ inert: eO(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ R.createElement(IE, { values: [[dk, null], [fk, null]] }, /*#__PURE__*/ R.createElement(YE.Provider, { value: qE }, p.children)));
+ }, /*#__PURE__*/ R.createElement(LE, { values: [[fk, null], [pk, null]] }, /*#__PURE__*/ R.createElement(XE.Provider, { value: JE }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var sce = /*#__PURE__*/ (0, R.createContext)({}), cce = /*#__PURE__*/ (0, R.createContext)(null), lce = /*#__PURE__*/ Gh(function(e, t) {
- [e, t] = zE(e, t, cce);
- let { validationBehavior: n } = RE(iD) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, R.useRef)(null);
- [e, i] = zE(e, i, GE);
- let [a, o] = BE(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, R.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = tte({
- ...VE(e),
+var oce = /*#__PURE__*/ (0, R.createContext)({}), sce = /*#__PURE__*/ (0, R.createContext)(null), cce = /*#__PURE__*/ Gh(function(e, t) {
+ [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 } = tte({
+ ...HE(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, R.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = LE({
+ }, [i]), h = RE({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -31974,7 +31974,7 @@ var sce = /*#__PURE__*/ (0, R.createContext)({}), cce = /*#__PURE__*/ (0, R.crea
},
defaultClassName: "react-aria-TextField"
}), g = jg(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ R.createElement(UE.div, {
+ return delete g.id, /*#__PURE__*/ R.createElement(WE.div, {
...g,
...h,
ref: t,
@@ -31983,38 +31983,38 @@ var sce = /*#__PURE__*/ (0, R.createContext)({}), cce = /*#__PURE__*/ (0, R.crea
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ R.createElement(IE, { values: [
- [ZE, {
+ }, /*#__PURE__*/ R.createElement(LE, { values: [
+ [QE, {
...l,
ref: a
}],
- [lD, {
+ [uD, {
...u,
ref: m
}],
- [sce, {
+ [oce, {
...u,
ref: m
}],
- [cD, {
+ [lD, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [nD, { slots: {
+ [rD, { slots: {
description: d,
errorMessage: f
} }],
- [rD, p]
+ [iD, p]
] }, h.children));
});
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function uce({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, B.jsxs)(Soe, {
+function lce({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, B.jsxs)(xoe, {
"data-label": "true",
...a,
- className: SE("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: CE("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, B.jsx)("span", {
@@ -32022,7 +32022,7 @@ function uce({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, B.jsx)(sae, {
+ n && /* @__PURE__ */ (0, B.jsx)(oae, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -32031,33 +32031,33 @@ function uce({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function dce({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, B.jsx)(Eoe, {
+function uce({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, B.jsx)(Toe, {
slot: e ? "errorMessage" : "description",
...n,
- className: SE("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: CE("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
//#endregion
//#region src/react/boardui/components/base/input/input.tsx
-var _k = (0, R.createContext)({});
-function vk({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, B.jsx)(_k.Provider, {
+var vk = (0, R.createContext)({});
+function yk({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, B.jsx)(vk.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, B.jsx)(lce, {
+ children: /* @__PURE__ */ (0, B.jsx)(cce, {
...a,
"data-input-size": e,
- className: SE("group flex h-max w-full flex-col items-start gap-1", r),
+ className: CE("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
-vk.displayName = "TextField";
-var yk = CE({
+yk.displayName = "TextField";
+var bk = wE({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -32086,44 +32086,44 @@ var yk = CE({
].join(" "),
icon: "size-5 shrink-0"
});
-function bk({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, R.useContext)(_k), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, B.jsx)(joe, {
+function xk({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, R.useContext)(vk), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, B.jsx)(Aoe, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => SE(yk.field, d ? yk.fieldWithAddonSize[u] : yk.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),
+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => CE(bk.field, d ? bk.fieldWithAddonSize[u] : bk.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),
children: /* @__PURE__ */ (0, B.jsxs)("div", {
- className: yk.content,
+ className: bk.content,
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
- className: yk.leftSection,
+ className: bk.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, B.jsx)(t, {
- className: yk.icon,
+ className: bk.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, B.jsx)(Noe, {
+ }) : null, /* @__PURE__ */ (0, B.jsx)(Moe, {
ref: o,
...c,
- className: SE(yk.input, l.inputClassName, a)
+ className: CE(bk.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, B.jsx)(n, {
- className: yk.icon,
+ className: bk.icon,
"aria-hidden": !0
}) : null]
})
});
}
-bk.displayName = "InputBase";
-function xk({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
- return /* @__PURE__ */ (0, B.jsx)(vk, {
+xk.displayName = "InputBase";
+function Sk({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
+ return /* @__PURE__ */ (0, B.jsx)(yk, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
- e && /* @__PURE__ */ (0, B.jsx)(uce, {
+ e && /* @__PURE__ */ (0, B.jsx)(lce, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, B.jsx)(bk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
ref: c,
groupRef: l,
placeholder: r,
@@ -32132,17 +32132,17 @@ function xk({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, B.jsx)(dce, {
+ t && /* @__PURE__ */ (0, B.jsx)(uce, {
isInvalid: d,
children: t
})
] })
});
}
-xk.displayName = "Input";
+Sk.displayName = "Input";
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var Sk = [
+var Ck = [
"max-w-[calc(100vw-32px)] overflow-y-auto",
"rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown",
"transition duration-150 ease-out",
@@ -32150,10 +32150,10 @@ var Sk = [
"data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]",
"data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left",
"data-[placement=left]:origin-right data-[placement=right]:origin-left"
-].join(" "), fce = "w-[266px]", pce = "flex w-full flex-col gap-1 outline-none", Ck = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), wk = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+].join(" "), dce = "w-[266px]", fce = "flex w-full flex-col gap-1 outline-none", wk = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), Tk = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function mce(e) {
+function pce(e) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -32167,7 +32167,7 @@ function mce(e) {
})
});
}
-function hce(e) {
+function mce(e) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -32181,7 +32181,7 @@ function hce(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function gce(e, t, n) {
+function hce(e, t, n) {
(0, R.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -32195,7 +32195,7 @@ function gce(e, t, n) {
n
]);
}
-function _ce(e, t) {
+function gce(e, t) {
let n = (0, R.useRef)(!1);
return (0, R.useEffect)(() => {
if (!e) return;
@@ -32209,33 +32209,33 @@ function _ce(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var Tk = (0, R.createContext)("md");
-function Ek({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var Ek = (0, R.createContext)("md");
+function Dk({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, R.useRef)(null), u = (0, R.useRef)(null), [d, f] = (0, R.useState)(!1);
- gce(d, () => f(!1), [l, u]);
- let p = _ce(d, l);
- return /* @__PURE__ */ (0, B.jsx)(bse, {
+ hce(d, () => f(!1), [l, u]);
+ let p = gce(d, l);
+ return /* @__PURE__ */ (0, B.jsx)(yse, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: SE("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)($E, {
+ className: CE("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)(eD, {
ref: l,
- className: SE("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
- children: [/* @__PURE__ */ (0, B.jsx)(Cse, {
- className: SE("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: CE("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
+ children: [/* @__PURE__ */ (0, B.jsx)(Sse, {
+ className: CE("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, B.jsx)(mce, { className: SE("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, B.jsx)(bO, {
+ }), /* @__PURE__ */ (0, B.jsx)(pce, { className: CE("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, B.jsx)(xO, {
ref: u,
isNonModal: !0,
offset: 4,
- className: SE(fce, Sk, "p-2", n),
- children: /* @__PURE__ */ (0, B.jsx)(Voe, {
+ className: CE(dce, Ck, "p-2", n),
+ children: /* @__PURE__ */ (0, B.jsx)(Boe, {
items: a,
- className: SE(pce, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, B.jsx)(Tk.Provider, {
+ className: CE(fce, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, B.jsx)(Ek.Provider, {
value: r,
children: i
})
@@ -32243,31 +32243,31 @@ function Ek({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function Dk({ className: e, children: t, ...n }) {
- let r = (0, R.useContext)(Tk);
- return /* @__PURE__ */ (0, B.jsx)(Woe, {
+function Ok({ className: e, children: t, ...n }) {
+ let r = (0, R.useContext)(Ek);
+ return /* @__PURE__ */ (0, B.jsx)(Uoe, {
...n,
- className: (t) => SE(Ck, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
+ className: (t) => CE(wk, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
children: t
});
}
//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function Ok({ className: e, children: t }) {
+function kk({ className: e, children: t }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
- className: SE("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: CE("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function kk({ className: e, children: t }) {
+function Ak({ className: e, children: t }) {
return /* @__PURE__ */ (0, B.jsx)("p", {
- className: SE("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: CE("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function Ak({ label: e, description: t, children: n }) {
+function jk({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: SE("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
+ className: CE("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, B.jsx)("p", {
@@ -32282,7 +32282,7 @@ function Ak({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var jk = CE({
+var Mk = wE({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -32306,15 +32306,15 @@ var jk = CE({
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function Mk({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = SE(jk.base, jk.size[t], jk.variant[e], a), l = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
+function Nk({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = CE(Mk.base, Mk.size[t], Mk.variant[e], a), l = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
n ? /* @__PURE__ */ (0, B.jsx)(n, {
- className: jk.icon[t],
+ className: Mk.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, B.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, B.jsx)(r, {
- className: jk.icon[t],
+ className: Mk.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -32341,14 +32341,14 @@ function Mk({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/settings/section.tsx
-function Nk({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
+function Pk({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
let a = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [n ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, B.jsx)(kk, { children: e })
+ children: /* @__PURE__ */ (0, B.jsx)(Ak, { children: e })
}), n]
- }) : /* @__PURE__ */ (0, B.jsx)(kk, { children: e }), /* @__PURE__ */ (0, B.jsx)(Ok, { children: i })] });
+ }) : /* @__PURE__ */ (0, B.jsx)(Ak, { children: e }), /* @__PURE__ */ (0, B.jsx)(kk, { children: i })] });
return r ? /* @__PURE__ */ (0, B.jsx)("form", {
id: t,
"aria-label": e,
@@ -32363,13 +32363,13 @@ function Nk({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
children: a
});
}
-function Pk({ children: e }) {
+function Fk({ children: e }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function Fk({ divided: e = !1, children: t }) {
+function Ik({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
children: t
@@ -32378,7 +32378,7 @@ function Fk({ divided: e = !1, children: t }) {
children: t
});
}
-function Ik({ status: e, children: t }) {
+function Lk({ status: e, children: t }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3",
children: [e ? /* @__PURE__ */ (0, B.jsx)("div", {
@@ -32387,34 +32387,34 @@ function Ik({ status: e, children: t }) {
}) : null, t]
});
}
-function Lk({ role: e, children: t }) {
+function Rk({ role: e, children: t }) {
return /* @__PURE__ */ (0, B.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function Rk({ children: e }) {
+function zk({ children: e }) {
return /* @__PURE__ */ (0, B.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function zk({ children: e }) {
+function Bk({ children: e }) {
return /* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function Bk({ href: e, children: t, leadingIcon: n }) {
- return /* @__PURE__ */ (0, B.jsx)(Mk, {
+function Vk({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, B.jsx)(Nk, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
leadingIcon: n,
- trailingIcon: CT,
+ trailingIcon: wT,
className: "min-w-0 max-w-full",
children: /* @__PURE__ */ (0, B.jsx)("span", {
className: "min-w-0 whitespace-normal break-all",
@@ -32422,13 +32422,13 @@ function Bk({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function Vk({ children: e }) {
+function Hk({ children: e }) {
return /* @__PURE__ */ (0, B.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function Hk({ term: e, children: t }) {
+function Uk({ term: e, children: t }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",
children: [/* @__PURE__ */ (0, B.jsx)("dt", {
@@ -32440,7 +32440,7 @@ function Hk({ term: e, children: t }) {
})]
});
}
-function Uk({ summary: e, defaultOpen: t = !1, children: n }) {
+function Wk({ summary: e, defaultOpen: t = !1, children: n }) {
let r = (0, R.useId)(), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(!1), [s, c] = (0, R.useState)(t);
return /* @__PURE__ */ (0, B.jsxs)("details", {
ref: (e) => {
@@ -32453,7 +32453,7 @@ function Uk({ summary: e, defaultOpen: t = !1, children: n }) {
e.preventDefault(), !(!i.current || !a.current) && (Xe(i.current, a.current, !s), c(!s));
},
className: "flex w-fit cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [/* @__PURE__ */ (0, B.jsx)(hT, {
+ children: [/* @__PURE__ */ (0, B.jsx)(gT, {
"aria-hidden": !0,
className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}), e]
@@ -32468,7 +32468,7 @@ function Uk({ summary: e, defaultOpen: t = !1, children: n }) {
})]
});
}
-function vce({ name: e }) {
+function _ce({ name: e }) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -32477,22 +32477,22 @@ function vce({ name: e }) {
children: /* @__PURE__ */ (0, B.jsx)("use", { href: `#i-${e}` })
});
}
-function Wk({ mark: e }) {
+function Gk({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, B.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, B.jsx)(vce, { name: e });
+ }) : /* @__PURE__ */ (0, B.jsx)(_ce, { name: e });
}
//#endregion
//#region src/react/activity/tasks.ts
-var Gk = "/api/tasks", Kk = ["tasks"], yce = (e, t) => W(`${Gk}?${new URLSearchParams({
+var Kk = "/api/tasks", qk = ["tasks"], vce = (e, t) => W(`${Kk}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function qk(...e) {
+function Jk(...e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of n) t.has(e.id) || t.set(e.id, e);
return [...t.values()].sort((e, t) => {
@@ -32500,26 +32500,26 @@ function qk(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var bce = 2e3, xce = 1e4, Sce = (e) => e?.running.length ? bce : xce, Jk = (e) => W(Gk, e);
-async function Cce(e) {
+var yce = 2e3, bce = 1e4, xce = (e) => e?.running.length ? yce : bce, Yk = (e) => W(Kk, e);
+async function Sce(e) {
await p.fetchQuery({
- queryKey: Kk,
- queryFn: () => Jk(e)
+ queryKey: qk,
+ queryFn: () => Yk(e)
});
}
-var Yk = {
+var Xk = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, wce = {
+}, Cce = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "被打断"
-}, Tce = (e) => wce[e] || e, Ece = {
+}, wce = (e) => Cce[e] || e, Tce = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -32549,7 +32549,7 @@ var Yk = {
source: "来源",
cover_network: "封面连不上图片主机"
};
-function Dce(e) {
+function Ece(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -32558,7 +32558,7 @@ function Dce(e) {
}
return t;
}
-function Oce(e, t) {
+function Dce(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -32580,19 +32580,19 @@ function Oce(e, t) {
}
return n;
}
-var kce = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), Xk = (e) => e.status === "pending" || e.status === "running";
-function Ace(e) {
+var Oce = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), Zk = (e) => e.status === "pending" || e.status === "running";
+function kce(e) {
let t = `${e.task_label}:`, n = e.progress_label || "", r = n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n, i = e.progress_total || 0;
- return [r, e.error || $k(e.result_summary) || (Xk(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
+ return [r, e.error || eA(e.result_summary) || (Zk(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
}
-function Zk(e) {
+function Qk(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
let n = Math.floor(t / 60);
return n < 60 ? `${n} 分 ${t % 60} 秒` : `${Math.floor(n / 60)} 小时 ${n % 60} 分`;
}
-function Qk(e) {
+function $k(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -32602,7 +32602,7 @@ function Qk(e) {
minute: "2-digit"
});
}
-var jce = /* @__PURE__ */ new Set([
+var Ace = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -32611,23 +32611,23 @@ var jce = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function $k(e) {
- return Object.entries(e || {}).filter(([e, t]) => !jce.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Ece[e] || e} ${t}`).join(" · ");
+function eA(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !Ace.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Tce[e] || e} ${t}`).join(" · ");
}
//#endregion
//#region src/react/activity/resource-search.tsx
-function Mce({ className: e }) {
+function jce({ className: e }) {
return /* @__PURE__ */ (0, B.jsx)("span", {
className: e,
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: Qe("") }
});
}
-function Nce(e) {
+function Mce(e) {
return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";
}
-function Pce({ initialCode: e, reason: t, choose: n }) {
- let [r, i] = (0, R.useState)(e), [a, o] = (0, R.useState)(() => Nce(t)), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(null), [p, m] = (0, R.useState)(""), [h, g] = (0, R.useState)(""), _ = PE(), v = () => {
+function Nce({ initialCode: e, reason: t, choose: n }) {
+ let [r, i] = (0, R.useState)(e), [a, o] = (0, R.useState)(() => Mce(t)), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(null), [p, m] = (0, R.useState)(""), [h, g] = (0, R.useState)(""), _ = FE(), v = () => {
if (!r.trim() || _.busy) return;
let e = new URLSearchParams({
code: r.trim(),
@@ -32644,17 +32644,17 @@ function Pce({ initialCode: e, reason: t, choose: n }) {
"aria-busy": !!_.busy,
className: "flex min-w-0 flex-col gap-4",
children: [
- t ? /* @__PURE__ */ (0, B.jsxs)(Lk, { children: [
+ t ? /* @__PURE__ */ (0, B.jsxs)(Rk, { children: [
"版本目标:",
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
] }) : null,
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
label: "搜索资源",
value: r,
maxLength: 80,
placeholder: "输入番号,按回车搜索",
- leadingIcon: _.busy ? Mce : jT,
+ leadingIcon: _.busy ? jce : MT,
isReadOnly: !!_.busy,
"aria-busy": !!_.busy,
onChange: i,
@@ -32664,7 +32664,7 @@ function Pce({ initialCode: e, reason: t, choose: n }) {
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, B.jsx)(zk, { children: "优先寻找" }), /* @__PURE__ */ (0, B.jsxs)(Ek, {
+ children: [/* @__PURE__ */ (0, B.jsx)(Bk, { children: "优先寻找" }), /* @__PURE__ */ (0, B.jsxs)(Dk, {
"aria-label": "优先寻找",
selectedKey: a,
isDisabled: !!_.busy,
@@ -32672,15 +32672,15 @@ function Pce({ initialCode: e, reason: t, choose: n }) {
e !== null && o(String(e));
},
children: [
- /* @__PURE__ */ (0, B.jsx)(Dk, {
+ /* @__PURE__ */ (0, B.jsx)(Ok, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, B.jsx)(Dk, {
+ /* @__PURE__ */ (0, B.jsx)(Ok, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, B.jsx)(Dk, {
+ /* @__PURE__ */ (0, B.jsx)(Ok, {
id: "uncensored",
children: "无码"
})
@@ -32689,33 +32689,33 @@ function Pce({ initialCode: e, reason: t, choose: n }) {
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex gap-3 max-sm:flex-col",
- children: [/* @__PURE__ */ (0, B.jsx)(xk, {
+ children: [/* @__PURE__ */ (0, B.jsx)(Sk, {
label: "最小体积(GiB)",
inputMode: "decimal",
value: s,
onChange: c
- }), /* @__PURE__ */ (0, B.jsx)(xk, {
+ }), /* @__PURE__ */ (0, B.jsx)(Sk, {
label: "最大体积(GiB)",
inputMode: "decimal",
value: l,
onChange: u
})]
}),
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: "只查询已启用的自配索引器;最多显示 5 个有做种的候选。清晰度、字幕与无码标记取自来源标题。" }),
- _.busy ? /* @__PURE__ */ (0, B.jsx)(Lk, {
+ /* @__PURE__ */ (0, B.jsx)(Rk, { children: "只查询已启用的自配索引器;最多显示 5 个有做种的候选。清晰度、字幕与无码标记取自来源标题。" }),
+ _.busy ? /* @__PURE__ */ (0, B.jsx)(Rk, {
role: "status",
children: "正在搜索资源"
}) : null,
- _.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: _.error }) : null,
- d?.error ? /* @__PURE__ */ (0, B.jsx)(Lk, {
+ _.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: _.error }) : null,
+ d?.error ? /* @__PURE__ */ (0, B.jsx)(Rk, {
role: "status",
children: d.error
}) : null,
- d?.state === "ready" && !d.items.length ? /* @__PURE__ */ (0, B.jsx)(Lk, {
+ d?.state === "ready" && !d.items.length ? /* @__PURE__ */ (0, B.jsx)(Rk, {
role: "status",
children: "没有符合条件的资源。"
}) : null,
- d?.warnings.map((e) => /* @__PURE__ */ (0, B.jsx)(Lk, { children: e }, e)),
+ d?.warnings.map((e) => /* @__PURE__ */ (0, B.jsx)(Rk, { children: e }, e)),
d?.items.length ? /* @__PURE__ */ (0, B.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: d.items.map((e) => /* @__PURE__ */ (0, B.jsxs)("li", {
@@ -32725,7 +32725,7 @@ function Pce({ initialCode: e, reason: t, choose: n }) {
className: "break-words text-body-2-medium text-text-primary",
children: e.name
}),
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Rk, { children: [
`${(e.size / 1024 ** 3).toFixed(2)} GiB`,
`${e.seeders} 个做种`,
e.resolution ? `${e.resolution}p` : "",
@@ -32751,23 +32751,23 @@ function Pce({ initialCode: e, reason: t, choose: n }) {
}
//#endregion
//#region src/react/activity/downloads-panel.tsx
-var eA = "/api/downloads", tA = ["downloads"], Fce = "/api/downloads/cancel", Ice = (e) => e?.tasks.some((e) => e.cancellable) ? 5e3 : 3e4, Lce = {
+var tA = "/api/downloads", nA = ["downloads"], Pce = "/api/downloads/cancel", Fce = (e) => e?.tasks.some((e) => e.cancellable) ? 5e3 : 3e4, Ice = {
ingested: "lime",
failed: "rose",
cancelled: "yellow",
stalled: "yellow"
-}, Rce = {
+}, Lce = {
submitted: "已提交,远端开始下载后这里会显示进度。",
adopted: "这个磁力已经有任务了,接着跟进那一条,没有重复提交。",
adopted_remote: "远端已经有同一个任务,已接管,没有再扣配额。",
refused: "这个资源被判为违规,不再提交。",
failed: "提交没有成功。"
-}, zce = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, nA = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
-function Bce({ prefill: e }) {
- let t = CS({
- queryKey: tA,
- queryFn: ({ signal: e }) => W(`${eA}?limit=50`, e),
- refetchInterval: (e) => Ice(e.state.data)
+}, Rce = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, rA = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
+function zce({ prefill: e }) {
+ let t = wS({
+ queryKey: nA,
+ queryFn: ({ signal: e }) => W(`${tA}?limit=50`, e),
+ refetchInterval: (e) => Fce(e.state.data)
}), n = t.data;
if (!n) return t.error ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
@@ -32779,7 +32779,7 @@ function Bce({ prefill: e }) {
tone: "error",
children: U(t.error)
}) : null,
- n.available ? r.length ? /* @__PURE__ */ (0, B.jsx)(Vce, {
+ n.available ? r.length ? /* @__PURE__ */ (0, B.jsx)(Bce, {
snapshot: n,
prefill: e
}) : /* @__PURE__ */ (0, B.jsx)(Y, {
@@ -32792,15 +32792,15 @@ function Bce({ prefill: e }) {
n.tasks.length ? /* @__PURE__ */ (0, B.jsx)("ul", {
"aria-live": "polite",
className: "flex min-w-0 flex-col gap-3",
- children: n.tasks.map((e) => /* @__PURE__ */ (0, B.jsx)(Uce, {
+ children: n.tasks.map((e) => /* @__PURE__ */ (0, B.jsx)(Hce, {
task: e,
writable: n.available
}, e.id))
}) : null
] });
}
-function Vce({ snapshot: e, prefill: t }) {
- let n = sS(), r = e.providers.filter((e) => e.configured), [i, a] = (0, R.useState)(r[0].key), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(t?.code ?? ""), [u, d] = (0, R.useState)(r[0].target), [f, p] = (0, R.useState)(null), m = PE(), h = (0, R.useRef)(null);
+function Bce({ snapshot: e, prefill: t }) {
+ let n = cS(), r = e.providers.filter((e) => e.configured), [i, a] = (0, R.useState)(r[0].key), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(t?.code ?? ""), [u, d] = (0, R.useState)(r[0].target), [f, p] = (0, R.useState)(null), m = FE(), h = (0, R.useRef)(null);
(0, R.useEffect)(() => {
t && h.current?.focus();
}, [t]);
@@ -32820,21 +32820,21 @@ function Vce({ snapshot: e, prefill: t }) {
title: t?.title,
origin: t?.origin
};
- p(null), m.run("submit", (e) => G(eA, r, "POST", e), (e) => {
- p(e), e.ok && s(""), n.invalidateQueries({ queryKey: tA });
+ p(null), m.run("submit", (e) => G(tA, r, "POST", e), (e) => {
+ p(e), e.ok && s(""), n.invalidateQueries({ queryKey: nA });
});
},
- children: /* @__PURE__ */ (0, B.jsxs)(Ok, { children: [
- /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
- /* @__PURE__ */ (0, B.jsx)(Pce, {
+ children: /* @__PURE__ */ (0, B.jsxs)(kk, { children: [
+ /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Nce, {
initialCode: t?.code ?? "",
reason: t?.searchReason,
choose: (e, t) => {
s(e), l(t), h.current?.focus();
}
}),
- t?.title ? /* @__PURE__ */ (0, B.jsx)(Lk, { children: `给「${t.title}」找来的资源,下载完由推送发现登记入库。` }) : null,
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ t?.title ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: `给「${t.title}」找来的资源,下载完由推送发现登记入库。` }) : null,
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
ref: h,
label: "磁力链接",
placeholder: "magnet:?xt=urn:btih:…",
@@ -32845,19 +32845,19 @@ function Vce({ snapshot: e, prefill: t }) {
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, B.jsx)(zk, { children: "下载到" }), /* @__PURE__ */ (0, B.jsx)(Ek, {
+ children: [/* @__PURE__ */ (0, B.jsx)(Bk, { children: "下载到" }), /* @__PURE__ */ (0, B.jsx)(Dk, {
"aria-label": "下载到",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && _(String(e));
},
- children: r.map((e) => /* @__PURE__ */ (0, B.jsx)(Dk, {
+ children: r.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
id: e.key,
children: e.label
}, e.key))
})]
}),
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
label: "目标目录",
placeholder: g.target || "/云下载",
autoComplete: "off",
@@ -32866,7 +32866,7 @@ function Vce({ snapshot: e, prefill: t }) {
value: u,
onChange: d
}),
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
label: "番号",
placeholder: "可不填",
autoComplete: "off",
@@ -32875,15 +32875,15 @@ function Vce({ snapshot: e, prefill: t }) {
onChange: l
})
] }),
- f ? /* @__PURE__ */ (0, B.jsx)(Fk, {
+ f ? /* @__PURE__ */ (0, B.jsx)(Ik, {
divided: !0,
- children: /* @__PURE__ */ (0, B.jsx)(Hce, { result: f })
+ children: /* @__PURE__ */ (0, B.jsx)(Vce, { result: f })
}) : null,
- m.error ? /* @__PURE__ */ (0, B.jsx)(Fk, {
+ m.error ? /* @__PURE__ */ (0, B.jsx)(Ik, {
divided: !0,
- children: /* @__PURE__ */ (0, B.jsx)(Rk, { children: m.error })
+ children: /* @__PURE__ */ (0, B.jsx)(zk, { children: m.error })
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Ik, {
+ /* @__PURE__ */ (0, B.jsx)(Lk, {
status: i === "115" ? "115 每提交一次扣一条离线配额,重新提交也算。" : void 0,
children: /* @__PURE__ */ (0, B.jsx)(J, {
type: "submit",
@@ -32895,23 +32895,23 @@ function Vce({ snapshot: e, prefill: t }) {
] })
});
}
-function Hce({ result: e }) {
- let t = nA(e.task), n = Rce[e.outcome];
- return e.outcome === "failed" ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: t ? `${n}${t}` : n }) : e.outcome === "refused" ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: n }) : /* @__PURE__ */ (0, B.jsx)(Lk, {
+function Vce({ result: e }) {
+ let t = rA(e.task), n = Lce[e.outcome];
+ return e.outcome === "failed" ? /* @__PURE__ */ (0, B.jsx)(zk, { children: t ? `${n}${t}` : n }) : e.outcome === "refused" ? /* @__PURE__ */ (0, B.jsx)(zk, { children: n }) : /* @__PURE__ */ (0, B.jsx)(Rk, {
role: "status",
children: n
});
}
-function Uce({ task: e, writable: t }) {
- let n = sS(), r = PE(), [i, a] = (0, R.useState)(!1), o = nA(e), s = e.state === "failed", c = [
+function Hce({ task: e, writable: t }) {
+ let n = cS(), r = FE(), [i, a] = (0, R.useState)(!1), o = rA(e), s = e.state === "failed", c = [
e.provider_label,
e.code,
e.target,
- Qk(e.submitted_at)
+ $k(e.submitted_at)
].filter(Boolean).join(" · "), l = () => {
- n.invalidateQueries({ queryKey: tA });
+ n.invalidateQueries({ queryKey: nA });
}, u = () => {
- r.run("cancel", (t) => G(Fce, { id: e.id }, "POST", t), l);
+ r.run("cancel", (t) => G(Pce, { id: e.id }, "POST", t), l);
}, d = () => {
let t = {
magnet: e.source_uri,
@@ -32921,14 +32921,14 @@ function Uce({ task: e, writable: t }) {
title: e.title,
origin: e.origin
};
- r.run("resubmit", (e) => G(eA, t, "POST", e), l);
+ r.run("resubmit", (e) => G(tA, t, "POST", e), l);
}, f = () => {
navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
};
return /* @__PURE__ */ (0, B.jsxs)("li", {
"data-download-state": e.state,
"data-download-id": e.id,
- className: OE({
+ className: kE({
padding: "none",
bordered: "line",
className: s ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -32940,9 +32940,9 @@ function Uce({ task: e, writable: t }) {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, B.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
- children: zce(e)
- }), /* @__PURE__ */ (0, B.jsx)(TE, {
- color: Lce[e.state] ?? "neutral",
+ children: Rce(e)
+ }), /* @__PURE__ */ (0, B.jsx)(EE, {
+ color: Ice[e.state] ?? "neutral",
children: e.state_label
})]
}),
@@ -32950,7 +32950,7 @@ function Uce({ task: e, writable: t }) {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: c
}),
- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, B.jsx)(NE, {
+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, B.jsx)(PE, {
label: "远端下载进度",
value: Math.round(e.progress * 100),
max: 100
@@ -32959,7 +32959,7 @@ function Uce({ task: e, writable: t }) {
className: "min-w-0 break-all text-caption-1-regular text-text-secondary",
children: e.ledger_path
}) : null,
- r.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: r.error }) : null,
+ r.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: r.error }) : null,
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-2 pt-1",
children: [
@@ -32997,23 +32997,23 @@ function Uce({ task: e, writable: t }) {
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var Wce = {
+var Uce = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
-function rA({ status: e }) {
- return /* @__PURE__ */ (0, B.jsx)(TE, {
- color: Wce[e] ?? "neutral",
- children: Tce(e)
+function iA({ status: e }) {
+ return /* @__PURE__ */ (0, B.jsx)(EE, {
+ color: Uce[e] ?? "neutral",
+ children: wce(e)
});
}
-function Gce({ rows: e }) {
+function Wce({ rows: e }) {
return /* @__PURE__ */ (0, B.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = Ace(e);
+ let t = kce(e);
return /* @__PURE__ */ (0, B.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -33023,7 +33023,7 @@ function Gce({ rows: e }) {
className: "min-w-0 break-words text-caption-1-regular text-text-primary",
children: e.task_label
}),
- /* @__PURE__ */ (0, B.jsx)(rA, { status: e.status }),
+ /* @__PURE__ */ (0, B.jsx)(iA, { status: e.status }),
t ? /* @__PURE__ */ (0, B.jsx)("span", {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: t
@@ -33033,12 +33033,12 @@ function Gce({ rows: e }) {
})
});
}
-function iA({ run: e, meta: t, children: n, footer: r, followups: i }) {
+function aA({ run: e, meta: t, children: n, footer: r, followups: i }) {
return /* @__PURE__ */ (0, B.jsxs)("li", {
"data-status": e.status,
"data-task-key": e.task_key,
"data-run-id": e.id,
- className: OE({
+ className: kE({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -33052,7 +33052,7 @@ function iA({ run: e, meta: t, children: n, footer: r, followups: i }) {
children: [/* @__PURE__ */ (0, B.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
children: e.task_label
- }), /* @__PURE__ */ (0, B.jsx)(rA, { status: e.status })]
+ }), /* @__PURE__ */ (0, B.jsx)(iA, { status: e.status })]
}),
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -33061,7 +33061,7 @@ function iA({ run: e, meta: t, children: n, footer: r, followups: i }) {
n
]
}),
- i?.length ? /* @__PURE__ */ (0, B.jsx)(Gce, { rows: i }) : null,
+ i?.length ? /* @__PURE__ */ (0, B.jsx)(Wce, { rows: i }) : null,
r ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",
children: /* @__PURE__ */ (0, B.jsx)("p", {
@@ -33072,15 +33072,15 @@ function iA({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function aA({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Zk(e.elapsed_seconds), o = [Yk[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, B.jsx)(iA, {
+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,
meta: o,
followups: t,
children: n > 0 ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, B.jsx)(NE, {
+ children: [/* @__PURE__ */ (0, B.jsx)(PE, {
label: i,
value: r,
max: n
@@ -33095,20 +33095,20 @@ function aA({ run: e, followups: t }) {
" 项"
]
})]
- }) : /* @__PURE__ */ (0, B.jsx)(AE, { label: i })
+ }) : /* @__PURE__ */ (0, B.jsx)(jE, { label: i })
});
}
-function oA({ run: e, followups: t, runs: n }) {
- let r = $k(e.result_summary), i = Zk(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- Yk[e.trigger] || e.trigger,
+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} 轮`,
- `${Qk(a.finished_at)} – ${Qk(e.finished_at)}`
+ `${$k(a.finished_at)} – ${$k(e.finished_at)}`
] : [
- Yk[e.trigger] || e.trigger,
- Qk(e.finished_at),
+ Xk[e.trigger] || e.trigger,
+ $k(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, B.jsx)(iA, {
+ return /* @__PURE__ */ (0, B.jsx)(aA, {
run: e,
meta: o,
footer: e.error,
@@ -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,41 +33131,41 @@ 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 }) {
- let t = CS({
- queryKey: Kk,
- queryFn: ({ signal: e }) => Jk(e),
- refetchInterval: (e) => Sce(e.state.data)
+function Gce({ prefill: e }) {
+ let t = wS({
+ queryKey: qk,
+ queryFn: ({ signal: e }) => Yk(e),
+ refetchInterval: (e) => xce(e.state.data)
}), n = t.data, r = n?.finished, [i, a] = (0, R.useState)([]), [o, s] = (0, R.useState)(!1), [c, l] = (0, R.useState)(r);
- r !== c && (l(r), i.length && c && a(qk(i, c)));
- let u = ES({
- mutationFn: ({ oldest: e }) => yce(e),
+ r !== c && (l(r), i.length && c && a(Jk(i, c)));
+ let u = DS({
+ mutationFn: ({ oldest: e }) => vce(e),
onSuccess: (e, { shown: t }) => {
- a((n) => qk(n, t, e.finished || [])), s(!!e.finished_has_more);
+ a((n) => Jk(n, t, e.finished || [])), s(!!e.finished_has_more);
}
}), d = t.error ? U(t.error) : "";
- if (!n) return /* @__PURE__ */ (0, B.jsx)(jE, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
+ if (!n) return /* @__PURE__ */ (0, B.jsx)(ME, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
children: d || "读取任务中心失败"
}) });
- let f = qk(n.finished || [], i), p = [
+ let f = Jk(n.finished || [], i), p = [
...n.running || [],
...n.skipped || [],
...f
- ], m = Dce(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {
+ ], m = Ece(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {
!u.isPending && v && u.mutate({
oldest: v,
shown: f
});
- }, x = _.filter((e) => m.get(e.id)?.some(Xk)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = Oce(w, (e) => kce(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
- return /* @__PURE__ */ (0, B.jsxs)(jE, { children: [
+ }, x = _.filter((e) => m.get(e.id)?.some(Zk)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = Dce(w, (e) => Oce(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
+ return /* @__PURE__ */ (0, B.jsxs)(ME, { children: [
d ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
children: d
@@ -33174,20 +33174,20 @@ function Kce({ prefill: e }) {
tone: "warning",
children: n.message || "账本上还没有任务中心的表"
}) : null,
- E ? /* @__PURE__ */ (0, B.jsx)(kE, {
+ E ? /* @__PURE__ */ (0, B.jsx)(AE, {
shell: "plain",
- icon: ET,
+ icon: DT,
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)(aA, {
+ 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)
@@ -33218,7 +33218,7 @@ function Kce({ prefill: e }) {
y ? /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: pT,
+ leadingIcon: mT,
className: "self-start",
...X(u.isPending),
onClick: b,
@@ -33227,15 +33227,15 @@ function Kce({ prefill: e }) {
]
}) : null
] }),
- /* @__PURE__ */ (0, B.jsx)(sA, {
+ /* @__PURE__ */ (0, B.jsx)(cA, {
title: "云下载",
- children: /* @__PURE__ */ (0, B.jsx)(Bce, { prefill: e })
+ children: /* @__PURE__ */ (0, B.jsx)(zce, { 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,52 +33268,52 @@ 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,
"data-filter-glass": !0,
"data-glass-pane": "",
...c,
- className: SE("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
+ className: CE("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
children: [
s,
/* @__PURE__ */ (0, B.jsx)("div", {
role: "group",
"aria-label": t,
"data-filter-row": "top",
- className: SE("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
+ className: CE("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
children: n
}),
/* @__PURE__ */ (0, B.jsx)("div", {
ref: u,
"data-filter-row": "bottom",
"aria-busy": l || void 0,
- className: SE("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ className: CE("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
})
]
});
}
-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: SE(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");
- return /* @__PURE__ */ (0, B.jsx)(mk, {
+function gA(e) {
+ let t = hA("selection");
+ return /* @__PURE__ */ (0, B.jsx)(hk, {
...e,
ref: t
});
}
-function gA(e) {
- let t = mA("selection");
- return /* @__PURE__ */ (0, B.jsx)(RO, {
+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,22 +33676,22 @@ function ile({ text: e, busy: t }) {
}) : e
});
}
-function TA({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, B.jsx)(RO, {
+function EA({ name: e, label: t, value: n, options: r, onChange: i }) {
+ return /* @__PURE__ */ (0, B.jsx)(zO, {
name: e,
"aria-label": t,
orientation: "horizontal",
value: n,
onChange: i,
"data-entity-layout": "",
- className: yA,
+ className: bA,
children: r.map(([e, t, n]) => {
- let r = SA(n);
- return /* @__PURE__ */ (0, B.jsx)(zO, {
+ 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 });
- let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${IC(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, B.jsx)(jle, { ...e }, t);
+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)(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,15 +34754,15 @@ function Ale(e) {
children: i
});
}
-function jle(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? kre(e) : LC(e), s = i && e.initial ? {
+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,
items: e.initial.items || [],
offset: 0
}],
pageParams: [0]
- } : void 0, c = DS({
+ } : void 0, c = OS({
queryKey: o.queryKey,
queryFn: ({ pageParam: e, signal: t }) => o.queryFn({
pageParam: e,
@@ -34775,7 +34775,7 @@ function jle(e) {
(0, R.useEffect)(() => {
c.isPending || l.current || (l.current = !0, e.settled?.(e.revision));
}, [c.isPending]);
- let { tiles: u, pageStarts: d } = (0, R.useMemo)(() => Nre(c.data?.pages || [], {
+ let { tiles: u, pageStarts: d } = (0, R.useMemo)(() => Mre(c.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -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()
});
@@ -34835,15 +34835,15 @@ function jle(e) {
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: Ire(u, g).map((t) => /* @__PURE__ */ (0, B.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("div", {
+ 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;
@@ -34926,7 +34926,7 @@ function Mle(e, t, n, r, i) {
let r = new AbortController();
d.current.push(r);
let i = n - 1;
- W(`/api/items?${Fre(e.filters || {}, l.current)}`, r.signal).then((e) => {
+ W(`/api/items?${Pre(e.filters || {}, l.current)}`, r.signal).then((e) => {
let t = e.items || [];
if (!t.length) {
l.current = 0;
@@ -34942,7 +34942,7 @@ function Mle(e, t, n, r, i) {
}, [t]), (0, R.useLayoutEffect)(() => {
if (!s) return;
c(null);
- let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = Pre(n.length - e, f, d);
+ let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = Nre(n.length - e, f, d);
if (!p.length) return;
let m = e + (p[Math.floor(Math.random() * p.length)] ?? 0);
l.current = s.more ? l.current + 18 : 0, o((e) => [...e, {
@@ -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) => RC(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, {
+ 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), 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 Qle(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 dj = (e) => Number(e).toLocaleString();
-function $le(e) {
+var fj = (e) => Number(e).toLocaleString();
+function Qle(e) {
if (e.status === "running") {
- let t = e.total ? `${dj(e.checked)} / ${dj(e.total)}` : "准备中";
+ 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 ? `修好 ${dj(e.repaired)} 部,${dj(e.failed)} 部修不了` : `修好 ${dj(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${fj(e.repaired)} 部,${fj(e.failed)} 部修不了` : `修好 ${fj(e.repaired)} 部` : "";
}
-var eue = (e) => `${dj(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, tue = "/api/quality-goals?limit=200", fj = ["quality-goals"], pj = (e) => W(tue, e);
-async function nue(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: fj,
- queryFn: () => pj(e)
+ queryKey: pj,
+ queryFn: () => mj(e)
});
}
-var rue = (e) => e.has_cover ? M(e) : `/poster?id=${e.id}&c=4`;
-function mj(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 mj(e, t, n = 1) {
t
];
}
-function hj(e, t) {
+function gj(e, t) {
return Math.max(1, Math.ceil(e / t));
}
-function gj(e, t) {
+function _j(e, t) {
return Math.min(Math.max(1, Math.floor(e) || 1), t);
}
//#endregion
//#region src/selection.ts
-function iue(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 _j(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 _j(e) {
}
//#endregion
//#region src/react/review/review.ts
-var aue = "/api/review", oue = "/api/review/decision", sue = "/api/review/genre", vj = ["review"], yj = {
+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 aue = "/api/review", oue = "/api/review/decision", sue = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, cue = Object.keys(yj), lue = "metadata_fields", bj = (e) => typeof e == "string" && Object.hasOwn(yj, e), uue = {
+}, sue = Object.keys(bj), cue = "metadata_fields", xj = (e) => typeof e == "string" && Object.hasOwn(bj, e), lue = {
creator_tags: "creator",
western_identity: "creator"
};
-function due(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 xj(e, t) {
+function Sj(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -35251,43 +35251,43 @@ function xj(e, t) {
}
return [...n.values()];
}
-function fue(e, t, n) {
- return n && xj(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 pue(e, t) {
- let n = hj(e.length, 20), r = gj(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 mue(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 hue(e, t, n, r, i, a) {
- return iue(e, t, n, r, i, a);
+function mue(e, t, n, r, i, a) {
+ return rue(e, t, n, r, i, a);
}
-function Sj(e, t) {
+function Cj(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function Cj(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 wj = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function gue(e, t) {
- let n = Cj(e, t), r = wj(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 _ue = (e) => e.reason || e.evidence || e.note || e.decision_note || "", vue = (e) => String(e.tags || "").split("|").filter(Boolean), yue = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function bue(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 Tj(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 Tj(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var xue = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", Ej = (e) => W(aue, e), Dj = (e) => G(oue, e), Sue = (e, t) => G(sue, {
+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 Oj(e) {
+async function kj(e) {
await p.fetchQuery({
- queryKey: vj,
- queryFn: () => Ej(e)
+ queryKey: yj,
+ queryFn: () => Dj(e)
});
}
-function kj(e, t) {
+function Aj(e, t) {
let n = new Set(t);
- n.size && p.setQueryData(vj, (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 kj(e, t) {
};
});
}
-var Cue = () => p.invalidateQueries({
- queryKey: vj,
+var Sue = () => p.invalidateQueries({
+ queryKey: yj,
exact: !0
});
-function wue(e, t) {
- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${_j(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 Tue = "/api/links", Aj = "/api/links/check", jj = "/api/links/prune", Mj = ["links"], Nj = ["links", "check"], Pj = ["links", "prune"], Fj = {
+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 Ij(e) {
+async function Lj(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var Lj = (e) => W(Tue, e), Rj = (e) => G(Aj, { status_only: !0 }, "POST", e), Eue = ({ retry: e, checkId: t }) => Ij(G(Aj, 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 })), zj = (e) => W(jj, e), Due = (e) => Ij(G(jj, {
+} : { restart: !0 })), Bj = (e) => W(Mj, e), Eue = (e) => Lj(G(Mj, {
confirm: !0,
check_id: e,
background: !0
-})), Bj = (e) => Number(e || 0).toLocaleString(), Oue = (e) => `已删除 ${Bj(e.removed)} 条;${e.marked ? `已隐退女优的 ${Bj(e.marked)} 条留作不可点的记录;` : ""}保留 ${Bj(e.recovered)} 条未确认失效的链接。`;
-function kue(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 ? "已重验" : "已检查"} ${Bj(e.checked)} / ${Bj(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${Vj(e.checked)} / ${Vj(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/settings-panel/settings-data.ts
-var Vj = "/api/settings", Hj = "/api/follow/schedule", Uj = "/api/thumbnail-jobs", Wj = ["settings"], Gj = ["follow-schedule"], Kj = ["thumbnail-jobs"], Aue = (e) => W(Vj, e), qj = (e) => W(Hj, e), Jj = (e) => W(Uj, e);
-function jue(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: Gj,
- queryFn: ({ signal: e }) => qj(e),
- staleTime: 0
- }).catch(() => null), e.fetchQuery({
queryKey: Kj,
queryFn: ({ signal: e }) => Jj(e),
staleTime: 0
}).catch(() => null), e.fetchQuery({
- queryKey: Wj,
- queryFn: ({ signal: e }) => Aue(e),
+ queryKey: qj,
+ queryFn: ({ signal: e }) => Yj(e),
+ staleTime: 0
+ }).catch(() => null), e.fetchQuery({
+ queryKey: Gj,
+ queryFn: ({ signal: e }) => kue(e),
staleTime: 0
}).catch(() => null);
}
-function Yj() {
- return ES({
- mutationFn: (e) => G(Vj, e),
- onSuccess: (e) => p.setQueryData(Wj, e)
+function Xj() {
+ return DS({
+ mutationFn: (e) => G(Hj, e),
+ onSuccess: (e) => p.setQueryData(Gj, e)
});
}
-function Mue() {
- return ES({
- mutationFn: (e) => G(Hj, {
+function jue() {
+ return DS({
+ mutationFn: (e) => G(Uj, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => p.setQueryData(Gj, e)
+ onSuccess: (e) => p.setQueryData(Kj, e)
});
}
-function Nue() {
- return ES({
- mutationFn: (e) => G(Uj, { mode: e }),
- onSuccess: (e) => p.setQueryData(Kj, e)
+function Mue() {
+ return DS({
+ mutationFn: (e) => G(Wj, { mode: e }),
+ onSuccess: (e) => p.setQueryData(qj, e)
});
}
-function Pue(e) {
- return e.available ? e.running ? "正在检查全部来源…" : e.last_error ? `上次失败:${e.last_error}` : e.last_finished_at ? `上次完成 ${_j(e.last_finished_at)} · 新增 ${e.last_added || 0}` : e.next_run_at ? `下次 ${_j(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 Fue(e) {
+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 Iue = "/api/organize", Lue = "/api/organize/preview", Rue = "/api/organize/apply", zue = "/api/organize/rollback", Xj = ["organize"], Zj = (e) => W(Iue, e);
-async function Bue(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: Xj,
- queryFn: () => Zj(e)
+ queryKey: Zj,
+ queryFn: () => Qj(e)
});
}
-var Vue = (e) => G(Lue, e), Hue = (e) => e.kind === "apply" ? G(Rue, {
+var Bue = (e) => G(Iue, e), Vue = (e) => e.kind === "apply" ? G(Lue, {
...e.request,
confirm: !0
-}) : G(zue, { confirm: !0 });
-async function Uue(e) {
- p.setQueryData(Xj, (t) => t && {
+}) : G(Rue, { confirm: !0 });
+async function Hue(e) {
+ p.setQueryData(Zj, (t) => t && {
...t,
templates: e
});
try {
- await G(Vj, { organizeTemplates: e });
+ await G(Hj, { organizeTemplates: e });
} catch {}
}
-var Wue = (e, t) => e && {
+var Uue = (e, t) => e && {
...e,
...t
-}, Gue = /目录模板|分隔符|盘符|`\.`/;
-function Qj(e) {
+}, Wue = /目录模板|分隔符|盘符|`\.`/;
+function $j(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var $j = (e) => Number(e || 0).toLocaleString();
-function Kue(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${$j(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${$j(e.counts.change)} 个文件会改名或移动,${$j(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 eM(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 ? `已退回 ${$j(r)} 个文件${n ? `,${$j(n)} 行未能退回` : ""}。` : `已整理 ${$j(r)} 个文件${n ? `,${$j(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 tM = "/api/resource-sync/scan", nM = "/api/resource-sync/apply", rM = ["resource-sync", "scan"], iM = ["resource-sync", "apply"], aM = (e) => G(tM, {
+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), que = () => G(tM, {
+}, "POST", e), Kue = () => G(nM, {
background: !0,
restart: !0
-}), oM = (e) => W(nM, e), Jue = (e) => G(nM, {
+}), sM = (e) => W(rM, e), que = (e) => G(rM, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), sM = (e) => (e?.sources ?? []).some((e) => Fle.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function Yue(e) {
- sM(p.getQueryData(u)) && await Promise.all([p.fetchQuery({
- queryKey: rM,
- queryFn: () => aM(e)
- }), 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)
})]);
}
-var Xue = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Zue = {
+var Yue = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Xue = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, cM = (e) => Number(e || 0).toLocaleString(), Que = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", lM = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), uM = (e) => e.vanish ? `${cM(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", dM = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", $ue = (e) => `将永久删除文件已不在盘上的 ${cM(lM(e))} 条记录和 ${cM(e.empty)} 个空文件夹,并清理 ${cM(e.cache?.files)} 个闲置缓存。${dM(e)}${uM(e)}`, ede = (e) => `将永久删除文件已不在盘上的 ${cM(lM(e))} 条记录(含回收站里的)、${cM(e.empty)} 个空文件夹,并清理 ${cM(e.cache?.files)} 个闲置缓存。来源根目录保留。${dM(e)}${uM(e)}`, tde = (e) => e.online ? [
- `找不到文件 · 共 ${cM(e.total)} 项`,
- e.vanish ? `${cM(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${cM(e.empty)} 个` : "",
- e.unreadable ? `${cM(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${cM(e.total)} 项`;
-function fM(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 ? `${cM(t.length)} 条记录没有删除(${o})` : "",
- n ? `${cM(n)} 个文件夹没有删除` : "",
- r.length ? `${cM(r.length)} 个缓存没有清理` : ""
+ t.length ? `${lM(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${lM(n)} 个文件夹没有删除` : "",
+ r.length ? `${lM(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var nde = (e, t) => {
- let { rest: n } = fM(e), r = `已永久删除 ${cM(e.purged)} 条失效记录和 ${cM(e.dirs_removed)} 个空文件夹,清理 ${cM(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${cM(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${cM(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;
-}, rde = "/api/review?counts=1", pM = ["review", "counts"], ide = "/api/ads?limit=1", mM = ["junk-summary"], hM = "/api/items?state=trash&limit=1", gM = ["trash-summary"], ade = [
+}, 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", "其它"]
-], _M = (e) => W(rde, e), vM = (e) => W(ide, e), yM = (e) => {
+], vM = (e) => W(nde, e), yM = (e) => W(rde, e), bM = (e) => {
let t = sessionStorage.getItem("peach.library");
- return W(t ? `${hM}&library=${encodeURIComponent(t)}` : hM, e);
-}, bM = (e) => Number(e || 0).toLocaleString();
-function ode(e) {
- let t = yj, 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 sde(e) {
+function ode(e) {
if (!e) return "";
- let t = ade.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${bM(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${bM(e.dismissed_total)}`), t.join(" · ");
-}
-var cde = [
- [pM, ({ signal: e }) => _M(e)],
- [fj, ({ signal: e }) => pj(e)],
- [gM, ({ signal: e }) => yM(e)],
- [Mj, ({ signal: e }) => Lj(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)]
+ [Pj, ({ signal: e }) => zj(e)],
+ [Fj, ({ signal: e }) => Bj(e)]
];
-async function lde(e) {
- let t = location.hash === "#resource-sync", n = cde.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,49 +35544,49 @@ async function lde(e) {
await Promise.all([
...n,
p.fetchQuery({
- queryKey: mM,
- queryFn: () => vM(e)
+ queryKey: hM,
+ queryFn: () => yM(e)
}),
p.fetchQuery({
- queryKey: KA,
- queryFn: () => JA(e)
+ queryKey: qA,
+ queryFn: () => YA(e)
}),
- GA(e).then(() => Yue(e)),
- tj(e),
- Qle(e),
- Bue(e)
+ KA(e).then(() => Jue(e)),
+ nj(e),
+ Zle(e),
+ zue(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var ude = [
+var lde = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], dde = [
+], ude = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function xM(e = {}) {
- return `${OE({
+function SM(e = {}) {
+ return `${kE({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var SM = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", fde = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function CM({ interactive: e = !1 } = {}) {
- return OE({
+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",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var pde = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function wM({ 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 wM({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function TM({ 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 ${ude[n % 4]} ${dde[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,9 +35647,9 @@ function TM({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region src/react/components/menu-dialog.tsx
-function EM(e) {
- let t = mA("hover");
- return /* @__PURE__ */ (0, B.jsx)(jO, {
+function DM(e) {
+ let t = hA("hover");
+ return /* @__PURE__ */ (0, B.jsx)(MO, {
...e,
ref: t
});
@@ -35660,67 +35660,67 @@ function EM(e) {
}).medium;
//#endregion
//#region src/management.ts
-var mde = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", hde = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", gde = OE({
+var pde = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", mde = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", hde = kE({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), _de = {
+}), 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"
-}, vde = {
+}, _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"
-}, yde = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", bde = {
+}, 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"
-}, xde = OE({
+}, bde = kE({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), DM = "border-t border-border-button-default p-4 first:border-t-0";
-function OM({ 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: `${yde} ${bde[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 kM({ 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 AM({ 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 jM({ 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: `${gde} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${hde} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, B.jsx)("div", {
- className: _de[e],
+ className: gde[e],
children: a
}), i ? /* @__PURE__ */ (0, B.jsx)("footer", {
- className: vde[e],
+ className: _de[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function MM() {
+function NM() {
let e = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
ke(e.current);
@@ -35728,7 +35728,7 @@ function MM() {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var NM = CE({
+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 NM = CE({
small: "size-4 shrink-0"
}
});
-function PM({ 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: SE(NM.base, NM.size[t], n),
+ className: CE(PM.base, PM.size[t], n),
...a,
children: /* @__PURE__ */ (0, B.jsx)(e, {
- className: NM.icon[t],
+ className: PM.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function Sde({ 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 Sde({ className: e }) {
children: /* @__PURE__ */ (0, B.jsx)("use", { href: "#i-folder-open" })
});
}
-var Cde = "打开文件管理器失败,请重试";
-function FM({ 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 FM({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await G("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof LS ? e.message : Cde);
+ c.current && s(e instanceof RS ? e.message : Sde);
} finally {
c.current && a(!1);
}
@@ -35799,10 +35799,10 @@ function FM({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, B.jsxs)("p", {
- className: SE("min-w-0 break-all", n),
+ className: CE("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, B.jsx)(PM, {
- icon: Sde,
+ }), /* @__PURE__ */ (0, B.jsx)(FM, {
+ icon: xde,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -35817,38 +35817,38 @@ function FM({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/components/task-progress.tsx
-function IM({ 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" : OE({
+ className: r ? "flex flex-col gap-1.5" : kE({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-1.5 px-4 py-3.5"
}),
- children: n && n > 0 ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(NE, {
+ children: n && n > 0 ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(PE, {
label: e,
value: t,
max: n
}), /* @__PURE__ */ (0, B.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: e
- })] }) : /* @__PURE__ */ (0, B.jsx)(AE, { label: e })
+ })] }) : /* @__PURE__ */ (0, B.jsx)(jE, { label: e })
});
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function LM({ toast: e, mode: t, monitor: n }) {
- let r = t === "notice" || !!n, i = CS({
- queryKey: $A,
- queryFn: ({ signal: e }) => ej(e),
- refetchInterval: (e) => Gle(e.state.data, r)
+function RM({ toast: e, mode: t, monitor: n }) {
+ let r = t === "notice" || !!n, i = wS({
+ 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,29 +35861,29 @@ function LM({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var wde = [
+var Cde = [
{
label: "扫描并补全资料",
- icon: xT,
+ icon: ST,
command: {}
},
{
label: "只扫描",
- icon: TT,
+ icon: ET,
command: { stage: "scan" }
},
{
label: "只采集",
- icon: aae,
+ icon: iae,
command: { stage: "collect" }
}
-], Tde = SE(Ck, wk, "text-body-2-medium"), Ede = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Dde = (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(",")}。`;
-}, Ode = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + Dde(e);
-function kde({ 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));
};
@@ -35892,14 +35892,14 @@ function kde({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, B.jsx)(J, {
- leadingIcon: xT,
+ leadingIcon: ST,
onClick: () => a({}),
...X(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, B.jsx)(J, {
ref: n,
iconOnly: !0,
- leadingIcon: pT,
+ leadingIcon: mT,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -35908,19 +35908,19 @@ function kde({ busy: e, onRun: t }) {
e || i(!0);
}
})]
- }), /* @__PURE__ */ (0, B.jsx)(bO, {
+ }), /* @__PURE__ */ (0, B.jsx)(xO, {
triggerRef: n,
isOpen: r,
onOpenChange: i,
placement: "bottom end",
offset: 4,
- className: Sk,
- children: /* @__PURE__ */ (0, B.jsx)(EM, {
+ className: Ck,
+ children: /* @__PURE__ */ (0, B.jsx)(DM, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: wde.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: Tde,
+ className: wde,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, B.jsx)(t, {
"aria-hidden": !0,
@@ -35930,8 +35930,8 @@ function kde({ busy: e, onRun: t }) {
})
})] });
}
-function Ade({ 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 = MM();
+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 Ade({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "warning",
title: "处理较慢",
- children: Ede
+ children: Tde
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
@@ -35951,7 +35951,7 @@ function Ade({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null,
extra: a ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5",
- children: /* @__PURE__ */ (0, B.jsxs)(Uk, {
+ children: /* @__PURE__ */ (0, B.jsxs)(Wk, {
summary: a.label,
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "relative",
@@ -35982,7 +35982,7 @@ function Ade({ 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)(FM, {
+ children: /* @__PURE__ */ (0, B.jsx)(IM, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -35996,13 +35996,13 @@ function Ade({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "success",
title: "处理完成",
- children: Ode(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)(FM, {
+ children: /* @__PURE__ */ (0, B.jsx)(IM, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -36014,38 +36014,38 @@ function Ade({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function RM(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = LM(e), o = ES({
- 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)(jM, {
+ children: [/* @__PURE__ */ (0, B.jsx)(MM, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
- /* @__PURE__ */ (0, B.jsx)(Mk, {
+ /* @__PURE__ */ (0, B.jsx)(Nk, {
href: "/scraping",
size: "small",
- trailingIcon: mT,
+ trailingIcon: hT,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, B.jsx)(Mk, {
+ s.candidates ? /* @__PURE__ */ (0, B.jsx)(Nk, {
href: "/review",
size: "small",
- trailingIcon: mT,
+ trailingIcon: hT,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, B.jsx)(kde, {
+ /* @__PURE__ */ (0, B.jsx)(Ode, {
busy: l,
onRun: d
})
@@ -36053,12 +36053,12 @@ function RM(e) {
children: /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(AM, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, B.jsx)(jM, { children: "扫描与采集" }),
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: mde
+ children: pde
}),
- s.status === "running" ? /* @__PURE__ */ (0, B.jsx)(IM, {
+ s.status === "running" ? /* @__PURE__ */ (0, B.jsx)(LM, {
embedded: !0,
label: u,
value: s.checked,
@@ -36066,7 +36066,7 @@ function RM(e) {
}) : null
]
})
- }), /* @__PURE__ */ (0, B.jsx)(Ade, {
+ }), /* @__PURE__ */ (0, B.jsx)(kde, {
state: s,
problem: c,
settled: i,
@@ -36082,20 +36082,20 @@ function RM(e) {
}
//#endregion
//#region src/react/background-job.ts
-var zM = 2e3, jde = (e) => e, Mde = (e, t) => t;
-function BM(e) {
- let { queryKey: t, jobOf: n = jde, withJob: r = Mde, 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;
});
- let u = CS({
+ let u = wS({
queryKey: t,
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? zM : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? BM : i ?? !1;
}
- }), d = ES({
+ }), d = DS({
mutationFn: (e) => l.current.start(e),
onSuccess: (e) => {
o(!0), c(null), l.current.onStarted?.(e), p.setQueryData(t, (t) => r(t, e)), p.invalidateQueries({
@@ -36124,32 +36124,32 @@ function BM(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var Nde = (e) => Oe[e] || e, VM = (e) => p.setQueryData(sj, e);
-function Pde() {
- let e = CS({
- queryKey: sj,
- queryFn: ({ signal: e }) => lj(e),
- refetchInterval: (e) => e.state.data?.status === "running" && zM
- }), t = CS({
+var Mde = (e) => Oe[e] || e, HM = (e) => p.setQueryData(cj, e);
+function Nde() {
+ let e = wS({
queryKey: cj,
- queryFn: ({ signal: e }) => uj(e)
- }), [n, r] = (0, R.useState)(""), i = PE(), 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 () => VM(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), VM), d = $le(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)(jM, {
+ children: [/* @__PURE__ */ (0, B.jsx)(MM, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Ek, {
+ footer: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Dk, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -36157,10 +36157,10 @@ function Pde() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, B.jsxs)(Dk, {
+ children: o.map((e) => /* @__PURE__ */ (0, B.jsxs)(Ok, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, B.jsx)(Wk, { mark: Nde(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,12 +36174,12 @@ function Pde() {
children: /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(AM, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, B.jsx)(jM, { children: "媒体修复" }),
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: hde
+ children: mde
}),
- s && a.total ? /* @__PURE__ */ (0, B.jsx)(NE, {
+ s && a.total ? /* @__PURE__ */ (0, B.jsx)(PE, {
label: "修复进度",
value: a.checked,
max: a.total
@@ -36203,7 +36203,7 @@ function Pde() {
f && a.missing_tool ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "warning",
title: "缺少 untrunc",
- children: eue(a)
+ children: $le(a)
}) : null,
p ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
@@ -36215,7 +36215,7 @@ function Pde() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var HM = {
+var UM = {
md: {
box: "size-4",
glyph: "size-4",
@@ -36229,11 +36229,11 @@ var HM = {
gap: "gap-1.5"
}
};
-function UM({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = HM[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: SE("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? SE("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : SE("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
+ className: 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"),
children: /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -36257,36 +36257,36 @@ function UM({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function WM({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = HM[n];
- return /* @__PURE__ */ (0, B.jsx)(koe, {
+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) => SE("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)(UM, {
+ 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)(WM, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, B.jsx)("span", {
- className: SE(a.label, "text-text-primary"),
+ className: CE(a.label, "text-text-primary"),
children: t
})] })
});
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function GM({ 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: SE("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, B.jsx)(Lse, {
+ className: CE("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, B.jsx)(Ise, {
ref: r,
...i,
- className: SE("bui-table", e === "sm" && "bui-table-sm", t)
+ className: CE("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
//#endregion
//#region src/react/components/row-click.ts
-var Fde = [
+var Pde = [
"a",
"button",
"input",
@@ -36299,15 +36299,15 @@ var Fde = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function KM(e, t) {
+function qM(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(Fde);
+ let r = n.closest(Pde);
return !r || !t.contains(r) || r === t;
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function qM({ 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 qM({ 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 && KM(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 Ide = SA("unlink"), JM = SA("rotate-cw"), Lde = "站点返回 404 或 410,确认这个地址不存在。", Rde = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", zde = "删除前会逐条重验一次;此操作不可撤销。", Bde = "暂时无法读取进度,正在重新连接…", YM = (e) => Number(e || 0).toLocaleString();
-function XM({ 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 XM({ label: e, value: t, note: n }) {
]
});
}
-function ZM({ 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: DM,
+ className: OM,
children: [
/* @__PURE__ */ (0, B.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -36359,13 +36359,13 @@ function ZM({ 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)(qM, { children: /* @__PURE__ */ (0, B.jsxs)(GM, {
+ /* @__PURE__ */ (0, B.jsx)(JM, { children: /* @__PURE__ */ (0, B.jsxs)(KM, {
"aria-label": e,
size: "sm",
- children: [/* @__PURE__ */ (0, B.jsxs)(tk, { children: [
- i ? /* @__PURE__ */ (0, B.jsx)(nk, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(nk, { children: [
+ i ? /* @__PURE__ */ (0, B.jsx)(rk, {
id: "pick",
- children: /* @__PURE__ */ (0, B.jsx)(WM, {
+ children: /* @__PURE__ */ (0, B.jsx)(GM, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: s,
@@ -36373,44 +36373,44 @@ function ZM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
onChange: (e) => i(e ? t.map((e) => e.id) : [])
})
}) : null,
- /* @__PURE__ */ (0, B.jsx)(nk, {
+ /* @__PURE__ */ (0, B.jsx)(rk, {
id: "entity",
isRowHeader: !0,
children: "所属"
}),
- /* @__PURE__ */ (0, B.jsx)(nk, {
+ /* @__PURE__ */ (0, B.jsx)(rk, {
id: "kind",
children: "类型"
}),
- /* @__PURE__ */ (0, B.jsx)(nk, {
+ /* @__PURE__ */ (0, B.jsx)(rk, {
id: "label",
children: "标签"
}),
- /* @__PURE__ */ (0, B.jsx)(nk, {
+ /* @__PURE__ */ (0, B.jsx)(rk, {
id: "note",
children: "结果"
}),
- /* @__PURE__ */ (0, B.jsx)(nk, {
+ /* @__PURE__ */ (0, B.jsx)(rk, {
id: "url",
children: "地址"
})
- ] }), /* @__PURE__ */ (0, B.jsx)(ik, { children: t.map((e) => /* @__PURE__ */ (0, B.jsxs)(sk, {
+ ] }), /* @__PURE__ */ (0, B.jsx)(ak, { children: t.map((e) => /* @__PURE__ */ (0, B.jsxs)(ck, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsx)(WM, {
+ 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)(lk, { children: e.entity }),
- /* @__PURE__ */ (0, B.jsx)(lk, { children: Fj[e.link_kind] || e.link_kind }),
- /* @__PURE__ */ (0, B.jsx)(lk, { children: e.label || "" }),
- /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsx)("span", {
+ /* @__PURE__ */ (0, B.jsx)(uk, { children: e.entity }),
+ /* @__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",
children: e.note
}) }),
- /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsxs)("a", {
+ /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsxs)("a", {
href: e.url,
target: "_blank",
rel: "noreferrer",
@@ -36420,7 +36420,7 @@ function ZM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
"data-middle-truncate": !0,
className: "min-w-0 truncate",
children: e.url
- }), /* @__PURE__ */ (0, B.jsx)(CT, {
+ }), /* @__PURE__ */ (0, B.jsx)(wT, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -36432,27 +36432,27 @@ function ZM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function Vde() {
- let e = CS({
- queryKey: Mj,
- queryFn: ({ signal: e }) => Lj(e)
- }), [t, n] = (0, R.useState)([]), r = BM({
- queryKey: Pj,
- queryFn: ({ signal: e }) => zj(e),
- start: Due,
+function Bde() {
+ let e = wS({
+ 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: Mj,
+ queryKey: Nj,
exact: !0
}), p.invalidateQueries({
- queryKey: Nj,
+ queryKey: Pj,
exact: !0
});
}
- }), i = BM({
- queryKey: Nj,
- queryFn: ({ signal: e }) => Rj(e),
- start: Eue,
+ }), i = VM({
+ queryKey: Pj,
+ queryFn: ({ signal: e }) => zj(e),
+ start: Tue,
onStarted: () => {
r.dismiss(), n([]);
}
@@ -36482,7 +36482,7 @@ function Vde() {
else if (v) x = /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "success",
title: "完成",
- children: Oue(v)
+ children: Due(v)
});
else if (y) x = /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
@@ -36492,7 +36492,7 @@ function Vde() {
else if (i.query.isError && a) x = /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "neutral",
title: "任务状态",
- children: Bde
+ children: zde
});
else if (a?.status === "failed") x = /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
@@ -36500,12 +36500,12 @@ function Vde() {
children: a.error || "检查失败"
});
else if (a && a.status !== "idle") {
- b = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, B.jsx)(IM, {
+ b = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, B.jsx)(LM, {
embedded: !0,
- label: kue(a),
+ label: Oue(a),
value: a.checked,
total: a.total
- }) : null, c ? /* @__PURE__ */ (0, B.jsx)(IM, {
+ }) : null, c ? /* @__PURE__ */ (0, B.jsx)(LM, {
embedded: !0,
label: r.job?.message || "正在重验并删除失效链接…",
value: r.job?.checked,
@@ -36513,38 +36513,38 @@ function Vde() {
}) : null] });
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
x = l || u.length || d.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
- className: xde,
+ className: bde,
children: [
- /* @__PURE__ */ (0, B.jsx)(ZM, {
+ /* @__PURE__ */ (0, B.jsx)(QM, {
title: "地址已失效",
items: u,
- hint: Lde
+ hint: Ide
}),
- /* @__PURE__ */ (0, B.jsx)(ZM, {
+ /* @__PURE__ */ (0, B.jsx)(QM, {
title: "本次未访问成功",
items: d,
- hint: Rde,
+ 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)(OM, { children: [/* @__PURE__ */ (0, B.jsx)(J, {
- leadingIcon: JM,
+ 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: JM,
+ leadingIcon: YM,
...X(s),
onClick: () => g(f.map((e) => e.id)),
children: `全部重试(${f.length})`
})] })
}) : null
}),
- l && u.length ? /* @__PURE__ */ (0, B.jsx)(OM, {
+ l && u.length ? /* @__PURE__ */ (0, B.jsx)(kM, {
tone: "error",
- status: zde,
+ status: Rde,
children: /* @__PURE__ */ (0, B.jsx)(J, {
variant: "danger",
...X(c),
@@ -36553,7 +36553,7 @@ function Vde() {
})
}) : null,
l && !u.length && !d.length ? /* @__PURE__ */ (0, B.jsx)("p", {
- className: `${DM} text-body-regular text-notification-success-foreground`,
+ className: `${OM} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -36564,21 +36564,21 @@ function Vde() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, B.jsx)(kM, {
+ /* @__PURE__ */ (0, B.jsx)(AM, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, B.jsxs)(jM, {
+ /* @__PURE__ */ (0, B.jsxs)(MM, {
layout: "stack",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, B.jsx)(J, {
- leadingIcon: Ide,
+ leadingIcon: Fde,
...X(s),
onClick: () => g(),
children: s ? "检查中" : l ? "重新检查" : "检查死链"
}),
children: [
- /* @__PURE__ */ (0, B.jsx)(AM, {
+ /* @__PURE__ */ (0, B.jsx)(jM, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -36589,13 +36589,13 @@ function Vde() {
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)(XM, {
+ children: [/* @__PURE__ */ (0, B.jsx)(ZM, {
label: "链接总数",
- value: YM(m.total),
- note: `分布在 ${YM(m.entities)} 个女优、厂牌与系列`
- }), Object.entries(m.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(XM, {
- label: Fj[e] || e,
- value: YM(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 Vde() {
}
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var Hde = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Ude = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Wde = 8;
-function Gde({ 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, Wde).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: Qj(e.current_path)
+ children: $j(e.current_path)
}),
/* @__PURE__ */ (0, B.jsx)("span", {
"aria-hidden": !0,
@@ -36645,7 +36645,7 @@ function Gde({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: Qj(e.target_path)
+ children: $j(e.target_path)
})
]
}, e.current_path))
@@ -36654,10 +36654,10 @@ function Gde({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function Kde({ toast: e, failure: t }) {
- let n = CS({
- queryKey: Xj,
- queryFn: ({ signal: e }) => Zj(e)
+function Gde({ toast: e, failure: t }) {
+ let n = wS({
+ 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 ?? "",
@@ -36669,9 +36669,9 @@ function Kde({ toast: e, failure: t }) {
location: s,
file_template: d.file.trim(),
dir_template: d.dir.trim()
- }), y = ES({
- mutationFn: Vue,
- onSuccess: (e, t) => void Uue({
+ }), y = DS({
+ mutationFn: Bue,
+ onSuccess: (e, t) => void Hue({
...r?.templates ?? {},
[t.location]: {
file: t.file_template,
@@ -36679,29 +36679,29 @@ function Kde({ toast: e, failure: t }) {
}
}),
onError: (e) => {
- let t = Gue.test(U(e)) ? "dir" : "file";
+ let t = Wue.test(U(e)) ? "dir" : "file";
h(t), (t === "dir" ? _ : g).current?.focus();
}
- }), b = BM({
- queryKey: Xj,
- queryFn: ({ signal: e }) => Zj(e),
- start: Hue,
+ }), b = VM({
+ queryKey: Zj,
+ queryFn: ({ signal: e }) => Qj(e),
+ start: Vue,
jobOf: (e) => e,
- withJob: Wue,
+ withJob: Uue,
onStarted: () => y.reset(),
onFinish: (n) => {
if (p.invalidateQueries({
- queryKey: Xj,
+ queryKey: Zj,
exact: !0
}), n.status !== "complete") return;
- let { text: r, failed: i } = eM(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: Hde(w),
+ body: Vde(w),
confirmLabel: "整理文件",
onConfirm: () => b.start.mutateAsync({
kind: "apply",
@@ -36709,13 +36709,13 @@ function Kde({ toast: e, failure: t }) {
})
}), O = () => void je({
title: "回滚上一批整理",
- body: Ude,
+ 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)(IM, {
+ k = /* @__PURE__ */ (0, B.jsx)(LM, {
embedded: !0,
label: e,
value: A.checked,
@@ -36727,7 +36727,7 @@ function Kde({ toast: e, failure: t }) {
children: j.error || "请查看任务记录,核对已处理的文件。"
});
else if (j) {
- let { text: e, failed: t } = eM(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 Kde({ toast: e, failure: t }) {
tone: "error",
title: "整理失败",
children: U(b.start.error)
- }) : y.isPending ? k = /* @__PURE__ */ (0, B.jsx)(IM, {
+ }) : y.isPending ? k = /* @__PURE__ */ (0, B.jsx)(LM, {
embedded: !0,
label: "正在按模板算计划…"
}) : y.isError ? k = /* @__PURE__ */ (0, B.jsx)(Y, {
@@ -36747,9 +36747,9 @@ function Kde({ toast: e, failure: t }) {
}) : S && (k = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Y, {
tone: "neutral",
title: "预览结果",
- children: Kue(S)
- }), C ? /* @__PURE__ */ (0, B.jsx)(Gde, { plan: S }) : null] }));
- return /* @__PURE__ */ (0, B.jsxs)(jM, {
+ 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 Kde({ toast: e, failure: t }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, B.jsx)(AM, {
+ /* @__PURE__ */ (0, B.jsx)(jM, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -36793,20 +36793,20 @@ function Kde({ toast: e, failure: t }) {
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- i.length ? /* @__PURE__ */ (0, B.jsx)(Ek, {
+ i.length ? /* @__PURE__ */ (0, B.jsx)(Dk, {
"aria-label": "整理哪个来源",
className: "w-fit min-w-25",
selectedKey: s || null,
onSelectionChange: (e) => {
e !== null && (o(String(e)), h(null), y.reset());
},
- children: i.map((e) => /* @__PURE__ */ (0, B.jsxs)(Dk, {
+ children: i.map((e) => /* @__PURE__ */ (0, B.jsxs)(Ok, {
id: e.location,
textValue: I[e.location] || e.location,
- children: [/* @__PURE__ */ (0, B.jsx)(Wk, { mark: Oe[e.location] || "database" }), I[e.location] || e.location]
+ children: [/* @__PURE__ */ (0, B.jsx)(Gk, { mark: Oe[e.location] || "database" }), I[e.location] || e.location]
}, e.location))
}) : null,
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: d.file,
@@ -36817,7 +36817,7 @@ function Kde({ toast: e, failure: t }) {
f({ file: e }), h(null);
}
}),
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: d.dir,
@@ -36857,56 +36857,56 @@ function Kde({ toast: e, failure: t }) {
}
//#endregion
//#region src/react/data-cleanup/orphan-records.ts
-var qde = "/api/orphan-records", Jde = "/api/orphan-records/attach", QM = ["orphan-records"], Yde = [
+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", "隐藏标签"]
-], Xde = (e) => W(qde, e), Zde = (e, t) => G(Jde, {
+], Yde = (e) => W(Kde, e), Xde = (e, t) => G(qde, {
id: e,
target: t
-}), Qde = (e) => G(qA, {
+}), Zde = (e) => G(JA, {
ids: [e],
operation: "delete"
-}), $de = (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()} 次` : ""
-], $M = (e) => [...Yde.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...$de(e)].filter(Boolean).join(" · "), efe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", eN = (e) => [e.name, efe(e.duration)].filter(Boolean).join(" · "), tfe = SA("play"), tN = () => p.invalidateQueries({
- queryKey: QM,
+], 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 nfe({ item: e, toast: t }) {
- let [n, r] = (0, R.useState)(e.candidates[0]?.id ?? null), i = ES({
- mutationFn: () => Zde(e.id, Number(n)),
+function tfe({ item: e, toast: t }) {
+ let [n, r] = (0, R.useState)(e.candidates[0]?.id ?? null), i = DS({
+ mutationFn: () => Xde(e.id, Number(n)),
onSuccess: (e) => {
- t(`记录已接到新文件,批次 ${e.batch}`), tN();
+ t(`记录已接到新文件,批次 ${e.batch}`), nN();
},
onError: (e) => t(U(e))
- }), a = ES({
- mutationFn: () => Qde(e.id),
+ }), a = DS({
+ mutationFn: () => Zde(e.id),
onSuccess: (n) => {
- t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), tN();
+ t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), nN();
}
}), o = () => {
je({
title: "彻底删除",
- body: `将删除「${e.name}」这一条和它带的记录(${$M(e.records)})。此操作不可撤销。`,
+ body: `将删除「${e.name}」这一条和它带的记录(${eN(e.records)})。此操作不可撤销。`,
confirmLabel: "彻底删除",
danger: !0,
onConfirm: () => a.mutateAsync()
});
}, s = i.isPending || a.isPending;
- return /* @__PURE__ */ (0, B.jsxs)(sk, {
+ return /* @__PURE__ */ (0, B.jsxs)(ck, {
id: e.id,
children: [
- /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsxs)("span", {
+ /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsxs)("span", {
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)(tfe, {
+ children: [/* @__PURE__ */ (0, B.jsx)(efe, {
"aria-hidden": !0,
className: "size-5"
}), e.has_thumb ? /* @__PURE__ */ (0, B.jsx)("img", {
@@ -36928,27 +36928,27 @@ function nfe({ item: e, toast: t }) {
})]
})]
}) }),
- /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsx)("span", {
+ /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)("span", {
className: "block min-w-44",
- children: $M(e.records)
+ children: eN(e.records)
}) }),
- /* @__PURE__ */ (0, B.jsx)(lk, { children: e.candidates.length ? /* @__PURE__ */ (0, B.jsx)(Ek, {
+ /* @__PURE__ */ (0, B.jsx)(uk, { children: e.candidates.length ? /* @__PURE__ */ (0, B.jsx)(Dk, {
"aria-label": `把 ${e.name} 的记录接到哪个文件`,
className: "w-64",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(Number(e));
},
- children: e.candidates.map((e) => /* @__PURE__ */ (0, B.jsx)(Dk, {
+ children: e.candidates.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
id: e.id,
- textValue: eN(e),
- children: eN(e)
+ textValue: tN(e),
+ children: tN(e)
}, e.id))
}) : /* @__PURE__ */ (0, B.jsx)("span", {
className: "text-text-secondary",
children: "没有番号或文件名对得上的文件"
}) }),
- /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsxs)("span", {
+ /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex flex-wrap gap-2",
children: [e.candidates.length ? /* @__PURE__ */ (0, B.jsx)(J, {
size: "small",
@@ -36968,23 +36968,23 @@ function nfe({ item: e, toast: t }) {
]
});
}
-function rfe({ toast: e }) {
- let t = CS({
- queryKey: QM,
- queryFn: ({ signal: e }) => Xde(e)
+function nfe({ toast: e }) {
+ let t = wS({
+ 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)(kM, {
+ children: [/* @__PURE__ */ (0, B.jsx)(AM, {
id: "orphan-records-title",
children: "孤儿记录"
- }), /* @__PURE__ */ (0, B.jsxs)(jM, {
+ }), /* @__PURE__ */ (0, B.jsxs)(MM, {
layout: "stack",
labelledBy: "orphan-records-box",
children: [
- /* @__PURE__ */ (0, B.jsx)(AM, {
+ /* @__PURE__ */ (0, B.jsx)(jM, {
id: "orphan-records-box",
gap: "small",
children: "文件已消失的作品"
@@ -36997,28 +36997,28 @@ function rfe({ toast: e }) {
tone: "error",
title: "孤儿记录读取失败",
children: U(t.error)
- }) : /* @__PURE__ */ (0, B.jsx)(qM, { children: /* @__PURE__ */ (0, B.jsxs)(GM, {
+ }) : /* @__PURE__ */ (0, B.jsx)(JM, { children: /* @__PURE__ */ (0, B.jsxs)(KM, {
"aria-label": "文件已消失的作品",
size: "sm",
- children: [/* @__PURE__ */ (0, B.jsxs)(tk, { children: [
- /* @__PURE__ */ (0, B.jsx)(nk, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(nk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(rk, {
id: "item",
isRowHeader: !0,
children: "作品"
}),
- /* @__PURE__ */ (0, B.jsx)(nk, {
+ /* @__PURE__ */ (0, B.jsx)(rk, {
id: "records",
children: "带的记录"
}),
- /* @__PURE__ */ (0, B.jsx)(nk, {
+ /* @__PURE__ */ (0, B.jsx)(rk, {
id: "target",
children: "接到"
}),
- /* @__PURE__ */ (0, B.jsx)(nk, {
+ /* @__PURE__ */ (0, B.jsx)(rk, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, B.jsx)(ik, { children: n.map((t) => /* @__PURE__ */ (0, B.jsx)(nfe, {
+ ] }), /* @__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 rfe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var ife = SA("git-compare"), afe = SA("rotate-cw"), ofe = "暂时无法读取进度,正在重新连接…", nN = "清理失效条目", rN = "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", iN = (e) => Number(e || 0).toLocaleString();
-function sfe({ 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: rN,
+ className: iN,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, B.jsx)("article", {
- className: CM(),
- children: /* @__PURE__ */ (0, B.jsx)(wM, {
- label: Zue[e.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, B.jsx)(Wk, { mark: Oe[e.location] ?? "database" }),
+ 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 ? `${iN(e.missing)} 项` : "—",
- meta: tde(e),
+ figure: e.online ? `${aN(e.missing)} 项` : "—",
+ meta: ede(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, B.jsxs)("div", {
- className: rN,
+ className: iN,
children: [
/* @__PURE__ */ (0, B.jsx)("article", {
- className: CM(),
- children: /* @__PURE__ */ (0, B.jsx)(wM, {
+ className: wM(),
+ children: /* @__PURE__ */ (0, B.jsx)(TM, {
label: "待永久删除",
- figure: `${iN(lM(e))} 项`,
+ figure: `${aN(uM(e))} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, B.jsx)("article", {
- className: CM(),
- children: /* @__PURE__ */ (0, B.jsx)(wM, {
+ className: wM(),
+ children: /* @__PURE__ */ (0, B.jsx)(TM, {
label: "将标为已消失",
- figure: `${iN(e.vanish)} 项`,
+ figure: `${aN(e.vanish)} 项`,
meta: "带个人记录,记录留着"
})
}),
/* @__PURE__ */ (0, B.jsx)("article", {
- className: CM(),
- children: /* @__PURE__ */ (0, B.jsx)(wM, {
+ className: wM(),
+ children: /* @__PURE__ */ (0, B.jsx)(TM, {
label: "空文件夹",
- figure: `${iN(e.empty)} 个`,
+ figure: `${aN(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, B.jsx)("article", {
- className: CM(),
- children: /* @__PURE__ */ (0, B.jsx)(wM, {
+ className: wM(),
+ children: /* @__PURE__ */ (0, B.jsx)(TM, {
label: "可清理的缓存",
- figure: `${iN(t.files)} 个`,
+ figure: `${aN(t.files)} 个`,
meta: t.files ? ye(t.bytes) : ""
})
})
]
})] });
}
-function cfe({ toast: e }) {
- let t = BM({
- queryKey: iM,
- queryFn: ({ signal: e }) => oM(e),
- start: Jue,
+function sfe({ toast: e }) {
+ let t = VM({
+ queryKey: aM,
+ queryFn: ({ signal: e }) => sM(e),
+ start: que,
onFinish: (t) => {
if (p.invalidateQueries({
- queryKey: gM,
+ queryKey: _M,
exact: !0
}), p.invalidateQueries({
- queryKey: rM,
+ queryKey: iM,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = fM(t);
- r ? e(`已完成 ${iN(n)} 项,${iN(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = pM(t);
+ r ? e(`已完成 ${aN(n)} 项,${aN(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = BM({
- queryKey: rM,
- queryFn: ({ signal: e }) => aM(e),
- start: que,
+ }), 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: nN,
- body: ede(e),
- confirmLabel: nN,
+ title: rN,
+ body: $ue(e),
+ confirmLabel: rN,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), l = t.outcome, u = (e) => {
- let t = fM(e).left > 0;
+ let t = pM(e).left > 0;
return /* @__PURE__ */ (0, B.jsx)(Y, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: nde(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 cfe({ toast: e }) {
children: l.error || "请查看任务记录,核对已处理的文件。"
});
else if (l) f = u(l);
- else if (t.running) d = /* @__PURE__ */ (0, B.jsx)(IM, {
+ else if (t.running) d = /* @__PURE__ */ (0, B.jsx)(LM, {
embedded: !0,
label: t.job?.message || "正在复核并清理失效条目…"
});
@@ -37142,11 +37142,11 @@ function cfe({ toast: e }) {
else if (n.query.isError && r) f = /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "neutral",
title: "任务状态",
- children: ofe
+ children: afe
});
else if (r?.status === "running") {
- let e = Que(r);
- d = /* @__PURE__ */ (0, B.jsx)(IM, {
+ let e = Zue(r);
+ d = /* @__PURE__ */ (0, B.jsx)(LM, {
embedded: !0,
label: e,
value: r.completed_sources,
@@ -37163,13 +37163,13 @@ function cfe({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (r?.status === "complete") {
- let e = Xue(r);
+ let e = Yue(r);
f = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
- /* @__PURE__ */ (0, B.jsx)(sfe, { scan: r }),
+ /* @__PURE__ */ (0, B.jsx)(ofe, { scan: r }),
e ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "neutral",
title: "清理内容",
- children: $ue(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 cfe({ toast: e }) {
variant: "danger",
...X(a),
onClick: () => c(r),
- children: a ? "正在复核并清理…" : nN
+ children: a ? "正在复核并清理…" : rN
}) : /* @__PURE__ */ (0, B.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -37194,16 +37194,16 @@ function cfe({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, B.jsx)(kM, {
+ /* @__PURE__ */ (0, B.jsx)(AM, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, B.jsxs)(jM, {
+ /* @__PURE__ */ (0, B.jsxs)(MM, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, B.jsx)(J, {
"data-resource-scan": !0,
- leadingIcon: o && !i ? afe : ife,
+ leadingIcon: o && !i ? ife : rfe,
...X(i),
onClick: () => {
i || n.start.mutate();
@@ -37211,7 +37211,7 @@ function cfe({ toast: e }) {
children: s
}),
children: [
- /* @__PURE__ */ (0, B.jsx)(AM, {
+ /* @__PURE__ */ (0, B.jsx)(jM, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -37237,16 +37237,16 @@ function cfe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function aN(e, t) {
+function oN(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function oN({ 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: CM({ interactive: !0 }),
+ className: wM({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, B.jsx)(wM, {
+ children: /* @__PURE__ */ (0, B.jsx)(TM, {
label: t,
icon: n,
figure: r.figure,
@@ -37254,80 +37254,80 @@ function oN({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var lfe = SA("square-check-big"), ufe = SA("sparkles"), dfe = SA("file-stack"), ffe = SA("file-archive"), pfe = SA("trash"), mfe = [
- pM,
- fj,
- KA
-], hfe = () => {
- for (let e of mfe) 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 gfe({ toast: e, failure: t, open: n }) {
- let r = CS({
- queryKey: pM,
- queryFn: ({ signal: e }) => _M(e)
- }), i = CS({
- queryKey: fj,
- queryFn: ({ signal: e }) => pj(e)
- }), a = CS({
- queryKey: KA,
- queryFn: ({ signal: e }) => JA(e)
- }), o = CS({
+function hfe({ toast: e, failure: t, open: n }) {
+ let r = wS({
queryKey: mM,
queryFn: ({ signal: e }) => vM(e)
- }), s = CS({
- queryKey: gM,
+ }), i = wS({
+ queryKey: pj,
+ queryFn: ({ signal: e }) => mj(e)
+ }), a = wS({
+ queryKey: qA,
+ queryFn: ({ signal: e }) => YA(e)
+ }), o = wS({
+ queryKey: hM,
queryFn: ({ signal: e }) => yM(e)
- }), c = CS({
+ }), s = wS({
+ 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)(jE, { children: [
+ return /* @__PURE__ */ (0, B.jsxs)(ME, { children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
- className: pde,
+ className: fde,
children: [
- /* @__PURE__ */ (0, B.jsx)(oN, {
+ /* @__PURE__ */ (0, B.jsx)(sN, {
section: "review",
label: "人工复核",
- icon: lfe,
+ icon: cfe,
open: n,
- value: aN(r, ode)
+ value: oN(r, ade)
}),
- /* @__PURE__ */ (0, B.jsx)(oN, {
+ /* @__PURE__ */ (0, B.jsx)(sN, {
section: "quality",
label: "高清版",
- icon: ufe,
+ icon: lfe,
open: n,
- value: aN(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: oN(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, B.jsx)(oN, {
+ /* @__PURE__ */ (0, B.jsx)(sN, {
section: "duplicates",
label: "重复文件",
- icon: dfe,
+ icon: ufe,
open: n,
- value: aN(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)(oN, {
+ /* @__PURE__ */ (0, B.jsx)(sN, {
section: "ads",
label: "垃圾文件",
- icon: ffe,
+ icon: dfe,
open: n,
- value: aN(o, (e) => ({
+ value: oN(o, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: sde(e)
+ meta: ode(e)
}))
}),
- /* @__PURE__ */ (0, B.jsx)(oN, {
+ /* @__PURE__ */ (0, B.jsx)(sN, {
section: "trash",
label: "回收站",
- icon: pfe,
+ icon: ffe,
open: n,
- value: aN(s, (e) => ({
+ value: oN(s, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${ye(e.bytes || 0)}` : ""
}))
@@ -37340,31 +37340,31 @@ function gfe({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, B.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, B.jsx)(RM, {
+ children: /* @__PURE__ */ (0, B.jsx)(zM, {
toast: l,
monitor: !0,
- onComplete: hfe
+ onComplete: mfe
})
}),
/* @__PURE__ */ (0, B.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, B.jsx)(Pde, {})
+ children: /* @__PURE__ */ (0, B.jsx)(Nde, {})
}),
- /* @__PURE__ */ (0, B.jsx)(Kde, {
+ /* @__PURE__ */ (0, B.jsx)(Gde, {
toast: l,
failure: t
})
]
}),
- /* @__PURE__ */ (0, B.jsx)(Vde, {}),
- /* @__PURE__ */ (0, B.jsx)(rfe, { toast: l }),
- sM(c.data) ? /* @__PURE__ */ (0, B.jsx)(cfe, { 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 sN = (e) => ["feed-new", e ?? "home"], _fe = 8, vfe = 1500;
-function yfe(e, t, n) {
+var cN = (e) => ["feed-new", e ?? "home"], gfe = 8, _fe = 1500;
+function vfe(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -37375,32 +37375,32 @@ function yfe(e, t, n) {
setTimeout(e, n);
})]);
}
-async function bfe(e, t, n) {
+async function yfe(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 yfe(s, _fe, vfe), {
+ return n && o.length && await vfe(s, gfe, _fe), {
items: o,
html: s
};
}
-var cN = (e, t, n = !1) => ({
- queryKey: sN(e),
- queryFn: () => bfe(e, t, n),
+var lN = (e, t, n = !1) => ({
+ queryKey: cN(e),
+ queryFn: () => yfe(e, t, n),
staleTime: Infinity
-}), lN = (e, t) => pe("/api/feeds/discovery", {
+}), uN = (e, t) => pe("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: t,
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function xfe(e) {
- p.removeQueries({ queryKey: sN(null) }), await p.fetchQuery(cN(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+async function bfe(e) {
+ p.removeQueries({ queryKey: cN(null) }), await p.fetchQuery(lN(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
//#endregion
//#region src/react/entity-page/entity-page.ts
-var Sfe = [
+var xfe = [
"loc",
"creator",
"tag",
@@ -37410,51 +37410,51 @@ var Sfe = [
"orient",
"sort",
"dir"
-], uN = {
+], dN = {
media: "videos",
set: 0
-}, dN = (e, t) => [
+}, fN = (e, t) => [
"entity",
e,
t
-], Cfe = (e, t, n, r) => [
+], Sfe = (e, t, n, r) => [
"entity-items",
e,
t,
n,
r
-], fN = (e, t, n, r) => [
+], pN = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], pN = (e) => String(e || "").split(",").filter(Boolean), wfe = (e, t) => pN(e).includes(t);
-function mN(e, t, n, r, i = 0) {
+], mN = (e) => String(e || "").split(",").filter(Boolean), Cfe = (e, t) => mN(e).includes(t);
+function hN(e, t, n, r, i = 0) {
let a = new URLSearchParams();
a.set(e, t), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");
- for (let t of Sfe) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ for (let t of xfe) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function hN(e, t, n, r, i, a) {
- return await pe(`/api/items?${mN(e, t, n, r, i)}`, a ? { signal: a } : {});
+async function gN(e, t, n, r, i, a) {
+ return await pe(`/api/items?${hN(e, t, n, r, i)}`, a ? { signal: a } : {});
}
-var gN = (e) => {
+var _N = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = mN(e.kind, e.name, e.filters, t).toString();
+ }, n = hN(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: Cfe(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => hN(e.kind, e.name, e.filters, t, 0, n),
+ queryKey: Sfe(e.kind, e.name, n, e.revision),
+ queryFn: ({ signal: n }) => gN(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
-}, _N = (e, t) => ({
- queryKey: dN(e, t),
+}, vN = (e, t) => ({
+ queryKey: fN(e, t),
queryFn: ({ signal: n }) => pe(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
-function Tfe(e, t, n, r, i, a) {
+function wfe(e, t, n, r, i, a) {
let o = `kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`;
if (i) {
let e = `&limit=120&offset=${i}${a ? `&seed=${encodeURIComponent(a)}` : ""}`;
@@ -37463,10 +37463,10 @@ function Tfe(e, t, n, r, i, a) {
let s = r ? `&seed=${encodeURIComponent(r)}` : "";
return n ? `/api/photo-set?id=${n}&limit=120${s}` : r ? `/api/photos?${o}&limit=120${s}` : `/api/photos?${o}`;
}
-var vN = (e, t, n, r) => ({
- queryKey: fN(e, t, n, r),
+var yN = (e, t, n, r) => ({
+ queryKey: pN(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await pe(Tfe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await pe(wfe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -37479,8 +37479,8 @@ var vN = (e, t, n, r) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), yN = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function Efe(e) {
+}), bN = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+async function Tfe(e) {
let { kind: t, name: n } = e;
for (let e of [
"entity",
@@ -37492,51 +37492,51 @@ async function Efe(e) {
n
] });
await Promise.all([
- p.fetchQuery(_N(t, n)).then((t) => !t || t.error || !t.id ? null : (p.removeQueries({ queryKey: sN(Number(t.id)) }), p.fetchQuery(cN(Number(t.id), e.helpers.feedRowHtml, !0)))),
- p.fetchQuery(gN(e)),
- p.fetchInfiniteQuery(vN(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? p.fetchInfiniteQuery(vN(t, n, e.media.set, "")) : null
+ p.fetchQuery(vN(t, n)).then((t) => !t || t.error || !t.id ? null : (p.removeQueries({ queryKey: cN(Number(t.id)) }), p.fetchQuery(lN(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ p.fetchQuery(_N(e)),
+ p.fetchInfiniteQuery(yN(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? p.fetchInfiniteQuery(yN(t, n, e.media.set, "")) : null
]);
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var Dfe = "/api/follow/authors", Ofe = "/api/follow/tags", kfe = (e) => [
+var Efe = "/api/follow/authors", Dfe = "/api/follow/tags", Ofe = (e) => [
"follow",
"authors",
e
-], Afe = (e, t) => [
+], kfe = (e, t) => [
"follow",
"tags",
e,
t
];
-function jfe(e, t, n) {
+function Afe(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${Dfe}?${r}`;
+ return e && r.set("q", e), `${Efe}?${r}`;
}
-function Mfe(e, t, n, r) {
+function jfe(e, t, n, r) {
let i = new URLSearchParams({
types: "all",
limit: String(n),
offset: String(r)
});
- return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Ofe}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Dfe}?${i}`;
}
-var Nfe = (e, t, n, r) => W(jfe(e, t, n), r), Pfe = (e, t, n, r, i) => W(Mfe(e, t, n, r), i), Ffe = "/api/index", bN = {
+var Mfe = (e, t, n, r) => W(Afe(e, t, n), r), Nfe = (e, t, n, r, i) => W(jfe(e, t, n, r), i), Pfe = "/api/index", xN = {
performers: "艺人",
creators: "卖家与动画作者",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, Ife = {
+}, Ffe = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, xN = [
+}, SN = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -37546,14 +37546,14 @@ var Nfe = (e, t, n, r) => W(jfe(e, t, n), r), Pfe = (e, t, n, r, i) => W(Mfe(e,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], SN = [
+], CN = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], CN = {
+], wN = {
performers: [
["all", "全部"],
["japanese_av", "女优"],
@@ -37566,19 +37566,19 @@ var Nfe = (e, t, n, r) => W(jfe(e, t, n), r), Pfe = (e, t, n, r, i) => W(Mfe(e,
["seller", "卖家"],
["animation", "动画作者"]
]
-}, wN = {
+}, TN = {
people: 120,
tags: 180
-}, TN = (e) => e !== "tags", EN = (e) => e === "studios" || e === "agencies";
-function DN(e) {
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = e.kind === "tags" ? t === "online" ? SN : xN : e.kind === "performers" || e.kind === "creators" ? CN[e.kind] : [], r = t === "local" && (e.kind === "creators" || e.kind === "performers"), i = n.some(([t]) => t === e.category);
+}, EN = (e) => e !== "tags", DN = (e) => e === "studios" || e === "agencies";
+function ON(e) {
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = e.kind === "tags" ? t === "online" ? CN : SN : e.kind === "performers" || e.kind === "creators" ? wN[e.kind] : [], r = t === "local" && (e.kind === "creators" || e.kind === "performers"), i = n.some(([t]) => t === e.category);
return {
...e,
scope: t,
category: (e.kind === "tags" || r) && i ? e.category : "all"
};
}
-function ON(e) {
+function kN(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -37598,50 +37598,50 @@ function ON(e) {
...i && i !== "all" ? { category: i } : {}
};
}
-var kN = (e, t, n = "all") => [
+var AN = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" || n !== "all" ? [n] : []
];
-function AN(e, t, n, r, i) {
+function jN(e, t, n, r, i) {
let a = new URLSearchParams({
kind: e,
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), n !== "all" && a.set("category", n), `${Ffe}?${a}`;
+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${Pfe}?${a}`;
}
-function jN(e) {
- let t = e.what === "people" || e.what === "online-authors" ? wN.people : wN.tags, n = {
+function MN(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? TN.people : TN.tags, n = {
initialPageParam: 0,
getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0
};
switch (e.what) {
case "people": return {
...n,
- queryKey: kN(e.kind, e.q, e.category || "all"),
- queryFn: ({ pageParam: n, signal: r }) => W(AN(e.kind, e.q, e.category || "all", t, n), r)
+ queryKey: AN(e.kind, e.q, e.category || "all"),
+ queryFn: ({ pageParam: n, signal: r }) => W(jN(e.kind, e.q, e.category || "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: kN("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => W(AN("tags", e.q, e.category, t, n), r)
+ queryKey: AN("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => W(jN("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: kfe(e.q),
- queryFn: ({ pageParam: n, signal: r }) => Nfe(e.q, t, n, r)
+ queryKey: Ofe(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => Mfe(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: Afe(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => Pfe(e.q, e.category, t, n, r)
+ queryKey: kfe(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => Nfe(e.q, e.category, t, n, r)
};
}
}
-async function Lfe(e, t) {
- let n = jN(ON(DN(e)));
+async function Ife(e, t) {
+ let n = MN(kN(ON(e)));
p.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -37655,13 +37655,13 @@ async function Lfe(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var Rfe = (e) => e ? e.pages.flatMap((e) => e.items) : [], zfe = (e, t) => `${e}${t ? "+" : ""} 项`, MN = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Bfe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), Vfe = {
+var Lfe = (e) => e ? e.pages.flatMap((e) => e.items) : [], Rfe = (e, t) => `${e}${t ? "+" : ""} 项`, NN = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", zfe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), Bfe = {
numeric: !0,
sensitivity: "base"
};
-function Hfe(e, t) {
+function Vfe(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Vfe))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Bfe))) {
let e = t(r.k).normalize("NFKC").trim().charAt(0).toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);
a ? a.push(r) : n.set(i, [r]);
}
@@ -37669,7 +37669,7 @@ function Hfe(e, t) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function NN({ html: e, face: t, company: n, big: r }) {
+function PN({ html: e, face: t, company: n, big: r }) {
let i = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -37681,18 +37681,18 @@ function NN({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var Ufe = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
-function PN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
+var Hfe = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
+function FN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
return /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
...a,
"data-index-cell": "",
onClick: i,
- className: OE({
+ className: kE({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${Ufe} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${Hfe} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -37709,23 +37709,23 @@ function PN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
]
});
}
-function FN({ kind: e, items: t, layout: n, props: r }) {
- let i = EN(e), a = n === "big";
+function IN({ kind: e, items: t, layout: n, props: r }) {
+ let i = DN(e), a = n === "big";
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
"data-cells": i ? "company" : "people",
className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
- let n = t.entity_kind || Ife[e], o = r.personAvatar(t, n, a);
- return /* @__PURE__ */ (0, B.jsx)(PN, {
+ let n = t.entity_kind || Ffe[e], o = r.personAvatar(t, n, a);
+ return /* @__PURE__ */ (0, B.jsx)(FN, {
"data-k": t.k,
"data-kind": n,
name: t.k,
- readout: `${Bfe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
+ readout: `${zfe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
big: a,
onPress: () => r.openEntity(n, t.k),
- children: /* @__PURE__ */ (0, B.jsx)(NN, {
+ children: /* @__PURE__ */ (0, B.jsx)(PN, {
html: o.html,
face: o.face,
company: i,
@@ -37735,21 +37735,21 @@ function FN({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function Wfe({ items: e, layout: t, props: n }) {
+function Ufe({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, B.jsx)(PN, {
+ children: e.map((e) => /* @__PURE__ */ (0, B.jsx)(FN, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
readout: `${e.n.toLocaleString()} 项更新`,
big: r,
onPress: () => n.openFollowAuthor(e.key),
- children: /* @__PURE__ */ (0, B.jsx)(NN, {
+ children: /* @__PURE__ */ (0, B.jsx)(PN, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -37759,14 +37759,14 @@ function Wfe({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-controls.ts
-function Gfe(e) {
+function Wfe(e) {
let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;
e.style.setProperty("--board-range-value", `${i}%`);
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var IN = "/vendor/swiper/14.2.0/", LN = null, Kfe = () => LN ??= Promise.all([new Promise((e, t) => {
- let n = `${IN}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var LN = "/vendor/swiper/14.2.0/", RN = null, Gfe = () => RN ??= Promise.all([new Promise((e, t) => {
+ let n = `${LN}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -37780,11 +37780,11 @@ var IN = "/vendor/swiper/14.2.0/", LN = null, Kfe = () => LN ??= Promise.all([ne
return;
}
let r = document.createElement("script");
- r.src = `${IN}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${LN}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
})]).then(([, e]) => e).catch((e) => {
- throw LN = null, e;
+ throw RN = null, e;
});
-function qfe(e, t, n) {
+function Kfe(e, t, n) {
let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {
let e = i();
return !e?.naturalWidth || !e.naturalHeight ? 100 : Math.min(100, e.offsetWidth / e.naturalWidth * 100, e.offsetHeight / e.naturalHeight * 100);
@@ -37805,48 +37805,48 @@ function qfe(e, t, n) {
}
};
}
-var RN = (e) => {
+var zN = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : ye(t)).replace(" ", "\xA0") : "大小未知";
-}, Jfe = (e) => e.asset?.name || e.name || "未命名图片";
-function Yfe(e, t) {
+}, qfe = (e) => e.asset?.name || e.name || "未命名图片";
+function Jfe(e, t) {
let n = e.asset;
- if (n) return [I[n.location ?? ""] || n.location || "来源未知", RN(n.size)].join(" · ");
+ if (n) return [I[n.location ?? ""] || n.location || "来源未知", zN(n.size)].join(" · ");
let r = (e.total ?? 0) > 1 ? `第 ${e.position} / ${e.total} 张` : "", i = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
return [
e.source || "在线图片",
r,
i,
- e.size ? RN(e.size) : ""
+ e.size ? zN(e.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var zN = null, BN = null, Xfe = 0;
-function Zfe() {
- return (!BN || !zN?.isConnected) && (BN?.unmount(), zN = document.createElement("div"), zN.className = "peach-react", zN.dataset.photoLightboxHost = "", document.body.append(zN), BN = (0, ip.createRoot)(zN)), BN;
+var BN = null, VN = null, Yfe = 0;
+function Xfe() {
+ return (!VN || !BN?.isConnected) && (VN?.unmount(), BN = document.createElement("div"), BN.className = "peach-react", BN.dataset.photoLightboxHost = "", document.body.append(BN), VN = (0, ip.createRoot)(BN)), VN;
}
-async function VN(e, t, n) {
+async function HN(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await Kfe();
+ r = await Gfe();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = Zfe();
- (0, rp.flushSync)(() => i.render(/* @__PURE__ */ (0, B.jsx)(Qfe, {
+ let i = Xfe();
+ (0, rp.flushSync)(() => i.render(/* @__PURE__ */ (0, B.jsx)(Zfe, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++Xfe)));
+ }, ++Yfe)));
}
-function HN() {
- BN && (0, rp.flushSync)(() => BN.render(null));
+function UN() {
+ VN && (0, rp.flushSync)(() => VN.render(null));
}
-function Qfe({ slides: e, index: t, Swiper: n, host: r }) {
+function Zfe({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, R.useId)(), o = (0, R.useRef)(null), s = (0, R.useRef)(null), 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 = (0, R.useRef)(null), h = (0, R.useRef)(null), g = (0, R.useRef)(null), [_, v] = (0, R.useState)(t), [y, b] = (0, R.useState)(100), [x, S] = (0, R.useState)({}), [C, w] = (0, R.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, R.useState)(!1), [D, O] = (0, R.useState)({
at: t,
text: ""
@@ -37889,7 +37889,7 @@ function Qfe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = qfe(e, a, b);
+ i(t, 0), h.current = Kfe(e, a, b);
let m = tt(e, f.current, p.current), _ = (e = !1) => {
m.hide(), f.current?.setAttribute("aria-expanded", "false"), e && f.current && document.contains(f.current) && f.current.focus();
};
@@ -37906,13 +37906,13 @@ function Qfe({ slides: e, index: t, Swiper: n, host: r }) {
});
y.observe(e);
let x = (e) => {
- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : HN());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : UN());
};
return document.addEventListener("keydown", x, !0), () => {
document.removeEventListener("keydown", x, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");
};
}, []), (0, R.useLayoutEffect)(() => {
- m.current && Gfe(m.current);
+ m.current && Wfe(m.current);
}, [y]);
let k = e[_], A = k.asset ?? null, j = async (e) => {
if (!A || !r || e.getAttribute("aria-busy") === "true") return;
@@ -37943,18 +37943,18 @@ function Qfe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), HN();
+ e.preventDefault(), UN();
},
onClick: (e) => {
let t = e.target;
- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && HN();
+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && UN();
},
children: [
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: HN,
+ onClick: UN,
dangerouslySetInnerHTML: { __html: L("x") }
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
@@ -38087,10 +38087,10 @@ function Qfe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: Jfe(k)
+ children: qfe(k)
}, _), /* @__PURE__ */ (0, B.jsx)("span", {
"data-photo-detail-meta": "",
- children: Yfe(k, x[_])
+ children: Jfe(k, x[_])
})]
}),
/* @__PURE__ */ (0, B.jsx)("button", {
@@ -38129,33 +38129,33 @@ function Qfe({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function $fe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, B.jsx)(epe, {
+function Qfe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, B.jsx)($fe, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, B.jsx)(tpe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, B.jsx)(ipe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, B.jsx)(epe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, B.jsx)(rpe, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-function epe({ roster: e, props: t }) {
+function $fe({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, R.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
}), [n, r]);
- return /* @__PURE__ */ (0, B.jsx)(FN, {
+ return /* @__PURE__ */ (0, B.jsx)(IN, {
kind: e.kind,
items: e.people,
layout: e.layout,
props: i
});
}
-function tpe(e) {
- let t = jA(!e.items, e.skeletonHtml);
+function epe(e) {
+ 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,
@@ -38174,16 +38174,16 @@ function tpe(e) {
}) : null]
});
}
-var npe = (e) => Array.from({ length: e.n }, (t, n) => ({
+var tpe = (e) => Array.from({ length: e.n }, (t, n) => ({
sample: !0,
code: e.code,
position: n + 1,
total: e.n,
name: `${e.code} 样张 ${n + 1}`,
source: e.site_label || "官方样张"
-})), UN = (e) => e.sample === !0, WN = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, GN = (e) => UN(e) ? `/sample-thumb?${WN(e)}` : `/photo-thumb?id=${e.id}`, rpe = (e) => UN(e) ? {
- src: `/sample-image?${WN(e)}`,
- thumb: GN(e),
+})), WN = (e) => e.sample === !0, GN = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, KN = (e) => WN(e) ? `/sample-thumb?${GN(e)}` : `/photo-thumb?id=${e.id}`, npe = (e) => WN(e) ? {
+ src: `/sample-image?${GN(e)}`,
+ thumb: KN(e),
name: e.name,
asset: null,
source: e.source,
@@ -38191,18 +38191,18 @@ var npe = (e) => Array.from({ length: e.n }, (t, n) => ({
total: e.total
} : {
src: `/photo?id=${e.id}`,
- thumb: GN(e),
+ thumb: KN(e),
name: e.name || "",
asset: e
};
-function ipe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, R.useMemo)(() => [...e.codeSets.flatMap(npe), ...e.items], [e]), [s, c] = (0, R.useState)(() => /* @__PURE__ */ new Set()), l = (0, R.useCallback)((e) => c((t) => {
+function rpe({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, R.useMemo)(() => [...e.codeSets.flatMap(tpe), ...e.items], [e]), [s, c] = (0, R.useState)(() => /* @__PURE__ */ new Set()), l = (0, R.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, R.useCallback)((e) => {
- VN(e, o.map(rpe), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, B.jsx)(ape, {
+ HN(e, o.map(npe), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, B.jsx)(ipe, {
item: e,
index: t,
lost: s.has(t),
@@ -38220,7 +38220,7 @@ function ipe({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, B.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(KN, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, B.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(qN, {
label: e.code,
title: e.name,
meta: [
@@ -38232,7 +38232,7 @@ function ipe({ photos: e, props: t }) {
...f,
children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))
})] }, e.code)),
- m.length && e.total ? /* @__PURE__ */ (0, B.jsx)(KN, {
+ m.length && e.total ? /* @__PURE__ */ (0, B.jsx)(qN, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -38241,14 +38241,14 @@ function ipe({ 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
}, e.items.length) : null
] });
}
-function KN({ label: e, title: t, meta: n }) {
+function qN({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -38265,7 +38265,7 @@ function KN({ label: e, title: t, meta: n }) {
]
});
}
-function ape({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function ipe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
@@ -38274,7 +38274,7 @@ function ape({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, B.jsx)("img", {
- src: GN(e),
+ src: KN(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -38283,7 +38283,7 @@ function ape({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
})
});
}
-function qN(e) {
+function JN(e) {
return {
x0: 0,
y0: 0,
@@ -38291,7 +38291,7 @@ function qN(e) {
y1: e.height
};
}
-function JN(e) {
+function YN(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -38299,40 +38299,40 @@ function JN(e) {
y1: Math.round(e.y1)
};
}
-function YN(e) {
+function XN(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function XN(e, t) {
- if (!YN(e)) return {
+function ZN(e, t) {
+ if (!XN(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return qN(e);
+ if (t == null || !(t > 0)) return JN(e);
let n = e.width, r = n / t;
r > e.height && (r = e.height, n = r * t);
let i = (e.width - n) / 2, a = (e.height - r) / 2;
- return JN({
+ return YN({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function ope(e, t) {
- if (!YN(e) || !(t > 0)) return qN(e);
+function ape(e, t) {
+ if (!XN(e) || !(t > 0)) return JN(e);
let n = Math.min(e.width, e.height * t);
- return JN({
+ return YN({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function spe(e, t, n) {
- if (!YN(t) || !(n > 0)) return qN(t);
- let r = ZN(e, t), i = XN({
+function ope(e, t, n) {
+ if (!XN(t) || !(n > 0)) return JN(t);
+ let r = QN(e, t), i = ZN({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -38343,8 +38343,8 @@ function spe(e, t, n) {
y1: r.y0 + i.y1
};
}
-function ZN(e, t, n = null, r = "width") {
- if (!YN(t)) return {
+function QN(e, t, n = null, r = "width") {
+ if (!XN(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -38353,43 +38353,43 @@ function ZN(e, t, n = null, r = "width") {
let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));
n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));
let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));
- return JN({
+ return YN({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function QN(e, t, n, r) {
+function $N(e, t, n, r) {
let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));
- return JN({
+ return YN({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function $N(e, t, n, r = null) {
- if (!YN(n) || !(t > 0)) return e;
+function eP(e, t, n, r = null) {
+ if (!XN(n) || !(t > 0)) return e;
let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;
- return ZN({
+ return QN({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function cpe(e, t, n, r, i = null) {
+function spe(e, t, n, r, i = null) {
let a = {
x0: e.x0,
y0: e.y0,
x1: Math.max(e.x0 + 1, t),
y1: Math.max(e.y0 + 1, n)
};
- return ZN(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return QN(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function lpe(e, t) {
- return YN(t) ? {
+function cpe(e, t) {
+ return XN(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -38401,8 +38401,8 @@ function lpe(e, t) {
height: 0
};
}
-function upe(e, t) {
- if (!YN(t)) return {
+function lpe(e, t) {
+ if (!XN(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -38412,7 +38412,7 @@ function upe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function dpe(e, t) {
+function upe(e, t) {
let n = Math.max(1, e.x1 - e.x0), r = Math.max(1, e.y1 - e.y0);
return {
left: `${-e.x0 / n * 100}%`,
@@ -38421,29 +38421,29 @@ function dpe(e, t) {
height: `${t.height / r * 100}%`
};
}
-function eP(e, t, n) {
+function tP(e, t, n) {
return t > 0 ? e * n / t : 0;
}
//#endregion
//#region src/react/components/modal-frame.tsx
-var fpe = {
+var dpe = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal"
};
-function tP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+function nP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
let { isFocusVisible: a } = nh();
- return /* @__PURE__ */ (0, B.jsx)(FO, {
+ return /* @__PURE__ */ (0, B.jsx)(IO, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
"data-modal-motion": "",
"data-motion-instant": a || void 0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, B.jsx)(cse, {
+ children: /* @__PURE__ */ (0, B.jsx)(sse, {
"data-modal-surface": "",
- className: `flex max-h-full w-full ${fpe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, B.jsx)(jO, {
+ className: `flex max-h-full w-full ${dpe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, B.jsx)(MO, {
"aria-label": r,
className: "flex min-h-0 flex-col outline-none",
children: i
@@ -38451,7 +38451,7 @@ function tP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function nP({ children: e }) {
+function rP({ children: e }) {
return /* @__PURE__ */ (0, B.jsx)("span", {
"aria-hidden": !0,
className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",
@@ -38460,8 +38460,8 @@ function nP({ children: e }) {
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var ppe = .02, rP = 1.08;
-function iP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var fpe = .02, iP = 1.08;
+function aP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, R.useRef)(null), c = (0, R.useRef)(null), [l, u] = (0, R.useState)(!1);
(0, R.useEffect)(() => {
u(!1);
@@ -38472,8 +38472,8 @@ function iP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: eP(e, n.clientWidth, r.width),
- dy: eP(t, n.clientHeight, r.height)
+ dx: tP(e, n.clientWidth, r.width),
+ dy: tP(t, n.clientHeight, r.height)
};
}, [r]);
function f(e) {
@@ -38491,29 +38491,29 @@ function iP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
if (!n || !a || !r) return;
let o = d(e.clientX - n.x, e.clientY - n.y);
if (n.mode === "move") {
- i(QN(n.box, o.dx, o.dy, r));
+ i($N(n.box, o.dx, o.dy, r));
return;
}
- i(cpe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
+ i(spe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
}
function m(e) {
c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
}
function h(e) {
if (!n || !r) return;
- let a = Math.max(1, (n.x1 - n.x0) * ppe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * fpe), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
if (o[e.key]) {
- e.preventDefault(), i(QN(n, o[e.key][0], o[e.key][1], r));
+ e.preventDefault(), i($N(n, o[e.key][0], o[e.key][1], r));
return;
}
- (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i($N(n, e.key === "-" ? 1 / rP : rP, r, t)));
+ (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(eP(n, e.key === "-" ? 1 / iP : iP, r, t)));
}
- let g = n && r ? lpe(ZN(n, r, t), r) : null, _ = g ? {
+ let g = n && r ? cpe(QN(n, r, t), r) : null, _ = g ? {
"--crop-l": `${g.left}%`,
"--crop-t": `${g.top}%`,
"--crop-w": `${g.width}%`,
@@ -38532,7 +38532,7 @@ function iP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- YN({
+ XN({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -38571,7 +38571,7 @@ function iP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: m,
onKeyDown: h,
onWheel: (e) => {
- !n || !r || i($N(n, e.deltaY > 0 ? rP : 1 / rP, r, t));
+ !n || !r || i(eP(n, e.deltaY > 0 ? iP : 1 / iP, r, t));
},
className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",
children: /* @__PURE__ */ (0, B.jsx)("span", {
@@ -38593,61 +38593,61 @@ function iP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var mpe = "/api/avatar-choices", aP = "/api/avatar-pick", hpe = "/api/avatar-code-cover", gpe = "/avatar-choice", oP = (e, t) => [
+var ppe = "/api/avatar-choices", oP = "/api/avatar-pick", mpe = "/api/avatar-code-cover", hpe = "/avatar-choice", sP = (e, t) => [
"avatar-choices",
e,
t
-], sP = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, cP = (e, t, n, r = "") => `${gpe}${sP(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), lP = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", _pe = (e, t, n) => W(mpe + sP(e, t), n), vpe = (e) => G(hpe, { code: e });
-function uP(e, t, n) {
+], cP = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, lP = (e, t, n, r = "") => `${hpe}${cP(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), uP = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", gpe = (e, t, n) => W(ppe + cP(e, t), n), _pe = (e) => G(mpe, { code: e });
+function dP(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? spe(e.focus, t, n) : XN(t, n);
+ return e.focus && r ? ope(e.focus, t, n) : ZN(t, n);
}
-var ype = (e) => e.crop && YN({
+var vpe = (e) => e.crop && XN({
width: e.width,
height: e.height
});
-async function bpe(e, t, n) {
+async function ype(e, t, n) {
if (!("file" in n)) {
- await G(aP, {
+ await G(oP, {
kind: e,
id: t,
...n
});
return;
}
- let r = n.file, i = await fetch(`${aP}${sP(e, t)}&name=${encodeURIComponent(r.name)}`, {
+ let r = n.file, i = await fetch(`${oP}${cP(e, t)}&name=${encodeURIComponent(r.name)}`, {
method: "POST",
credentials: "same-origin",
body: r
});
if (i.ok) return;
let a = await i.json().catch(() => null);
- throw new LS(a?.error || `请求失败(${i.status})`, i.status, a);
+ throw new RS(a?.error || `请求失败(${i.status})`, i.status, a);
}
-function xpe(e, t) {
+function bpe(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
return n.length ? `${e}:图库里按「${n.join("」「")}」找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:图库里没有这个名字,用下面两种方式换。`;
}
-var Spe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function Cpe(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Spe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var xpe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function Spe(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${xpe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var dP = (e) => e.cast > 1, wpe = (e) => dP(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Tpe = {
+var fP = (e) => e.cast > 1, Cpe = (e) => fP(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, wpe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
code: "番号封面"
};
-function Epe(e) {
+function Tpe(e) {
if (e.startsWith("cover:")) return "封面";
let t = e.split(":")[2] || "";
if (t === "cover") return "封面";
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var Dpe = (e) => `${Tpe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (dP(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Ope = 8, kpe = 3 / 4;
-function Ape({ kind: e, entityId: t, name: n, onPicked: r }) {
+var Epe = (e) => `${wpe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (fP(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Dpe = 8, Ope = 3 / 4;
+function kpe({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, R.useState)(!1);
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -38657,17 +38657,17 @@ function Ape({ kind: e, entityId: t, name: n, onPicked: r }) {
"aria-label": `更换${n}的头像`,
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",
- children: /* @__PURE__ */ (0, B.jsx)(Jie, {
+ children: /* @__PURE__ */ (0, B.jsx)(qie, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, B.jsx)(tP, {
+ }), /* @__PURE__ */ (0, B.jsx)(nP, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, B.jsx)(jpe, {
+ children: /* @__PURE__ */ (0, B.jsx)(Ape, {
kind: e,
entityId: t,
name: n,
@@ -38676,50 +38676,50 @@ function Ape({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function jpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, R.useRef)(null), o = MM(), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), [m, h] = (0, R.useState)(null), g = oP(e, t), _ = (0, R.useRef)(!1), v = CS({
+function Ape({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ 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 = sP(e, t), _ = (0, R.useRef)(!1), v = wS({
queryKey: g,
- queryFn: ({ signal: n }) => _pe(e, t, n),
+ queryFn: ({ signal: n }) => gpe(e, t, n),
retryOnMount: !0
});
(0, R.useEffect)(() => () => {
- _.current && p.removeQueries({ queryKey: oP(e, t) });
+ _.current && p.removeQueries({ queryKey: sP(e, t) });
}, [e, t]);
- let y = ES({
- mutationFn: (n) => bpe(e, t, n),
+ let y = DS({
+ mutationFn: (n) => ype(e, t, n),
onSuccess: () => {
_.current = !0, i(), r();
}
- }), b = ES({
- mutationFn: (e) => vpe(e),
+ }), b = DS({
+ mutationFn: (e) => _pe(e),
onSuccess: (e) => h(e)
});
function x(e) {
let t = e.currentTarget, n = t.files?.[0];
t.value = "", f(""), n && y.mutate({ file: n });
}
- let S = v.data, C = S?.choices ?? [], w = d || (y.error ? U(y.error) : "") || (!m && b.error ? U(b.error) : "") || (v.error ? U(v.error) : ""), T = y.isPending || b.isPending, E = m ? "" : Cpe(S);
+ let S = v.data, C = S?.choices ?? [], w = d || (y.error ? U(y.error) : "") || (!m && b.error ? U(b.error) : "") || (v.error ? U(v.error) : ""), T = y.isPending || b.isPending, E = m ? "" : Spe(S);
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, B.jsx)(nP, { children: /* @__PURE__ */ (0, B.jsx)(NT, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, B.jsx)(rP, { children: /* @__PURE__ */ (0, B.jsx)(PT, { className: "size-6" }) }),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, B.jsx)(tD, {
+ children: [/* @__PURE__ */ (0, B.jsx)(nD, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: m ? "框出头像那一块" : "更换头像"
- }), !m && C.length ? /* @__PURE__ */ (0, B.jsxs)(TE, {
+ }), !m && C.length ? /* @__PURE__ */ (0, B.jsxs)(EE, {
color: "soft",
children: [C.length, " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: m ? wpe(m) : xpe(n, S)
+ children: m ? Cpe(m) : bpe(n, S)
}),
E ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "neutral",
@@ -38731,14 +38731,14 @@ function jpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, B.jsx)(PM, {
- icon: vT,
+ /* @__PURE__ */ (0, B.jsx)(FM, {
+ icon: yT,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), m ? /* @__PURE__ */ (0, B.jsx)(Npe, {
+ }), m ? /* @__PURE__ */ (0, B.jsx)(Mpe, {
kind: e,
entityId: t,
choice: m,
@@ -38762,7 +38762,7 @@ function jpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
"aria-busy": v.isPending || void 0,
"data-skeleton": v.isPending ? "avatar-choices" : void 0,
className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",
- children: v.isPending ? Array.from({ length: Ope }, (e, t) => /* @__PURE__ */ (0, B.jsxs)("span", {
+ children: v.isPending ? Array.from({ length: Dpe }, (e, t) => /* @__PURE__ */ (0, B.jsxs)("span", {
"aria-hidden": !0,
"data-avatar-skeleton": !0,
className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",
@@ -38775,15 +38775,15 @@ function jpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: Dpe(n),
+ title: Epe(n),
...X(T),
onClick: () => {
T || (n.crop ? h(n) : y.mutate({ ref: n.ref }));
},
className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",
children: [
- /* @__PURE__ */ (0, B.jsx)(Mpe, {
- src: cP(e, t, n.ref, lP(n, n.ref)),
+ /* @__PURE__ */ (0, B.jsx)(jpe, {
+ src: lP(e, t, n.ref, uP(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, B.jsx)("span", {
@@ -38792,15 +38792,15 @@ function jpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, B.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, B.jsx)(TE, {
+ children: /* @__PURE__ */ (0, B.jsx)(EE, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- dP(n) ? /* @__PURE__ */ (0, B.jsx)("span", {
+ fP(n) ? /* @__PURE__ */ (0, B.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, B.jsxs)(TE, {
+ children: /* @__PURE__ */ (0, B.jsxs)(EE, {
variant: "caption",
color: "gray",
children: [n.cast, " 人"]
@@ -38819,7 +38819,7 @@ function jpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, B.jsx)(xk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Sk, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -38854,7 +38854,7 @@ function jpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 items-center gap-2",
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, B.jsx)(xk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Sk, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -38874,7 +38874,7 @@ function jpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function Mpe({ src: e, choice: t }) {
+function jpe({ src: e, choice: t }) {
let n = (0, R.useRef)(null), [r, i] = (0, R.useState)(!1);
(0, R.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -38882,7 +38882,7 @@ function Mpe({ src: e, choice: t }) {
let a = {
width: t.width,
height: t.height
- }, o = ype(t) ? dpe(uP(t, a, kpe), a) : null, s = r ? !0 : void 0;
+ }, o = vpe(t) ? upe(dP(t, a, Ope), a) : null, s = r ? !0 : void 0;
return /* @__PURE__ */ (0, B.jsxs)("span", {
className: "relative block w-full aspect-avatar-choice overflow-hidden",
children: [/* @__PURE__ */ (0, B.jsx)("img", {
@@ -38907,23 +38907,23 @@ function Mpe({ src: e, choice: t }) {
})]
});
}
-function Npe({ 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 = lP(n, s), m = cP(e, t, s, p), h = MM();
+function Mpe({ 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 = uP(n, s), m = lP(e, t, s, p), h = NM();
function g(e) {
c(e), u(null), f(null);
}
- let _ = d && l ? upe(d, l) : null;
+ let _ = d && l ? lpe(d, l) : null;
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)("div", {
ref: h,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: [/* @__PURE__ */ (0, B.jsx)(iP, {
+ children: [/* @__PURE__ */ (0, B.jsx)(aP, {
src: m,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), YN(e) && f(s === n.ref ? uP(n, e, 1) : XN(e, 1));
+ u(e), XN(e) && f(s === n.ref ? dP(n, e, 1) : ZN(e, 1));
},
onBox: f
}), o.length > 1 ? /* @__PURE__ */ (0, B.jsx)("div", {
@@ -38937,7 +38937,7 @@ function Npe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
"data-crop-base": !0,
onClick: () => g(e),
className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",
- children: Epe(e)
+ children: Tpe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -38971,7 +38971,7 @@ function Npe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
}
//#endregion
//#region src/react/feed-new/feed-new-row.tsx
-function fP({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+function pP({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
let a = (0, R.useRef)(null), o = e?.items.length ? e.html : "";
(0, R.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !o, e && i?.(!!o);
@@ -39005,12 +39005,12 @@ function fP({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var Ppe = {
+var Npe = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function pP({ name: e }) {
- let t = Ppe[e];
+function mP({ name: e }) {
+ let t = Npe[e];
return /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -39020,19 +39020,19 @@ function pP({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function mP(e, t) {
+function hP(e, t) {
let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();
t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;
let i = n.bottom + 8;
t.style.top = `${i + r.height <= innerHeight - 8 ? i : Math.max(8, n.top - r.height - 8)}px`;
}
-var hP = (e) => !!e?.isConnected && e.matches(":popover-open");
-function gP(e, t, n, r) {
+var gP = (e) => !!e?.isConnected && e.matches(":popover-open");
+function _P(e, t, n, r) {
let i = (0, R.useRef)(r);
i.current = r, (0, R.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && hP(n.current) ? mP(t.current, n.current) : i.current();
+ t.current && gP(n.current) ? hP(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -39046,17 +39046,17 @@ function gP(e, t, n, r) {
n
]);
}
-function _P({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function vP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, R.useRef)(null), s = (0, R.useRef)(null), [c, l] = (0, R.useState)(!1), u = (0, R.useRef)(!1), d = (0, R.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, hP(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, gP(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), !(!s.current || !o.current || hP(s.current)) && (s.current.showPopover(), mP(o.current, s.current), l(!0));
+ clearTimeout(d.current), !(!s.current || !o.current || gP(s.current)) && (s.current.showPopover(), hP(o.current, s.current), l(!0));
}, m = () => {
clearTimeout(d.current), d.current = window.setTimeout(() => {
!u.current && !o.current?.matches(":hover,:focus-visible") && !s.current?.matches(":hover") && f();
}, 150);
};
- return gP(c, o, s, f), (0, R.useEffect)(() => {
+ return _P(c, o, s, f), (0, R.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -39082,7 +39082,7 @@ function _P({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && hP(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && gP(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -39100,16 +39100,16 @@ function _P({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function Fpe({ following: e, busy: t, onToggle: n, tip: r }) {
+function Ppe({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(null), [s, c] = (0, R.useState)(!1), l = (0, R.useRef)(!1), u = () => {
- hP(o.current) && o.current.hidePopover(), c(!1);
+ gP(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- l.current || !o.current || !i.current || hP(o.current) || (o.current.showPopover(), mP(i.current, o.current), c(!0));
+ l.current || !o.current || !i.current || gP(o.current) || (o.current.showPopover(), hP(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return gP(s, i, o, () => c(!1)), (0, R.useEffect)(() => {
- i.current && hP(o.current) && mP(i.current, o.current);
+ return _P(s, i, o, () => c(!1)), (0, R.useEffect)(() => {
+ i.current && gP(o.current) && hP(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, B.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -39118,7 +39118,7 @@ function Fpe({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, B.jsx)(pP, { name: "rss" }),
+ /* @__PURE__ */ (0, B.jsx)(mP, { name: "rss" }),
/* @__PURE__ */ (0, B.jsx)("input", {
ref: a,
type: "checkbox",
@@ -39153,29 +39153,29 @@ function Fpe({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function Ipe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function Fpe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, R.useState)(!1), o = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, B.jsxs)(ese, {
+ }, []), /* @__PURE__ */ (0, B.jsxs)($oe, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, B.jsx)($E, {
+ children: [/* @__PURE__ */ (0, B.jsx)(eD, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, B.jsx)(pP, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, B.jsx)(bO, {
+ children: /* @__PURE__ */ (0, B.jsx)(mP, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, B.jsx)(xO, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: Sk,
+ className: Ck,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, B.jsxs)(nse, {
+ children: /* @__PURE__ */ (0, B.jsxs)(tse, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, B.jsx)(DO, {
+ /* @__PURE__ */ (0, B.jsx)(OO, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -39183,31 +39183,31 @@ function Ipe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, B.jsxs)(kO, {
+ children: t.map((e) => /* @__PURE__ */ (0, B.jsxs)(AO, {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: "check" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, B.jsx)(mP, { name: "check" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e })]
}, e))
}),
- /* @__PURE__ */ (0, B.jsx)(Ioe, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, B.jsx)(DO, { children: /* @__PURE__ */ (0, B.jsxs)(kO, {
+ /* @__PURE__ */ (0, B.jsx)(Foe, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, B.jsx)(OO, { children: /* @__PURE__ */ (0, B.jsxs)(AO, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: "plus" }), /* @__PURE__ */ (0, B.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, B.jsx)(mP, { name: "plus" }), /* @__PURE__ */ (0, B.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var Lpe = (e) => e === "studio" || e === "agency", vP = (e) => e === "performer" || e === "creator", Rpe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
-function zpe(e) {
+var Ipe = (e) => e === "studio" || e === "agency", yP = (e) => e === "performer" || e === "creator", Lpe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+function Rpe(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function yP(e) {
+function bP(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0
@@ -39218,13 +39218,13 @@ function yP(e) {
linked: !1
} : null;
}
-function bP(e, t) {
+function xP(e, t) {
let n = Ce(e, "performer"), r = be(t);
return r && [e.label, n].map(be).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var xP = (e) => ({ site: xe(e) });
-function Bpe(e, t) {
- let n = yP(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var SP = (e) => ({ site: xe(e) });
+function zpe(e, t) {
+ let n = bP(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -39234,7 +39234,7 @@ function Bpe(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${bP(e, n)} · ${t}`
+ title: `${xP(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -39242,11 +39242,11 @@ function Bpe(e, t) {
type: "private",
label: e.label || e.hostname || "已记录"
};
- if (vP(t) && e.link_kind !== "social") return {
+ if (yP(t) && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: bP(e, n),
- mark: xP(e)
+ title: xP(e, n),
+ mark: SP(e)
};
if (e.link_kind === "social") {
let t = me(r);
@@ -39254,7 +39254,7 @@ function Bpe(e, t) {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : xP(e)
+ mark: t ? { brand: t } : SP(e)
};
}
return {
@@ -39262,12 +39262,68 @@ function Bpe(e, t) {
url: r,
title: e.label || "",
text: Ce(e, t, i),
- mark: xP(e)
+ mark: SP(e)
};
});
return [...r, ...a];
}
-var SP = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+var CP = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function Bpe(e) {
+ return [
+ [
+ "legal_name",
+ "公司名称",
+ "briefcase"
+ ],
+ [
+ "founded",
+ "公司成立",
+ "calendar"
+ ],
+ [
+ "launched",
+ "品牌启动",
+ "flag"
+ ],
+ [
+ "country",
+ "国家/地区",
+ "globe"
+ ],
+ [
+ "location",
+ "所在地",
+ "globe"
+ ],
+ [
+ "operator",
+ "运营公司",
+ "briefcase"
+ ],
+ [
+ "parent",
+ "母公司",
+ "briefcase"
+ ],
+ [
+ "group",
+ "所属集团",
+ "briefcase"
+ ],
+ [
+ "distributor",
+ "发行商",
+ "film"
+ ]
+ ].flatMap(([t, n, r]) => e?.[t]?.value?.trim() ? [{
+ label: n,
+ glyph: r,
+ parts: [{
+ text: e[t].value,
+ tone: "plain"
+ }]
+ }] : []);
+}
function Vpe(e) {
if (!e) return [];
let t = [];
@@ -39354,7 +39410,7 @@ function Wpe(e) {
});
}
function Gpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- let s = vP(e), c = Lpe(e), l = s ? Vpe(n.profile) : [], u = Bpe(n, e), d = SP(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, R.useRef)(null), m = (0, R.useRef)(null);
+ let s = yP(e), c = Ipe(e), l = s ? Vpe(n.profile) : c ? Bpe(n.company_profile) : [], u = zpe(n, e), d = CP(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, R.useRef)(null), m = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
o.wireScroller(p.current);
}, [o, u.length]), (0, R.useEffect)(() => {
@@ -39375,7 +39431,7 @@ function Gpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
company: c
}), s && n.id ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, B.jsx)(Ape, {
+ children: /* @__PURE__ */ (0, B.jsx)(kpe, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -39388,9 +39444,9 @@ function Gpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
"data-entity-title": "",
- children: [/* @__PURE__ */ (0, B.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, B.jsx)(Ipe, {
+ children: [/* @__PURE__ */ (0, B.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, B.jsx)(Fpe, {
current: n.canonical_name,
- choices: zpe(n),
+ choices: Rpe(n),
onChoose: a.chooseName,
onAddAlias: a.addAlias
})]
@@ -39458,7 +39514,7 @@ function Gpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(fP, {
+ }), i ? (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(pP, {
feedNew: r,
host: i,
wire: o.wireFeedRow,
@@ -39475,7 +39531,7 @@ function Kpe({ kind: e, name: t, helpers: n, people: r, company: i }) {
});
}
function qpe({ kind: e, entity: t, actions: n }) {
- let r = yP(t), i = (e, t) => (r) => {
+ let r = bP(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, B.jsx)("a", {
href: he("agency", r.name),
@@ -39488,27 +39544,27 @@ function qpe({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- /* @__PURE__ */ (0, B.jsx)(CP, { entity: t }),
+ /* @__PURE__ */ (0, B.jsx)(wP, { entity: t }),
/* @__PURE__ */ (0, B.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: "film" }), /* @__PURE__ */ (0, B.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, B.jsx)(mP, { name: "film" }), /* @__PURE__ */ (0, B.jsx)("span", { children: o })]
}),
a ? /* @__PURE__ */ (0, B.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: "briefcase" }), /* @__PURE__ */ (0, B.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, B.jsx)(mP, { name: "briefcase" }), /* @__PURE__ */ (0, B.jsx)("span", { children: a })]
}) : null,
e ? /* @__PURE__ */ (0, B.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, B.jsx)(pP, { name: "id-card" }),
+ /* @__PURE__ */ (0, B.jsx)(mP, { name: "id-card" }),
/* @__PURE__ */ (0, B.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, B.jsx)("span", { children: e }, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, B.jsx)(_P, {
+ e.rest > 0 ? /* @__PURE__ */ (0, B.jsx)(vP, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
@@ -39536,21 +39592,21 @@ function qpe({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- e === "creator" ? /* @__PURE__ */ (0, B.jsx)(CP, { entity: t }) : null,
+ e === "creator" ? /* @__PURE__ */ (0, B.jsx)(wP, { entity: t }) : null,
/* @__PURE__ */ (0, B.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: "film" }), /* @__PURE__ */ (0, B.jsxs)("span", { children: [o, c] })]
+ children: [/* @__PURE__ */ (0, B.jsx)(mP, { name: "film" }), /* @__PURE__ */ (0, B.jsxs)("span", { children: [o, c] })]
}),
a ? /* @__PURE__ */ (0, B.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: "briefcase" }), /* @__PURE__ */ (0, B.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, B.jsx)(mP, { name: "briefcase" }), /* @__PURE__ */ (0, B.jsx)("span", { children: a })]
}) : null,
l ? /* @__PURE__ */ (0, B.jsxs)("span", {
"data-meta-item": "",
title: "片商",
- children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: "clapperboard" }), /* @__PURE__ */ (0, B.jsx)("a", {
+ children: [/* @__PURE__ */ (0, B.jsx)(mP, { name: "clapperboard" }), /* @__PURE__ */ (0, B.jsx)("a", {
href: he("studio", l.name),
"data-studio-link": l.name,
onClick: i("studio", l.name),
@@ -39560,7 +39616,7 @@ function qpe({ kind: e, entity: t, actions: n }) {
s.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
"data-meta-item": "names",
"data-company-names": e === "studio" || e === "agency" ? "" : void 0,
- children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: "id-card" }), /* @__PURE__ */ (0, B.jsx)("span", {
+ children: [/* @__PURE__ */ (0, B.jsx)(mP, { name: "id-card" }), /* @__PURE__ */ (0, B.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: s.map((e, t) => /* @__PURE__ */ (0, B.jsx)("span", { children: e }, t))
@@ -39569,11 +39625,11 @@ function qpe({ kind: e, entity: t, actions: n }) {
]
});
}
-function CP({ entity: e }) {
+function wP({ entity: e }) {
return e.identity_labels?.length ? /* @__PURE__ */ (0, B.jsxs)("span", {
"data-meta-item": "classification",
"data-identity-classification": "",
- children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: "user-round" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e.identity_labels.join(" · ") })]
+ children: [/* @__PURE__ */ (0, B.jsx)(mP, { name: "user-round" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e.identity_labels.join(" · ") })]
}) : null;
}
function Jpe({ label: e, names: t }) {
@@ -39583,7 +39639,7 @@ function Jpe({ label: e, names: t }) {
})] });
}
function Ype({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)("dt", { children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: e }), t] }), /* @__PURE__ */ (0, B.jsx)("dd", {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)("dt", { children: [/* @__PURE__ */ (0, B.jsx)(mP, { name: e }), t] }), /* @__PURE__ */ (0, B.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
@@ -39594,7 +39650,7 @@ function Xpe({ tags: e }) {
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, B.jsx)("span", {
"data-fact-tag": "",
children: e
- }, e)), n ? /* @__PURE__ */ (0, B.jsx)(_P, {
+ }, e)), n ? /* @__PURE__ */ (0, B.jsx)(vP, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -39609,10 +39665,10 @@ function Xpe({ 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)(pP, { name: e.brand })
+ children: /* @__PURE__ */ (0, B.jsx)(mP, { name: e.brand })
});
let t = L("globe") + ("site" in e ? `<img src="${ge(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, B.jsx)("span", {
@@ -39629,19 +39685,19 @@ function Zpe({ 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: e.label,
- 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]
})]
@@ -39652,7 +39708,7 @@ function Zpe({ 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
})]
@@ -39677,34 +39733,34 @@ function Qpe({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-entry-marks": "",
- children: [SP(e).map((e, t) => /* @__PURE__ */ (0, B.jsxs)("a", {
+ children: [CP(e).map((e, t) => /* @__PURE__ */ (0, B.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, B.jsx)(pP, { name: e.mark }) : /* @__PURE__ */ (0, B.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, B.jsx)(mP, { name: e.mark }) : /* @__PURE__ */ (0, B.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, B.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, B.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, B.jsx)(Fpe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, B.jsx)(Ppe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: Rpe(r)
+ tip: Lpe(r)
}) : null]
});
}
//#endregion
//#region src/react/entity-page/entity-page-view.tsx
function $pe(e) {
- let { kind: t, name: n } = e, r = CS(_N(t, n)), i = !!r.data?.error, a = r.data?.redirect, { actions: o } = e;
+ let { kind: t, name: n } = e, r = wS(vN(t, n)), i = !!r.data?.error, a = r.data?.redirect, { actions: o } = e;
return (0, R.useLayoutEffect)(() => {
i && o.missing();
}, [o, i]), (0, R.useLayoutEffect)(() => {
@@ -39713,7 +39769,7 @@ function $pe(e) {
o,
a?.kind,
a?.name
- ]), r.isError ? /* @__PURE__ */ (0, B.jsx)(MA, {
+ ]), r.isError ? /* @__PURE__ */ (0, B.jsx)(NA, {
message: U(r.error),
onRetry: () => {
r.refetch();
@@ -39723,7 +39779,7 @@ function $pe(e) {
entity: r.data
});
}
-function TP(e) {
+function EP(e) {
let [t, n] = (0, R.useState)({
key: e,
n: 1
@@ -39740,9 +39796,9 @@ function tme(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
function nme(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 = DS(vN(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 || yN(m).length > 0, _ = a.media === "photos" && g ? a : uN, [v, y] = (0, R.useState)("people"), b = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [x, S] = (0, R.useState)(b);
+ 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(yN(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 || bN(m).length > 0, _ = a.media === "photos" && g ? a : dN, [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 = gN(e), D = CS(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 = _N(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]);
@@ -39752,26 +39808,26 @@ function nme(e) {
}, [e.layout, k]), j = {
jav: e.jav,
seed: e.seed
- }, M = (0, R.useCallback)((e, r) => hN(t, n, i, j, e, r), [O]), [N, ee] = (0, R.useState)({}), te = _.set, P = N[te] || "", F = DS({
- ...vN(t, n, te, P),
+ }, M = (0, R.useCallback)((e, r) => gN(t, n, i, j, e, r), [O]), [N, ee] = (0, R.useState)({}), te = _.set, P = N[te] || "", F = OS({
+ ...yN(t, n, te, P),
enabled: C === "photos"
- }), ne = F.data?.pages[0], re = TP(JSON.stringify(fN(t, n, te, P))), ie = (0, R.useMemo)(() => {
+ }), ne = F.data?.pages[0], re = EP(JSON.stringify(pN(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];
return {
revision: re,
- codeSets: t.id ? [] : yN(t),
+ codeSets: t.id ? [] : bN(t),
items: e.flatMap((e) => e.items || []),
total: t.total || 0,
hasMore: !!e[e.length - 1]?.has_more
};
- }, [F.data, re]), ae = F.refetch, oe = F.fetchNextPage, se = CS({
- ...cN(d, o.feedRowHtml),
+ }, [F.data, re]), ae = F.refetch, oe = F.fetchNextPage, se = wS({
+ ...lN(d, o.feedRowHtml),
enabled: !!d
}), ce = (0, R.useRef)(e.feedRevision);
(0, R.useEffect)(() => {
- ce.current !== e.feedRevision && (ce.current = e.feedRevision, p.invalidateQueries({ queryKey: sN(d) }));
+ ce.current !== e.feedRevision && (ce.current = e.feedRevision, p.invalidateQueries({ queryKey: cN(d) }));
}, [d, e.feedRevision]);
let le = !!D.data;
(0, R.useEffect)(() => {
@@ -39788,12 +39844,12 @@ function nme(e) {
ue.current = !1;
}, []);
let de = (0, R.useCallback)(async () => {
- await p.invalidateQueries({ queryKey: dN(t, n) }), await p.invalidateQueries({ queryKey: [
+ await p.invalidateQueries({ queryKey: fN(t, n) }), await p.invalidateQueries({ queryKey: [
"entity-items",
t,
n
] });
- }, [t, n]), fe = ES({
+ }, [t, n]), fe = DS({
mutationFn: (e) => pe("/api/entity-alias", {
method: "POST",
body: JSON.stringify({
@@ -39803,14 +39859,14 @@ function nme(e) {
})
}),
onSuccess: () => de()
- }), I = ES({ mutationFn: ({ from: e, to: n }) => pe("/api/entity-name", {
+ }), I = DS({ mutationFn: ({ from: e, to: n }) => pe("/api/entity-name", {
method: "POST",
body: JSON.stringify({
kind: t,
name: e,
canonical: n
})
- }) }), me = ES({
+ }) }), me = DS({
mutationFn: (e) => pe("/api/feeds/source", {
method: "POST",
body: JSON.stringify({
@@ -39819,7 +39875,7 @@ function nme(e) {
enabled: e
})
}),
- onSuccess: (e, r) => p.setQueryData(dN(t, n), (e) => e && {
+ onSuccess: (e, r) => p.setQueryData(fN(t, n), (e) => e && {
...e,
feed: {
...e.feed,
@@ -39867,10 +39923,10 @@ function nme(e) {
let e = await pe("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- ue.current && await p.invalidateQueries({ queryKey: sN(d) });
+ ue.current && await p.invalidateQueries({ queryKey: cN(d) });
})();
},
- feedAction: lN,
+ feedAction: uN,
avatarPicked: () => {
s.avatarChanged(), de().then(() => {
ue.current && T((e) => e + 1);
@@ -39901,19 +39957,19 @@ function nme(e) {
e === C && !_.set || (y(e === "people" ? "people" : "videos"), s.route(i, e === "photos" ? {
media: "photos",
set: 0
- } : uN));
+ } : dN));
},
setState: (e) => s.route({
...i,
state: e
- }, uN),
+ }, dN),
toggleTag: s.toggleTag,
clearFilter: s.clearFilter,
clearAll: s.clearAll,
setSort: s.setSort,
reshuffle: async () => {
if (C !== "photos") {
- let r = s.reshuffleVideos(), a = gN({
+ let r = s.reshuffleVideos(), a = _N({
kind: t,
name: n,
filters: {
@@ -39927,7 +39983,7 @@ function nme(e) {
await p.fetchQuery(a).catch(() => null);
return;
}
- let r = eme(), a = await p.fetchInfiniteQuery(vN(t, n, te, r)).catch(() => null);
+ let r = eme(), a = await p.fetchInfiniteQuery(yN(t, n, te, r)).catch(() => null);
!ue.current || !a?.pages[0] || a.pages[0].error || ee((e) => ({
...e,
[te]: r
@@ -39960,7 +40016,7 @@ function nme(e) {
k: e.k,
label: ct(e.k),
n: e.n,
- selected: wfe(i.tag, e.k)
+ selected: Cfe(i.tag, e.k)
})), be = h || u.length ? {
label: u.length ? "页面视图" : "媒体类型",
people: u.length ? {
@@ -39986,9 +40042,9 @@ function nme(e) {
if (C === "people") Ce = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;
else if (C === "videos") {
we = !D.data;
- let e = pN(i.tag).map((e) => ct(e));
+ let e = mN(i.tag).map((e) => ct(e));
Ce = `视频 · ${(D.data?.work_total ?? D.data?.total ?? 0).toLocaleString()}${e.length ? ` · ${e.join(" · ")}` : ""}`;
- } else ne && !ne.error ? Ce = xe ? `${ne.title} · ${(ne.total || 0).toLocaleString()} 张` : tme(ne, yN(ne).length) : we = F.isPending;
+ } else ne && !ne.error ? Ce = xe ? `${ne.title} · ${(ne.total || 0).toLocaleString()} 张` : tme(ne, bN(ne).length) : we = F.isPending;
let Te = (0, R.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -40015,7 +40071,7 @@ function nme(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,
@@ -40031,12 +40087,12 @@ function nme(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();
}
- }) : /* @__PURE__ */ (0, B.jsx)($fe, {
+ }) : /* @__PURE__ */ (0, B.jsx)(Qfe, {
kind: t,
name: n,
view: C,
@@ -40062,7 +40118,7 @@ function nme(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
@@ -40089,25 +40145,25 @@ function EP({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var rme = SA("play"), ime = SA("file-stack"), ame = OE({
+var rme = CA("play"), ime = CA("file-stack"), ame = 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: gM,
+ queryKey: _M,
exact: !0
});
};
function ome(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" ? "同番号短版本" : "时长推断"
});
}
@@ -40145,55 +40201,55 @@ function sme({ 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`,
- children: [/* @__PURE__ */ (0, B.jsx)(Wk, { mark: Oe[e.location] || "database" }), /* @__PURE__ */ (0, B.jsx)("span", {
+ 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 ?? ""
})
]
});
}
function cme({ openItem: e, toast: t, failure: n }) {
- let r = CS({
- queryKey: KA,
- queryFn: ({ signal: e }) => JA(e)
- }), i = CS({
+ let r = wS({
+ queryKey: qA,
+ queryFn: ({ signal: e }) => YA(e)
+ }), i = wS({
queryKey: u,
queryFn: ({ signal: e }) => f(e)
- }), [a, o] = (0, R.useState)(""), s = ES({
- mutationFn: (e) => ZA(e, "dispose"),
+ }), [a, o] = (0, R.useState)(""), s = DS({
+ 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();
}
} });
},
@@ -40207,12 +40263,12 @@ function cme({ 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))
});
@@ -40220,15 +40276,15 @@ function cme({ 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,
@@ -40237,7 +40293,7 @@ function cme({ 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,
@@ -40246,7 +40302,7 @@ function cme({ 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,
@@ -40283,7 +40339,7 @@ function cme({ openItem: e, toast: t, failure: n }) {
}),
ome(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", {
@@ -40311,7 +40367,7 @@ function cme({ 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)),
@@ -40341,7 +40397,7 @@ function cme({ openItem: e, toast: t, failure: n }) {
openItem: e
}, t.id)) })]
}, `${t.code}-${n}`);
- }) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(AE, {
icon: ime,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
@@ -40351,17 +40407,17 @@ function cme({ 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 lme(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: "需处理",
@@ -40378,7 +40434,7 @@ var NP = {
"version"
]],
["后台任务", ["tasks"]]
-], PP = (e) => new Date(e).toLocaleString();
+], FP = (e) => new Date(e).toLocaleString();
function dme({ name: e, check: t, navigate: n, configure: r }) {
let i = e === "security" ? "网络与访问" : e === "configured" ? "通用" : "媒体";
return /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -40391,7 +40447,7 @@ function dme({ 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", {
@@ -40412,13 +40468,13 @@ function dme({ name: e, check: t, navigate: n, configure: r }) {
});
}
function fme({ group: e, openItem: t, receipt: n }) {
- let r = PE(), i = MM(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
- return /* @__PURE__ */ (0, B.jsx)(Uk, {
+ 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, {
tone: "neutral",
children: "清单未取得,请重新检查。"
- }) : e.items.length ? /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
+ }) : e.items.length ? /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-2",
children: [e.truncated ? /* @__PURE__ */ (0, B.jsxs)("span", {
@@ -40453,8 +40509,8 @@ function fme({ group: e, openItem: t, receipt: n }) {
}) }, e.id))
})
})
- ] }) : /* @__PURE__ */ (0, B.jsx)(kE, {
- icon: rae,
+ ] }) : /* @__PURE__ */ (0, B.jsx)(AE, {
+ icon: nae,
title: "清单为空",
shell: "plain",
children: "没有需要处理的作品。"
@@ -40462,11 +40518,11 @@ function fme({ group: e, openItem: t, receipt: n }) {
});
}
function pme(e) {
- let t = CS({
- queryKey: jP,
- queryFn: ({ signal: e }) => MP(e),
+ let t = wS({
+ queryKey: MP,
+ queryFn: ({ signal: e }) => NP(e),
staleTime: 1e4
- }), n = PE(), [r, i] = (0, R.useState)(""), a = () => void n.run("refresh", async () => {
+ }), n = FE(), [r, i] = (0, R.useState)(""), a = () => void n.run("refresh", async () => {
let e = await t.refetch();
if (e.error) throw e.error;
return e.data;
@@ -40487,17 +40543,17 @@ function pme(e) {
tone: "error",
children: r
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Nk, {
+ /* @__PURE__ */ (0, B.jsx)(Pk, {
title: "库健康",
- children: /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [o.library.issue_at ? /* @__PURE__ */ (0, B.jsxs)("p", {
+ 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)(fme, {
group: n,
...e
}, t))] })
}),
- ume.map(([t, n]) => /* @__PURE__ */ (0, B.jsx)(Nk, {
+ ume.map(([t, n]) => /* @__PURE__ */ (0, B.jsx)(Pk, {
title: t,
children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, B.jsx)(dme, {
name: t,
@@ -40505,9 +40561,9 @@ function pme(e) {
...e
}, t) : null)
}, t)),
- /* @__PURE__ */ (0, B.jsx)(Nk, {
+ /* @__PURE__ */ (0, B.jsx)(Pk, {
title: "来源会话",
- children: /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [o.sources.map((e) => /* @__PURE__ */ (0, B.jsxs)("div", {
+ children: /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [o.sources.map((e) => /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
/* @__PURE__ */ (0, B.jsxs)("h3", {
@@ -40515,19 +40571,19 @@ function pme(e) {
children: [
e.label,
" · ",
- NP[e.status]
+ PP[e.status]
]
}),
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-regular text-text-primary",
children: e.reason
}),
- /* @__PURE__ */ (0, B.jsxs)(Vk, { children: [/* @__PURE__ */ (0, B.jsx)(Hk, {
+ /* @__PURE__ */ (0, B.jsxs)(Hk, { children: [/* @__PURE__ */ (0, B.jsx)(Uk, {
term: "上次解析成功",
- children: e.last_success_at ? PP(e.last_success_at) : "未取得"
- }), /* @__PURE__ */ (0, B.jsx)(Hk, {
+ 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, {
@@ -40556,20 +40612,20 @@ function pme(e) {
//#endregion
//#region src/react/feed-new/feed-new-page.tsx
function mme({ host: e, revision: t, helpers: n, actions: r }) {
- let i = CS(cN(null, n.feedRowHtml)), a = (0, R.useRef)(t);
+ let i = wS(lN(null, n.feedRowHtml)), a = (0, R.useRef)(t);
return (0, R.useEffect)(() => {
- a.current !== t && (a.current = t, p.invalidateQueries({ queryKey: sN(null) }));
- }, [t]), (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(fP, {
+ a.current !== t && (a.current = t, p.invalidateQueries({ queryKey: cN(null) }));
+ }, [t]), (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(pP, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: lN,
+ act: uN,
settled: r.settled
}), e);
}
//#endregion
//#region src/follow-sort.ts
-var FP = [
+var IP = [
["checked", "检查时间"],
["added", "添加时间"],
["name", "创作者名称"],
@@ -40577,7 +40633,7 @@ var FP = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], hme = "checked", IP = {
+], hme = "checked", LP = {
checked: "desc",
added: "desc",
name: "asc",
@@ -40585,32 +40641,32 @@ var FP = [
source: "asc",
provider: "asc",
status: "asc"
-}, gme = (e) => FP.some(([t]) => t === e);
-function LP(e, t) {
+}, gme = (e) => IP.some(([t]) => t === e);
+function RP(e, t) {
let n = gme(e) ? e : hme;
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", _me = "/api/follow/suggest", UP = "/api/follow/author-alias", vme = "/api/follow/credential", WP = "/api/follow/status", yme = "/api/feeds", GP = "/api/feeds/source", bme = "/api/feeds/check", xme = "/api/feeds/lookup", KP = ["follow-manage"], qP = ["follow-manage", "credentials"], Sme = ["follow-manage", "check"], Cme = ["follow-manage", "resolve"], JP = ["follow-manage", "feeds"], wme = (e) => [
+var zP = "/api/follow", BP = "/api/follow/credentials", VP = "/api/follow/check", HP = "/api/follow/source", UP = "/api/follow/resolve", _me = "/api/follow/suggest", WP = "/api/follow/author-alias", vme = "/api/follow/credential", GP = "/api/follow/status", yme = "/api/feeds", KP = "/api/feeds/source", bme = "/api/feeds/check", xme = "/api/feeds/lookup", qP = ["follow-manage"], JP = ["follow-manage", "credentials"], Sme = ["follow-manage", "check"], Cme = ["follow-manage", "resolve"], YP = ["follow-manage", "feeds"], wme = (e) => [
"follow-manage",
"suggest",
e
-], YP = [["default", "默认视图"], ["table", "表格视图"]], XP = [
+], XP = [["default", "默认视图"], ["table", "表格视图"]], ZP = [
10,
20,
50,
100
-], Tme = Object.fromEntries(FP), ZP = {
+], Tme = Object.fromEntries(IP), QP = {
author: "name",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, Eme = (e) => YP.some(([t]) => t === e), Dme = (e) => XP.includes(Number(e)) ? Number(e) : 20, Ome = {
+}, Eme = (e) => XP.some(([t]) => t === e), Dme = (e) => ZP.includes(Number(e)) ? Number(e) : 20, Ome = {
checked: ["从近到远", "从远到近"],
added: ["从近到远", "从远到近"],
name: ["倒序", "正序"],
@@ -40619,24 +40675,24 @@ var RP = "/api/follow", zP = "/api/follow/credentials", BP = "/api/follow/check"
provider: ["倒序", "正序"],
status: ["倒序", "正序"]
}, kme = (e, t) => `按${Tme[e]}${Ome[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 Ame(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);
@@ -40644,18 +40700,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}`;
@@ -40664,31 +40720,31 @@ function sF(e) {
return t.map((e) => n.get(e));
}
function jme(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 Mme(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 = hj(e, t), i = gj(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,
@@ -40701,87 +40757,87 @@ function Nme(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), Pme = (e) => W(BP, e), Fme = (e) => W(HP, e), Ime = (e, t) => W(`${_me}?q=${encodeURIComponent(e)}`, t), pF = (e) => G(BP, {
+var fF = (e) => W(`${zP}?summary=1`, e), pF = (e) => W(BP, e), Pme = (e) => W(VP, e), Fme = (e) => W(UP, e), Ime = (e, t) => W(`${_me}?q=${encodeURIComponent(e)}`, t), mF = (e) => G(VP, {
...e?.length ? { sources: e } : {},
background: !0
-}), Lme = (e) => G(HP, {
+}), Lme = (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
-}), Rme = (e) => G(VP, {
+}), Rme = (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
-}), zme = (e) => G(UP, {
+}), zme = (e) => G(WP, {
action: "remove",
alias: e
}), Bme = (e, t) => G(vme, {
provider: e,
values: t
-}), Vme = (e, t) => G(WP, {
+}), Vme = (e, t) => G(GP, {
item: e,
to: t
-}), Hme = () => W(`${RP}?status=new&limit=1000`);
-async function _F(e) {
+}), Hme = () => W(`${zP}?status=new&limit=1000`);
+async function vF(e) {
let t = await W(yme, 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(bme, t?.length ? { sources: t } : { all: !0 }, "POST", e), Ume = (e, t) => W(`${xme}?q=${encodeURIComponent(e)}`, t), Wme = (e, t, n) => G(GP, {
+}, "POST", t), xF = (e, t) => G(bme, t?.length ? { sources: t } : { all: !0 }, "POST", e), Ume = (e, t) => W(`${xme}?q=${encodeURIComponent(e)}`, t), Wme = (e, t, n) => G(KP, {
action: "follow-name",
name: e,
ids: t
}, "POST", n);
async function Gme(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,
@@ -40789,15 +40845,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 Kme(e) {
@@ -40806,7 +40862,7 @@ function Kme(e) {
let f = t.filter((e) => e.exhausted).length;
return f && d.push(`${f} 个没有更多内容`), u && d.push(`${u} 个失败`), `检查了 ${t.length} 个来源:${d.join(" · ")}`;
}
-var qme = (e) => (e?.results || []).filter((e) => !e.ok), Jme = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", wF = (e) => e.last_checked_at ? _j(e.last_checked_at) : "未检查", Yme = /* @__PURE__ */ new Set([
+var qme = (e) => (e?.results || []).filter((e) => !e.ok), Jme = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", TF = (e) => e.last_checked_at ? vj(e.last_checked_at) : "未检查", Yme = /* @__PURE__ */ new Set([
"fanbox",
"patreon",
"subscribestar",
@@ -40819,12 +40875,12 @@ var qme = (e) => (e?.results || []).filter((e) => !e.ok), Jme = (e) => (e?.resul
"gofile",
"f95zone",
"simpcity"
-]), TF = (e) => Yme.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", Xme = {
+]), EF = (e) => Yme.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", Xme = {
required: "需要",
optional: "可选",
none: "不需要",
blocked: "接不进来"
-}, EF = (e) => !!e.present && !e.missing.length, Zme = [
+}, DF = (e) => !!e.present && !e.missing.length, Zme = [
["", "全部"],
["new", "未看"],
["saved", "已保存"],
@@ -40833,36 +40889,36 @@ var qme = (e) => (e?.results || []).filter((e) => !e.ok), Jme = (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: OS.keepPreviousData
+ 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 $me(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,
@@ -40873,11 +40929,11 @@ async function $me(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 {
@@ -40886,10 +40942,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,
@@ -40904,7 +40960,7 @@ function ehe(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,
@@ -40925,7 +40981,7 @@ function the(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),
@@ -40939,35 +40995,35 @@ function nhe(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 rhe({ 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,
@@ -40982,8 +41038,8 @@ function ihe(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 : {
@@ -40992,12 +41048,12 @@ function VF(e, t, n) {
};
}
function ahe(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) => {
@@ -41098,69 +41154,69 @@ function dhe(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 ? _j(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 fhe(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
@@ -41169,7 +41225,7 @@ function fhe(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
@@ -41196,7 +41252,7 @@ function hhe({ src: e, fallback: t, width: n, height: r, onLearn: i }) {
});
}
function ghe(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) => fhe(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 = rhe({
+ 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) => fhe(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 = rhe({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -41204,7 +41260,7 @@ function ghe(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"
@@ -41212,7 +41268,7 @@ function ghe(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);
@@ -41253,7 +41309,7 @@ function ghe(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": "",
@@ -41272,7 +41328,7 @@ function ghe(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": "",
@@ -41363,7 +41419,7 @@ function ghe(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": "",
@@ -41410,10 +41466,10 @@ function ghe(e) {
]
});
}
-var _he = (0, R.memo)(ghe), rI = () => /* @__PURE__ */ (0, B.jsx)("span", {
+var _he = (0, R.memo)(ghe), iI = () => /* @__PURE__ */ (0, B.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), vhe = SA("settings"), yhe = SA("chevron-down"), bhe = SA("history"), xhe = [[
+}), vhe = CA("settings"), yhe = CA("chevron-down"), bhe = CA("history"), xhe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -41428,13 +41484,13 @@ function She(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]);
});
@@ -41442,7 +41498,7 @@ function She(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";
@@ -41457,7 +41513,7 @@ function She(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]])),
@@ -41471,14 +41527,14 @@ function She(e, t, n) {
]);
}
function Che(e) {
- let { view: t, seed: n, revision: r, actions: i } = e, a = kF(t, r), o = DS(a), s = CS({
- 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 = She(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, R.useMemo)(() => dhe(d.visible.flatMap(PF).map((e) => ({ tags: e.tags || [] }))), [d.visible]);
+ }), [c, l]), d = She(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, R.useMemo)(() => dhe(d.visible.flatMap(FF).map((e) => ({ tags: e.tags || [] }))), [d.visible]);
(0, R.useEffect)(() => {
p && i.loaded(m);
}, [
@@ -41487,7 +41543,7 @@ function Che(e) {
i
]);
let h = whe(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;
@@ -41499,7 +41555,7 @@ function Che(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);
@@ -41582,7 +41638,7 @@ function Che(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 () => {
@@ -41626,7 +41682,7 @@ function whe(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));
},
@@ -41651,7 +41707,7 @@ function whe(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 });
@@ -41686,10 +41742,10 @@ function The({ 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);
})
@@ -41717,12 +41773,12 @@ function Ehe({ rows: e, pressed: t, props: n, onPick: r }) {
}) : null;
}
function Dhe({ 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: {
@@ -41774,7 +41830,7 @@ function Dhe({ 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", {
@@ -41794,7 +41850,7 @@ function Dhe({ 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": "",
@@ -41807,10 +41863,10 @@ function Dhe({ 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-${che(e.groups, n)}`,
@@ -41831,8 +41887,8 @@ function Dhe({ 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: xhe,
@@ -41853,7 +41909,7 @@ function Dhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})]
})] }) : null,
Qme.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,
@@ -41862,7 +41918,7 @@ function Dhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
"aria-pressed": r,
"aria-label": ahe(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]
@@ -41907,7 +41963,7 @@ function khe({ count: e, onManage: t }) {
});
}
function Ahe({ 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,
@@ -41933,10 +41989,10 @@ function jhe({ 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
@@ -41948,8 +42004,8 @@ function jhe({ 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 Mhe({ 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>" });
@@ -41965,30 +42021,30 @@ var Nhe = {
ignored: "已忽略"
};
function Phe(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,
...n.duplicates
]) if (t.id === e) return t.status;
return "new";
- }, m = ES({
- mutationFn: ({ id: e, to: t }) => G(WP, {
+ }, m = DS({
+ 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(Nhe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
- await G(WP, {
+ await G(GP, {
item: t,
to: i
}), u(t, i), d();
@@ -41998,7 +42054,7 @@ function Phe(e) {
l(t, Te(e), s), r.failure("更新关注状态", e);
},
onSettled: (e, t, { id: n }) => l(n, "", a)
- }), h = ES({
+ }), h = DS({
mutationFn: (e) => G("/api/follow/save", { item: e }),
onSuccess: (e, t) => {
u(t, "saved"), d(), r.toast("已保存到账本");
@@ -42033,8 +42089,8 @@ function Phe(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: "",
@@ -42045,8 +42101,8 @@ function aI({ provider: e, label: t }) {
className: "size-3.5 shrink-0 rounded-sm object-contain"
}), 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: "",
@@ -42059,18 +42115,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";
- return /* @__PURE__ */ (0, B.jsx)(TE, {
+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: Ame(e)
});
}
-function cI({ source: e }) {
+function lI({ source: e }) {
return /* @__PURE__ */ (0, B.jsxs)("a", {
href: e.url,
target: "_blank",
@@ -42085,11 +42141,11 @@ function cI({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var lI = SE(Ck, wk, "text-body-2-medium"), Fhe = "粘贴来源链接,或输入创作者名、id…", Ihe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Lhe = "识别中…", Rhe = "站内没有查到来源", uI = (e, t) => `${e}:${t.url}`;
+var uI = CE(wk, Tk, "text-body-2-medium"), Fhe = "粘贴来源链接,或输入创作者名、id…", Ihe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Lhe = "识别中…", Rhe = "站内没有查到来源", dI = (e, t) => `${e}:${t.url}`;
function zhe({ 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" });
- }, [t, r]), /* @__PURE__ */ (0, B.jsxs)(bO, {
+ }, [t, r]), /* @__PURE__ */ (0, B.jsxs)(xO, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -42101,17 +42157,17 @@ function zhe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: SE(Sk, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: CE(Ck, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "px-2 py-1.5",
- children: /* @__PURE__ */ (0, B.jsx)(AE, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, B.jsx)(jE, { label: "正在查找建议" })
}) : null, n.map((e, t) => /* @__PURE__ */ (0, B.jsxs)(R.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, B.jsx)("div", {
className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",
children: e.group
}), /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? SE(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: [
@@ -42139,20 +42195,20 @@ function Bhe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(J, {
ref: i,
variant: "secondary",
- leadingIcon: iae,
+ leadingIcon: rae,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, B.jsx)(bO, {
+ }), /* @__PURE__ */ (0, B.jsx)(xO, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: Sk,
- children: /* @__PURE__ */ (0, B.jsxs)(jO, {
+ className: Ck,
+ children: /* @__PURE__ */ (0, B.jsxs)(MO, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -42168,16 +42224,16 @@ function Bhe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, B.jsx)(Lk, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, B.jsx)(Rk, { children: "暂无可用来源" }), s.map((e) => {
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)(WM, {
+ 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",
@@ -42201,7 +42257,7 @@ function Vhe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
});
let a = (e.candidates || []).filter((e) => !n.has(e.provider_label || "")), o = Object.entries(e.failures || {});
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: OE({
+ className: kE({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-2 p-4"
@@ -42212,15 +42268,15 @@ function Vhe({ 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)(WM, {
+ 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
@@ -42236,18 +42292,18 @@ function Vhe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, B.jsx)(Lk, { children: Rhe }),
+ }) : /* @__PURE__ */ (0, B.jsx)(Rk, { children: Rhe }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, B.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.evidence
- }), /* @__PURE__ */ (0, B.jsx)(Bk, {
+ }), /* @__PURE__ */ (0, B.jsx)(Vk, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, B.jsx)(Lk, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
@@ -42262,7 +42318,7 @@ function Hhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = setTimeout(() => u(e), 250);
return () => clearTimeout(t);
}, [a]);
- let D = CS({
+ let D = wS({
queryKey: wme(l),
queryFn: ({ signal: e }) => Ime(l, e),
enabled: l.length > 0 && d
@@ -42271,7 +42327,7 @@ function Hhe({ 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 } = BM({
+ }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = VM({
queryKey: Cme,
queryFn: ({ signal: e }) => Fme(e),
start: (e) => Lme([e]),
@@ -42308,8 +42364,8 @@ function Hhe({ 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)
- })).filter((e) => !x.has(e.key))), ae = ES({
+ key: dI(t, e)
+ })).filter((e) => !x.has(e.key))), ae = DS({
mutationFn: async (e) => {
let t = [], n = [];
E(0);
@@ -42323,7 +42379,7 @@ function Hhe({ 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));
}
@@ -42333,7 +42389,7 @@ function Hhe({ 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;
}
@@ -42342,7 +42398,7 @@ function Hhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onError: (e) => w(U(e))
}), oe = e.suggestions || [], se = !s.includes("/");
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: OE({
+ className: kE({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -42362,11 +42418,11 @@ function Hhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = e.relatedTarget;
!e.currentTarget.contains(t) && !v.current?.contains(t) && f(!1);
},
- children: [/* @__PURE__ */ (0, B.jsx)(xk, {
+ children: [/* @__PURE__ */ (0, B.jsx)(Sk, {
"aria-label": "来源链接、名字或 id",
placeholder: Fhe,
value: a,
- leadingIcon: jT,
+ leadingIcon: MT,
isDisabled: n,
onChange: o,
onKeyDown: ne
@@ -42398,7 +42454,7 @@ function Hhe({ 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)(IM, {
+ children: [A || M.isPending ? /* @__PURE__ */ (0, B.jsx)(LM, {
embedded: !0,
label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : se ? Ihe : Lhe),
value: k?.checked,
@@ -42412,7 +42468,7 @@ function Hhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
re.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, B.jsx)(zk, { children: "查找结果" }),
+ /* @__PURE__ */ (0, B.jsx)(Bk, { children: "查找结果" }),
re.map((e, t) => /* @__PURE__ */ (0, B.jsx)(Vhe, {
row: e,
at: t,
@@ -42468,15 +42524,15 @@ function Hhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var Uhe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, dI = (e) => e.alias;
+var Uhe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, fI = (e) => e.alias;
function Whe(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: Whe(e, t, n),
name: t
}), /* @__PURE__ */ (0, B.jsx)("b", {
@@ -42486,14 +42542,14 @@ function fI({ sources: e, name: t, canonicalKey: n }) {
});
}
function Ghe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
- let [a, o] = (0, R.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), p = ES({
+ let [a, o] = (0, R.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), p = DS({
mutationFn: async (e) => {
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;
}
@@ -42503,19 +42559,19 @@ function Ghe({ 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 = ES({
- mutationFn: (e) => gF(e.canonical, e.alias),
+ }), m = DS({
+ mutationFn: (e) => _F(e.canonical, e.alias),
onSuccess: () => {
- c(""), u(""), f(""), CF(), i("已保存创作者别名");
+ c(""), u(""), f(""), wF(), i("已保存创作者别名");
},
onError: (e) => c(U(e))
- }), h = ES({
+ }), h = DS({
mutationFn: (e) => zme(e),
onSuccess: () => {
- c(""), CF(), i("已移除创作者别名");
+ c(""), wF(), i("已移除创作者别名");
},
onError: (e) => c(U(e))
}), g = (e, t) => {
@@ -42525,9 +42581,9 @@ function Ghe({ 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: OE({
+ className: kE({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -42538,10 +42594,10 @@ function Ghe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, B.jsx)(zk, { children: "手动添加别名" }), /* @__PURE__ */ (0, B.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, B.jsx)(Bk, { children: "手动添加别名" }), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: l,
@@ -42549,7 +42605,7 @@ function Ghe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: d,
@@ -42570,13 +42626,13 @@ function Ghe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
]
})]
}),
- s ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: s }) : null,
+ s ? /* @__PURE__ */ (0, B.jsx)(zk, { children: s }) : null,
t.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(zk, { children: "待合并" }),
+ /* @__PURE__ */ (0, B.jsx)(Bk, { children: "待合并" }),
/* @__PURE__ */ (0, B.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -42598,44 +42654,44 @@ function Ghe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, B.jsx)(qM, { children: /* @__PURE__ */ (0, B.jsxs)(GM, {
+ }), /* @__PURE__ */ (0, B.jsx)(JM, { children: /* @__PURE__ */ (0, B.jsxs)(KM, {
"aria-label": "待合并创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, B.jsxs)(tk, { children: [
- /* @__PURE__ */ (0, B.jsx)(nk, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(nk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(rk, {
id: "select",
- children: /* @__PURE__ */ (0, B.jsx)(WM, {
+ 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)(nk, {
+ /* @__PURE__ */ (0, B.jsx)(rk, {
id: "canonical",
children: "规范创作者"
}),
- /* @__PURE__ */ (0, B.jsx)(nk, {
+ /* @__PURE__ */ (0, B.jsx)(rk, {
id: "alias",
isRowHeader: !0,
children: "平台别名"
}),
- /* @__PURE__ */ (0, B.jsx)(nk, {
+ /* @__PURE__ */ (0, B.jsx)(rk, {
id: "evidence",
children: "依据"
}),
- /* @__PURE__ */ (0, B.jsx)(nk, {
+ /* @__PURE__ */ (0, B.jsx)(rk, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, B.jsx)(ik, { children: t.map((e) => {
- let t = dI(e);
- return /* @__PURE__ */ (0, B.jsxs)(sk, {
+ ] }), /* @__PURE__ */ (0, B.jsx)(ak, { children: t.map((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)(lk, { children: /* @__PURE__ */ (0, B.jsx)(WM, {
+ /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)(GM, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -42644,16 +42700,16 @@ function Ghe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsx)(fI, {
+ /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)(pI, {
sources: n,
name: e.canonical
}) }),
- /* @__PURE__ */ (0, B.jsx)(lk, { children: e.alias }),
- /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsx)("span", {
+ /* @__PURE__ */ (0, B.jsx)(uk, { children: e.alias }),
+ /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: e.evidence
}) }),
- /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsx)(J, {
+ /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
disabled: r,
@@ -42670,27 +42726,27 @@ function Ghe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, B.jsx)(zk, { children: "已保存别名" }), /* @__PURE__ */ (0, B.jsx)("span", {
+ children: [/* @__PURE__ */ (0, B.jsx)(Bk, { children: "已保存别名" }), /* @__PURE__ */ (0, B.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, B.jsx)(qM, { children: /* @__PURE__ */ (0, B.jsxs)(GM, {
+ }), e.length ? /* @__PURE__ */ (0, B.jsx)(JM, { children: /* @__PURE__ */ (0, B.jsxs)(KM, {
"aria-label": "已保存创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, B.jsxs)(tk, { children: [/* @__PURE__ */ (0, B.jsx)(nk, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(nk, { children: [/* @__PURE__ */ (0, B.jsx)(rk, {
id: "canonical",
isRowHeader: !0,
children: "规范创作者"
- }), /* @__PURE__ */ (0, B.jsx)(nk, {
+ }), /* @__PURE__ */ (0, B.jsx)(rk, {
id: "aliases",
children: "平台别名"
- })] }), /* @__PURE__ */ (0, B.jsx)(ik, { children: e.map((e) => /* @__PURE__ */ (0, B.jsxs)(sk, {
+ })] }), /* @__PURE__ */ (0, B.jsx)(ak, { children: e.map((e) => /* @__PURE__ */ (0, B.jsxs)(ck, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, B.jsx)(lk, { 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
- }) }), /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsx)("span", {
+ }) }), /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)("span", {
className: "flex flex-wrap items-center gap-1.5",
children: e.aliases.map((e) => /* @__PURE__ */ (0, B.jsxs)("span", {
className: "inline-flex items-center gap-1 rounded-md bg-background-secondary-default px-1.5 py-1 text-caption-1-medium text-text-secondary",
@@ -42698,7 +42754,7 @@ function Ghe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: vT,
+ leadingIcon: yT,
"aria-label": `移除别名 ${e.name}`,
disabled: r,
...X(h.isPending),
@@ -42712,9 +42768,9 @@ function Ghe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ }) }) : /* @__PURE__ */ (0, B.jsx)(AE, {
shell: "plain",
- icon: NT,
+ icon: PT,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -42729,20 +42785,20 @@ function Xhe(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
function Zhe({ row: e }) {
- if (EF(e)) return /* @__PURE__ */ (0, B.jsx)(TE, {
+ if (DF(e)) return /* @__PURE__ */ (0, B.jsx)(EE, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, B.jsx)(TE, {
+ return /* @__PURE__ */ (0, B.jsx)(EE, {
variant: "caption",
color: t,
children: Xme[e.requirement] || ""
});
}
function Qhe({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, R.useState)({}), [a, o] = (0, R.useState)(""), s = EF(e), c = ES({
+ let [r, i] = (0, R.useState)({}), [a, o] = (0, R.useState)(""), s = DF(e), c = DS({
mutationFn: (t) => Bme(e.provider, t),
onSuccess: (e, t) => {
if (e.note) {
@@ -42750,7 +42806,7 @@ function Qhe({ row: e, readOnly: t, toast: n }) {
return;
}
o(""), i({}), p.invalidateQueries({
- queryKey: qP,
+ queryKey: JP,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");
},
@@ -42766,14 +42822,14 @@ function Qhe({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, B.jsxs)(Lk, { children: [e.why, e.where ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [" ", /* @__PURE__ */ (0, B.jsx)(Bk, {
+ /* @__PURE__ */ (0, B.jsxs)(Rk, { children: [e.why, e.where ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [" ", /* @__PURE__ */ (0, B.jsx)(Vk, {
href: e.where,
children: "去取"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, B.jsx)(Lk, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: e.howto }) : null,
/* @__PURE__ */ (0, B.jsx)("div", {
className: "flex w-full flex-col gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, B.jsx)(xk, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, B.jsx)(Sk, {
type: "password",
label: n,
placeholder: Xhe(e, n),
@@ -42812,9 +42868,9 @@ function Qhe({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- a ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: a }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, B.jsx)(Lk, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, B.jsx)(FM, {
+ 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)(IM, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -42833,7 +42889,7 @@ function $he({ 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",
@@ -42844,7 +42900,7 @@ function $he({ row: e, readOnly: t, toast: n }) {
children: e.nature
}) : null,
/* @__PURE__ */ (0, B.jsx)(Zhe, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, B.jsx)(TE, {
+ e.missing.length ? /* @__PURE__ */ (0, B.jsx)(EE, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -42853,12 +42909,12 @@ function $he({ row: e, readOnly: t, toast: n }) {
});
return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
- children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, B.jsx)(Lk, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: e.why }) : null]
}) : /* @__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)(Uk, {
- summary: EF(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !EF(e),
+ children: [r, /* @__PURE__ */ (0, B.jsx)(Wk, {
+ summary: DF(e) ? "修改凭据" : "填写凭据",
+ defaultOpen: e.requirement === "required" && !DF(e),
children: /* @__PURE__ */ (0, B.jsx)(Qhe, {
row: e,
readOnly: t,
@@ -42868,9 +42924,9 @@ function $he({ row: e, readOnly: t, toast: n }) {
});
}
function ege({ 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: OE({
+ className: kE({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -42905,7 +42961,7 @@ function ege({ data: e, readOnly: t, toast: n }) {
className: "text-body-medium text-text-secondary",
children: e.title
}), /* @__PURE__ */ (0, B.jsx)("div", {
- className: OE({
+ className: kE({
variant: "outlined",
padding: "none",
className: "flex flex-col overflow-hidden"
@@ -42928,7 +42984,7 @@ function ege({ data: e, readOnly: t, toast: n }) {
className: "text-body-2-regular text-text-secondary",
children: qhe
}),
- /* @__PURE__ */ (0, B.jsx)(FM, {
+ /* @__PURE__ */ (0, B.jsx)(IM, {
path: e.root,
prefix: "凭据文件在 ",
className: "text-body-2-regular text-text-secondary",
@@ -42937,16 +42993,16 @@ function ege({ data: e, readOnly: t, toast: n }) {
]
})
]
- }) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(AE, {
shell: "plain",
- icon: lae,
+ icon: cae,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function pI() {
+function mI() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -42959,18 +43015,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 tge(e) {
@@ -42986,7 +43042,7 @@ function nge(e, t) {
};
return r(e), n;
}
-function _I(e, t, n) {
+function vI(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -43008,7 +43064,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,
@@ -43022,7 +43078,7 @@ function rge(e, t, n, r) {
column: n,
getValue: () => t.getValue(r),
renderValue: () => i.getValue() ?? e.options.renderFallbackValue,
- getContext: _I(() => [
+ getContext: vI(() => [
e,
n,
t,
@@ -43034,7 +43090,7 @@ function rge(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);
@@ -43057,17 +43113,17 @@ function ige(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,
@@ -43096,41 +43152,41 @@ function bI(e, t, n) {
}), r;
}
var age = { 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()
@@ -43138,9 +43194,9 @@ var age = { 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;
@@ -43158,7 +43214,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,
@@ -43175,7 +43231,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();
@@ -43225,8 +43281,8 @@ var oge = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: _I(() => [e.getAllLeafColumns()], (t) => t.map((t) => rge(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) => rge(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];
@@ -43237,59 +43293,59 @@ var oge = (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 cge = {
@@ -43299,21 +43355,21 @@ var cge = {
...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
@@ -43328,19 +43384,19 @@ var cge = {
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);
@@ -43397,7 +43453,7 @@ var PI = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: hI("grouping", e),
+ onGroupingChange: gI("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -43410,11 +43466,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) => {
@@ -43446,17 +43502,17 @@ var dge = {
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
@@ -43472,17 +43528,17 @@ var dge = {
i = [...i, ...n];
}
return uge(i, t, n);
- }, vI(e.options, "debugTable", "_getOrderColumnsFn"));
+ }, yI(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, FI = () => ({
+}, II = () => ({
left: [],
right: []
}), fge = {
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);
@@ -43506,43 +43562,43 @@ var dge = {
};
},
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 pge(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,
@@ -43550,31 +43606,31 @@ var II = {
isResizingColumn: !1,
columnSizingStart: []
}), mge = {
- 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;
@@ -43596,8 +43652,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) => {
@@ -43633,7 +43689,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 = hge() ? { 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,
@@ -43649,12 +43705,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 hge() {
- if (typeof RI == "boolean") return RI;
+ if (typeof zI == "boolean") return zI;
let e = !1;
try {
let t = { get passive() {
@@ -43664,9 +43720,9 @@ function hge() {
} catch {
e = !1;
}
- return RI = e, RI;
+ return zI = e, zI;
}
-function zI(e) {
+function BI(e) {
return e.type === "touchstart";
}
var gge = {
@@ -43674,7 +43730,7 @@ var gge = {
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) => ({
@@ -43689,7 +43745,7 @@ var gge = {
};
},
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()
@@ -43697,10 +43753,10 @@ var gge = {
...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) => {
@@ -43713,7 +43769,7 @@ var gge = {
};
}
};
-function BI(e, t) {
+function VI(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
var _ge = { createTable: (e) => {
@@ -43726,7 +43782,7 @@ var _ge = { createTable: (e) => {
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: hI("globalFilter", e),
+ onGlobalFilterChange: gI("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -43738,9 +43794,9 @@ var _ge = { 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) => {
@@ -43753,7 +43809,7 @@ var _ge = { createTable: (e) => {
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: hI("expanded", e),
+ onExpandedChange: gI("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -43824,18 +43880,18 @@ var _ge = { createTable: (e) => {
};
};
}
-}, VI = 0, HI = 10, UI = () => ({
- pageIndex: VI,
- pageSize: HI
+}, HI = 0, UI = 10, WI = () => ({
+ pageIndex: HI,
+ pageSize: UI
}), bge = {
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 = () => {
@@ -43851,11 +43907,11 @@ var _ge = { 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
@@ -43863,13 +43919,13 @@ var _ge = { 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,
@@ -43877,28 +43933,28 @@ var _ge = { 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: []
}), xge = {
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) => {
@@ -43937,7 +43993,7 @@ var _ge = { 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) => {
@@ -43946,14 +44002,14 @@ var _ge = { 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"));
}
}, Sge = {
getInitialState: (e) => ({
@@ -43961,7 +44017,7 @@ var _ge = { createTable: (e) => {
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: hI("rowSelection", e),
+ onRowSelectionChange: gI("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -43980,21 +44036,21 @@ var _ge = { 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 = () => {
@@ -44018,17 +44074,17 @@ var _ge = { 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) => {
@@ -44036,16 +44092,16 @@ var _ge = { 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)
@@ -44058,32 +44114,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, Cge = (e, t, n) => QI(ZI(e.getValue(n)).toLowerCase(), ZI(t.getValue(n)).toLowerCase()), wge = (e, t, n) => QI(ZI(e.getValue(n)), ZI(t.getValue(n))), Tge = (e, t, n) => XI(ZI(e.getValue(n)).toLowerCase(), ZI(t.getValue(n)).toLowerCase()), Ege = (e, t, n) => XI(ZI(e.getValue(n)), ZI(t.getValue(n))), Dge = (e, t, n) => {
+var XI = /([0-9]+)/gm, Cge = (e, t, n) => $I(QI(e.getValue(n)).toLowerCase(), QI(t.getValue(n)).toLowerCase()), wge = (e, t, n) => $I(QI(e.getValue(n)), QI(t.getValue(n))), Tge = (e, t, n) => ZI(QI(e.getValue(n)).toLowerCase(), QI(t.getValue(n)).toLowerCase()), Ege = (e, t, n) => ZI(QI(e.getValue(n)), QI(t.getValue(n))), Dge = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, Oge = (e, t, n) => XI(e.getValue(n), t.getValue(n));
-function XI(e, t) {
+}, Oge = (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])) {
@@ -44097,7 +44153,7 @@ function QI(e, t) {
}
return n.length - r.length;
}
-var $I = {
+var eL = {
alphanumeric: Cge,
alphanumericCaseSensitive: wge,
text: Tge,
@@ -44123,7 +44179,7 @@ var $I = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: hI("sorting", e),
+ onSortingChange: gI("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -44131,13 +44187,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) => {
@@ -44208,7 +44264,7 @@ function Age(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,
@@ -44223,7 +44279,7 @@ function Age(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;
@@ -44234,9 +44290,9 @@ function Age(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 = ige(n, e, i, r), o = e;
@@ -44244,10 +44300,10 @@ function Age(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);
@@ -44257,8 +44313,8 @@ function Age(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: [],
@@ -44276,7 +44332,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 jge(e) {
let t = [], n = (e) => {
@@ -44289,8 +44345,8 @@ function jge(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
@@ -44312,11 +44368,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 ? Mge(e) ? /*#__PURE__*/ R.createElement(e, t) : e : null;
}
function Mge(e) {
@@ -44331,7 +44387,7 @@ function Nge(e) {
function Pge(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: () => {},
@@ -44352,7 +44408,7 @@ function rL(e) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var Fge = CE({
+var Fge = wE({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -44418,18 +44474,18 @@ function Ige({ state: e, size: t = "md", shape: n = "pill" }) {
let r = Fge[t];
return /* @__PURE__ */ (0, B.jsx)("span", {
"aria-hidden": !0,
- className: SE("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? SE("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
+ className: CE("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? CE("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, B.jsx)("span", {
- className: SE("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
- children: /* @__PURE__ */ (0, B.jsx)("span", { className: SE("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
+ className: CE("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
+ children: /* @__PURE__ */ (0, B.jsx)("span", { className: CE("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
})
});
}
-function iL({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, B.jsx)(Tse, {
+function aL({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, B.jsx)(wse, {
ref: i,
...a,
- className: (t) => SE("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ className: (t) => CE("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
children: (e) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Ige, {
state: e,
size: n,
@@ -44442,7 +44498,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", Lge = "输入女优名,到 JavDB 找她的演员页";
+var oL = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", Lge = "输入女优名,到 JavDB 找她的演员页";
function Rge(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);
@@ -44465,7 +44521,7 @@ function Rge(e, t) {
function zge({ 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)(WM, {
+ children: [/* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, B.jsxs)("span", {
@@ -44475,7 +44531,7 @@ function zge({ card: e, picked: t, onPick: n }) {
className: "min-w-0 break-words",
children: e.names.join("、")
}),
- e.record ? /* @__PURE__ */ (0, B.jsx)(TE, {
+ e.record ? /* @__PURE__ */ (0, B.jsx)(EE, {
variant: "caption",
color: "neutral",
children: e.record
@@ -44486,14 +44542,14 @@ function zge({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, B.jsx)(Bk, {
+ }), /* @__PURE__ */ (0, B.jsx)(Vk, {
href: e.url,
children: e.id
})]
});
}
function Bge({ readOnly: e, toast: t, onAdded: n }) {
- let [r, i] = (0, R.useState)(""), [a, o] = (0, R.useState)(null), [s, c] = (0, R.useState)(/* @__PURE__ */ new Set()), l = PE(), u = () => {
+ let [r, i] = (0, R.useState)(""), [a, o] = (0, R.useState)(null), [s, c] = (0, R.useState)(/* @__PURE__ */ new Set()), l = FE(), u = () => {
let t = r.trim();
!t || e || l.run("lookup", (e) => Ume(t, e), (e) => {
o(e), c(new Set(e.suggested));
@@ -44508,7 +44564,7 @@ function Bge({ readOnly: e, toast: t, onAdded: n }) {
});
}, m = a ? Rge(a, s) : null;
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: OE({
+ className: kE({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -44521,11 +44577,11 @@ function Bge({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, B.jsx)(xk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Sk, {
"aria-label": "女优名",
placeholder: Lge,
value: r,
- leadingIcon: jT,
+ leadingIcon: MT,
isDisabled: e,
onChange: i,
onKeyDown: d
@@ -44546,7 +44602,7 @@ function Bge({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, B.jsx)(zk, { children: "JavDB 上的演员卡" }),
+ /* @__PURE__ */ (0, B.jsx)(Bk, { children: "JavDB 上的演员卡" }),
a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, B.jsx)(zge, {
card: e,
picked: s.has(e.id),
@@ -44554,8 +44610,8 @@ function Bge({ readOnly: e, toast: t, onAdded: n }) {
let r = new Set(n);
return t ? r.add(e.id) : r.delete(e.id), r;
})
- }, e.id)) : /* @__PURE__ */ (0, B.jsx)(Lk, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, B.jsx)(Lk, {
+ }, e.id)) : /* @__PURE__ */ (0, B.jsx)(Rk, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, B.jsx)(Rk, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -44582,15 +44638,15 @@ function Bge({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var Vge = Object.fromEntries(Object.entries(ZP).map(([e, t]) => [t, e])), oL = 740;
+var Vge = Object.fromEntries(Object.entries(QP).map(([e, t]) => [t, e])), sL = 740;
function Hge() {
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];
}
@@ -44603,7 +44659,7 @@ var Uge = {
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",
@@ -44617,7 +44673,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: mj(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: "…"
@@ -44645,17 +44701,17 @@ function Wge({ 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) => {
- KM(e, e.currentTarget) && n(!t);
+ qM(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, B.jsx)(WM, {
+ /* @__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]
@@ -44663,17 +44719,17 @@ function Wge({ 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,
@@ -44685,7 +44741,7 @@ function Wge({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: kT,
+ leadingIcon: AT,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...X(r.busy),
@@ -44694,7 +44750,7 @@ function Wge({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: ST,
+ leadingIcon: CT,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -44704,10 +44760,10 @@ function Wge({ source: e, selected: t, onToggle: n, handlers: r }) {
});
}
function Gge({ 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: OE({
+ className: kE({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -44717,7 +44773,7 @@ function Gge({ 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
}),
@@ -44729,7 +44785,7 @@ function Gge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: kT,
+ leadingIcon: AT,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...X(i.busy),
@@ -44738,7 +44794,7 @@ function Gge({ 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)(q_, { 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",
@@ -44747,7 +44803,7 @@ function Gge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: _T,
+ leadingIcon: vT,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -44758,7 +44814,7 @@ function Gge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? gT : pT,
+ leadingIcon: n ? _T : mT,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -44788,26 +44844,26 @@ function Kge(e) {
n,
r,
_
- ]), { job: D, running: O, outcome: k, start: A } = BM({
+ ]), { job: D, running: O, outcome: k, start: A } = VM({
queryKey: Sme,
queryFn: ({ signal: e }) => Pme(e),
- start: (e) => pF(e),
+ start: (e) => mF(e),
onError: (e) => w(U(e)),
onFinish: (e) => {
- CF(), m(e.status === "failed" ? e.error || "检查失败" : Kme(e));
+ wF(), m(e.status === "failed" ? e.error || "检查失败" : Kme(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 = ES({
- 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 = ES({
- mutationFn: (e) => mF(e.id, e.enabled),
+ }), te = DS({
+ 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({
@@ -44816,10 +44872,10 @@ function Kge(e) {
confirmLabel: "取消关注来源",
danger: !0,
onConfirm: () => ee.mutateAsync(e.id)
- }), F = ES({
+ }), 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,
@@ -44828,9 +44884,9 @@ function Kge(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)}`);
@@ -44841,7 +44897,7 @@ function Kge(e) {
m(`已${n} ${e.done.length} 个关注来源`);
},
onError: (e) => w(U(e))
- }), ne = ES({
+ }), ne = DS({
mutationFn: async (e) => {
let t = ((await Hme()).groups || []).flatMap((e) => [
e.primary,
@@ -44854,7 +44910,7 @@ function Kge(e) {
};
},
onSuccess: (e) => {
- if (CF(), e.failed.length) {
+ if (wF(), e.failed.length) {
w(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);
return;
}
@@ -44879,12 +44935,12 @@ function Kge(e) {
readOnly: c
};
let ae = ie.current, oe = (0, R.useMemo)(() => {
- let e = pI(), t = (e) => () => Uge[e] || e;
+ let e = mI(), t = (e) => () => Uge[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, B.jsx)(WM, {
+ cell: (e) => /* @__PURE__ */ (0, B.jsx)(GM, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -44896,7 +44952,7 @@ function Kge(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", {
@@ -44910,7 +44966,7 @@ function Kge(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]
@@ -44921,18 +44977,18 @@ function Kge(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",
@@ -44940,7 +44996,7 @@ function Kge(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,
@@ -44950,7 +45006,7 @@ function Kge(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: kT,
+ leadingIcon: AT,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
disabled: !e.row.original.source.enabled || ae.readOnly,
...X(ae.busy),
@@ -44960,7 +45016,7 @@ function Kge(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: ST,
+ leadingIcon: CT,
"aria-label": `移除 ${e.row.original.source.label}`,
disabled: ae.readOnly,
onClick: () => ie.current.remove(e.row.original.source)
@@ -44975,7 +45031,7 @@ function Kge(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),
@@ -44992,7 +45048,7 @@ function Kge(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) => {
@@ -45006,11 +45062,11 @@ function Kge(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 = qme(k), ge = Jme(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 = qme(k), ge = Jme(k), _e = T.length > 0 && y.size >= T.length;
return g.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
- className: OE({
+ className: kE({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -45029,7 +45085,7 @@ function Kge(e) {
}),
/* @__PURE__ */ (0, B.jsx)(J, {
variant: "primary",
- leadingIcon: kT,
+ leadingIcon: AT,
disabled: c,
"aria-label": "检查全部",
iconOnly: S,
@@ -45044,28 +45100,28 @@ function Kge(e) {
children: [/* @__PURE__ */ (0, B.jsx)(J, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: uae,
- "aria-label": YP[0][1],
+ leadingIcon: lae,
+ "aria-label": XP[0][1],
"aria-pressed": !le,
onClick: () => d("default")
}), /* @__PURE__ */ (0, B.jsx)(J, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: pae,
- "aria-label": YP[1][1],
+ leadingIcon: fae,
+ "aria-label": XP[1][1],
"aria-pressed": le,
onClick: () => d("table")
})]
}),
- /* @__PURE__ */ (0, B.jsx)(Ek, {
+ /* @__PURE__ */ (0, B.jsx)(Dk, {
"aria-label": "关注列表排序",
selectedKey: n,
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)(Dk, {
+ children: IP.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Ok, {
id: e,
children: t
}, e))
@@ -45073,14 +45129,14 @@ function Kge(e) {
/* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: r === "asc" ? Xie : Yie,
+ leadingIcon: r === "asc" ? Yie : Jie,
"aria-label": kme(n, r),
onClick: () => l(n, r === "asc" ? "desc" : "asc")
}),
le ? null : /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
iconOnly: S,
- leadingIcon: _e ? pT : gT,
+ leadingIcon: _e ? mT : _T,
"aria-label": _e ? "全部展开" : "全部收起",
onClick: () => b(_e ? /* @__PURE__ */ new Set() : new Set(T.map((e) => String(e[0].author_key || e[0].id)))),
children: _e ? "全部展开" : "全部收起"
@@ -45091,7 +45147,7 @@ function Kge(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- O ? /* @__PURE__ */ (0, B.jsx)(IM, {
+ O ? /* @__PURE__ */ (0, B.jsx)(LM, {
embedded: !0,
label: D?.message || (D?.total ? `${D.older ? "抓取历史" : "检查更新"}:已完成 ${D.checked || 0}/${D.total} 个来源` : "正在准备检查任务"),
value: D?.checked,
@@ -45117,7 +45173,7 @@ function Kge(e) {
}) : null
]
}),
- /* @__PURE__ */ (0, B.jsxs)(aS, {
+ /* @__PURE__ */ (0, B.jsxs)(oS, {
label: "关注来源批量操作",
visible: me.length > 0,
count: `已选 ${me.length} 个来源`,
@@ -45177,10 +45233,10 @@ function Kge(e) {
})
]
}),
- le ? /* @__PURE__ */ (0, B.jsx)(qM, {
+ le ? /* @__PURE__ */ (0, B.jsx)(JM, {
follow: !0,
onRowClick: (e) => M(Number(e), !s.has(Number(e))),
- children: /* @__PURE__ */ (0, B.jsxs)(GM, {
+ children: /* @__PURE__ */ (0, B.jsxs)(KM, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: se[0] ? {
@@ -45191,9 +45247,9 @@ function Kge(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, B.jsx)(tk, { children: de.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in ZP, n = nL(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, B.jsx)(nk, {
+ children: [/* @__PURE__ */ (0, B.jsx)(nk, { children: de.getHeaderGroups()[0].headers.map((e) => {
+ 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,
isRowHeader: e.column.id === "source",
@@ -45202,20 +45258,20 @@ function Kge(e) {
children: [n, /* @__PURE__ */ (0, B.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, B.jsx)(hce, {})
+ children: /* @__PURE__ */ (0, B.jsx)(mce, {})
})]
}) : /* @__PURE__ */ (0, B.jsx)(q_, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, B.jsx)(ik, {
+ }) }), /* @__PURE__ */ (0, B.jsx)(ak, {
renderEmptyState: () => "这一页没有来源",
- children: fe.map((e) => /* @__PURE__ */ (0, B.jsx)(sk, {
+ 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)(lk, { 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)(WM, {
+ }) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: pe.all,
isIndeterminate: pe.some,
onChange: (e) => N(I, e),
@@ -45227,7 +45283,7 @@ function Kge(e) {
let t = String(e[0].author_key || e[0].id);
return /* @__PURE__ */ (0, B.jsx)(Gge, {
group: e,
- name: iF(e, _),
+ name: aF(e, _),
handlers: ae,
selected: s,
open: !y.has(t),
@@ -45247,19 +45303,19 @@ function Kge(e) {
className: "text-body-2-regular text-text-secondary",
children: `${ue.start + 1}–${ue.end} / ${ue.total} ${le ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, B.jsx)(Ek, {
+ /* @__PURE__ */ (0, B.jsx)(Dk, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(o),
onSelectionChange: (e) => {
e !== null && de.setPageSize(Number(e));
},
- children: XP.map((e) => /* @__PURE__ */ (0, B.jsx)(Dk, {
+ 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)
@@ -45308,11 +45364,11 @@ function Kge(e) {
]
}) : null
]
- }) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(AE, {
shell: "plain",
- icon: AT,
+ icon: jT,
title: "还没有关注来源",
- actions: /* @__PURE__ */ (0, B.jsx)(DE, {
+ actions: /* @__PURE__ */ (0, B.jsx)(OE, {
variant: "primary",
size: "small",
href: "/follow-manage?tab=add",
@@ -45333,10 +45389,10 @@ var qge = {
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, Jge = /* @__PURE__ */ new Set(["select", "actions"]), cL = () => p.invalidateQueries({
- queryKey: JP,
+}, Jge = /* @__PURE__ */ new Set(["select", "actions"]), lL = () => p.invalidateQueries({
+ queryKey: YP,
exact: !0
-}), lL = (e) => e.name || e.url, Yge = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
+}), uL = (e) => e.name || e.url, Yge = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
function Xge(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
@@ -45345,15 +45401,15 @@ function Xge(e) {
}
}
function Zge({ source: e }) {
- return e.last_error ? /* @__PURE__ */ (0, B.jsx)(TE, {
+ return e.last_error ? /* @__PURE__ */ (0, B.jsx)(EE, {
variant: "caption",
color: "rose",
children: "拉取失败"
- }) : e.enabled ? /* @__PURE__ */ (0, B.jsx)(TE, {
+ }) : e.enabled ? /* @__PURE__ */ (0, B.jsx)(EE, {
variant: "caption",
color: "lime",
children: "正常"
- }) : /* @__PURE__ */ (0, B.jsx)(TE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(EE, {
variant: "caption",
color: "neutral",
children: "已暂停"
@@ -45368,8 +45424,8 @@ function Qge({ 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 $ge = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
@@ -45378,21 +45434,21 @@ function e_e(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
});
}
function t_e({ readOnly: e, toast: t }) {
- let n = CS({
- queryKey: JP,
- queryFn: ({ signal: e }) => _F(e)
- }), r = PE(), 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);
+ let n = wS({
+ 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)(() => {
@@ -45401,10 +45457,10 @@ function t_e({ readOnly: e, toast: t }) {
return n.size === e.size ? e : n;
});
}, [a]);
- let p = ES({
+ 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,
@@ -45413,7 +45469,7 @@ function t_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)}`);
}
@@ -45431,26 +45487,26 @@ function t_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) => () => qge[e] || e;
+ let e = mI(), t = (e) => () => qge[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, B.jsx)(WM, {
+ 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) => {
@@ -45502,7 +45558,7 @@ function t_e({ readOnly: e, toast: t }) {
children: e.getValue()
})
}),
- e.accessor((e) => e.last_fetched_at ? _j(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", {
@@ -45524,8 +45580,8 @@ function t_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)
@@ -45534,8 +45590,8 @@ function t_e({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: kT,
- "aria-label": `拉取 ${lL(e.row.original)}`,
+ leadingIcon: AT,
+ "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)
@@ -45544,8 +45600,8 @@ function t_e({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: ST,
- "aria-label": `移除 ${lL(e.row.original)}`,
+ leadingIcon: CT,
+ "aria-label": `移除 ${uL(e.row.original)}`,
disabled: h.current.readOnly,
onClick: () => h.current.remove(e.row.original)
})
@@ -45553,7 +45609,7 @@ function t_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),
@@ -45569,15 +45625,15 @@ function t_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)(Lk, { children: "正在读订阅源。" });
- let y = () => void r.run("check", (e) => bF(e), () => void cL()), b = (e) => s((t) => {
+ }) : /* @__PURE__ */ (0, B.jsx)(Rk, { children: "正在读订阅源。" });
+ 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);
@@ -45586,10 +45642,10 @@ function t_e({ readOnly: e, toast: t }) {
children: [/* @__PURE__ */ (0, B.jsx)(Bge, {
readOnly: e,
toast: t,
- onAdded: () => void cL()
+ onAdded: () => void lL()
}), /* @__PURE__ */ (0, B.jsxs)("section", {
"aria-label": "JAV 订阅列表",
- className: OE({
+ className: kE({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -45617,11 +45673,11 @@ function t_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)(Rk, { children: r.error }) : null]
+ }, e.id)), r.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: r.error }) : null]
}) : null,
- /* @__PURE__ */ (0, B.jsxs)(aS, {
+ /* @__PURE__ */ (0, B.jsxs)(oS, {
visible: x.length > 0,
label: "订阅源批量操作",
count: `已选 ${x.length} 条订阅源`,
@@ -45653,7 +45709,7 @@ function t_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"
})),
@@ -45667,26 +45723,26 @@ function t_e({ readOnly: e, toast: t }) {
})
]
}),
- a.length ? /* @__PURE__ */ (0, B.jsx)(qM, {
+ a.length ? /* @__PURE__ */ (0, B.jsx)(JM, {
onRowClick: (e) => b(Number(e)),
- children: /* @__PURE__ */ (0, B.jsxs)(GM, {
+ children: /* @__PURE__ */ (0, B.jsxs)(KM, {
"aria-label": "JAV 订阅源",
size: "sm",
- children: [/* @__PURE__ */ (0, B.jsx)(tk, { children: v.getHeaderGroups()[0].headers.map((e) => {
- let t = nL(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, B.jsx)(nk, {
+ children: [/* @__PURE__ */ (0, B.jsx)(nk, { children: v.getHeaderGroups()[0].headers.map((e) => {
+ let t = rL(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, B.jsx)(rk, {
id: e.id,
isRowHeader: e.column.id === "name",
children: Jge.has(e.column.id) ? /* @__PURE__ */ (0, B.jsx)(q_, { children: t }) : t
}, e.id);
- }) }), /* @__PURE__ */ (0, B.jsx)(ik, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, B.jsx)(sk, {
+ }) }), /* @__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)(lk, { 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)(kE, {
- icon: AT,
+ }) : /* @__PURE__ */ (0, B.jsx)(AE, {
+ icon: jT,
title: "还没有订阅源",
shell: "plain",
children: "在上面按女优名添加,或在人物页点「订阅新作」。"
@@ -45698,19 +45754,19 @@ function t_e({ readOnly: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: `${f.start + 1}–${f.end} / ${f.total} 个订阅源`
}),
- /* @__PURE__ */ (0, B.jsx)(Ek, {
+ /* @__PURE__ */ (0, B.jsx)(Dk, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(u),
onSelectionChange: (e) => {
e !== null && (d(Number(e)), l(1));
},
- children: XP.map((e) => /* @__PURE__ */ (0, B.jsx)(Dk, {
+ 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,
@@ -45732,29 +45788,29 @@ function t_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 n_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 r_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
@@ -45763,7 +45819,7 @@ function r_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, {
@@ -45773,7 +45829,7 @@ function hL({ icon: e, children: t }) {
});
}
function i_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a }) {
- let o = (0, R.useRef)(null), [s, c] = (0, R.useState)(typeof IntersectionObserver > "u"), [l, u] = (0, R.useState)([]), d = PE(), f = sS(), p = (0, R.useRef)(!1), m = (0, R.useMemo)(() => n_e(e.code || "", e.release_date), [e.code, e.release_date]);
+ let o = (0, R.useRef)(null), [s, c] = (0, R.useState)(typeof IntersectionObserver > "u"), [l, u] = (0, R.useState)([]), d = FE(), f = cS(), p = (0, R.useRef)(!1), m = (0, R.useMemo)(() => n_e(e.code || "", e.release_date), [e.code, e.release_date]);
(0, R.useEffect)(() => {
if (!o.current || s) return;
let e = new IntersectionObserver((t) => {
@@ -45781,7 +45837,7 @@ function i_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
}, { rootMargin: "100px" });
return e.observe(o.current), () => e.disconnect();
}, [s]);
- let h = CS({
+ let h = wS({
queryKey: [
"want-magnets",
e.id,
@@ -45795,9 +45851,9 @@ function i_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
});
@@ -45806,7 +45862,7 @@ function i_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
}, [h.data?.source_url, a]);
let g = n?.providers.find((e) => e.key === r && e.configured), _ = (r) => {
t || !n?.available || !g || r.protocol !== "magnet" || d.run(r.id, async (t) => {
- let n = await G(eA, {
+ let n = await G(tA, {
magnet: r.uri,
provider: g.key,
target: g.target,
@@ -45817,7 +45873,7 @@ function i_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
if (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");
return n;
}, (e) => {
- u((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), f.invalidateQueries({ queryKey: tA });
+ u((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), f.invalidateQueries({ queryKey: nA });
});
}, v = (e) => {
d.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));
@@ -45835,7 +45891,7 @@ function i_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
}), /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: kT,
+ leadingIcon: AT,
...X(y),
onClick: () => {
y || (p.current = !0, h.refetch());
@@ -45843,7 +45899,7 @@ function i_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
children: "重新查询"
})]
}),
- y ? /* @__PURE__ */ (0, B.jsx)(AE, { label: "正在查找资源链接…" }) : null,
+ y ? /* @__PURE__ */ (0, B.jsx)(jE, { label: "正在查找资源链接…" }) : null,
b ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
title: "资源链接未取得",
@@ -45872,18 +45928,18 @@ function i_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
className: "flex min-w-0 flex-1 flex-col gap-1",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, B.jsx)(TE, {
+ children: [/* @__PURE__ */ (0, B.jsx)(EE, {
variant: "caption",
color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",
children: /* @__PURE__ */ (0, B.jsxs)("span", {
className: "inline-flex items-center gap-1",
- children: [e.protocol === "magnet" ? /* @__PURE__ */ (0, B.jsx)(_ae, {
+ children: [e.protocol === "magnet" ? /* @__PURE__ */ (0, B.jsx)(gae, {
"aria-hidden": !0,
className: "size-3.5"
- }) : e.protocol === "ed2k" ? /* @__PURE__ */ (0, B.jsx)(tae, {
+ }) : e.protocol === "ed2k" ? /* @__PURE__ */ (0, B.jsx)(eae, {
"aria-hidden": !0,
className: "size-3.5"
- }) : /* @__PURE__ */ (0, B.jsx)(DT, {
+ }) : /* @__PURE__ */ (0, B.jsx)(OT, {
"aria-hidden": !0,
className: "size-3.5"
}), e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ed2k" : "网页链接"]
@@ -45895,24 +45951,24 @@ function i_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, {
- icon: DT,
+ /* @__PURE__ */ (0, B.jsx)(gL, {
+ icon: OT,
children: e.source
}),
- /* @__PURE__ */ (0, B.jsx)(hL, {
- icon: TT,
+ /* @__PURE__ */ (0, B.jsx)(gL, {
+ icon: ET,
children: e.size || "大小未知"
}),
- e.files ? /* @__PURE__ */ (0, B.jsx)(hL, {
- icon: nae,
+ e.files ? /* @__PURE__ */ (0, B.jsx)(gL, {
+ icon: tae,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, B.jsx)(hL, {
- icon: Zie,
+ /* @__PURE__ */ (0, B.jsx)(gL, {
+ icon: Xie,
children: e.date ? `${e.source === "JavDB 评论" ? "评论" : "收录"} ${e.date}` : "日期未知"
}),
- e.attributes.map((e) => /* @__PURE__ */ (0, B.jsx)(hL, {
- icon: OT,
+ e.attributes.map((e) => /* @__PURE__ */ (0, B.jsx)(gL, {
+ icon: kT,
children: e
}, e))
]
@@ -45920,11 +45976,11 @@ function i_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
}), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex shrink-0 flex-wrap gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(DE, {
+ /* @__PURE__ */ (0, B.jsx)(OE, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: CT,
+ trailingIcon: wT,
href: e.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -45933,7 +45989,7 @@ function i_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
/* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: eae,
+ leadingIcon: $ie,
...X(d.busy === `copy:${e.id}`),
onClick: () => v(e),
children: "复制链接"
@@ -45941,7 +45997,7 @@ function i_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
e.protocol === "magnet" ? /* @__PURE__ */ (0, B.jsx)(J, {
variant: "primary",
size: "small",
- leadingIcon: yT,
+ leadingIcon: bT,
disabled: t || !n?.available || !g || r,
...X(d.busy === e.id),
onClick: () => _(e),
@@ -45954,7 +46010,7 @@ function i_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: e.slice(0, 3)
- }), e.length > 3 ? /* @__PURE__ */ (0, B.jsx)(Uk, {
+ }), e.length > 3 ? /* @__PURE__ */ (0, B.jsx)(Wk, {
summary: `更多资源(${e.length - 3} 条)`,
children: /* @__PURE__ */ (0, B.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
@@ -45967,7 +46023,7 @@ function i_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"], a_e = (e) => [
+var _L = "/api/wants", vL = ["wants"], a_e = (e) => [
"wants",
"follow",
e
@@ -45976,16 +46032,16 @@ var gL = "/api/wants", _L = ["wants"], a_e = (e) => [
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], s_e = (e) => W(gL, e), c_e = (e, t) => W(`${gL}?follow=${encodeURIComponent(e)}`, t), vL = (e, t) => G(gL, {
+], s_e = (e) => W(_L, e), c_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), l_e = (e, t) => G(gL, {
+}, "POST", t), l_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 u_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} 次` : "还没查过";
}
@@ -45995,7 +46051,7 @@ var d_e = {
code: "手动添加",
feed: "Feed 新作",
follow: "关注"
-}, SL = (e) => [
+}, CL = (e) => [
e.release_date,
e.studio,
e.performers,
@@ -46021,7 +46077,7 @@ function p_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
let [l, u] = (0, R.useState)(""), d = e.link || l || (e.code ? `https://javdb.com/search?q=${encodeURIComponent(e.code)}&f=all` : "");
return /* @__PURE__ */ (0, B.jsxs)("li", {
"data-want-id": e.id,
- className: OE({
+ className: kE({
bordered: "soft",
className: "flex flex-col gap-4 max-sm:p-4"
}),
@@ -46034,15 +46090,15 @@ function p_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": "",
@@ -46056,11 +46112,11 @@ function p_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "mt-1 flex flex-wrap items-center gap-2",
children: [
- d ? /* @__PURE__ */ (0, B.jsx)(DE, {
+ d ? /* @__PURE__ */ (0, B.jsx)(OE, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: CT,
+ trailingIcon: wT,
href: d,
target: "_blank",
rel: "noopener noreferrer",
@@ -46069,7 +46125,7 @@ function p_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
e.phase === "searching" || e.phase === "given_up" ? /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: yT,
+ leadingIcon: bT,
disabled: t,
onClick: a,
children: "云下载"
@@ -46085,7 +46141,7 @@ function p_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
/* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: ST,
+ leadingIcon: CT,
disabled: t,
...X(n === `remove:${e.id}`),
onClick: i,
@@ -46106,35 +46162,35 @@ function p_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
});
}
function m_e({ readOnly: e, toast: t, cloudDownload: n }) {
- let [r, i] = (0, R.useState)(""), [a, o] = (0, R.useState)(""), s = PE(), c = CS({
- queryKey: _L,
+ let [r, i] = (0, R.useState)(""), [a, o] = (0, R.useState)(""), s = FE(), c = wS({
+ queryKey: vL,
queryFn: ({ signal: e }) => s_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) => l_e([e.id], t), () => {
- t(`${xL(e)} 回到待找`), bL();
+ t(`${SL(e)} 回到待找`), xL();
});
- }, p = c.data, m = p?.items || [], h = CS({
- queryKey: tA,
- queryFn: ({ signal: e }) => W(`${eA}?limit=100`, e),
+ }, p = c.data, m = p?.items || [], h = wS({
+ queryKey: nA,
+ queryFn: ({ signal: e }) => W(`${tA}?limit=100`, e),
enabled: m.some((e) => e.code && (e.phase === "searching" || e.phase === "given_up"))
}), g = h.data?.providers.filter((e) => e.configured) || [], _ = g.find((e) => e.key === a)?.key || g[0]?.key || "";
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-8",
children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
- className: OE({
+ className: kE({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -46147,7 +46203,7 @@ function m_e({ readOnly: e, toast: t, cloudDownload: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "min-w-64 grow max-sm:min-w-0",
- children: /* @__PURE__ */ (0, B.jsx)(xk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Sk, {
"aria-label": "番号",
placeholder: "输入番号,例如 SSIS-950",
value: r,
@@ -46163,7 +46219,7 @@ function m_e({ readOnly: e, toast: t, cloudDownload: n }) {
children: "添加"
})]
}),
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: "Feed 新作卡和关注详情上点「想要」也会加到这里。文件扫进库后自动挪到「已入库」。" }),
+ /* @__PURE__ */ (0, B.jsx)(Rk, { children: "Feed 新作卡和关注详情上点「想要」也会加到这里。文件扫进库后自动挪到「已入库」。" }),
s.error ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
title: "这一次没有完成",
@@ -46176,7 +46232,7 @@ function m_e({ readOnly: e, toast: t, cloudDownload: n }) {
title: "想要清单读取失败",
children: U(c.error)
}) : null,
- p?.scraping ? /* @__PURE__ */ (0, B.jsx)(Lk, {
+ p?.scraping ? /* @__PURE__ */ (0, B.jsx)(Rk, {
role: "status",
children: "正在给刚加入的番号取资料与封面。"
}) : null,
@@ -46187,16 +46243,16 @@ function m_e({ readOnly: e, toast: t, cloudDownload: n }) {
className: "text-body-medium text-text-primary",
children: "下载到"
}),
- /* @__PURE__ */ (0, B.jsx)(Ek, {
+ /* @__PURE__ */ (0, B.jsx)(Dk, {
"aria-label": "下载到",
selectedKey: _,
onSelectionChange: (e) => o(String(e)),
- children: g.map((e) => /* @__PURE__ */ (0, B.jsx)(Dk, {
+ children: g.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
id: e.key,
children: e.label
}, e.key))
}),
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: g.find((e) => e.key === _)?.target || "使用已配置的目标目录" })
+ /* @__PURE__ */ (0, B.jsx)(Rk, { children: g.find((e) => e.key === _)?.target || "使用已配置的目标目录" })
]
}) : null,
h.error ? /* @__PURE__ */ (0, B.jsx)(Y, {
@@ -46212,9 +46268,9 @@ function m_e({ readOnly: e, toast: t, cloudDownload: n }) {
tone: "neutral",
children: "云下载只在账本写入端可用。"
}) : null,
- p && !m.length ? /* @__PURE__ */ (0, B.jsx)(kE, {
+ p && !m.length ? /* @__PURE__ */ (0, B.jsx)(AE, {
shell: "plain",
- icon: fae,
+ icon: dae,
title: "还没有想要的作品",
children: "在上面输入番号,或在 Feed 新作卡、关注详情上点「想要」。"
}) : null,
@@ -46255,16 +46311,16 @@ function m_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: OE({
+ className: kE({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -46281,15 +46337,15 @@ function TL({ term: e, figure: t, unit: n }) {
});
}
function h_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)(Eme(e.layout) ? e.layout : "default"), [y, b] = (0, R.useState)(Dme(e.pageSize)), [x, S] = (0, R.useState)(/* @__PURE__ */ new Set()), C = CS({
- queryKey: KP,
- queryFn: ({ signal: e }) => dF(e)
- }), w = CS({
+ 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)(Eme(e.layout) ? e.layout : "default"), [y, b] = (0, R.useState)(Dme(e.pageSize)), [x, S] = (0, R.useState)(/* @__PURE__ */ new Set()), C = wS({
queryKey: qP,
queryFn: ({ signal: e }) => fF(e)
- }), T = CS({
+ }), 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: []
@@ -46306,10 +46362,10 @@ function h_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;
- return /* @__PURE__ */ (0, B.jsxs)(jE, { children: [
+ }, 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",
title: "本机只能浏览",
@@ -46324,61 +46380,61 @@ function h_e(e) {
children: s
}) : null,
/* @__PURE__ */ (0, B.jsxs)("div", {
- className: fde,
+ 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: "条"
})
]
}),
- /* @__PURE__ */ (0, B.jsxs)(pk, {
+ /* @__PURE__ */ (0, B.jsxs)(mk, {
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: [
- /* @__PURE__ */ (0, B.jsx)(mk, {
+ /* @__PURE__ */ (0, B.jsx)(hk, {
"aria-label": "关注管理区域",
"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)(hk, {
+ children: wL.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(gk, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: e === "source" && N ? `${t}(${N})` : t
}, e))
}),
- /* @__PURE__ */ (0, B.jsx)(gk, {
+ /* @__PURE__ */ (0, B.jsx)(_k, {
id: "list",
className: "flex flex-col gap-4",
children: /* @__PURE__ */ (0, B.jsx)(Kge, {
@@ -46411,7 +46467,7 @@ function h_e(e) {
}
})
}),
- /* @__PURE__ */ (0, B.jsxs)(gk, {
+ /* @__PURE__ */ (0, B.jsxs)(_k, {
id: "add",
className: "flex flex-col gap-8",
children: [/* @__PURE__ */ (0, B.jsx)(Hhe, {
@@ -46430,7 +46486,7 @@ function h_e(e) {
sources: E.sources
})]
}),
- /* @__PURE__ */ (0, B.jsx)(gk, {
+ /* @__PURE__ */ (0, B.jsx)(_k, {
id: "feeds",
className: "flex flex-col gap-4",
children: /* @__PURE__ */ (0, B.jsx)(t_e, {
@@ -46438,7 +46494,7 @@ function h_e(e) {
toast: r
})
}),
- /* @__PURE__ */ (0, B.jsx)(gk, {
+ /* @__PURE__ */ (0, B.jsx)(_k, {
id: "wants",
className: "flex flex-col gap-4",
children: /* @__PURE__ */ (0, B.jsx)(m_e, {
@@ -46447,7 +46503,7 @@ function h_e(e) {
cloudDownload: a
})
}),
- /* @__PURE__ */ (0, B.jsx)(gk, {
+ /* @__PURE__ */ (0, B.jsx)(_k, {
id: "source",
className: "flex flex-col gap-4",
children: /* @__PURE__ */ (0, B.jsx)(ege, {
@@ -46462,7 +46518,7 @@ function h_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",
@@ -46470,7 +46526,7 @@ function EL({ value: e }) {
});
}
var g_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;
@@ -46498,7 +46554,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",
@@ -46521,7 +46577,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"
@@ -46532,12 +46588,12 @@ function __e({ tag: e, actions: t }) {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": MN(t.online, e.cat),
+ "data-tag-cat": NN(t.online, e.cat),
"aria-pressed": n,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [
- /* @__PURE__ */ (0, B.jsx)(OL, {}),
+ /* @__PURE__ */ (0, B.jsx)(kL, {}),
/* @__PURE__ */ (0, B.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -46555,14 +46611,14 @@ function v_e({ groups: e, actions: t }) {
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, B.jsxs)("section", {
"data-alpha-group": r,
- className: OE({
+ className: kE({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
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)(__e, {
@@ -46582,7 +46638,7 @@ function b_e({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": MN(t.online, e.cat),
+ "data-tag-cat": NN(t.online, e.cat),
"aria-pressed": t.picked.has(e.k),
onClick: () => t.press(e.k),
className: "inline-flex cursor-pointer items-center rounded-lg border px-3 py-1.25 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
@@ -46604,15 +46660,15 @@ var x_e = [[
"text-aa"
]];
function S_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" : MN(n, e),
+ "data-tag-cat": e === "all" ? "all" : NN(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", {
@@ -46631,19 +46687,19 @@ function S_e({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, B.jsx)(RO, {
+ /* @__PURE__ */ (0, B.jsx)(zO, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${yA}`,
+ className: `ml-auto ${bA}`,
children: x_e.map(([e, t, n]) => {
- let r = SA(n);
- return /* @__PURE__ */ (0, B.jsx)(zO, {
+ 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",
@@ -46656,12 +46712,12 @@ function S_e({ categories: e, category: t, online: n, readout: r, letters: i, vi
});
}
function C_e({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, B.jsxs)(aS, {
+ return /* @__PURE__ */ (0, B.jsxs)(oS, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e} 个标签`,
children: [
- /* @__PURE__ */ (0, B.jsx)(WM, {
+ /* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, B.jsxs)("span", {
@@ -46701,7 +46757,7 @@ var w_e = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], kL = [{
+}], AL = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -46738,19 +46794,19 @@ var w_e = [{
]]
};
function D_e({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, B.jsx)(gA, {
- "aria-label": `${bN[e]}索引版式`,
+ return /* @__PURE__ */ (0, B.jsx)(_A, {
+ "aria-label": `${xN[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${_A}`,
- children: E_e[EN(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = SA(n);
- return /* @__PURE__ */ (0, B.jsx)(zO, {
+ className: `flex-none max-board-narrow:order-3 ${vA}`,
+ children: E_e[DN(e) ? "company" : "people"].map(([e, t, 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",
@@ -46760,7 +46816,7 @@ function D_e({ kind: e, layout: t, onChange: n }) {
})
});
}
-var O_e = SA("search");
+var O_e = CA("search");
function k_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), []);
@@ -46776,13 +46832,13 @@ function k_e({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, B.jsx)(vk, {
+ children: /* @__PURE__ */ (0, B.jsx)(yk, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, B.jsx)(bk, {
+ children: /* @__PURE__ */ (0, B.jsx)(xk, {
type: "search",
leadingIcon: O_e,
spellCheck: !1,
@@ -46795,13 +46851,13 @@ function k_e({ label: e, value: t, onQuery: n }) {
});
}
function A_e(e) {
- let [t, n] = (0, R.useState)(() => DN({
+ let [t, n] = (0, R.useState)(() => ON({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, i] = (0, R.useState)(e.layout), [a, o] = (0, R.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, R.useState)("any"), l = (0, R.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = bN[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";
+ })), [r, i] = (0, R.useState)(e.layout), [a, o] = (0, R.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, R.useState)("any"), l = (0, R.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = xN[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";
(0, R.useEffect)(() => {
e.selectMode || o(/* @__PURE__ */ new Set());
}, [e.selectMode]);
@@ -46811,7 +46867,7 @@ function A_e(e) {
...r
};
y(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, x = jN(ON(t)), S = DS({
+ }, x = MN(kN(t)), S = OS({
queryKey: x.queryKey,
queryFn: ({ pageParam: e, signal: t }) => x.queryFn({
pageParam: e,
@@ -46819,22 +46875,22 @@ function A_e(e) {
}),
initialPageParam: 0,
getNextPageParam: x.getNextPageParam,
- placeholderData: v ? OS.keepPreviousData : void 0
- }), C = Rfe(S.data), w = !!S.hasNextPage && !S.isPlaceholderData, T = zfe(C.length, !!S.hasNextPage);
+ placeholderData: v ? kS.keepPreviousData : void 0
+ }), C = Lfe(S.data), w = !!S.hasNextPage && !S.isPlaceholderData, T = Rfe(C.length, !!S.hasNextPage);
(0, R.useLayoutEffect)(() => {
l.current && se(l.current);
}, [r]);
let E = (0, R.useMemo)(() => u === "tags" ? C.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [C, u]), D = (0, R.useMemo)(() => u === "tags" && p === "alphabet" ? Hfe(E, (t) => e.tagLabel(t)) : [], [
+ })) : [], [C, u]), D = (0, R.useMemo)(() => u === "tags" && p === "alphabet" ? Vfe(E, (t) => e.tagLabel(t)) : [], [
E,
p,
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) => {
@@ -46844,8 +46900,8 @@ function A_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) => {
@@ -46854,7 +46910,7 @@ function A_e(e) {
category: "all"
});
}
- }) : EN(u) ? /* @__PURE__ */ (0, B.jsx)(DL, {
+ }) : DN(u) ? /* @__PURE__ */ (0, B.jsx)(OL, {
tabs: w_e,
value: u,
label: "公司类型",
@@ -46872,7 +46928,7 @@ function A_e(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
});
- }, j = (g ? SN : xN).filter(([e]) => e === "all" || Number(S.data?.pages[0]?.categories?.[e] || 0) > 0);
+ }, j = (g ? CN : SN).filter(([e]) => e === "all" || Number(S.data?.pages[0]?.categories?.[e] || 0) > 0);
return /* @__PURE__ */ (0, B.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -46887,12 +46943,12 @@ function A_e(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: h
}),
- TN(u) ? /* @__PURE__ */ (0, B.jsx)("span", {
+ EN(u) ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: S.isPending ? "" : T
}) : null,
- TN(u) ? /* @__PURE__ */ (0, B.jsx)(D_e, {
+ EN(u) ? /* @__PURE__ */ (0, B.jsx)(D_e, {
kind: u,
layout: r,
onChange: O
@@ -46910,7 +46966,7 @@ function A_e(e) {
})
]
}),
- u === "performers" || u === "creators" ? /* @__PURE__ */ (0, B.jsx)(DL, {
+ u === "performers" || u === "creators" ? /* @__PURE__ */ (0, B.jsx)(OL, {
tabs: T_e,
value: u,
label: "人物名册",
@@ -46924,7 +46980,7 @@ function A_e(e) {
(u === "creators" || u === "performers") && f === "local" ? /* @__PURE__ */ (0, B.jsx)("div", {
"aria-label": "身份分类",
className: "mb-4 flex flex-wrap gap-2",
- children: CN[u].filter(([e]) => e === "all" || e === m || Number(S.data?.pages[0]?.categories?.[e] || 0) > 0).map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(J, {
+ children: wN[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,
@@ -46957,8 +47013,8 @@ function A_e(e) {
mode: p
}) }
});
- if (S.isError) return /* @__PURE__ */ (0, B.jsx)(kE, {
- icon: SA("search"),
+ if (S.isError) return /* @__PURE__ */ (0, B.jsx)(AE, {
+ icon: CA("search"),
title: `没能读取${h}`,
actions: /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
@@ -46973,12 +47029,12 @@ function A_e(e) {
online: g || _,
configurable: e.configurable
});
- if (_) return /* @__PURE__ */ (0, B.jsx)(Wfe, {
+ if (_) return /* @__PURE__ */ (0, B.jsx)(Ufe, {
items: C,
layout: r,
props: e
});
- if (TN(u)) return /* @__PURE__ */ (0, B.jsx)(FN, {
+ if (EN(u)) return /* @__PURE__ */ (0, B.jsx)(IN, {
kind: u,
items: C,
layout: r,
@@ -47007,7 +47063,7 @@ function A_e(e) {
disabled: S.isFetchingNextPage,
"aria-busy": S.isFetchingNextPage || void 0,
onClick: () => void S.fetchNextPage(),
- children: S.isFetchingNextPage ? /* @__PURE__ */ (0, B.jsx)(AE, {
+ children: S.isFetchingNextPage ? /* @__PURE__ */ (0, B.jsx)(jE, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
@@ -47034,23 +47090,23 @@ var j_e = {
agencies: "事务所"
};
function M_e({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, B.jsx)(kE, {
- icon: SA("search"),
+ if (t) return /* @__PURE__ */ (0, B.jsx)(AE, {
+ icon: CA("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, B.jsx)(DE, {
+ actions: /* @__PURE__ */ (0, B.jsx)(OE, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : j_e[e], a = /* @__PURE__ */ (0, B.jsx)(DE, {
+ let i = n && e === "performers" ? "创作者" : j_e[e], a = /* @__PURE__ */ (0, B.jsx)(OE, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, B.jsx)(kE, {
- icon: SA(e === "tags" ? "tags" : "user-round"),
+ return /* @__PURE__ */ (0, B.jsx)(AE, {
+ 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",
@@ -47060,14 +47116,14 @@ function M_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"]
-}, N_e = (e) => AL[e.junk_kind || "other"] || AL.other;
+}, N_e = (e) => jL[e.junk_kind || "other"] || jL.other;
function P_e(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
@@ -47079,7 +47135,7 @@ function P_e(e) {
glyph: "check"
};
}
-var jL = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), F_e = (e, t) => [
+var ML = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), F_e = (e, t) => [
"junk-queue",
e.view,
e.kind,
@@ -47101,19 +47157,19 @@ async function L_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 R_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] = N_e(e), m = String(e.name || ""), h = P_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;
}
@@ -47155,7 +47211,7 @@ function R_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",
@@ -47167,7 +47223,7 @@ function R_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" })
})
]
}),
@@ -47204,7 +47260,7 @@ function R_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: "打开位置"
})]
@@ -47216,7 +47272,7 @@ function R_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
})]
@@ -47228,7 +47284,7 @@ function R_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: "移入回收站"
})]
@@ -47243,7 +47299,7 @@ function R_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var z_e = (0, R.memo)(R_e), PL = [
+var z_e = (0, R.memo)(R_e), FL = [
[
"",
"全部",
@@ -47280,7 +47336,7 @@ var z_e = (0, R.memo)(R_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();
@@ -47291,41 +47347,41 @@ function B_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 V_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 H_e({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = MM(), 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 = B_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 = B_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: V_e(s),
figure: d,
pending: !t && !n,
@@ -47346,17 +47402,17 @@ function H_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")),
@@ -47370,9 +47426,9 @@ function H_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)
})
@@ -47385,12 +47441,12 @@ function H_e({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var U_e = SA("check"), W_e = (e, t) => e[1] === t.view && e[2] === t.kind;
+var U_e = CA("check"), W_e = (e, t) => e[1] === t.view && e[2] === t.kind;
function G_e(e) {
let t = {
kind: e.kind,
view: e.view
- }, n = CS({
+ }, n = wS({
queryKey: F_e(t, e.revision),
queryFn: ({ signal: e }) => L_e(t, e),
placeholderData: (e, n) => n && W_e(n.queryKey, t) ? e : void 0
@@ -47430,7 +47486,7 @@ function K_e(e) {
}, [e]), t;
}
function q_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", {
@@ -47438,13 +47494,13 @@ function q_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
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, B.jsx)(kE, {
+ return /* @__PURE__ */ (0, B.jsx)(AE, {
icon: U_e,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
@@ -47484,10 +47540,10 @@ function J_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", Y_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", Y_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 X_e({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
@@ -47518,9 +47574,9 @@ function X_e({ value: e, max: t }) {
});
}
function Z_e(e) {
- let { job: t } = LM(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" ? cae : $ie;
+ 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: Y_e[s],
@@ -47536,42 +47592,42 @@ function Z_e(e) {
className: "min-w-0 text-body-2-regular",
children: u
})]
- }), /* @__PURE__ */ (0, B.jsx)(Mk, {
+ }), /* @__PURE__ */ (0, B.jsx)(Nk, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: mT,
+ trailingIcon: hT,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
//#region src/react/playlists/playlists.ts
-var Q_e = "/api/playlists", zL = "/api/playlist", BL = ["playlists"], VL = (e) => W(Q_e, e);
+var Q_e = "/api/playlists", BL = "/api/playlist", VL = ["playlists"], HL = (e) => W(Q_e, e);
async function $_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
-}), eve = (e) => e.current_asset_id || e.preview_asset_id || null, UL = (e) => `/poster?id=${e}&c=4`, tve = (e) => G(zL, {
+}), eve = (e) => e.current_asset_id || e.preview_asset_id || null, WL = (e) => `/poster?id=${e}&c=4`, tve = (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
-}), nve = (e) => W(`${zL}?id=${e}`).catch(() => null);
+}), nve = (e) => W(`${BL}?id=${e}`).catch(() => null);
function rve(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,
@@ -47581,18 +47637,18 @@ function rve(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var ive = SA("ellipsis"), ave = SA("pencil"), ove = SA("trash"), sve = SA("playlist"), KL = SE(Ck, wk, "text-body-2-medium"), qL = "播放列表名称不能为空", JL = (e) => async () => {
+var ive = CA("ellipsis"), ave = CA("pencil"), ove = CA("trash"), sve = CA("playlist"), qL = CE(wk, Tk, "text-body-2-medium"), JL = "播放列表名称不能为空", YL = (e) => async () => {
try {
await e();
} finally {
- HL();
+ UL();
}
};
function cve({ toast: e }) {
- let [t, n] = (0, R.useState)(""), [r, i] = (0, R.useState)(""), a = ES({
+ let [t, n] = (0, R.useState)(""), [r, i] = (0, R.useState)(""), a = DS({
mutationFn: (e) => tve(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) || "新建失败")
});
@@ -47602,7 +47658,7 @@ function cve({ toast: e }) {
onSubmit: (e) => {
if (e.preventDefault(), !a.isPending) {
if (!t.trim()) {
- i(qL);
+ i(JL);
return;
}
a.mutate(t);
@@ -47611,7 +47667,7 @@ function cve({ toast: e }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none",
- children: /* @__PURE__ */ (0, B.jsx)(xk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Sk, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -47640,14 +47696,14 @@ function lve({ target: e, close: t, toast: n }) {
});
return () => cancelAnimationFrame(t);
}, [e]);
- let c = ES({
- mutationFn: ({ row: e, value: t }) => WL(e.id, t),
+ let c = DS({
+ 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))
});
- return /* @__PURE__ */ (0, B.jsx)(tP, {
+ return /* @__PURE__ */ (0, B.jsx)(nP, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -47659,7 +47715,7 @@ function lve({ 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({
@@ -47670,11 +47726,11 @@ function lve({ target: e, close: t, toast: n }) {
className: "flex min-h-0 flex-col",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-4 p-5",
- children: [/* @__PURE__ */ (0, B.jsx)(tD, {
+ children: [/* @__PURE__ */ (0, B.jsx)(nD, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, B.jsx)(xk, {
+ }), /* @__PURE__ */ (0, B.jsx)(Sk, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -47720,19 +47776,19 @@ function uve({ name: e, onRename: t, onDelete: n }) {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, B.jsx)(bO, {
+ }), /* @__PURE__ */ (0, B.jsx)(xO, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: Sk,
- children: /* @__PURE__ */ (0, B.jsxs)(EM, {
+ className: Ck,
+ 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)(ave, {
"aria-hidden": !0,
@@ -47740,7 +47796,7 @@ function uve({ 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)(ove, {
"aria-hidden": !0,
@@ -47751,12 +47807,12 @@ function uve({ name: e, onRename: t, onDelete: n }) {
})] });
}
function dve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
- let a = CS({
- queryKey: BL,
- queryFn: ({ signal: e }) => VL(e)
+ let a = wS({
+ 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", {
@@ -47775,7 +47831,7 @@ function dve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
danger: !0,
onConfirm: async () => {
let t = await nve(e.id);
- await GL(e.id), HL(), r("已删除播放列表", t ? { undo: JL(() => rve(t)) } : void 0);
+ await KL(e.id), UL(), r("已删除播放列表", t ? { undo: YL(() => rve(t)) } : void 0);
}
});
};
@@ -47797,13 +47853,13 @@ function dve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
className: "card-grid-cover gap-4.5",
children: u.map((r) => {
let i = eve(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,
@@ -47816,7 +47872,7 @@ function dve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
})
}, r.id);
})
- }) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(AE, {
icon: sve,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
@@ -47835,7 +47891,7 @@ function fve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
let o = () => t(e.id);
return /* @__PURE__ */ (0, B.jsxs)("li", {
"data-goal-id": e.id,
- className: OE({
+ className: kE({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -47851,7 +47907,7 @@ function fve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, B.jsx)("img", {
- src: rue(e),
+ src: nue(e),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -47910,17 +47966,17 @@ function fve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
});
}
function pve(e) {
- let t = CS({
- queryKey: fj,
- queryFn: ({ signal: e }) => pj(e)
+ let t = wS({
+ queryKey: pj,
+ queryFn: ({ signal: e }) => mj(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, B.jsx)(jE, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
+ 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.items || [];
- return r.length ? /* @__PURE__ */ (0, B.jsxs)(jE, { 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
@@ -47930,9 +47986,9 @@ function pve(e) {
item: t,
...e
}, t.id))
- })] }) : /* @__PURE__ */ (0, B.jsx)(jE, { children: /* @__PURE__ */ (0, B.jsx)(kE, {
+ })] }) : /* @__PURE__ */ (0, B.jsx)(ME, { children: /* @__PURE__ */ (0, B.jsx)(AE, {
shell: "plain",
- icon: vae,
+ icon: _ae,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
@@ -47940,7 +47996,7 @@ function pve(e) {
//#endregion
//#region src/react/review/bulk-toolbar.tsx
function mve(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 = mue(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": "复核筛选",
@@ -47948,29 +48004,29 @@ function mve(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, B.jsx)(Ek, {
+ /* @__PURE__ */ (0, B.jsx)(Dk, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Dk, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Ok, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, B.jsxs)(Ek, {
+ i.length > 1 ? /* @__PURE__ */ (0, B.jsxs)(Dk, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, B.jsx)(Dk, {
+ children: [/* @__PURE__ */ (0, B.jsx)(Ok, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, B.jsx)(Dk, {
+ }), i.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -47978,7 +48034,7 @@ function mve(e) {
/* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: _T,
+ leadingIcon: vT,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -47989,12 +48045,12 @@ function mve(e) {
children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
})
]
- }), /* @__PURE__ */ (0, B.jsxs)(aS, {
+ }), /* @__PURE__ */ (0, B.jsxs)(oS, {
label: "复核所选项目",
visible: c.size > 0,
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, B.jsxs)(Ek, {
+ b ? /* @__PURE__ */ (0, B.jsxs)(Dk, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -48002,10 +48058,10 @@ function mve(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, B.jsx)(Dk, {
+ children: [/* @__PURE__ */ (0, B.jsx)(Ok, {
id: "",
children: x
- }), y.map((e) => /* @__PURE__ */ (0, B.jsx)(Dk, {
+ }), y.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
id: e,
children: e
}, e))]
@@ -48051,14 +48107,14 @@ var hve = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, YL = "reviewgenretags";
+}, XL = "reviewgenretags";
function gve({ 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",
@@ -48114,17 +48170,17 @@ function _ve({ 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] })
- }) : /* @__PURE__ */ (0, B.jsx)(RO, {
+ children: /* @__PURE__ */ (0, B.jsx)(ZL, { candidate: a[0] })
+ }) : /* @__PURE__ */ (0, B.jsx)(zO, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, B.jsx)(zO, {
+ 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
})
@@ -48132,14 +48188,14 @@ function _ve({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
}) : null;
}
function vve({ genre: e, tags: t, locked: n, toast: r }) {
- let [i, a] = (0, R.useState)(""), [o, s] = (0, R.useState)(""), c = ES({
- mutationFn: (t) => Sue(e, t),
+ let [i, a] = (0, R.useState)(""), [o, s] = (0, R.useState)(""), c = DS({
+ mutationFn: (t) => xue(e, t),
onSuccess: async (t, n) => {
if (!t.ok) {
s(t.error || "服务端拒绝了这次收录");
return;
}
- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Cue();
+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Sue();
},
onError: (e) => s(U(e))
}), l = () => {
@@ -48158,16 +48214,16 @@ function vve({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, B.jsx)(vk, {
+ /* @__PURE__ */ (0, B.jsx)(yk, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, B.jsx)(bk, {
+ 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) => {
@@ -48200,7 +48256,7 @@ function vve({ genre: e, tags: t, locked: n, toast: r }) {
});
}
function yve({ row: e, tags: t, locked: n, toast: r }) {
- let i = yue(e);
+ let i = vue(e);
return i.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -48218,8 +48274,8 @@ function yve({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var ZL = (e = "") => /^https?:\/\//i.test(e) ? e : "", bve = (e = "") => ZL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function QL({ url: e }) {
+var QL = (e = "") => /^https?:\/\//i.test(e) ? e : "", bve = (e = "") => QL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function $L({ url: e }) {
let t = bve(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",
@@ -48235,7 +48291,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",
@@ -48261,7 +48317,7 @@ function $L({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: dae,
+ leadingIcon: uae,
onClick: () => t(e.id),
children: "打开原视频"
})]
@@ -48275,7 +48331,7 @@ function xve({ 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",
@@ -48292,7 +48348,7 @@ function xve({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
});
}
function Sve({ 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: [
@@ -48302,10 +48358,10 @@ function Sve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [o ? /* @__PURE__ */ (0, B.jsx)(DE, {
+ children: [o ? /* @__PURE__ */ (0, B.jsx)(OE, {
variant: "secondary",
size: "small",
- trailingIcon: CT,
+ trailingIcon: wT,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -48317,7 +48373,7 @@ function Sve({ 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: "通过后记录身份判断。"
@@ -48416,7 +48472,7 @@ function Cve({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, B.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, B.jsx)(UM, {
+ children: /* @__PURE__ */ (0, B.jsx)(WM, {
size: "sm",
state: {
isSelected: n,
@@ -48436,15 +48492,15 @@ function Cve({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var wve = OE({
+var wve = 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", Tve = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+}), tR = "flex min-h-6 min-w-0 items-center", Tve = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
function Eve(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 = MM(), h = MM(), g = t === "metadata_fields", _ = uue[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = gue(t, n), x = wj(t, n), S = Cj(t, n), C = _ue(n), w = vue(n), T = Sj(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))
@@ -48459,7 +48515,7 @@ function Eve(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,
@@ -48483,9 +48539,9 @@ function Eve(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(AE, {
shell: "inset",
- icon: oae,
+ icon: aae,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
}) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, B.jsx)(Sve, {
@@ -48495,9 +48551,9 @@ function Eve(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`,
- children: [/* @__PURE__ */ (0, B.jsx)(TE, {
+ }) : /* @__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",
children: x
@@ -48507,7 +48563,7 @@ function Eve(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",
@@ -48523,14 +48579,14 @@ function Eve(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)(WM, {
+ children: /* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: a,
"aria-label": `选择 ${b}`,
onChange: (e) => o(p.current, e)
@@ -48540,7 +48596,7 @@ function Eve(e) {
className: "min-w-0 flex-1",
children: M
}),
- O ? /* @__PURE__ */ (0, B.jsx)(TE, {
+ O ? /* @__PURE__ */ (0, B.jsx)(EE, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -48564,7 +48620,7 @@ function Eve(e) {
!y && A ? A : null,
w.length || t === "creator_tags" ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex flex-wrap gap-1",
- children: w.length ? w.map((e) => /* @__PURE__ */ (0, B.jsx)(TE, {
+ children: w.length ? w.map((e) => /* @__PURE__ */ (0, B.jsx)(EE, {
variant: "caption",
color: "soft",
children: e
@@ -48651,7 +48707,7 @@ function Ove({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, B.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: mj(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: "…"
@@ -48680,42 +48736,42 @@ function kve(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)(bj(e.category) ? e.category : lue), [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 = CS({
- queryKey: vj,
- queryFn: ({ signal: e }) => Ej(e)
+ let N = wS({
+ queryKey: yj,
+ queryFn: ({ signal: e }) => Dj(e)
}).data || {
sections: {},
counts: {}
- }, ee = N.sections[d] || [], te = d === "metadata_fields", P = c, F = due(ee, te), ne = F.some(([e]) => e === p) ? p : "candidates", re = xj(ee, ne), ie = re.some((e) => e.key === h) ? h : "", ae = pue(fue(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) || bue(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 = ES({
- mutationFn: ({ row: e, status: t }) => Dj(Tj(d, e, t, le(e))),
+ }, pe = DS({
+ 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;
}
- kj(d, [t.item_key]), de([t.item_key]), s(xue(n));
+ Aj(d, [t.item_key]), de([t.item_key]), s(bue(n));
},
onError: (e, { row: t }) => fe(t.item_key, U(e))
- }), me = ES({
+ }), me = DS({
mutationFn: async (e) => {
let t = ue, n = [], r = [];
for (let [i, a] of t.entries()) {
if (!M.current) break;
E(`正在处理 ${i} / ${t.length}`);
try {
- let t = await Dj(Tj(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) {
@@ -48729,7 +48785,7 @@ function kve(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- kj(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));
@@ -48759,7 +48815,7 @@ function kve(e) {
k(e), j("");
let t = await o(e);
M.current && (k(0), j(t));
- }, ve = wue(N.mirror, l), ye = N.genre_tags || [], be = {
+ }, ve = Cue(N.mirror, l), ye = N.genre_tags || [], be = {
openItem: i,
openEntity: a,
onReveal: _e,
@@ -48767,7 +48823,7 @@ function kve(e) {
revealNote: A,
toast: s
};
- return /* @__PURE__ */ (0, B.jsx)(jE, { children: /* @__PURE__ */ (0, B.jsxs)("div", {
+ return /* @__PURE__ */ (0, B.jsx)(ME, { children: /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
P ? /* @__PURE__ */ (0, B.jsx)(Y, {
@@ -48784,12 +48840,12 @@ function kve(e) {
children: ve
}) : null,
/* @__PURE__ */ (0, B.jsx)(gve, { tags: ye }),
- /* @__PURE__ */ (0, B.jsxs)(pk, {
+ /* @__PURE__ */ (0, B.jsxs)(mk, {
orientation: t ? "horizontal" : "vertical",
selectedKey: d,
onSelectionChange: (e) => {
let t = String(e);
- bj(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", {
@@ -48798,23 +48854,23 @@ function kve(e) {
children: [/* @__PURE__ */ (0, B.jsx)("h2", {
id: "reviewcategories",
children: "复核分类"
- }), /* @__PURE__ */ (0, B.jsx)(mk, {
+ }), /* @__PURE__ */ (0, B.jsx)(hk, {
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
- children: cue.map((e) => {
+ children: sue.map((e) => {
let t = Number(N.counts[e] || 0);
- return /* @__PURE__ */ (0, B.jsxs)(hk, {
+ return /* @__PURE__ */ (0, B.jsxs)(gk, {
id: e,
className: Dve,
- children: [yj[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]
}, e);
})
})]
- }), /* @__PURE__ */ (0, B.jsxs)(gk, {
+ }), /* @__PURE__ */ (0, B.jsxs)(_k, {
id: d,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
@@ -48834,7 +48890,7 @@ function kve(e) {
onSelected: b,
selectedRows: ue,
metadata: te,
- approvable: ue.every((e) => Sj(d, e)),
+ approvable: ue.every((e) => Cj(d, e)),
busy: me.isPending,
feedback: T,
onUnifySource: ge,
@@ -48867,7 +48923,7 @@ function kve(e) {
selected: y.has(e.item_key),
onSelect: (t, n) => b((r) => {
let i = new Set(r);
- return D.current = hue(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,
@@ -48882,8 +48938,8 @@ function kve(e) {
handlers: be
}, e.item_key))
})]
- }, e.key)) : /* @__PURE__ */ (0, B.jsx)(kE, {
- icon: Qie,
+ }, e.key)) : /* @__PURE__ */ (0, B.jsx)(AE, {
+ icon: Zie,
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
@@ -48900,13 +48956,9 @@ function kve(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var Ave = "/api/scraping", jve = "/api/scraping/settings", Mve = "/api/scraping/check", tR = "/api/scraping/cover", Nve = "/api/scraping/amane-bridge", Pve = "/api/scraping/amane-bridge/check", Fve = "/api/scraping/amane-bridge/rebuild", nR = ["scraping"], rR = ["scraping", "cover"], iR = ["scraping", "amane-bridge"], aR = (e) => W(Ave, e), oR = (e) => W(tR, e), sR = (e) => W(Nve, e);
+var Ave = "/api/scraping", jve = "/api/scraping/settings", Mve = "/api/scraping/check", nR = "/api/scraping/cover", Nve = "/api/scraping/amane-bridge", Pve = "/api/scraping/amane-bridge/check", Fve = "/api/scraping/amane-bridge/rebuild", rR = ["scraping"], iR = ["scraping", "cover"], aR = ["scraping", "amane-bridge"], oR = (e) => W(Ave, e), sR = (e) => W(nR, e), cR = (e) => W(Nve, e);
async function Ive(e) {
await Promise.all([
- p.fetchQuery({
- queryKey: nR,
- queryFn: () => aR(e)
- }),
p.fetchQuery({
queryKey: rR,
queryFn: () => oR(e)
@@ -48914,6 +48966,10 @@ async function Ive(e) {
p.fetchQuery({
queryKey: iR,
queryFn: () => sR(e)
+ }),
+ p.fetchQuery({
+ queryKey: aR,
+ queryFn: () => cR(e)
})
]);
}
@@ -48922,8 +48978,8 @@ function Lve(e, t) {
}
//#endregion
//#region src/react/scraping/scraping-page.tsx
-var Rve = [["peach", "Peach 代理"], ["direct", "直接连接"]], cR = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function lR({ source: e }) {
+var Rve = [["peach", "Peach 代理"], ["direct", "直接连接"]], lR = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function uR({ source: e }) {
let t = [
"javten",
"fc2ppvdb",
@@ -48942,14 +48998,14 @@ function lR({ source: e }) {
});
}
function zve() {
- return /* @__PURE__ */ (0, B.jsx)(lR, { source: "github" });
+ return /* @__PURE__ */ (0, B.jsx)(uR, { source: "github" });
}
function Bve({ 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 = "");
}
- let _ = ES({
+ let _ = DS({
mutationFn: (t) => G(jve, {
source: e.source,
network: n,
@@ -48958,12 +49014,12 @@ function Bve({ 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 已撤销" : "来源设置已保存");
}
- }), v = ES({ mutationFn: () => G(Mve, { source: e.source }) }), y = _.isPending || v.isPending, b = (e) => {
+ }), v = DS({ mutationFn: () => G(Mve, { source: e.source }) }), y = _.isPending || v.isPending, b = (e) => {
e.preventDefault(), !y && (v.reset(), _.mutate(!1));
}, x = () => {
y || (v.reset(), _.mutate(!0));
@@ -48988,43 +49044,43 @@ function Bve({ source: e, toast: t }) {
}
}
let w = f || (_.error ? U(_.error) : "") || (v.error ? U(v.error) : ""), T = v.data?.results ?? [], E = n === "peach" || e.accepts_cookie || e.browser || !!w || T.length > 0;
- return /* @__PURE__ */ (0, B.jsxs)(Nk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Pk, {
title: e.label,
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)(Bk, {
+ children: [/* @__PURE__ */ (0, B.jsx)(uR, { source: e.source }), /* @__PURE__ */ (0, B.jsx)(Vk, {
href: e.login,
children: e.login
})]
}),
children: [
- /* @__PURE__ */ (0, B.jsxs)(Pk, { children: [/* @__PURE__ */ (0, B.jsx)(Ak, {
+ /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [/* @__PURE__ */ (0, B.jsx)(jk, {
label: "来源性质",
children: e.nature || "公开页面"
- }), /* @__PURE__ */ (0, B.jsx)(Ak, {
+ }), /* @__PURE__ */ (0, B.jsx)(jk, {
label: "连接方式",
- children: /* @__PURE__ */ (0, B.jsx)(Ek, {
+ children: /* @__PURE__ */ (0, B.jsx)(Dk, {
"aria-label": "连接方式",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: Rve.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Dk, {
+ children: Rve.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Ok, {
id: e,
children: t
}, e))
})
})] }),
- E ? /* @__PURE__ */ (0, B.jsxs)(Fk, {
+ E ? /* @__PURE__ */ (0, B.jsxs)(Ik, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, B.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, B.jsx)(Mk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Nk, {
href: "/configuration#peachProxy",
size: "small",
- trailingIcon: mT,
+ trailingIcon: hT,
children: "配置 Peach 代理"
})
}) : null,
@@ -49037,20 +49093,20 @@ function Bve({ 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)(zO, {
+ className: vA,
+ children: lR.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(BO, {
value: e,
- className: vA,
+ className: yA,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, B.jsx)(xk, {
+ c === "paste" ? /* @__PURE__ */ (0, B.jsx)(Sk, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -49059,7 +49115,7 @@ function Bve({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(zk, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, B.jsx)(Bk, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, B.jsx)(J, {
@@ -49085,14 +49141,14 @@ function Bve({ source: e, toast: t }) {
]
})
] }) : null,
- w ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: w }) : null,
+ w ? /* @__PURE__ */ (0, B.jsx)(zk, { children: w }) : null,
T.map((t) => /* @__PURE__ */ (0, B.jsx)(Y, {
tone: t.ok ? "success" : "error",
children: Lve(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
+ /* @__PURE__ */ (0, B.jsxs)(Lk, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
onClick: x,
@@ -49115,25 +49171,25 @@ function Bve({ source: e, toast: t }) {
});
}
function Vve({ toast: e }) {
- let [t, n] = (0, R.useState)(""), { running: r, outcome: i, start: a } = BM({
- 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 || "封面采集完成");
}
}), o = (e) => {
e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();
}, s = a.error ? U(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";
- return /* @__PURE__ */ (0, B.jsx)(Nk, {
+ return /* @__PURE__ */ (0, B.jsx)(Pk, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
+ children: /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, B.jsx)(xk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Sk, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -49148,7 +49204,7 @@ function Vve({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, B.jsx)(AE, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, B.jsx)(jE, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
children: s
@@ -49161,9 +49217,9 @@ function Vve({ toast: e }) {
});
}
function Hve({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = BM({
- 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(Fve, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
@@ -49173,45 +49229,45 @@ function Hve({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = ES({ mutationFn: () => G(Pve, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, B.jsx)(Nk, {
+ }), a = DS({ mutationFn: () => G(Pve, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, B.jsx)(Pk, {
title: "amane",
- children: /* @__PURE__ */ (0, B.jsx)(Fk, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
+ children: /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
children: U(t.error)
}) })
}) : null;
let s = n || i.isPending || a.isPending, c = i.error ? U(i.error) : a.error ? U(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";
- return /* @__PURE__ */ (0, B.jsxs)(Nk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Pk, {
title: "amane",
- aside: /* @__PURE__ */ (0, B.jsx)(Bk, {
+ aside: /* @__PURE__ */ (0, B.jsx)(Vk, {
href: o.repository,
leadingIcon: zve,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, B.jsxs)(Vk, { children: [
- /* @__PURE__ */ (0, B.jsx)(Hk, {
+ /* @__PURE__ */ (0, B.jsxs)(Hk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "已安装版本",
children: o.installed_version || "未安装"
}),
- /* @__PURE__ */ (0, B.jsx)(Hk, {
+ /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, B.jsx)(Hk, {
+ /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, B.jsx)(Hk, {
+ /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "内置站点",
children: o.sites.map((e) => e.label).join("、")
})
] }),
- /* @__PURE__ */ (0, B.jsxs)(Fk, {
+ /* @__PURE__ */ (0, B.jsxs)(Ik, {
divided: !0,
children: [
- /* @__PURE__ */ (0, B.jsxs)(Lk, { children: [
+ /* @__PURE__ */ (0, B.jsxs)(Rk, { children: [
"已安装版本:",
o.installed_version || "未安装",
"。amane(",
@@ -49220,7 +49276,7 @@ function Hve({ toast: e }) {
o.version,
" 版本,不随上游自动升级。"
] }),
- n ? /* @__PURE__ */ (0, B.jsx)(AE, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, B.jsx)(jE, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
children: c
@@ -49231,7 +49287,7 @@ function Hve({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [/* @__PURE__ */ (0, B.jsx)(J, {
+ /* @__PURE__ */ (0, B.jsxs)(Lk, { children: [/* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -49249,11 +49305,11 @@ function Hve({ toast: e }) {
});
}
function Uve({ toast: e }) {
- let t = CS({
- queryKey: nR,
- queryFn: ({ signal: e }) => aR(e)
+ let t = wS({
+ queryKey: rR,
+ queryFn: ({ signal: e }) => oR(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, B.jsxs)(jE, { children: [
+ return n ? /* @__PURE__ */ (0, B.jsxs)(ME, { children: [
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
@@ -49264,7 +49320,7 @@ function Uve({ toast: e }) {
toast: e
}, t.source)),
/* @__PURE__ */ (0, B.jsx)(Hve, { toast: e })
- ] }) : /* @__PURE__ */ (0, B.jsx)(jE, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
+ ] }) : /* @__PURE__ */ (0, B.jsx)(ME, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
title: "采集来源读取失败",
children: t.error ? U(t.error) : "读取采集来源失败"
@@ -49272,13 +49328,13 @@ function Uve({ 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 Wve({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
let s = 0, c = [], l = (e) => {
let t = {
@@ -49286,7 +49342,7 @@ function Wve({ 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: "搜索记录",
@@ -49324,7 +49380,7 @@ function Wve({ 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,
@@ -49339,7 +49395,7 @@ function Gve(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
@@ -49358,7 +49414,7 @@ var Kve = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), pR = (e) => Wve({
+}), mR = (e) => Wve({
query: e.query,
history: e.history,
picks: e.picks,
@@ -49366,7 +49422,7 @@ var Kve = () => ({
groups: e.groups,
tabs: e.tabs,
kind: e.kind
-}), qve = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length), mR = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
+}), qve = (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}` })
@@ -49390,7 +49446,7 @@ function Jve(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)(Zve, {
+ let c = mR(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, B.jsx)(Zve, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -49445,7 +49501,7 @@ function Yve(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 = [];
@@ -49480,7 +49536,7 @@ function Yve(e, t, n, r) {
}, m = () => {
t.query = i().value.trim(), t.picks = t.query ? [] : Gve(t.pool, o()), t.active = -1;
let a = n();
- a && (qve(pR(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (qve(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();
@@ -49492,7 +49548,7 @@ function Yve(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) => {
@@ -49505,7 +49561,7 @@ function Yve(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;
}
@@ -49557,7 +49613,7 @@ function Yve(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
};
@@ -49574,7 +49630,7 @@ function Xve({ 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,
@@ -49584,7 +49640,7 @@ function Xve({ 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 Zve({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
let o = {
"data-search-value": e.value,
@@ -49597,28 +49653,28 @@ function Zve({ 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", {
@@ -49644,7 +49700,7 @@ function Zve({ 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
}),
@@ -49664,11 +49720,11 @@ function Zve({ 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
})
@@ -49682,7 +49738,7 @@ function Zve({ 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,
@@ -49695,13 +49751,13 @@ function Zve({ 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,
@@ -49716,11 +49772,11 @@ function _R({ item: e, kind: t }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var vR = "/api/configuration", Qve = "/api/pick-folder", yR = ["configuration"], bR = (e) => W(vR, e);
-async function xR(e) {
+var yR = "/api/configuration", Qve = "/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
@@ -49729,11 +49785,11 @@ var $ve = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名
//#endregion
//#region src/react/settings/entry-links-settings.tsx
function tye({ initial: e, receipt: t }) {
- let [n, r] = (0, R.useState)(e.sites), i = PE(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+ let [n, r] = (0, R.useState)(e.sites), i = FE(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, B.jsxs)(Nk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Pk, {
title: "外部入口",
onSubmit: (e) => {
e.preventDefault();
@@ -49742,9 +49798,9 @@ function tye({ initial: e, receipt: t }) {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: $ve }),
- n.map((e) => /* @__PURE__ */ (0, B.jsx)(xk, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Rk, { children: $ve }),
+ n.map((e) => /* @__PURE__ */ (0, B.jsx)(Sk, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -49755,8 +49811,8 @@ function tye({ initial: e, receipt: t }) {
validationBehavior: "aria",
hint: eye
}, e.key)),
- i.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)(J, {
+ i.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, B.jsx)(Lk, { children: /* @__PURE__ */ (0, B.jsx)(J, {
type: "submit",
...X(i.busy === "save"),
children: "保存配置"
@@ -49778,8 +49834,8 @@ function nye({ data: e, receipt: t }) {
});
}
function rye({ startup: e, receipt: t }) {
- let [n, r] = (0, R.useState)(e.enabled), [i, a] = (0, R.useState)(e.silent), [o, s] = (0, R.useState)(e.desktop), c = PE(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, B.jsxs)(Nk, {
+ let [n, r] = (0, R.useState)(e.enabled), [i, a] = (0, R.useState)(e.silent), [o, s] = (0, R.useState)(e.desktop), c = FE(), l = e.available && !e.desktop_message;
+ return /* @__PURE__ */ (0, B.jsxs)(Pk, {
title: "开机自启",
onSubmit: (r) => {
r.preventDefault(), e.available && c.run("save", (e) => G("/api/configuration/startup", {
@@ -49789,30 +49845,30 @@ function rye({ startup: e, receipt: t }) {
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, B.jsxs)(Pk, { children: [
- /* @__PURE__ */ (0, B.jsx)(Ak, {
+ /* @__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,
onChange: r
})
}),
- /* @__PURE__ */ (0, B.jsx)(Ak, {
+ /* @__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,
onChange: a
})
}),
- /* @__PURE__ */ (0, B.jsx)(Ak, {
+ /* @__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,
@@ -49820,11 +49876,11 @@ function rye({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, B.jsxs)(Fk, {
+ e.message || c.error ? /* @__PURE__ */ (0, B.jsxs)(Ik, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, B.jsx)(Lk, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)(J, {
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: /* @__PURE__ */ (0, B.jsx)(J, {
type: "submit",
disabled: !e.available,
...X(c.busy === "save"),
@@ -49835,7 +49891,7 @@ function rye({ 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",
@@ -49846,12 +49902,12 @@ var SR = /* @__PURE__ */ new Set([
65,
67,
90
-], CR = 120;
+], wR = 120;
function aye({ 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 = PE(), 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;
}), []);
@@ -49868,7 +49924,7 @@ function aye({ 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;
@@ -49881,9 +49937,9 @@ function aye({ 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);
@@ -49897,57 +49953,57 @@ function aye({ initial: e, initialJob: t }) {
state: "error"
}), c.setError(U(t));
}), g = c.error || o, _ = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;
- return /* @__PURE__ */ (0, B.jsxs)(Nk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Pk, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, B.jsxs)(Vk, { children: [
- /* @__PURE__ */ (0, B.jsx)(Hk, {
+ /* @__PURE__ */ (0, B.jsxs)(Hk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, B.jsx)(Hk, {
+ /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, B.jsx)(Hk, {
+ /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, B.jsx)(Hk, {
+ /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- /* @__PURE__ */ (0, B.jsxs)(Fk, {
+ /* @__PURE__ */ (0, B.jsxs)(Ik, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, B.jsxs)(Lk, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, B.jsxs)(Rk, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
n.state === "available" && !g ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "info",
title: "有可用更新",
children: n.message
- }) : g || n.state === "error" ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: g || n.message }) : /* @__PURE__ */ (0, B.jsx)(Lk, {
+ }) : g || n.state === "error" ? /* @__PURE__ */ (0, B.jsx)(zk, { children: g || n.message }) : /* @__PURE__ */ (0, B.jsx)(Rk, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: i.message }) : null,
+ i.state === "error" ? /* @__PURE__ */ (0, B.jsx)(zk, { children: i.message }) : null,
i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, B.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(NE, {
+ /* @__PURE__ */ (0, B.jsx)(PE, {
label: "更新准备进度",
value: i.progress,
stops: iye
}),
- /* @__PURE__ */ (0, B.jsxs)(Lk, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: _ })
+ /* @__PURE__ */ (0, B.jsxs)(Rk, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
+ /* @__PURE__ */ (0, B.jsx)(Rk, { children: _ })
]
}) : null
]
}),
- /* @__PURE__ */ (0, B.jsxs)(Ik, {
- status: /* @__PURE__ */ (0, B.jsx)(Bk, {
+ /* @__PURE__ */ (0, B.jsxs)(Lk, {
+ status: /* @__PURE__ */ (0, B.jsx)(Vk, {
href: n.release_url,
children: "查看发布页"
}),
@@ -49992,9 +50048,9 @@ function sye({ data: e, receipt: t, reopenTutorial: n }) {
initialJob: e.update_job
}) : null,
/* @__PURE__ */ (0, B.jsx)(uye, { facts: e.facts }),
- /* @__PURE__ */ (0, B.jsx)(Nk, {
+ /* @__PURE__ */ (0, B.jsx)(Pk, {
title: "系统诊断",
- children: /* @__PURE__ */ (0, B.jsx)(Fk, { children: /* @__PURE__ */ (0, B.jsx)("div", { children: /* @__PURE__ */ (0, B.jsx)(Mk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)("div", { children: /* @__PURE__ */ (0, B.jsx)(Nk, {
href: "/diagnostics",
children: "打开系统诊断"
}) }) })
@@ -50011,10 +50067,10 @@ function sye({ data: e, receipt: t, reopenTutorial: n }) {
});
}
function cye({ receipt: e, reopenTutorial: t }) {
- let n = PE();
- return /* @__PURE__ */ (0, B.jsxs)(Nk, {
+ let n = FE();
+ return /* @__PURE__ */ (0, B.jsxs)(Pk, {
title: "安装教程",
- children: [/* @__PURE__ */ (0, B.jsxs)(Fk, { children: [/* @__PURE__ */ (0, B.jsx)(Lk, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: n.error }) : null] }), /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)(J, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(Ik, { children: [/* @__PURE__ */ (0, B.jsx)(Rk, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: n.error }) : null] }), /* @__PURE__ */ (0, B.jsx)(Lk, { children: /* @__PURE__ */ (0, B.jsx)(J, {
onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),
...X(n.busy === "reopen"),
children: "重新打开教程"
@@ -50022,57 +50078,57 @@ function cye({ receipt: e, reopenTutorial: t }) {
});
}
function lye({ initial: e, receipt: t }) {
- let [n, r] = (0, R.useState)(e.mode), [i, a] = (0, R.useState)(e.interval_hours), o = PE(e.error), s = (r) => {
+ let [n, r] = (0, R.useState)(e.mode), [i, a] = (0, R.useState)(e.interval_hours), o = FE(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => G("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
}, "POST", e), () => t("已保存配置"));
}, c = e.available ? e.download_available ? "开启后一分钟内开始检查。下载完成后,在此确认重启安装。" : "开启后一分钟内开始检查。源码运行时在发布页获取新版本。" : "自动更新需要由托盘管理的服务。";
- return /* @__PURE__ */ (0, B.jsxs)(Nk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Pk, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, B.jsxs)(Pk, { children: [
- /* @__PURE__ */ (0, B.jsx)(Ak, {
+ /* @__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,
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, B.jsx)(Ak, {
+ /* @__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",
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, B.jsx)(Ak, {
+ /* @__PURE__ */ (0, B.jsx)(jk, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, B.jsx)(Ek, {
+ children: /* @__PURE__ */ (0, B.jsx)(Dk, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: oye.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Dk, {
+ children: oye.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Ok, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, B.jsx)(Fk, {
+ o.error ? /* @__PURE__ */ (0, B.jsx)(Ik, {
divided: !0,
- children: /* @__PURE__ */ (0, B.jsx)(Rk, { children: o.error })
+ children: /* @__PURE__ */ (0, B.jsx)(zk, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)(J, {
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: /* @__PURE__ */ (0, B.jsx)(J, {
type: "submit",
disabled: !e.available,
...X(o.busy === "save"),
@@ -50082,11 +50138,11 @@ function lye({ initial: e, receipt: t }) {
});
}
function uye({ facts: e }) {
- return /* @__PURE__ */ (0, B.jsx)(Nk, {
+ return /* @__PURE__ */ (0, B.jsx)(Pk, {
title: "运行信息",
- children: /* @__PURE__ */ (0, B.jsx)(Vk, { children: e.map((e) => /* @__PURE__ */ (0, B.jsxs)(Hk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Hk, { children: e.map((e) => /* @__PURE__ */ (0, B.jsxs)(Uk, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, B.jsx)(Bk, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, B.jsx)(Vk, {
href: e.download_url,
children: e.download_label
}) : null]
@@ -50107,26 +50163,26 @@ function dye({ uninstall: e, receipt: t }) {
a(e.message);
}
}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, B.jsxs)(Nk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Pk, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
- e.available ? /* @__PURE__ */ (0, B.jsx)(Lk, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, B.jsx)(WM, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
+ e.available ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: n,
isDisabled: !e.full_available || !!i,
onChange: r,
children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"
}),
- /* @__PURE__ */ (0, B.jsx)(Uk, {
+ /* @__PURE__ */ (0, B.jsx)(Wk, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, B.jsx)(FM, {
+ children: c.map((e) => /* @__PURE__ */ (0, B.jsx)(IM, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, B.jsx)(Ik, {
+ ] }), /* @__PURE__ */ (0, B.jsx)(Lk, {
status: s ? /* @__PURE__ */ (0, B.jsx)("p", {
role: i ? "status" : void 0,
children: s
@@ -50169,13 +50225,13 @@ var fye = 8e3, pye = [
function hye() {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "@container flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, B.jsxs)(Lk, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, B.jsx)(Bk, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(Rk, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, B.jsx)(Vk, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
- })] }), /* @__PURE__ */ (0, B.jsxs)(Uk, {
+ })] }), /* @__PURE__ */ (0, B.jsxs)(Wk, {
summary: "CloudDrive 缓存建议",
children: [
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
+ /* @__PURE__ */ (0, B.jsx)(Rk, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
/* @__PURE__ */ (0, B.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
@@ -50207,9 +50263,9 @@ function hye() {
/* @__PURE__ */ (0, B.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, B.jsxs)(Lk, { children: [
+ /* @__PURE__ */ (0, B.jsxs)(Rk, { children: [
"三处缓存的分工、往上调的方法和这些起步值的来源在",
- /* @__PURE__ */ (0, B.jsx)(Bk, {
+ /* @__PURE__ */ (0, B.jsx)(Vk, {
href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "CloudDrive 配置与调优"
}),
@@ -50221,7 +50277,7 @@ function hye() {
}
//#endregion
//#region src/react/settings/download-settings.tsx
-var gye = "/api/configuration/downloads", wR = "/api/configuration/downloads/check", _ye = "/api/configuration/downloads/folder", vye = "/api/configuration/downloads/pikpak/login", yye = "/api/configuration/downloads/pikpak/logout", TR = "/api/configuration/downloads/pikpak/browser-login", ER = 2e3;
+var gye = "/api/configuration/downloads", TR = "/api/configuration/downloads/check", _ye = "/api/configuration/downloads/folder", vye = "/api/configuration/downloads/pikpak/login", yye = "/api/configuration/downloads/pikpak/logout", ER = "/api/configuration/downloads/pikpak/browser-login", DR = 2e3;
function bye({ 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)(xye, {
@@ -50238,7 +50294,7 @@ function bye({ initial: e, receipt: t }) {
})] });
}
function xye({ 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 = PE(), 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,
@@ -50267,8 +50323,8 @@ function xye({ 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)));
- }, []), /* @__PURE__ */ (0, B.jsxs)(Nk, {
+ b.run("auto", (e) => W(TR, e), (e) => w(e, t), (e) => _(U(e)));
+ }, []), /* @__PURE__ */ (0, B.jsxs)(Pk, {
title: "云下载",
onSubmit: (e) => {
if (e.preventDefault(), C) {
@@ -50287,13 +50343,13 @@ function xye({ 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: [
- /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: "把磁力交给 115 或 PikPak 离线下载,文件落在已挂载的网盘目录,再由推送发现登记入库,不经过这台电脑。 115 每个任务扣一条离线配额(年费会员每月 1500 条、月费 200 条),被判违规的资源不重试。" }),
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Rk, { children: "把磁力交给 115 或 PikPak 离线下载,文件落在已挂载的网盘目录,再由推送发现登记入库,不经过这台电脑。 115 每个任务扣一条离线配额(年费会员每月 1500 条、月费 200 条),被判违规的资源不重试。" }),
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
label: "CloudDrive2 地址",
placeholder: "留空自动探测本机 19798 / 29798",
autoComplete: "off",
@@ -50305,7 +50361,7 @@ function xye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
clouddrive_address: e
})
}),
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
label: "CloudDrive2 API 令牌",
type: "password",
autoComplete: "off",
@@ -50316,7 +50372,7 @@ function xye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: s
}),
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
label: "115 目标目录",
placeholder: "留空时按推送发现自动填写",
autoComplete: "off",
@@ -50328,7 +50384,7 @@ function xye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: (e) => S("115", e)
}),
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
label: "PikPak 目标目录",
placeholder: "以 / 开头的网盘路径",
autoComplete: "off",
@@ -50340,7 +50396,7 @@ function xye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, B.jsx)(zk, { children: "PikPak 根目录对应的媒体文件夹" }), e.pikpak_roots.length ? /* @__PURE__ */ (0, B.jsx)(Ek, {
+ children: [/* @__PURE__ */ (0, B.jsx)(Bk, { children: "PikPak 根目录对应的媒体文件夹" }), e.pikpak_roots.length ? /* @__PURE__ */ (0, B.jsx)(Dk, {
"aria-label": "PikPak 根目录对应的媒体文件夹",
selectedKey: i.pikpak_root || null,
isDisabled: !e.available,
@@ -50349,13 +50405,13 @@ function xye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
...i,
pikpak_root: e === null ? "" : String(e)
}),
- children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, B.jsx)(Dk, {
+ children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
id: e,
children: e
}, e))
- }) : /* @__PURE__ */ (0, B.jsx)(Lk, { children: "媒体文件夹里还没有「CloudDrive · PikPak」来源。在上方添加 PikPak 的挂载目录后,这里才能选。" })]
+ }) : /* @__PURE__ */ (0, B.jsx)(Rk, { children: "媒体文件夹里还没有「CloudDrive · PikPak」来源。在上方添加 PikPak 的挂载目录后,这里才能选。" })]
}),
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
label: "等待上限(小时)",
type: "number",
inputMode: "numeric",
@@ -50366,9 +50422,9 @@ function xye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
onChange: l
})
] }),
- b.busy === "auto" ? /* @__PURE__ */ (0, B.jsx)(Fk, {
+ b.busy === "auto" ? /* @__PURE__ */ (0, B.jsx)(Ik, {
divided: !0,
- children: /* @__PURE__ */ (0, B.jsx)(AE, { label: "正在检查 CloudDrive2" })
+ children: /* @__PURE__ */ (0, B.jsx)(jE, { label: "正在检查 CloudDrive2" })
}) : null,
u ? /* @__PURE__ */ (0, B.jsx)(Sye, {
report: u,
@@ -50394,11 +50450,11 @@ function xye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
} : void 0,
creating: b.busy === "folder"
}) : null,
- g || b.error ? /* @__PURE__ */ (0, B.jsx)(Fk, {
+ g || b.error ? /* @__PURE__ */ (0, B.jsx)(Ik, {
divided: !0,
- children: /* @__PURE__ */ (0, B.jsx)(Rk, { children: g || b.error })
+ children: /* @__PURE__ */ (0, B.jsx)(zk, { children: g || b.error })
}) : null,
- /* @__PURE__ */ (0, B.jsxs)(Ik, {
+ /* @__PURE__ */ (0, B.jsxs)(Lk, {
status: e.available ? void 0 : "云下载只在账本写入端可用。",
children: [/* @__PURE__ */ (0, B.jsx)(J, {
onClick: () => {
@@ -50413,7 +50469,7 @@ function xye({ 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"),
@@ -50428,25 +50484,25 @@ function xye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
]
});
}
-var DR = {
+var OR = {
target: null,
root: "",
saved: !1
};
function Sye({ report: e, detected: t, suggested: n, create: r, creating: i }) {
let a = n.target;
- return /* @__PURE__ */ (0, B.jsxs)(Fk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Ik, {
divided: !0,
- children: [/* @__PURE__ */ (0, B.jsxs)(Vk, { children: [
- t ? /* @__PURE__ */ (0, B.jsx)(Hk, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(Hk, { children: [
+ t ? /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "CloudDrive2 地址",
children: `探测到 ${t},保存配置后生效`
}) : null,
- a?.exists ? /* @__PURE__ */ (0, B.jsx)(Hk, {
+ a?.exists ? /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "115 目标目录",
children: n.saved ? `已按推送发现填入 ${a.path}` : `按推送发现填入 ${a.path},保存配置后生效`
}) : null,
- a && !a.exists ? /* @__PURE__ */ (0, B.jsxs)(Hk, {
+ a && !a.exists ? /* @__PURE__ */ (0, B.jsxs)(Uk, {
term: "115 目标目录",
children: [`${a.path} 不存在`, r ? /* @__PURE__ */ (0, B.jsx)(J, {
size: "small",
@@ -50455,49 +50511,49 @@ function Sye({ report: e, detected: t, suggested: n, create: r, creating: i }) {
children: "新建这个目录"
}) : null]
}) : null,
- n.root ? /* @__PURE__ */ (0, B.jsx)(Hk, {
+ n.root ? /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "PikPak 根目录",
children: `按推送发现填入 ${n.root},保存配置后生效`
}) : null,
- e.permissions.length ? /* @__PURE__ */ (0, B.jsx)(Hk, {
+ e.permissions.length ? /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "离线权限",
children: e.missing.length ? `缺少:${e.missing.join("、")}` : "齐全"
}) : null,
- e.folder ? /* @__PURE__ */ (0, B.jsx)(Hk, {
+ e.folder ? /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "目标目录",
children: e.folder.can_offline ? `${e.folder.path} 可以离线下载` : `${e.folder.path} 不支持离线下载`
}) : null,
- e.quota ? /* @__PURE__ */ (0, B.jsx)(Hk, {
+ e.quota ? /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "115 离线配额",
children: `本月还剩 ${e.quota.left} 条,共 ${e.quota.total} 条`
}) : null
- ] }), e.problems.map((e) => /* @__PURE__ */ (0, B.jsx)(Rk, { children: e }, e))]
+ ] }), e.problems.map((e) => /* @__PURE__ */ (0, B.jsx)(zk, { children: e }, e))]
});
}
function Cye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
- let [a, o] = (0, R.useState)(""), [s, c] = (0, R.useState)(!1), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), [p, m] = (0, R.useState)(""), h = PE(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
+ let [a, o] = (0, R.useState)(""), [s, c] = (0, R.useState)(!1), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), [p, m] = (0, R.useState)(""), h = FE(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
(0, R.useEffect)(() => {
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) => {
@@ -50519,7 +50575,7 @@ function Cye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
t(e), f(""), n("已登出 PikPak");
}, (e) => f(U(e)));
}, C = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
label: "账号",
placeholder: "邮箱或手机号",
autoComplete: "username",
@@ -50528,7 +50584,7 @@ function Cye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: i
}),
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
label: "密码",
type: "password",
autoComplete: "current-password",
@@ -50537,7 +50593,7 @@ function Cye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: o
}),
- /* @__PURE__ */ (0, B.jsx)(WM, {
+ /* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: s,
isDisabled: !e.available,
onChange: c,
@@ -50548,7 +50604,7 @@ function Cye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
title: "需要人机验证",
extra: /* @__PURE__ */ (0, B.jsx)("div", {
className: "pt-2",
- children: /* @__PURE__ */ (0, B.jsx)(Bk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Vk, {
href: l,
children: "打开 PikPak 验证页"
})
@@ -50561,32 +50617,32 @@ function Cye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
...X(h.busy === "login"),
children: "登录"
}), T = _.state === "timeout" || _.state === "failed";
- return /* @__PURE__ */ (0, B.jsxs)(Nk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Pk, {
title: "PikPak 账号",
onSubmit: x,
children: [
- g.logged_in ? /* @__PURE__ */ (0, B.jsxs)(Vk, { children: [/* @__PURE__ */ (0, B.jsx)(Hk, {
+ g.logged_in ? /* @__PURE__ */ (0, B.jsxs)(Hk, { children: [/* @__PURE__ */ (0, B.jsx)(Uk, {
term: "账号",
children: g.username || "已登录"
- }), g.method === "browser" ? /* @__PURE__ */ (0, B.jsx)(Hk, {
+ }), g.method === "browser" ? /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "登录方式",
children: "浏览器登录,由 Peach 续期"
- }) : /* @__PURE__ */ (0, B.jsx)(Hk, {
+ }) : /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "密码",
children: g.remember ? "已保存,登录过期时自动重新登录" : "未保存,登录过期后需要回到这里重新登录"
- })] }) : _.available ? /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: "「用浏览器登录」会打开一个 Peach 专用的浏览器窗口,在里面登录 PikPak。Peach 读到登录状态后关掉窗口,之后由 Peach 续期;续期失败时回到这里重新登录。" }),
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: "PikPak 没有开放接口,Peach 照 PikPak 网页端的协议直连,接口变了就会报错,那时可以先复制磁力手动添加。" }),
- p ? T ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: p }) : /* @__PURE__ */ (0, B.jsx)(Lk, {
+ })] }) : _.available ? /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Rk, { children: "「用浏览器登录」会打开一个 Peach 专用的浏览器窗口,在里面登录 PikPak。Peach 读到登录状态后关掉窗口,之后由 Peach 续期;续期失败时回到这里重新登录。" }),
+ /* @__PURE__ */ (0, B.jsx)(Rk, { children: "PikPak 没有开放接口,Peach 照 PikPak 网页端的协议直连,接口变了就会报错,那时可以先复制磁力手动添加。" }),
+ p ? T ? /* @__PURE__ */ (0, B.jsx)(zk, { children: p }) : /* @__PURE__ */ (0, B.jsx)(Rk, {
role: "status",
children: p
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Uk, {
+ /* @__PURE__ */ (0, B.jsx)(Wk, {
summary: "用账号密码登录",
children: /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: "账号密码只用来换登录令牌,令牌存在这台电脑上。" }),
+ /* @__PURE__ */ (0, B.jsx)(Rk, { children: "账号密码只用来换登录令牌,令牌存在这台电脑上。" }),
C,
/* @__PURE__ */ (0, B.jsx)("div", {
className: "flex justify-end",
@@ -50595,13 +50651,13 @@ function Cye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
]
})
})
- ] }) : /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [/* @__PURE__ */ (0, B.jsx)(Lk, { children: "PikPak 没有开放接口,Peach 照 PikPak 网页端的协议直连,接口变了就会报错,那时可以先复制磁力手动添加。账号密码只用来换登录令牌,令牌存在这台电脑上。" }), C] }),
- d || h.error ? /* @__PURE__ */ (0, B.jsx)(Fk, {
+ ] }) : /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [/* @__PURE__ */ (0, B.jsx)(Rk, { children: "PikPak 没有开放接口,Peach 照 PikPak 网页端的协议直连,接口变了就会报错,那时可以先复制磁力手动添加。账号密码只用来换登录令牌,令牌存在这台电脑上。" }), C] }),
+ d || h.error ? /* @__PURE__ */ (0, B.jsx)(Ik, {
divided: !0,
- children: /* @__PURE__ */ (0, B.jsx)(Rk, { children: d || h.error })
+ children: /* @__PURE__ */ (0, B.jsx)(zk, { children: d || h.error })
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Ik, {
- status: !g.logged_in && v ? /* @__PURE__ */ (0, B.jsx)(AE, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
+ /* @__PURE__ */ (0, B.jsx)(Lk, {
+ status: !g.logged_in && v ? /* @__PURE__ */ (0, B.jsx)(jE, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
children: g.logged_in ? /* @__PURE__ */ (0, B.jsx)(J, {
onClick: S,
disabled: !e.available,
@@ -50638,11 +50694,11 @@ function wye({ 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", Tye = (e) => e === "115" || e === "pikpak";
+], AR = (e) => Oe[e] || "database", Tye = (e) => e === "115" || e === "pikpak";
function Eye({ 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)(() => {
@@ -50693,7 +50749,7 @@ function Dye({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
className: "min-w-0 flex-1",
"aria-label": e,
placeholder: "本机文件夹路径",
@@ -50704,14 +50760,14 @@ function Dye({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
isInvalid: !!r,
hint: r || void 0
}),
- /* @__PURE__ */ (0, B.jsx)(PM, {
+ /* @__PURE__ */ (0, B.jsx)(FM, {
icon: wye,
"aria-label": "选择文件夹",
onClick: o,
...X(a)
}),
- s ? /* @__PURE__ */ (0, B.jsx)(PM, {
- icon: vT,
+ s ? /* @__PURE__ */ (0, B.jsx)(FM, {
+ icon: yT,
"aria-label": "移除这个文件夹",
onClick: s
}) : null
@@ -50722,25 +50778,25 @@ function Dye({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
})]
});
}
-function Oye({ index: e, value: t, onChange: n, options: r = OR }) {
+function Oye({ 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)(zk, { children: "媒体来源" }), /* @__PURE__ */ (0, B.jsx)(Ek, {
+ children: [/* @__PURE__ */ (0, B.jsx)(Bk, { children: "媒体来源" }), /* @__PURE__ */ (0, B.jsx)(Dk, {
"aria-label": `媒体来源 ${e + 1}`,
selectedKey: t,
onSelectionChange: (e) => {
e !== null && n(String(e));
},
- children: r.map(([e, t]) => /* @__PURE__ */ (0, B.jsxs)(Dk, {
+ children: r.map(([e, t]) => /* @__PURE__ */ (0, B.jsxs)(Ok, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, B.jsx)(Wk, { mark: kR(e) }), t]
+ children: [/* @__PURE__ */ (0, B.jsx)(Gk, { mark: AR(e) }), t]
}, e))
})]
});
}
function kye({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
- return /* @__PURE__ */ (0, B.jsx)(xk, {
+ return /* @__PURE__ */ (0, B.jsx)(Sk, {
label: n,
placeholder: r,
value: e,
@@ -50749,42 +50805,42 @@ function kye({ 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 Aye({ receipt: e }) {
- let t = CS({
+ let t = wS({
queryKey: ["indexers"],
- queryFn: ({ signal: e }) => W(AR, e)
+ queryFn: ({ signal: e }) => W(jR, e)
});
- return t.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: U(t.error) }) : t.data ? /* @__PURE__ */ (0, B.jsx)(jye, {
+ return t.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: U(t.error) }) : t.data ? /* @__PURE__ */ (0, B.jsx)(jye, {
initial: t.data,
receipt: e
}) : null;
}
function jye({ initial: e, receipt: t }) {
- let [n, r] = (0, R.useState)(e.indexers), i = PE(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+ let [n, r] = (0, R.useState)(e.indexers), i = FE(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
...t
} : n));
- return /* @__PURE__ */ (0, B.jsxs)(Nk, {
+ 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("已保存索引器");
});
},
- children: [/* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: "用户自配索引器。填写 Prowlarr 或 Jackett 提供的 Torznab API 地址,在活动页「云下载」中按番号搜索。" }),
+ children: [/* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Rk, { children: "用户自配索引器。填写 Prowlarr 或 Jackett 提供的 Torznab API 地址,在活动页「云下载」中按番号搜索。" }),
n.map((e, t) => /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4",
children: [
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
label: `索引器 ${t + 1} 名称`,
value: e.name,
maxLength: 80,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { name: t })
}),
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
label: `索引器 ${t + 1} API 地址`,
value: e.url,
type: "url",
@@ -50793,7 +50849,7 @@ function jye({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { url: t })
}),
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
label: `索引器 ${t + 1} API key`,
type: "password",
autoComplete: "new-password",
@@ -50802,13 +50858,13 @@ function jye({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { api_key: t })
}),
- /* @__PURE__ */ (0, B.jsx)(WM, {
+ /* @__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)(WM, {
+ 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 }),
@@ -50822,8 +50878,8 @@ function jye({ initial: e, receipt: t }) {
}) })
]
}, e.key)),
- i.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, B.jsxs)(Ik, {
+ i.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, B.jsxs)(Lk, {
status: "保存后生效;关闭或移除索引器会停止向它查询。",
children: [/* @__PURE__ */ (0, B.jsx)(J, {
type: "button",
@@ -50846,7 +50902,7 @@ function jye({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var jR = [
+var MR = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -50894,7 +50950,7 @@ function Mye(e) {
let t = e === "local" ? "" : Oe[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var MR = "auto";
+var NR = "auto";
function Nye({ 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] = Mye(n);
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(J, {
@@ -50910,35 +50966,35 @@ function Nye({ 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)(Wk, { 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)(bO, {
+ }), /* @__PURE__ */ (0, B.jsx)(xO, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: Sk,
- children: /* @__PURE__ */ (0, B.jsxs)(jO, {
+ className: Ck,
+ children: /* @__PURE__ */ (0, B.jsxs)(MO, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, B.jsx)(tD, {
+ /* @__PURE__ */ (0, B.jsx)(nD, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, B.jsx)(RO, {
+ /* @__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)(zO, {
- 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)(Wk, { mark: e || l })
- }, e || MR))
+ children: /* @__PURE__ */ (0, B.jsx)(Gk, { mark: e || l })
+ }, e || NR))
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -50962,13 +51018,13 @@ function Nye({ value: e, label: t, kind: n = "local", onChange: r }) {
//#region src/react/settings/push-discovery-settings.tsx
var Pye = "/api/configuration/push-discovery", Fye = "/api/configuration/push-discovery/secret";
function Iye({ initial: e, receipt: t }) {
- let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(e.prefixes), [o, s] = (0, R.useState)(""), c = PE(), l = MM(), 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,
...t
} : n));
- return /* @__PURE__ */ (0, B.jsxs)(Nk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Pk, {
title: "推送发现",
onSubmit: (e) => {
e.preventDefault();
@@ -50981,11 +51037,11 @@ function Iye({ initial: e, receipt: t }) {
c.run("save", (e) => G(Pye, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(U(e)));
},
children: [
- /* @__PURE__ */ (0, B.jsxs)(Pk, { children: [
- /* @__PURE__ */ (0, B.jsx)(Ak, {
+ /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
+ /* @__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,
@@ -50995,10 +51051,10 @@ function Iye({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, B.jsx)(Ak, {
+ /* @__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,
@@ -51008,10 +51064,10 @@ function Iye({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, B.jsx)(Ak, {
+ /* @__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,
@@ -51022,30 +51078,30 @@ function Iye({ initial: e, receipt: t }) {
})
})
] }),
- d.enabled ? /* @__PURE__ */ (0, B.jsx)(Fk, {
+ d.enabled ? /* @__PURE__ */ (0, B.jsx)(Ik, {
divided: !0,
- children: /* @__PURE__ */ (0, B.jsxs)(Vk, { children: [d.watch_local ? /* @__PURE__ */ (0, B.jsx)(Hk, {
+ children: /* @__PURE__ */ (0, B.jsxs)(Hk, { children: [d.watch_local ? /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "本机文件夹监视",
children: d.local_running ? d.local_roots.join("、") : d.local_message || "没有运行"
- }) : null, /* @__PURE__ */ (0, B.jsx)(Hk, {
+ }) : null, /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "已入库",
children: `${d.queue.ingested} 个文件,队列里还有 ${d.queue.pending} 条`
})] })
}) : null,
- d.enabled && d.cloud ? /* @__PURE__ */ (0, B.jsx)(Fk, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, B.jsx)(Ik, {
divided: !0,
children: /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, B.jsx)(zk, { children: "CloudDrive2 配置内容" }),
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
+ /* @__PURE__ */ (0, B.jsx)(Bk, { children: "CloudDrive2 配置内容" }),
+ /* @__PURE__ */ (0, B.jsx)(Rk, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
d.config_toml ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("div", { children: /* @__PURE__ */ (0, B.jsx)(J, {
size: "small",
onClick: () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看这段配置」选中自己复制。"));
},
children: "复制配置"
- }) }), /* @__PURE__ */ (0, B.jsx)(Uk, {
+ }) }), /* @__PURE__ */ (0, B.jsx)(Wk, {
summary: "查看这段配置",
children: /* @__PURE__ */ (0, B.jsx)("div", {
className: "relative",
@@ -51056,17 +51112,17 @@ function Iye({ initial: e, receipt: t }) {
children: d.config_toml
})
})
- })] }) : /* @__PURE__ */ (0, B.jsx)(Lk, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
+ })] }) : /* @__PURE__ */ (0, B.jsx)(Rk, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
]
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, B.jsx)(Fk, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, B.jsx)(Ik, {
divided: !0,
children: /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, B.jsx)(zk, { children: "云端路径前缀" }),
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
+ /* @__PURE__ */ (0, B.jsx)(Bk, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, B.jsx)(Rk, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
/* @__PURE__ */ (0, B.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -51074,7 +51130,7 @@ function Iye({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -51083,19 +51139,19 @@ function Iye({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, B.jsx)(Ek, {
+ /* @__PURE__ */ (0, B.jsx)(Dk, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, B.jsx)(Dk, {
+ children: u.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
id: e,
children: e
}, e))
}),
- /* @__PURE__ */ (0, B.jsx)(PM, {
- icon: vT,
+ /* @__PURE__ */ (0, B.jsx)(FM, {
+ icon: yT,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -51113,11 +51169,11 @@ function Iye({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, B.jsx)(Fk, {
+ o || c.error ? /* @__PURE__ */ (0, B.jsx)(Ik, {
divided: !0,
- children: /* @__PURE__ */ (0, B.jsx)(Rk, { children: o || c.error })
+ children: /* @__PURE__ */ (0, B.jsx)(zk, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, B.jsxs)(Ik, {
+ /* @__PURE__ */ (0, B.jsxs)(Lk, {
status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,
children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, B.jsx)(J, {
onClick: () => {
@@ -51138,7 +51194,7 @@ function Iye({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var Lye = (e) => OR.find(([t]) => t === e)?.[1] ?? e, Rye = async (e) => (await G(Qve, { initial: e })).path, NR = (e = "") => ({
+var Lye = (e) => kR.find(([t]) => t === e)?.[1] ?? e, Rye = async (e) => (await G(Qve, { initial: e })).path, PR = (e = "") => ({
path: e,
location: "local",
root: "",
@@ -51146,16 +51202,16 @@ var Lye = (e) => OR.find(([t]) => t === e)?.[1] ?? e, Rye = async (e) => (await
library_icon: ""
});
function zye(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 Bye = (e) => !(e instanceof LS) || e.status !== 400 ? null : e.body?.errors ?? null;
+var Bye = (e) => !(e instanceof RS) || e.status !== 400 ? null : e.body?.errors ?? null;
function Vye({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-6",
@@ -51184,17 +51240,17 @@ function Vye({ data: e, receipt: t }) {
function Hye({ data: e, receipt: t }) {
let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = Eye({
initial: () => zye(e),
- blank: () => NR(),
+ blank: () => PR(),
pickFolder: Rye,
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 = PE();
+ }), [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();
(0, R.useEffect)(() => {
if (!y) return;
let e = setTimeout(() => location.assign(y.url), fye);
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 } : {},
@@ -51207,14 +51263,14 @@ function Hye({ data: e, receipt: t }) {
s(t?.media_dirs ?? []), g(t?.port ?? ""), t || v(U(e));
});
};
- if (y) return /* @__PURE__ */ (0, B.jsx)(Nk, {
+ if (y) return /* @__PURE__ */ (0, B.jsx)(Pk, {
title: "这台电脑",
- children: /* @__PURE__ */ (0, B.jsx)(Fk, { children: /* @__PURE__ */ (0, B.jsxs)(Y, {
+ children: /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsxs)(Y, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, B.jsx)(Mk, {
+ /* @__PURE__ */ (0, B.jsx)(Nk, {
href: y.url,
size: "small",
children: "进入馆藏"
@@ -51224,14 +51280,14 @@ function Hye({ data: e, receipt: t }) {
}) })
});
let w = n.some((e) => Tye(e.location)), T = w ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, B.jsxs)(Nk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Pk, {
title: "这台电脑",
onSubmit: C,
- children: [/* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
+ children: [/* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, B.jsx)(zk, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, B.jsx)(Bk, { children: "媒体文件夹" }),
/* @__PURE__ */ (0, B.jsx)("div", {
role: "group",
"aria-label": "媒体文件夹",
@@ -51246,7 +51302,7 @@ function Hye({ data: e, receipt: t }) {
onPick: () => void l(i),
onRemove: n.length > 1 ? () => a(i) : void 0,
children: [
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Sk, {
label: "媒体库名称",
maxLength: 80,
placeholder: "同名文件夹归入同一个媒体库",
@@ -51255,7 +51311,7 @@ function Hye({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, B.jsx)(zk, { children: "媒体库图标" }), /* @__PURE__ */ (0, B.jsx)(Nye, {
+ children: [/* @__PURE__ */ (0, B.jsx)(Bk, { children: "媒体库图标" }), /* @__PURE__ */ (0, B.jsx)(Nye, {
label: `媒体库图标 ${i + 1}`,
value: t.library_icon,
kind: t.location,
@@ -51282,17 +51338,17 @@ function Hye({ data: e, receipt: t }) {
]
}),
w ? /* @__PURE__ */ (0, B.jsx)(hye, {}) : null,
- T.map((e) => /* @__PURE__ */ (0, B.jsxs)(Lk, { children: [
+ T.map((e) => /* @__PURE__ */ (0, B.jsxs)(Rk, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, B.jsxs)(Bk, {
+ /* @__PURE__ */ (0, B.jsxs)(Vk, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, B.jsx)(Lk, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
- e.port_editable === !1 ? null : /* @__PURE__ */ (0, B.jsx)(xk, {
+ e.windows === !1 ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, B.jsx)(Sk, {
id: "configPort",
label: "本机访问端口",
inputMode: "numeric",
@@ -51302,7 +51358,7 @@ function Hye({ data: e, receipt: t }) {
isInvalid: !!h,
hint: h || "浏览器地址里冒号后面的数字,一般不用改。"
}),
- /* @__PURE__ */ (0, B.jsx)(WM, {
+ /* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: p,
onChange: m,
children: "保存后扫描并补全资料"
@@ -51312,7 +51368,7 @@ function Hye({ data: e, receipt: t }) {
title: "没有保存",
children: _
}) : null
- ] }), /* @__PURE__ */ (0, B.jsx)(Ik, {
+ ] }), /* @__PURE__ */ (0, B.jsx)(Lk, {
status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",
children: /* @__PURE__ */ (0, B.jsx)(J, {
type: "submit",
@@ -51347,20 +51403,20 @@ function Uye({ online: e }) {
});
}
function Wye({ data: e }) {
- let t = e.media_sources, n = PE();
- return t ? /* @__PURE__ */ (0, B.jsxs)(Nk, {
+ let t = e.media_sources, n = FE();
+ return t ? /* @__PURE__ */ (0, B.jsxs)(Pk, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, B.jsx)(Vk, { children: t.map((e, t) => /* @__PURE__ */ (0, B.jsxs)(Hk, {
- term: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Wk, { mark: kR(e.location) }), Lye(e.location)] }),
+ /* @__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: AR(e.location) }), Lye(e.location)] }),
children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, B.jsx)(Uye, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, B.jsx)(Fk, {
+ n.error ? /* @__PURE__ */ (0, B.jsx)(Ik, {
divided: !0,
- children: /* @__PURE__ */ (0, B.jsx)(Rk, { children: n.error })
+ children: /* @__PURE__ */ (0, B.jsx)(zk, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)(J, {
- onClick: () => void n.run("refresh", (e) => bR(e), (e) => p.setQueryData(yR, e)),
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: /* @__PURE__ */ (0, B.jsx)(J, {
+ onClick: () => void n.run("refresh", (e) => xR(e), (e) => p.setQueryData(bR, e)),
...X(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -51370,7 +51426,7 @@ function Wye({ data: e }) {
//#endregion
//#region src/react/settings/password-pair.tsx
function Gye({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(xk, {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Sk, {
id: "access-password",
type: "password",
label: e,
@@ -51383,7 +51439,7 @@ function Gye({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
validationBehavior: "aria",
isInvalid: !a && !!o,
hint: a ? s : o || s
- }), /* @__PURE__ */ (0, B.jsx)(xk, {
+ }), /* @__PURE__ */ (0, B.jsx)(Sk, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -51406,7 +51462,7 @@ var Kye = {
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
function qye({ initial: e, receipt: t }) {
- let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(""), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(""), [u, d] = (0, R.useState)(!1), [f, p] = (0, R.useState)({}), m = (0, R.useRef)(null), h = PE(), g = (e) => {
+ let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(""), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(""), [u, d] = (0, R.useState)(!1), [f, p] = (0, R.useState)({}), m = (0, R.useRef)(null), h = FE(), g = (e) => {
e.preventDefault();
let f = {};
if (n.mode === "password" && !i && (f.current_password = "请输入当前访问密码"), u || ((o.length < 8 || o.length > 256) && (f.password = "访问密码需为 8–256 个字符"), o !== c && (f.confirmation = "两次输入的密码不一致")), p(f), Object.keys(f).length) {
@@ -51423,28 +51479,28 @@ function qye({ initial: e, receipt: t }) {
}, "POST", e), (e) => {
r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");
}, (e) => {
- let t = e instanceof LS ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof RS ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(U(e));
});
}, _ = Kye[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, B.jsxs)(Nk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Pk, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, B.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
- _ ? /* @__PURE__ */ (0, B.jsx)(Lk, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
+ _ ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: _ }) : null,
n.mode === "open" ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "warning",
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, B.jsx)(WM, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, B.jsx)(GM, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, B.jsx)(xk, {
+ n.mode === "password" ? /* @__PURE__ */ (0, B.jsx)(Sk, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -51473,9 +51529,9 @@ function qye({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, B.jsx)(Ik, {
+ }), v ? /* @__PURE__ */ (0, B.jsx)(Lk, {
status: "保存后立即生效。",
children: /* @__PURE__ */ (0, B.jsx)(J, {
type: "submit",
@@ -51492,12 +51548,12 @@ var Jye = 2e3, Yye = [["quick", "临时链接"], ["named", "命名隧道"]], Xye
named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"
};
function Zye({ revision: e, initial: t, receipt: n }) {
- let [r, i] = (0, R.useState)(t), [a, o] = (0, R.useState)(e), [s, c] = (0, R.useState)(t.mode), [l, u] = (0, R.useState)(t.hostname), [d, f] = (0, R.useState)(""), [m, h] = (0, R.useState)({}), g = PE(), _ = r.state === "starting" || r.state === "running", v = r.named_available && s === "named";
+ let [r, i] = (0, R.useState)(t), [a, o] = (0, R.useState)(e), [s, c] = (0, R.useState)(t.mode), [l, u] = (0, R.useState)(t.hostname), [d, f] = (0, R.useState)(""), [m, h] = (0, R.useState)({}), g = FE(), _ = r.state === "starting" || r.state === "running", v = r.named_available && s === "named";
(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);
}, Jye);
return () => {
@@ -51514,30 +51570,30 @@ function Zye({ revision: e, initial: t, receipt: n }) {
}, "POST", e), (e) => {
i(e), o(e.revision), c(e.mode), u(e.hostname), f(""), n(e);
}, (e) => {
- let t = e instanceof LS ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof RS ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? h(n) : g.setError(U(e));
});
};
- return /* @__PURE__ */ (0, B.jsxs)(Nk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Pk, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), y("save", _, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
- r.named_available ? /* @__PURE__ */ (0, B.jsx)(gA, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
+ r.named_available ? /* @__PURE__ */ (0, B.jsx)(_A, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: _,
onChange: (e) => c(e),
- className: _A,
- children: Yye.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(zO, {
+ className: vA,
+ children: Yye.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(BO, {
value: e,
- className: vA,
+ className: yA,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: Xye[v ? "named" : "quick"] }),
- v ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(Rk, { children: Xye[v ? "named" : "quick"] }),
+ v ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Sk, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -51548,7 +51604,7 @@ function Zye({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!m.hostname,
hint: m.hostname || "在 Cloudflare Zero Trust 里指向本机 origin 的那个主机名。"
- }), /* @__PURE__ */ (0, B.jsx)(xk, {
+ }), /* @__PURE__ */ (0, B.jsx)(Sk, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -51568,7 +51624,7 @@ function Zye({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, B.jsx)(Bk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Vk, {
href: r.url,
children: r.url
})
@@ -51578,9 +51634,9 @@ function Zye({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: r.error }) : null,
- g.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: g.error }) : null
- ] }), /* @__PURE__ */ (0, B.jsxs)(Ik, {
+ r.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: r.error }) : null,
+ g.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: g.error }) : null
+ ] }), /* @__PURE__ */ (0, B.jsxs)(Lk, {
status: r.enabled ? "服务重启时会按设置尝试恢复。" : "服务重启后保持关闭。",
children: [/* @__PURE__ */ (0, B.jsx)(J, {
onClick: () => y("toggle", !_, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),
@@ -51622,8 +51678,8 @@ function $ye({ data: e, receipt: t }) {
});
}
function ebe({ initial: e, receipt: t }) {
- let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(e.mode), [o, s] = (0, R.useState)(""), c = PE();
- return /* @__PURE__ */ (0, B.jsxs)(Nk, {
+ let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(e.mode), [o, s] = (0, R.useState)(""), c = FE();
+ return /* @__PURE__ */ (0, B.jsxs)(Pk, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
@@ -51635,25 +51691,25 @@ function ebe({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, B.jsx)(Pk, { children: /* @__PURE__ */ (0, B.jsx)(Ak, {
+ /* @__PURE__ */ (0, B.jsx)(Fk, { children: /* @__PURE__ */ (0, B.jsx)(jk, {
label: "连接方式",
description: "采集来源选「Peach 代理」时共用这里的连接方式。",
- children: /* @__PURE__ */ (0, B.jsx)(Ek, {
+ children: /* @__PURE__ */ (0, B.jsx)(Dk, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: Qye.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Dk, {
+ children: Qye.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Ok, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, B.jsxs)(Fk, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, B.jsxs)(Ik, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, B.jsx)(xk, {
+ i === "proxy" ? /* @__PURE__ */ (0, B.jsx)(Sk, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -51667,10 +51723,10 @@ function ebe({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)(J, {
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: /* @__PURE__ */ (0, B.jsx)(J, {
type: "submit",
...X(c.busy === "save"),
children: "保存配置"
@@ -51681,9 +51737,9 @@ function ebe({ initial: e, receipt: t }) {
//#endregion
//#region src/react/settings/configuration-page.tsx
function tbe({ receipt: e, reopenTutorial: t }) {
- let n = CS({
- queryKey: yR,
- queryFn: ({ signal: e }) => bR(e)
+ let n = wS({
+ queryKey: bR,
+ queryFn: ({ signal: e }) => xR(e)
}), r = n.data;
if (!r) return /* @__PURE__ */ (0, B.jsx)("div", {
className: "configpage",
@@ -51728,14 +51784,14 @@ function tbe({ receipt: e, reopenTutorial: t }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var nbe = "/api/stats", PR = ["stats"], FR = (e) => W(nbe, e);
+var nbe = "/api/stats", FR = ["stats"], IR = (e) => W(nbe, e);
async function rbe(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, ibe = (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, abe = (e) => e.kind === "online" ? "在线直接观看" : LR(e) < RR(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", obe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, sbe = (e) => Math.max(1, ...e) * 1.1, cbe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), lbe = {
+var LR = (e, t) => t ? Math.round(e / t * 100) : 0, ibe = (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, abe = (e) => e.kind === "online" ? "在线直接观看" : RR(e) < zR(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", obe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, sbe = (e) => Math.max(1, ...e) * 1.1, cbe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), lbe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -51751,10 +51807,10 @@ var IR = (e, t) => t ? Math.round(e / t * 100) : 0, ibe = (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
-})), fbe = (e) => zR(e, dbe), pbe = [
+})), fbe = (e) => BR(e, dbe), pbe = [
[
1,
1,
@@ -51794,41 +51850,41 @@ var IR = (e, t) => t ? Math.round(e / t * 100) : 0, ibe = (e) => e >= 3600 ? `${
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
})), hbe = /* @__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" && hbe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
var gbe = /* @__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" && gbe.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 _be(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
@@ -51842,14 +51898,14 @@ var vbe = [
"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 ybe(e, t) {
if (e == null) return {};
@@ -51869,14 +51925,14 @@ function bbe(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 = ybe(e, vbe), 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,
@@ -51885,14 +51941,14 @@ var qR = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
ref: t
}), /*#__PURE__*/ R.createElement("title", null, c), /*#__PURE__*/ R.createElement("desc", null, l), n);
}), xbe = ["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 Sbe(e, t) {
if (e == null) return {};
@@ -51912,39 +51968,39 @@ function Cbe(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 = Sbe(e, xbe), a = Sh("recharts-layer", r);
- return /*#__PURE__*/ R.createElement("g", JR({ className: a }, GR(i), { ref: t }), n);
-}), XR = /*#__PURE__*/ (0, R.createContext)(null), wbe = () => (0, R.useContext)(XR);
+ return /*#__PURE__*/ R.createElement("g", YR({ className: a }, KR(i), { ref: t }), n);
+}), ZR = /*#__PURE__*/ (0, R.createContext)(null), wbe = () => (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, Tbe = 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, Tbe = az - oz;
+function sz(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
function Ebe(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 : Ebe(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? sz : Ebe(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -51965,18 +52021,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 > Tbe ? 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 > Tbe ? 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`;
@@ -51985,10 +52041,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;
@@ -51999,18 +52055,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;
},
@@ -52033,33 +52089,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) {
@@ -52068,11 +52124,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();
@@ -52086,20 +52142,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() {
@@ -52107,7 +52163,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) {
@@ -52116,7 +52172,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;
}
@@ -52144,69 +52200,69 @@ var gz = class {
}
};
function Dbe(e) {
- return new gz(e, !0);
+ return new _z(e, !0);
}
function Obe(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);
} }, kbe = { 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), Abe = vz * 2, jbe = { draw(e, t) {
- let n = ez(t / Abe), r = n * vz;
+} }, yz = tz(1 / 3), Abe = yz * 2, jbe = { draw(e, t) {
+ let n = tz(t / Abe), r = n * yz;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
} }, Mbe = { draw(e, t) {
- let n = ez(t), r = -n / 2;
+ let n = tz(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, Nbe = .8908130915292852, yz = $R(tz / 10) / $R(7 * tz / 10), Pbe = $R(nz / 10) * yz, Fbe = -QR(nz / 10) * yz, Ibe = { draw(e, t) {
- let n = ez(t * Nbe), r = Pbe * n, i = Fbe * n;
+} }, Nbe = .8908130915292852, bz = ez(nz / 10) / ez(7 * nz / 10), Pbe = ez(rz / 10) * bz, Fbe = -$R(rz / 10) * bz, Ibe = { draw(e, t) {
+ let n = tz(t * Nbe), r = Pbe * n, i = Fbe * 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), Lbe = { 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), Rbe = (Cz / 2 + 1) * 3, zbe = { draw(e, t) {
- let n = ez(t / Rbe), 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), Lbe = { 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), Rbe = (wz / 2 + 1) * 3, zbe = { draw(e, t) {
+ let n = tz(t / Rbe), 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 Bbe(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;
},
@@ -52218,7 +52274,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;
@@ -52232,22 +52288,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 Vbe(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;
},
@@ -52273,20 +52329,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 Hbe(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;
},
@@ -52313,22 +52369,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 Ube(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;
},
@@ -52340,29 +52396,29 @@ kz.prototype = {
}
};
function Wbe(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;
},
@@ -52377,7 +52433,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;
},
@@ -52392,24 +52448,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);
},
@@ -52424,17 +52480,17 @@ Iz.prototype = {
}
};
function Gbe(e) {
- return new Pz(e);
+ return new Fz(e);
}
function Kbe(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;
},
@@ -52448,7 +52504,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;
},
@@ -52456,7 +52512,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];
@@ -52465,14 +52521,14 @@ function Rz(e) {
return [i, a];
}
function qbe(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;
},
@@ -52501,22 +52557,22 @@ zz.prototype = {
}
};
function Jbe(e) {
- return new zz(e, .5);
+ return new Bz(e, .5);
}
function Ybe(e) {
- return new zz(e, 0);
+ return new Bz(e, 0);
}
function Xbe(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;
}
@@ -52530,21 +52586,21 @@ function Qbe(e) {
return t.key = e, t;
}
function $be() {
- var e = ZR([]), t = Vz, n = Bz, r = Zbe;
+ var e = QR([]), t = Hz, n = Vz, r = Zbe;
function i(i) {
var a = Array.from(e.apply(this, arguments), Qbe), 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
@@ -52555,7 +52611,7 @@ function exe(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
@@ -52566,7 +52622,7 @@ function txe(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
@@ -52583,18 +52639,18 @@ function nxe(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 rxe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function Uz(e) {
+function Wz(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
@@ -52604,30 +52660,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 ixe(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 = ixe(e);
let t = [], n = e.length;
@@ -52657,23 +52713,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 axe(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;
}
@@ -52683,7 +52739,7 @@ function axe(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;
@@ -52691,49 +52747,49 @@ function axe(e, t, n) {
//#endregion
//#region node_modules/recharts/es6/util/round.js
var oxe = 4;
-function Yz(e) {
+function Xz(e) {
var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : oxe), 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", sxe = 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", sxe = 0, nB = (e) => {
var t = ++sxe;
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;
+}
+function oB(e, t, n) {
+ if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : Yz(e, t)) === n);
}
-var oB = (e) => e == null, sB = (e) => oB(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function cB(e) {
+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 cxe = [
@@ -52741,16 +52797,16 @@ var cxe = [
"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);
@@ -52760,12 +52816,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) {
lxe(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));
});
}
@@ -52811,15 +52867,15 @@ function pxe(e, t) {
}
return n;
}
-var pB = {
- symbolCircle: _z,
+var mB = {
+ symbolCircle: vz,
symbolCross: kbe,
symbolDiamond: jbe,
symbolSquare: Mbe,
symbolStar: Ibe,
symbolTriangle: Lbe,
symbolWye: zbe
-}, mxe = Math.PI / 180, hxe = (e) => pB[`symbol${sB(e)}`] || _z, gxe = (e, t, n) => {
+}, mxe = Math.PI / 180, hxe = (e) => mB[`symbol${cB(e)}`] || vz, gxe = (e, t, n) => {
if (t === "area") return e;
switch (n) {
case "cross": return 5 * e * e / 9;
@@ -52833,9 +52889,9 @@ var pB = {
default: return Math.PI * e * e / 4;
}
}, _xe = (e, t) => {
- pB[`symbol${sB(e)}`] = t;
-}, mB = (e) => {
- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = fB(fB({}, fxe(e, cxe)), {}, {
+ mB[`symbol${cB(e)}`] = t;
+}, hB = (e) => {
+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = pB(pB({}, fxe(e, cxe)), {}, {
type: t,
size: n,
sizeType: r
@@ -52844,35 +52900,35 @@ var pB = {
var o = () => {
var e = hxe(a), t = Bbe().type(e).size(gxe(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 = _xe;
+hB.registerSymbol = _xe;
//#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;
-}, vxe = (e, t, n) => (r) => (e(t, n, r), null), _B = (e, t, n) => {
+}, vxe = (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] = vxe(a, t, n));
+ VR(i) && typeof a == "function" && (r ||= {}, r[i] = vxe(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);
@@ -52885,9 +52941,9 @@ function vB(e, t) {
function yxe(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) {
bxe(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));
});
}
@@ -52915,22 +52971,22 @@ function Sxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function yB(e, t) {
+function bB(e, t) {
var n = yxe({}, 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);
@@ -52940,12 +52996,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) {
Cxe(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));
});
}
@@ -52973,7 +53029,7 @@ function Txe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var CB = 32, Exe = {
+var wB = 32, Exe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -52985,7 +53041,7 @@ function Dxe(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
function Oxe(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,
@@ -52994,7 +53050,7 @@ function Oxe(e) {
strokeDasharray: Dxe(t.payload),
x1: 0,
y1: i,
- x2: CB,
+ x2: wB,
y2: i,
className: "recharts-legend-icon"
});
@@ -53004,25 +53060,25 @@ function Oxe(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
});
@@ -53031,8 +53087,8 @@ function kxe(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
@@ -53048,14 +53104,14 @@ function kxe(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,
@@ -53072,7 +53128,7 @@ function kxe(e) {
});
}
var Axe = (e) => {
- var t = yB(e, Exe), { payload: n, layout: r, align: i } = t;
+ var t = bB(e, Exe), { payload: n, layout: r, align: i } = t;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -53082,7 +53138,7 @@ var Axe = (e) => {
return /*#__PURE__*/ R.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ R.createElement(kxe, bB({}, t, { payload: n })));
+ }, /*#__PURE__*/ R.createElement(kxe, xB({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
@@ -53103,7 +53159,7 @@ function Mxe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function wB(e) {
+function TB(e) {
return e;
}
//#endregion
@@ -53113,19 +53169,19 @@ function Nxe(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function TB(e) {
+function EB(e) {
return e != null && typeof e != "function" && Nxe(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
function Pxe(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
@@ -53140,33 +53196,33 @@ function Ixe(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 Lxe = "[object RegExp]", OB = "[object String]", kB = "[object Number]", AB = "[object Boolean]", jB = "[object Arguments]", Rxe = "[object Symbol]", zxe = "[object Date]", Bxe = "[object Map]", Vxe = "[object Set]", Hxe = "[object Array]", Uxe = "[object ArrayBuffer]", Wxe = "[object Object]", Gxe = "[object DataView]", Kxe = "[object Uint8Array]", qxe = "[object Uint8ClampedArray]", Jxe = "[object Uint16Array]", Yxe = "[object Uint32Array]", Xxe = "[object Int8Array]", Zxe = "[object Int16Array]", Qxe = "[object Int32Array]", $xe = "[object Float32Array]", eSe = "[object Float64Array]", MB = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var Lxe = "[object RegExp]", kB = "[object String]", AB = "[object Number]", jB = "[object Boolean]", MB = "[object Arguments]", Rxe = "[object Symbol]", zxe = "[object Date]", Bxe = "[object Map]", Vxe = "[object Set]", Hxe = "[object Array]", Uxe = "[object ArrayBuffer]", Wxe = "[object Object]", Gxe = "[object DataView]", Kxe = "[object Uint8Array]", qxe = "[object Uint8ClampedArray]", Jxe = "[object Uint16Array]", Yxe = "[object Uint32Array]", Xxe = "[object Int8Array]", Zxe = "[object Int16Array]", Qxe = "[object Int32Array]", $xe = "[object Float32Array]", eSe = "[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 tSe(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 nSe(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());
@@ -53177,71 +53233,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 (tSe(e)) return e.subarray();
if (Fxe(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" && rSe(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), ...Ixe(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 rSe(e) {
- switch (DB(e)) {
- case jB:
+ switch (OB(e)) {
+ case MB:
case Hxe:
case Uxe:
case Gxe:
- case AB:
+ case jB:
case zxe:
case $xe:
case eSe:
@@ -53249,11 +53305,11 @@ function rSe(e) {
case Zxe:
case Qxe:
case Bxe:
- case kB:
+ case AB:
case Wxe:
case Lxe:
case Vxe:
- case OB:
+ case kB:
case Rxe:
case Kxe:
case qxe:
@@ -53265,44 +53321,44 @@ function rSe(e) {
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
function iSe(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 aSe(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 aSe(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 oSe(e, t, n, r);
if (t instanceof Set) return sSe(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;
@@ -53324,7 +53380,7 @@ function oSe(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();
@@ -53343,17 +53399,17 @@ function zB(e, t, n, r) {
return !0;
}
function sSe(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 cSe(e) {
- return e = iSe(e), (t) => BB(t, e);
+ return e = iSe(e), (t) => VB(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
@@ -53362,20 +53418,20 @@ function lSe(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;
}
@@ -53390,7 +53446,7 @@ function uSe(e) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
var dSe = /^(?: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;
@@ -53400,17 +53456,17 @@ function VB(e, t = 2 ** 53 - 1) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
function fSe(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 pSe(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) || fSe(r)) && VB(t) && Number(t) < r.length)) return !1;
+ let t = Gz(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || fSe(r)) && HB(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
@@ -53422,17 +53478,17 @@ function mSe(e, t) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = Wz(e);
+ case "number": e = Gz(e);
}
return t = uSe(t), function(n) {
- let r = Jz(n, e);
- return r === void 0 ? pSe(n, e) : t === void 0 ? r === void 0 : BB(r, t);
+ let r = Yz(n, e);
+ return r === void 0 ? pSe(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 ? mSe(e[0], e[1]) : cSe(e);
@@ -53446,13 +53502,13 @@ function hSe(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function UB(e, t = wB) {
- return TB(e) ? jxe(Array.from(e), Mxe(HB(t), 1)).map(hSe) : [];
+function WB(e, t = TB) {
+ return EB(e) ? jxe(Array.from(e), Mxe(UB(t), 1)).map(hSe) : [];
}
//#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
@@ -53503,15 +53559,15 @@ var gSe = /* @__PURE__ */ Ct(((e) => {
};
})), _Se = /* @__PURE__ */ Ct(((e, t) => {
t.exports = gSe();
-})), GB = /*#__PURE__*/ (0, R.createContext)(null), vSe = _Se(), ySe = (e) => e, KB = () => {
- var e = (0, R.useContext)(GB);
+})), KB = /*#__PURE__*/ (0, R.createContext)(null), vSe = _Se(), ySe = (e) => e, qB = () => {
+ var e = (0, R.useContext)(KB);
return e ? e.store.dispatch : ySe;
-}, qB = () => {}, bSe = () => qB, xSe = (e, t) => e === t;
+}, JB = () => {}, bSe = () => JB, xSe = (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, vSe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : bSe, t ? t.store.getState : qB, t ? t.store.getState : qB, n, xSe);
+ } : JB, [t, e]);
+ return (0, vSe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : bSe, t ? t.store.getState : JB, t ? t.store.getState : JB, n, xSe);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
@@ -53527,7 +53583,7 @@ function wSe(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 TSe(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
return wSe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
@@ -53544,8 +53600,8 @@ var DSe = class {
deref() {
return this.value;
}
-}, OSe = typeof WeakRef < "u" ? WeakRef : DSe, kSe = 0, YB = 1;
-function XB() {
+}, OSe = typeof WeakRef < "u" ? WeakRef : DSe, kSe = 0, XB = 1;
+function ZB() {
return {
s: kSe,
v: void 0,
@@ -53553,8 +53609,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++) {
@@ -53563,24 +53619,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 OSe(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;
@@ -53592,10 +53648,10 @@ function ASe(e, ...t) {
} : e, r = (...e) => {
let t = 0, r = 0, i, a = {}, o = e.pop();
typeof o == "object" && (a = o, o = e.pop()), SSe(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 = TSe(e), h = s(function() {
+ }, f = YB(c), p = YB(u), m = TSe(e), h = s(function() {
return t++, o.apply(null, arguments);
}, ...f), g = l(function() {
r++;
@@ -53621,7 +53677,7 @@ function ASe(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var $ = /* @__PURE__ */ ASe(ZB), jSe = Object.assign((e, t = $) => {
+var $ = /* @__PURE__ */ ASe(QB), jSe = Object.assign((e, t = $) => {
CSe(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), {}));
@@ -53639,17 +53695,17 @@ function MSe(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 NSe = (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;
@@ -53659,13 +53715,13 @@ var NSe = (e, t, n) => {
return 0;
}, PSe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, FSe = /^\w*$/;
function ISe(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || Gz(e) ? !0 : typeof e == "string" && (FSe.test(e) || !PSe.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" && (FSe.test(e) || !PSe.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
function LSe(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]];
@@ -53675,7 +53731,7 @@ function LSe(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) || ISe(e) ? e : {
key: e,
- path: qz(e)
+ path: Jz(e)
}));
return e.map((e) => ({
original: e,
@@ -53690,15 +53746,15 @@ function LSe(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]]), LSe(e, MSe(t), ["asc"]);
+ return n > 1 && $B(e, t[0], t[1]) ? t = [] : n > 2 && $B(t[0], t[1], t[2]) && (t = [t[0]]), LSe(e, MSe(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var tV = (e) => e.legend.settings, RSe = (e) => e.legend.size, zSe = $([(e) => e.legend.payload, tV], (e, t) => {
+var nV = (e) => e.legend.settings, RSe = (e) => e.legend.size, zSe = $([(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
@@ -53707,8 +53763,8 @@ function BSe() {
}
//#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,
@@ -53723,7 +53779,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,
@@ -53740,26 +53796,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() {
@@ -53768,27 +53824,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 {
@@ -53799,41 +53855,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];
@@ -53841,7 +53897,7 @@ function dV(e) {
}
let r = Object.keys(n), i;
try {
- uV(n);
+ dV(n);
} catch (e) {
i = e;
}
@@ -53850,31 +53906,31 @@ 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 VSe(...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";
+ return lV(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs
@@ -53886,7 +53942,7 @@ var yV = Object, bV = yV.getPrototypeOf, xV = "constructor", SV = "prototype", C
function OV(e) {
return e ? AV(e) || IV(e) || !!e[gV] || !!e[xV]?.[gV] || LV(e) || RV(e) : !1;
}
-var VSe = yV[SV][xV].toString(), kV = /* @__PURE__ */ new WeakMap();
+var HSe = yV[SV][xV].toString(), kV = /* @__PURE__ */ new WeakMap();
function AV(e) {
if (!e || !zV(e)) return !1;
let t = bV(e);
@@ -53895,7 +53951,7 @@ function AV(e) {
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 === VSe;
+ return r === void 0 && (r = Function.toString.call(n), kV.set(n, r)), r === HSe;
}
function jV(e, t, n = !0) {
MV(e) === 0 ? (n ? Reflect.ownKeys(e) : yV.keys(e)).forEach((n) => {
@@ -53909,11 +53965,11 @@ function MV(e) {
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)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function HSe(e, t) {
+function USe(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";
-function USe(e) {
+function WSe(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
@@ -53955,10 +54011,10 @@ function GV(e, t = !1) {
GV(t, !0);
}, !1), e);
}
-function WSe() {
+function GSe() {
vV(2);
}
-var KV = { [EV]: WSe };
+var KV = { [EV]: GSe };
function qV(e) {
return e === null || !zV(e) || yV.isFrozen(e);
}
@@ -53967,7 +54023,7 @@ function QV(e) {
let t = ZV[e];
return t || vV(0, e), t;
}
-var $V = (e) => !!ZV[e], eH, tH = () => eH, GSe = (e, t) => ({
+var $V = (e) => !!ZV[e], eH, tH = () => eH, KSe = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -53982,13 +54038,13 @@ function nH(e, t) {
t && (e.patchPlugin_ = QV(YV), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function rH(e) {
- iH(e), e.drafts_.forEach(KSe), e.drafts_ = null;
+ iH(e), e.drafts_.forEach(qSe), e.drafts_ = null;
}
function iH(e) {
e === eH && (eH = e.parent_);
}
-var aH = (e) => eH = GSe(eH, e);
-function KSe(e) {
+var aH = (e) => eH = KSe(eH, e);
+function qSe(e) {
let t = e[_V];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
@@ -54000,7 +54056,7 @@ function oH(e, t) {
let { patchPlugin_: r } = t;
r && r.generateReplacementPatches_(n[_V].base_, e, t);
} else e = sH(t, n);
- return qSe(t, e, !0), rH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === hV ? void 0 : e;
+ return JSe(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;
@@ -54015,13 +54071,13 @@ function sH(e, t) {
}
return n.copy_;
}
-function qSe(e, t, n = !1) {
+function JSe(e, t, n = !1) {
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && GV(t, n);
}
function cH(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var lH = (e, t) => e.scope_ === t, JSe = [];
+var lH = (e, t) => e.scope_ === t, YSe = [];
function uH(e, t, n, r) {
let i = HV(e), a = e.type_;
if (r !== void 0 && PV(i, r, a) === t) {
@@ -54037,10 +54093,10 @@ function uH(e, t, n, r) {
}
});
}
- let o = e.draftLocations_.get(t) ?? JSe;
+ let o = e.draftLocations_.get(t) ?? YSe;
for (let e of o) FV(i, e, n, a);
}
-function YSe(e, t, n) {
+function XSe(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
if (!i || !lH(i, r)) return;
@@ -54059,7 +54115,7 @@ function dH(e, t) {
cH(e);
}
}
-function XSe(e, t, n) {
+function ZSe(e, t, n) {
let { scope_: r } = e;
if (DV(n)) {
let i = n[_V];
@@ -54079,7 +54135,7 @@ function fH(e, t, n) {
} else OV(i) && fH(i, t, n);
}), e);
}
-function ZSe(e, t) {
+function QSe(e, t) {
let n = IV(e), r = {
type_: +!!n,
scope_: t ? t.scope_ : tH(),
@@ -54104,10 +54160,10 @@ var pH = {
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 $Se(e, i, t);
+ if (!NV(i, t, e.type_)) return eCe(e, i, t);
let a = i[t];
- if (e.finalized_ || !OV(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && USe(t)) return a;
- if (a === hH(e.base_, t) || QSe(e, t, a)) {
+ if (e.finalized_ || !OV(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && WSe(t)) return a;
+ if (a === hH(e.base_, t) || $Se(e, t, a)) {
vH(e);
let n = e.type_ === 1 ? +t : t, r = yH(e.scope_, a, e, n);
return e.copy_[n] = r;
@@ -54126,10 +54182,10 @@ var pH = {
if (!e.modified_) {
let r = hH(HV(e), t), i = r?.[_V];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
- if (HSe(n, r) && (n !== void 0 || NV(e.base_, t, e.type_))) return !0;
+ if (USe(n, r) && (n !== void 0 || NV(e.base_, t, e.type_))) return !0;
vH(e), _H(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), XSe(e, t, n), !0);
+ 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), ZSe(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;
@@ -54169,10 +54225,10 @@ function hH(e, t) {
let n = e[_V];
return (n ? HV(n) : e)[t];
}
-function QSe(e, t, n) {
+function $Se(e, t, n) {
return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !OV(n) || n[_V] ? !1 : e.baseRefs_.has(n);
}
-function $Se(e, t, n) {
+function eCe(e, t, n) {
let r = gH(t, n);
return r ? EV in r ? r[EV] : r.get?.call(e.draft_) : void 0;
}
@@ -54191,7 +54247,7 @@ function _H(e) {
function vH(e) {
e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), WV(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var eCe = class {
+var tCe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
if (BV(e) && !BV(t)) {
@@ -54274,8 +54330,8 @@ var eCe = class {
}
};
function yH(e, t, n, r) {
- let [i, a] = LV(t) ? QV(JV).proxyMap_(t, n) : RV(t) ? QV(JV).proxySet_(t, n) : ZSe(t, n);
- return (n?.scope_ ?? tH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? YSe(n, a, r) : a.callbacks_.push(function(e) {
+ let [i, a] = LV(t) ? QV(JV).proxyMap_(t, n) : RV(t) ? QV(JV).proxySet_(t, n) : QSe(t, n);
+ return (n?.scope_ ?? tH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? XSe(n, a, r) : a.callbacks_.push(function(e) {
e.mapSetPlugin_?.fixSetContents(a);
let { patchPlugin_: t } = e;
a.modified_ && t && t.generatePatches_(a, [], e);
@@ -54296,14 +54352,14 @@ function xH(e) {
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var SH = new eCe().produce;
+var SH = new tCe().produce;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
function CH(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var tCe = CH(), nCe = CH, rCe = 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 nCe = CH(), rCe = CH, iCe = 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) {
@@ -54345,23 +54401,23 @@ function EH(e) {
function DH(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function iCe(e) {
+function aCe(e) {
return typeof e == "boolean";
}
-var aCe = () => function(e) {
+var oCe = () => function(e) {
let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new TH();
- return t && (iCe(t) ? a.push(tCe) : a.push(nCe(t.extraArgument))), a;
+ return t && (aCe(t) ? a.push(nCe) : a.push(rCe(t.extraArgument))), a;
}, OH = "RTK_autoBatch", kH = () => (e) => ({
payload: e,
meta: { [OH]: !0 }
}), AH = (e) => (t) => {
setTimeout(t, e);
-}, oCe = (e, t) => (n) => {
+}, sCe = (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 ? oCe(window.requestAnimationFrame, 100) : AH(10) : e.type === "callback" ? e.queueNotification : AH(e.timeout), l = () => {
+ let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? sCe(window.requestAnimationFrame, 100) : AH(10) : e.type === "callback" ? e.queueNotification : AH(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -54379,24 +54435,24 @@ var aCe = () => function(e) {
}
}
});
-}, sCe = (e) => function(t) {
+}, cCe = (e) => function(t) {
let { autoBatch: n = !0 } = t ?? {}, r = new TH(e);
return n && r.push(jH(typeof n == "object" ? n : void 0)), r;
};
-function cCe(e) {
- let t = aCe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function lCe(e) {
+ let t = oCe(), { 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 if (lV(n)) c = fV(n);
else throw Error(aU(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = fV;
- i && (u = rCe({
+ let u = pV;
+ i && (u = iCe({
trace: !1,
...typeof i == "object" && i
}));
- let d = sCe(pV(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return lV(c, o, p);
+ let d = cCe(VSe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return uV(c, o, p);
}
function MH(e) {
let t = {}, n = [], r, i = {
@@ -54428,12 +54484,12 @@ function MH(e) {
r
];
}
-function lCe(e) {
+function uCe(e) {
return typeof e == "function";
}
-function uCe(e, t) {
+function dCe(e, t) {
let [n, r, i] = MH(t), a;
- if (lCe(e)) a = () => EH(e());
+ if (uCe(e)) a = () => EH(e());
else {
let t = EH(e);
a = () => t;
@@ -54461,20 +54517,20 @@ function uCe(e, t) {
}
return o.getInitialState = a, o;
}
-var dCe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", fCe = (e = 21) => {
+var fCe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", pCe = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += dCe[Math.random() * 64 | 0];
+ for (; n--;) t += fCe[Math.random() * 64 | 0];
return t;
-}, pCe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function mCe(e, t) {
+}, mCe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function hCe(e, t) {
return `${e}/${t}`;
}
-function hCe({ creators: e } = {}) {
- let t = e?.asyncThunk?.[pCe];
+function gCe({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[mCe];
return function(e) {
let { name: n, reducerPath: r = n } = e;
if (!n) throw Error(aU(11));
- let i = (typeof e.reducers == "function" ? e.reducers(_Ce()) : e.reducers) || {}, a = Object.keys(i), o = {
+ let i = (typeof e.reducers == "function" ? e.reducers(vCe()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -54502,17 +54558,17 @@ function hCe({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: mCe(n, r),
+ type: hCe(n, r),
createNotation: typeof e.reducers == "function"
};
- yCe(a) ? xCe(o, a, s, t) : vCe(o, a, s);
+ bCe(a) ? SCe(o, a, s, t) : yCe(o, a, s);
});
function c() {
let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? MH(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return uCe(e.initialState, (e) => {
+ return dCe(e.initialState, (e) => {
for (let t in i) e.addCase(t, i[t]);
for (let t of o.sliceMatchers) e.addMatcher(t.matcher, t.reducer);
for (let t of n) e.addMatcher(t.matcher, t.reducer);
@@ -54534,7 +54590,7 @@ function hCe({ creators: e } = {}) {
function i(t = l) {
return DH(DH(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = gCe(a, t, () => DH(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = _Ce(a, t, () => DH(d, t, m), n);
return r;
});
}
@@ -54568,15 +54624,15 @@ function hCe({ creators: e } = {}) {
return g;
};
}
-function gCe(e, t, n, r) {
+function _Ce(e, t, n, r) {
function i(i, ...a) {
let o = t(i);
return o === void 0 && r && (o = n()), e(o, ...a);
}
return i.unwrapped = e, i;
}
-var NH = /* @__PURE__ */ hCe();
-function _Ce() {
+var NH = /* @__PURE__ */ gCe();
+function vCe() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -54600,21 +54656,21 @@ function _Ce() {
asyncThunk: e
};
}
-function vCe({ type: e, reducerName: t, createNotation: n }, r, i) {
+function yCe({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !bCe(r)) throw Error(aU(17));
+ if (n && !xCe(r)) throw Error(aU(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));
}
-function yCe(e) {
+function bCe(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function bCe(e) {
+function xCe(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function xCe({ type: e, reducerName: t }, n, r, i) {
+function SCe({ type: e, reducerName: t }, n, r, i) {
if (!i) throw Error(aU(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, {
@@ -54625,9 +54681,9 @@ function xCe({ type: e, reducerName: t }, n, r, i) {
});
}
function PH() {}
-var SCe = "task", FH = "listener", IH = "completed", LH = "cancelled", CCe = `task-${LH}`, wCe = `task-${IH}`, RH = `${FH}-${LH}`, TCe = `${FH}-${IH}`, zH = class {
+var CCe = "task", FH = "listener", IH = "completed", LH = "cancelled", wCe = `task-${LH}`, TCe = `task-${IH}`, RH = `${FH}-${LH}`, ECe = `${FH}-${IH}`, zH = class {
constructor(e) {
- this.code = e, this.message = `${SCe} ${LH} (reason: ${e})`;
+ this.code = e, this.message = `${CCe} ${LH} (reason: ${e})`;
}
code;
name = "TaskAbortError";
@@ -54650,7 +54706,7 @@ function GH(e, t) {
n = VH;
});
}
-var ECe = async (e, t) => {
+var DCe = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -54667,13 +54723,13 @@ var ECe = async (e, t) => {
}, KH = (e) => (t) => HH(GH(e, t).then((t) => (WH(e), t))), qH = (e) => {
let t = KH(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: JH } = Object, YH = {}, XH = "listenerMiddleware", DCe = (e, t) => {
+}, { assign: JH } = Object, YH = {}, XH = "listenerMiddleware", OCe = (e, t) => {
let n = (t) => UH(e, () => t.abort(e.reason));
return (r, i) => {
BH(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = ECe(async () => {
+ let o = DCe(async () => {
WH(e), WH(a.signal);
let t = await r({
pause: KH(a.signal),
@@ -54681,15 +54737,15 @@ var ECe = async (e, t) => {
signal: a.signal
});
return WH(a.signal), t;
- }, () => a.abort(wCe));
+ }, () => a.abort(TCe));
return i?.autoJoin && t.push(o.catch(VH)), {
result: KH(e)(o),
cancel() {
- a.abort(CCe);
+ a.abort(wCe);
}
};
};
-}, OCe = (e, t) => {
+}, kCe = (e, t) => {
let n = async (n, r) => {
WH(t);
let i = () => {}, a = [new Promise((t, r) => {
@@ -54730,7 +54786,7 @@ var ECe = async (e, t) => {
}, QH = /* @__PURE__ */ JH((e) => {
let { type: t, predicate: n, effect: r } = ZH(e);
return {
- id: fCe(),
+ id: pCe(),
effect: r,
type: t,
predicate: n,
@@ -54746,7 +54802,7 @@ var ECe = async (e, t) => {
e.pending.forEach((e) => {
e.abort(RH);
});
-}, kCe = (e, t) => () => {
+}, ACe = (e, t) => () => {
for (let e of t.keys()) eU(e);
e.clear();
}, tU = (e, t, n) => {
@@ -54757,7 +54813,7 @@ var ECe = async (e, t) => {
throw e;
}, 0);
}
-}, nU = /* @__PURE__ */ JH(/* @__PURE__ */ wH(`${XH}/add`), { withTypes: () => nU }), ACe = /* @__PURE__ */ wH(`${XH}/removeAll`), rU = /* @__PURE__ */ JH(/* @__PURE__ */ wH(`${XH}/remove`), { withTypes: () => rU }), jCe = (...e) => {
+}, nU = /* @__PURE__ */ JH(/* @__PURE__ */ wH(`${XH}/add`), { withTypes: () => nU }), jCe = /* @__PURE__ */ wH(`${XH}/removeAll`), rU = /* @__PURE__ */ JH(/* @__PURE__ */ wH(`${XH}/remove`), { withTypes: () => rU }), MCe = (...e) => {
console.error(`${XH}/error`, ...e);
}, iU = (e = {}) => {
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {
@@ -54766,7 +54822,7 @@ var ECe = async (e, t) => {
}, i = (e) => {
let t = n.get(e) ?? 1;
t === 1 ? n.delete(e) : n.set(e, t - 1);
- }, { extra: a, onError: o = jCe } = e;
+ }, { extra: a, onError: o = MCe } = e;
BH(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
e.unsubscribe(), t?.cancelActive && eU(e);
@@ -54781,7 +54837,7 @@ var ECe = async (e, t) => {
};
JH(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = OCe(c, u.signal), f = [];
+ let u = new AbortController(), d = kCe(c, u.signal), f = [];
try {
e.pending.add(u), r(e), await Promise.resolve(e.effect(n, JH({}, s, {
getOriginalState: l,
@@ -54791,7 +54847,7 @@ var ECe = async (e, t) => {
pause: KH(u.signal),
extra: a,
signal: u.signal,
- fork: DCe(u.signal, f),
+ fork: OCe(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
@@ -54811,14 +54867,14 @@ var ECe = async (e, t) => {
} catch (e) {
e instanceof zH || tU(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(TCe), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(ECe), i(e), e.pending.delete(u);
}
- }, d = kCe(t, n);
+ }, d = ACe(t, n);
return {
middleware: (e) => (n) => (r) => {
if (!mV(r)) return n(r);
if (nU.match(r)) return c(r.payload);
- if (ACe.match(r)) {
+ if (jCe.match(r)) {
d();
return;
}
@@ -54883,7 +54939,7 @@ var oU = NH({
e.scale = t.payload;
}
}
-}), { setMargin: MCe, setLayout: NCe, setChartSize: PCe, setScale: FCe } = oU.actions, ICe = oU.reducer;
+}), { setMargin: NCe, setLayout: PCe, setChartSize: FCe, setScale: ICe } = oU.actions, LCe = oU.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
function sU(e, t, n) {
@@ -54913,26 +54969,26 @@ function dU(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) {
- LCe(e, t, n[t]);
+ RCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : uU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function LCe(e, t, n) {
- return (t = RCe(t)) in e ? Object.defineProperty(e, t, {
+function RCe(e, t, n) {
+ return (t = zCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function RCe(e) {
- var t = zCe(e, "string");
+function zCe(e) {
+ var t = BCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function zCe(e, t) {
+function BCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54943,9 +54999,9 @@ function zCe(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;
+ return sB(e) || sB(t) ? n : tB(t) ? Yz(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var BCe = (e, t, n) => {
+var VCe = (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) });
@@ -54961,7 +55017,7 @@ var BCe = (e, t, n) => {
var { duplicateDomain: r, type: i, range: a, scale: o, realScaleType: s, isCategorical: c, categoricalDomain: l, tickCount: u, ticks: d, niceTicks: f, axisType: p } = e;
if (!o) return null;
var m = s === "scaleBand" && o.bandwidth ? o.bandwidth() / 2 : 2, h = (t || n) && i === "category" && o.bandwidth ? o.bandwidth() / m : 0;
- return h = p === "angleAxis" && a && a.length >= 2 ? 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) ? {
coordinate: i + h,
@@ -54969,7 +55025,7 @@ var BCe = (e, t, n) => {
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) ? {
coordinate: n + h,
@@ -54977,7 +55033,7 @@ var BCe = (e, t, n) => {
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) ? {
coordinate: n + h,
@@ -54985,7 +55041,7 @@ var BCe = (e, t, n) => {
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) ? {
coordinate: n + h,
@@ -54993,12 +55049,12 @@ var BCe = (e, t, n) => {
index: t,
offset: h
} : null;
- }).filter(cB);
+ }).filter(lB);
}, gU = (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;
-}, VCe = {
+}, HCe = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -55006,14 +55062,14 @@ var BCe = (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: exe,
- none: Bz,
+ none: Vz,
silhouette: txe,
wiggle: nxe,
positive: (e) => {
@@ -55023,14 +55079,14 @@ var BCe = (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);
}
}
}
}
-}, HCe = (e, t, n) => {
- var r = VCe[n] ?? Bz, i = $be().keys(t).value((e, t) => Number(fU(e, t, 0))).order(Vz).offset(r)(e);
+}, UCe = (e, t, n) => {
+ var r = HCe[n] ?? Vz, i = $be().keys(t).value((e, t) => Number(fU(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);
@@ -55044,20 +55100,20 @@ function _U(e) {
function vU(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 = fU(i, sB(o) ? t.dataKey : o), l = t.scale.map(c);
return Z(l) ? l : null;
}
var yU = (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;
+ if (sB(s)) return null;
var c = t.scale.map(s);
return Z(c) ? c - i / 2 + r : null;
}, bU = (e) => {
@@ -55067,15 +55123,15 @@ var yU = (e) => {
return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;
}
return n[0];
-}, UCe = (e) => {
+}, WCe = (e) => {
var t = e.flat(2).filter(Z);
return [Math.min(...t), Math.max(...t)];
-}, WCe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], GCe = (e, t, n) => {
- if (e != null) return WCe(Object.keys(e).reduce((r, i) => {
+}, GCe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], KCe = (e, t, n) => {
+ if (e != null) return GCe(Object.keys(e).reduce((r, i) => {
var a = e[i];
if (!a) return r;
var { stackedData: o } = a, s = o.reduce((e, r) => {
- var i = UCe(sU(r, t, n));
+ var i = WCe(sU(r, t, n));
return !cU(i[0]) || !cU(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])];
@@ -55086,7 +55142,7 @@ var yU = (e) => {
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);
}
@@ -55107,10 +55163,10 @@ function TU(e, t) {
if (e) return String(e);
if (typeof t == "string") return t;
}
-var KCe = (e, t) => {
+var qCe = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, qCe = (e, t) => t === "centric" ? e.angle : e.radius, EU = (e) => e.layout.width, DU = (e) => e.layout.height, JCe = (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)), YCe = "data-recharts-item-index";
+}, JCe = (e, t) => t === "centric" ? e.angle : e.radius, EU = (e) => e.layout.width, DU = (e) => e.layout.height, YCe = (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)), XCe = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
function jU(e, t) {
@@ -55127,26 +55183,26 @@ function MU(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) {
- XCe(e, t, n[t]);
+ ZCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function XCe(e, t, n) {
- return (t = ZCe(t)) in e ? Object.defineProperty(e, t, {
+function ZCe(e, t, n) {
+ return (t = QCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ZCe(e) {
- var t = QCe(e, "string");
+function QCe(e) {
+ var t = $Ce(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function QCe(e, t) {
+function $Ce(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55156,29 +55212,29 @@ function QCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var $Ce = (e) => e.brush.height;
-function ewe(e) {
+var ewe = (e) => e.brush.height;
+function twe(e) {
return AU(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function twe(e) {
+function nwe(e) {
return AU(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function nwe(e) {
+function rwe(e) {
return kU(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
}
-function rwe(e) {
+function iwe(e) {
return kU(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
}
var NU = $([
EU,
DU,
OU,
- $Ce,
ewe,
twe,
nwe,
rwe,
- tV,
+ iwe,
+ nV,
RSe
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
@@ -55188,13 +55244,13 @@ var NU = $([
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = BCe(d, c, l);
+ d.bottom += r, d = VCe(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
return MU(MU({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), iwe = $(NU, (e) => ({
+}), awe = $(NU, (e) => ({
x: e.left,
y: e.top,
width: e.width,
@@ -55204,7 +55260,7 @@ var NU = $([
y: 0,
width: e,
height: t
-})), awe = /*#__PURE__*/ (0, R.createContext)(null), FU = () => (0, R.useContext)(awe) != null, IU = (e) => e.brush, LU = $([
+})), owe = /*#__PURE__*/ (0, R.createContext)(null), FU = () => (0, R.useContext)(owe) != null, IU = (e) => e.brush, LU = $([
IU,
NU,
OU
@@ -55216,7 +55272,7 @@ var NU = $([
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function owe(e, t, { signal: n, edges: r } = {}) {
+function swe(e, t, { signal: n, edges: r } = {}) {
let i, a = null, o = r != null && r.includes("leading"), s = r == null || r.includes("trailing"), c = () => {
a !== null && (e.apply(i, a), i = void 0, a = null);
}, l = () => {
@@ -55241,11 +55297,11 @@ function owe(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function swe(e, t = 0, n = {}) {
+function cwe(e, t = 0, n = {}) {
typeof n != "object" && (n = {});
let { leading: r = !1, trailing: i = !0, maxWait: a } = n, o = [, ,];
r && (o[0] = "leading"), i && (o[1] = "trailing");
- let s, c = null, l = owe(function(...t) {
+ let s, c = null, l = swe(function(...t) {
s = e.apply(this, t), c = null;
}, t, { edges: o }), u = function(...t) {
return a != null && (c === null && (c = Date.now()), Date.now() - c >= a) ? ((r || i) && (s = e.apply(this, t)), c = Date.now(), l.cancel(), l.schedule(), s) : (l.apply(this, t), s);
@@ -55254,9 +55310,9 @@ function swe(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function cwe(e, t = 0, n = {}) {
+function lwe(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return swe(e, t, {
+ return cwe(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -55283,26 +55339,26 @@ var RU = function(e, t) {
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);
+ var { width: r = zU.width, height: i = zU.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
};
-}, lwe = {
+}, uwe = {
width: 0,
height: 0,
overflow: "visible"
-}, uwe = {
+}, dwe = {
width: 0,
overflowX: "visible"
-}, dwe = {
+}, fwe = {
height: 0,
overflowY: "visible"
-}, fwe = {}, pwe = (e) => {
- var { width: t, height: n } = e, r = $z(t), i = $z(n);
- return r && i ? lwe : r ? uwe : i ? dwe : fwe;
+}, pwe = {}, mwe = (e) => {
+ var { width: t, height: n } = e, r = eB(t), i = eB(n);
+ return r && i ? uwe : r ? dwe : i ? fwe : pwe;
};
-function mwe(e) {
+function hwe(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), {
width: i,
@@ -55334,26 +55390,26 @@ function UU(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) {
- hwe(e, t, n[t]);
+ gwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function hwe(e, t, n) {
- return (t = gwe(t)) in e ? Object.defineProperty(e, t, {
+function gwe(e, t, n) {
+ return (t = _we(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function gwe(e) {
- var t = _we(e, "string");
+function _we(e) {
+ var t = vwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function _we(e, t) {
+function vwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55364,7 +55420,7 @@ function _we(e, t) {
return (t === "string" ? String : Number)(e);
}
var WU = /*#__PURE__*/ (0, R.createContext)(zU.initialDimension);
-function vwe(e) {
+function ywe(e) {
return lU(e.width) && lU(e.height);
}
function GU(e) {
@@ -55372,9 +55428,9 @@ function GU(e) {
width: n,
height: r
}), [n, r]);
- return vwe(i) ? /*#__PURE__*/ R.createElement(WU.Provider, { value: i }, t) : null;
+ return ywe(i) ? /*#__PURE__*/ R.createElement(WU.Provider, { value: i }, t) : null;
}
-var KU = () => (0, R.useContext)(WU), ywe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+var KU = () => (0, R.useContext)(WU), bwe = /*#__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)();
g.current = p, (0, R.useImperativeHandle)(t, () => h.current);
var [_, v] = (0, R.useState)({
@@ -55390,7 +55446,7 @@ var KU = () => (0, R.useContext)(WU), ywe = /*#__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) {
@@ -55398,7 +55454,7 @@ var KU = () => (0, R.useContext)(WU), ywe = /*#__PURE__*/ (0, R.forwardRef)((e,
y(r, i), (t = g.current) == null || t.call(g, r, i);
}
};
- u > 0 && (e = cwe(e, u, {
+ u > 0 && (e = lwe(e, u, {
trailing: !0,
leading: !1
}));
@@ -55426,7 +55482,7 @@ var KU = () => (0, R.useContext)(WU), ywe = /*#__PURE__*/ (0, R.forwardRef)((e,
maxHeight: c
}),
ref: h
- }, /*#__PURE__*/ R.createElement("div", { style: pwe({
+ }, /*#__PURE__*/ R.createElement("div", { style: mwe({
width: i,
height: a
}) }, /*#__PURE__*/ R.createElement(GU, {
@@ -55436,7 +55492,7 @@ var KU = () => (0, R.useContext)(WU), ywe = /*#__PURE__*/ (0, R.forwardRef)((e,
}), qU = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var n = KU();
if (lU(n.width) && lU(n.height)) return e.children;
- var { width: r, height: i } = mwe({
+ var { width: r, height: i } = hwe({
width: e.width,
height: e.height,
aspect: e.aspect
@@ -55449,7 +55505,7 @@ var KU = () => (0, R.useContext)(WU), ywe = /*#__PURE__*/ (0, R.forwardRef)((e,
return Z(a) && Z(o) ? /*#__PURE__*/ R.createElement(GU, {
width: a,
height: o
- }, e.children) : /*#__PURE__*/ R.createElement(ywe, VU({}, e, {
+ }, e.children) : /*#__PURE__*/ R.createElement(bwe, VU({}, e, {
width: r,
height: i,
ref: t
@@ -55468,14 +55524,14 @@ function JU(e) {
};
}
var YU = () => {
- var e = FU(), t = Q(iwe), n = Q(LU), r = Q(IU)?.padding;
+ var e = FU(), t = Q(awe), n = Q(LU), r = Q(IU)?.padding;
return !e || !n || !r ? t : {
width: n.width - r.left - r.right,
height: n.height - r.top - r.bottom,
x: r.left,
y: r.top
};
-}, bwe = {
+}, xwe = {
top: 0,
bottom: 0,
left: 0,
@@ -55483,16 +55539,16 @@ var YU = () => {
width: 0,
height: 0,
brushBottom: 0
-}, XU = () => Q(NU) ?? bwe, ZU = () => Q(EU), QU = () => Q(DU), xwe = () => Q((e) => e.layout.margin), $U = (e) => e.layout.layoutType, eW = () => Q($U), tW = () => {
+}, XU = () => Q(NU) ?? xwe, ZU = () => Q(EU), QU = () => Q(DU), Swe = () => Q((e) => e.layout.margin), $U = (e) => e.layout.layoutType, eW = () => Q($U), tW = () => {
var e = eW();
if (e === "horizontal" || e === "vertical") return e;
}, nW = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, rW = () => Q(nW), Swe = () => eW() !== void 0, iW = (e) => {
- var t = KB(), n = FU(), { width: r, height: i } = e, a = KU(), o = r, s = i;
+}, rW = () => Q(nW), Cwe = () => eW() !== void 0, iW = (e) => {
+ var t = qB(), n = FU(), { width: r, height: i } = e, a = KU(), 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(PCe({
+ !n && lU(o) && lU(s) && t(FCe({
width: o,
height: s
}));
@@ -55513,7 +55569,7 @@ function uW(e) {
function dW(e) {
return e ? pW(e) || Array.isArray(e) || !!e[oW] || !!e.constructor?.[oW] || vW(e) || yW(e) : !1;
}
-var Cwe = Object.prototype.constructor.toString(), fW = /* @__PURE__ */ new WeakMap();
+var wwe = Object.prototype.constructor.toString(), fW = /* @__PURE__ */ new WeakMap();
function pW(e) {
if (!e || typeof e != "object") return !1;
let t = Object.getPrototypeOf(e);
@@ -55522,7 +55578,7 @@ function pW(e) {
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 === Cwe;
+ return r === void 0 && (r = Function.toString.call(n), fW.set(n, r)), r === wwe;
}
function mW(e, t, n = !0) {
hW(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
@@ -55540,7 +55596,7 @@ function _W(e, t, n) {
let r = hW(e);
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
}
-function wwe(e, t) {
+function Twe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
function vW(e) {
@@ -55587,23 +55643,23 @@ function SW(e, t = !1) {
delete: CW
}), Object.freeze(e), t && Object.values(e).forEach((e) => SW(e, !0)), e);
}
-function Twe() {
+function Ewe() {
cW(2);
}
-var CW = { value: Twe };
+var CW = { value: Ewe };
function wW(e) {
return typeof e != "object" || !e || Object.isFrozen(e);
}
-var Ewe = {};
+var Dwe = {};
function TW(e) {
- let t = Ewe[e];
+ let t = Dwe[e];
return t || cW(0, e), t;
}
var EW;
function DW() {
return EW;
}
-function Dwe(e, t) {
+function Owe(e, t) {
return {
drafts_: [],
parent_: e,
@@ -55616,15 +55672,15 @@ function OW(e, t) {
t && (TW("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function kW(e) {
- AW(e), e.drafts_.forEach(Owe), e.drafts_ = null;
+ AW(e), e.drafts_.forEach(kwe), e.drafts_ = null;
}
function AW(e) {
e === EW && (EW = e.parent_);
}
function jW(e) {
- return EW = Dwe(EW, e);
+ return EW = Owe(EW, e);
}
-function Owe(e) {
+function kwe(e) {
let t = e[sW];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
@@ -55664,7 +55720,7 @@ function PW(e, t, n, r, i, a, o) {
function FW(e, t, n = !1) {
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && SW(t, n);
}
-function kwe(e, t) {
+function Awe(e, t) {
let n = Array.isArray(e), r = {
type_: +!!n,
scope_: t ? t.scope_ : DW(),
@@ -55686,7 +55742,7 @@ var IW = {
get(e, t) {
if (t === sW) return e;
let n = bW(e);
- if (!gW(n, t)) return Awe(e, n, t);
+ if (!gW(n, t)) return jwe(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;
},
@@ -55702,7 +55758,7 @@ var IW = {
if (!e.modified_) {
let r = RW(bW(e), t), i = r?.[sW];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0;
- if (wwe(n, r) && (n !== void 0 || gW(e.base_, t))) return !0;
+ if (Twe(n, r) && (n !== void 0 || gW(e.base_, t))) return !0;
VW(e), BW(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);
@@ -55742,7 +55798,7 @@ function RW(e, t) {
let n = e[sW];
return (n ? bW(n) : e)[t];
}
-function Awe(e, t, n) {
+function jwe(e, t, n) {
let r = zW(t, n);
return r ? "value" in r ? r.value : r.get?.call(e.draft_) : void 0;
}
@@ -55761,7 +55817,7 @@ function BW(e) {
function VW(e) {
e.copy_ ||= xW(e.base_, e.scope_.immer_.useStrictShallowCopy_);
}
-var jwe = class {
+var Mwe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !0, this.produce = (e, t, n) => {
if (typeof e == "function" && typeof t != "function") {
@@ -55804,7 +55860,7 @@ var jwe = 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 = Mwe(e));
+ dW(e) || cW(8), uW(e) && (e = Nwe(e));
let t = jW(this), n = HW(e, void 0);
return n[sW].isManual_ = !0, AW(t), n;
}
@@ -55841,10 +55897,10 @@ var jwe = class {
}
};
function HW(e, t) {
- let n = vW(e) ? TW("MapSet").proxyMap_(e, t) : yW(e) ? TW("MapSet").proxySet_(e, t) : kwe(e, t);
+ let n = vW(e) ? TW("MapSet").proxyMap_(e, t) : yW(e) ? TW("MapSet").proxySet_(e, t) : Awe(e, t);
return (t ? t.scope_ : DW()).drafts_.push(n), n;
}
-function Mwe(e) {
+function Nwe(e) {
return uW(e) || cW(10, e), UW(e);
}
function UW(e) {
@@ -55858,7 +55914,7 @@ function UW(e) {
_W(n, e, UW(t));
}, r), t && (t.finalized_ = !1), n;
}
-new jwe().produce;
+new Mwe().produce;
function WW(e) {
return e;
}
@@ -55907,24 +55963,24 @@ var GW = NH({
prepare: kH()
}
}
-}), { setLegendSize: KW, setLegendSettings: Nwe, addLegendPayload: qW, replaceLegendPayload: JW, removeLegendPayload: YW } = GW.actions, Pwe = GW.reducer, Fwe = /* @__PURE__ */ Ct(((e) => {
+}), { setLegendSize: KW, setLegendSettings: Pwe, addLegendPayload: qW, replaceLegendPayload: JW, removeLegendPayload: YW } = GW.actions, Fwe = GW.reducer, Iwe = /* @__PURE__ */ Ct(((e) => {
var t = At();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
(/* @__PURE__ */ Ct(((e, t) => {
- t.exports = Fwe();
+ t.exports = Iwe();
})))();
-function Iwe(e) {
+function Lwe(e) {
e();
}
-function Lwe() {
+function Rwe() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- Iwe(() => {
+ Lwe(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -55950,7 +56006,7 @@ var XW = {
notify() {},
get: () => []
};
-function Rwe(e, t) {
+function zwe(e, t) {
let n, r = XW, i = 0, a = !1;
function o(e) {
u();
@@ -55969,7 +56025,7 @@ function Rwe(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = Lwe());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = Rwe());
}
function d() {
i--, n && i === 0 && (n(), n = void 0, r.clear(), r = XW);
@@ -55991,11 +56047,11 @@ function Rwe(e, t) {
};
return m;
}
-var zwe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, Bwe = typeof navigator < "u" && navigator.product === "ReactNative", Vwe = zwe || Bwe ? R.useLayoutEffect : R.useEffect;
+var Bwe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, Vwe = typeof navigator < "u" && navigator.product === "ReactNative", Hwe = Bwe || Vwe ? R.useLayoutEffect : R.useEffect;
function ZW(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function Hwe(e, t) {
+function Uwe(e, t) {
if (ZW(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
let n = Object.keys(e), r = Object.keys(t);
@@ -56003,32 +56059,32 @@ function Hwe(e, t) {
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;
return !0;
}
-var Uwe = /* @__PURE__ */ Symbol.for("react-redux-context"), Wwe = typeof globalThis < "u" ? globalThis : {};
-function Gwe() {
+var Wwe = /* @__PURE__ */ Symbol.for("react-redux-context"), Gwe = typeof globalThis < "u" ? globalThis : {};
+function Kwe() {
if (!R.createContext) return {};
- let e = Wwe[Uwe] ??= /* @__PURE__ */ new Map(), t = e.get(R.createContext);
+ let e = Gwe[Wwe] ??= /* @__PURE__ */ new Map(), t = e.get(R.createContext);
return t || (t = R.createContext(null), e.set(R.createContext, t)), t;
}
-var Kwe = /* @__PURE__ */ Gwe();
-function qwe(e) {
+var qwe = /* @__PURE__ */ Kwe();
+function Jwe(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = R.useMemo(() => {
- let e = Rwe(i);
+ let e = zwe(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = R.useMemo(() => i.getState(), [i]);
- Vwe(() => {
+ Hwe(() => {
let { subscription: e } = a;
return e.onStateChange = e.notifyNestedSubs, e.trySubscribe(), o !== i.getState() && e.notifyNestedSubs(), () => {
e.tryUnsubscribe(), e.onStateChange = void 0;
};
}, [a, o]);
- let s = n || Kwe;
+ let s = n || qwe;
return /* @__PURE__ */ R.createElement(s.Provider, { value: a }, t);
}
-var Jwe = qwe, Ywe = /* @__PURE__ */ new Set([
+var Ywe = Jwe, Xwe = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -56051,19 +56107,19 @@ var Jwe = qwe, Ywe = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function Xwe(e, t) {
+function Zwe(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) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (Ywe.has(n)) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (Xwe.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!Hwe(e[n], t[n])) return !1;
- } else if (!Xwe(e[n], t[n])) return !1;
+ if (!Uwe(e[n], t[n])) return !1;
+ } else if (!Zwe(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var Zwe = ["contextPayload"];
+var Qwe = ["contextPayload"];
function $W() {
return $W = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -56087,26 +56143,26 @@ function tG(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) {
- Qwe(e, t, n[t]);
+ $we(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Qwe(e, t, n) {
- return (t = $we(t)) in e ? Object.defineProperty(e, t, {
+function $we(e, t, n) {
+ return (t = eTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $we(e) {
- var t = eTe(e, "string");
+function eTe(e) {
+ var t = tTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eTe(e, t) {
+function tTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56116,16 +56172,16 @@ function eTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function tTe(e, t) {
+function nTe(e, t) {
if (e == null) return {};
- var n, r, i = nTe(e, t);
+ var n, r, i = rTe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function nTe(e, t) {
+function rTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56134,25 +56190,25 @@ function nTe(e, t) {
}
return n;
}
-function rTe(e) {
+function iTe(e) {
return e.value;
}
-function iTe(e) {
- var { contextPayload: t } = e, n = tTe(e, Zwe), r = WB(t, e.payloadUniqBy, rTe), i = tG(tG({}, n), {}, { payload: r });
+function aTe(e) {
+ var { contextPayload: t } = e, n = nTe(e, Qwe), r = GB(t, e.payloadUniqBy, iTe), i = tG(tG({}, 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(Axe, i);
}
-function aTe(e, t, n, r, i, a) {
+function oTe(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);
}
-function oTe(e) {
- var t = KB();
+function sTe(e) {
+ var t = qB();
return (0, R.useEffect)(() => {
- t(Nwe(e));
+ t(Pwe(e));
}, [t, e]), null;
}
-function sTe(e) {
- var t = KB();
+function cTe(e) {
+ var t = qB();
return (0, R.useEffect)(() => (t(KW(e)), () => {
t(KW({
width: 0,
@@ -56160,10 +56216,10 @@ function sTe(e) {
}));
}), [t, e]), null;
}
-function cTe(e, t, n, r) {
+function lTe(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var lTe = {
+var uTe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -56171,28 +56227,28 @@ var lTe = {
layout: "horizontal",
verticalAlign: "bottom"
};
-function uTe(e) {
- var t = yB(e, lTe), n = BSe(), r = wbe(), i = xwe(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = rV([n]), d = ZU(), f = QU();
+function dTe(e) {
+ var t = bB(e, uTe), n = BSe(), r = wbe(), i = Swe(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = iV([n]), d = ZU(), f = QU();
if (d == null || f == null) return null;
- var p = d - (i?.left || 0) - (i?.right || 0), m = cTe(t.layout, o, a, p), h = c ? s : tG(tG({
+ var p = d - (i?.left || 0) - (i?.right || 0), m = lTe(t.layout, o, a, p), h = c ? s : tG(tG({
position: "absolute",
width: m?.width || a || "auto",
height: m?.height || o || "auto"
- }, aTe(s, t, i, d, f, l)), s), g = c ?? r;
+ }, oTe(s, t, i, d, f, l)), s), g = c ?? r;
if (g == null || n == null) return null;
var _ = /*#__PURE__*/ R.createElement("div", {
className: "recharts-legend-wrapper",
style: h,
ref: u
- }, /*#__PURE__*/ R.createElement(oTe, {
+ }, /*#__PURE__*/ R.createElement(sTe, {
layout: t.layout,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter
- }), !c && /*#__PURE__*/ R.createElement(sTe, {
+ }), !c && /*#__PURE__*/ R.createElement(cTe, {
width: l.width,
height: l.height
- }), /*#__PURE__*/ R.createElement(iTe, $W({}, t, m, {
+ }), /*#__PURE__*/ R.createElement(aTe, $W({}, t, m, {
margin: i,
chartWidth: d,
chartHeight: f,
@@ -56200,7 +56256,7 @@ function uTe(e) {
})));
return /*#__PURE__*/ (0, rp.createPortal)(_, g);
}
-var nG = /*#__PURE__*/ R.memo(uTe, QW);
+var nG = /*#__PURE__*/ R.memo(dTe, QW);
nG.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
@@ -56227,26 +56283,26 @@ function aG(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) {
- dTe(e, t, n[t]);
+ fTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dTe(e, t, n) {
- return (t = fTe(t)) in e ? Object.defineProperty(e, t, {
+function fTe(e, t, n) {
+ return (t = pTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fTe(e) {
- var t = pTe(e, "string");
+function pTe(e) {
+ var t = mTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pTe(e, t) {
+function mTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56256,8 +56312,8 @@ function pTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function mTe(e) {
- return Array.isArray(e) && eB(e[0]) && eB(e[1]) ? e.join(" ~ ") : e;
+function hTe(e) {
+ return Array.isArray(e) && tB(e[0]) && tB(e[1]) ? e.join(" ~ ") : e;
}
var oG = {
separator: " : ",
@@ -56277,18 +56333,18 @@ var oG = {
labelStyle: {},
accessibilityLayer: !1
};
-function hTe(e, t) {
- return t == null ? e : eV(e, t);
+function gTe(e, t) {
+ return t == null ? e : tV(e, t);
}
-var gTe = (e) => {
+var _Te = (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 = () => {
if (a && a.length) {
var e = {
padding: 0,
margin: 0
- }, n = hTe(a, s).map((e, n) => {
+ }, n = gTe(a, s).map((e, n) => {
if (e.type === "none") return null;
- var i = e.formatter || o || mTe, { value: s, name: c } = e, l = s, u = c;
+ var i = e.formatter || o || hTe, { value: s, name: c } = e, l = s, u = c;
if (i) {
var d = i(s, c, e, n, a);
if (Array.isArray(d)) [l, u] = d;
@@ -56300,7 +56356,7 @@ var gTe = (e) => {
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",
@@ -56308,7 +56364,7 @@ var gTe = (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 = aG(aG({}, oG.contentStyle), n), h = aG({ 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",
@@ -56321,8 +56377,8 @@ var gTe = (e) => {
className: y,
style: h
}, /*#__PURE__*/ R.isValidElement(_) ? _ : `${_}`), p());
-}, sG = "recharts-tooltip-wrapper", _Te = { visibility: "hidden" };
-function vTe(e) {
+}, sG = "recharts-tooltip-wrapper", vTe = { visibility: "hidden" };
+function yTe(e) {
var { coordinate: t, translateX: n, translateY: r } = e;
return Sh(sG, {
[`${sG}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
@@ -56339,11 +56395,11 @@ function cG(e) {
var f = c[r];
return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);
}
-function yTe(e) {
+function bTe(e) {
var { translateX: t, translateY: n, useTranslate3d: r } = e;
return { transform: r ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function bTe(e) {
+function xTe(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({
allowEscapeViewBox: t,
@@ -56365,13 +56421,13 @@ function bTe(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = yTe({
+ }), u = bTe({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = _Te, {
+ })) : u = vTe, {
cssProperties: u,
- cssClasses: vTe({
+ cssClasses: yTe({
translateX: d,
translateY: f,
coordinate: n
@@ -56413,26 +56469,26 @@ function fG(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) {
- xTe(e, t, n[t]);
+ STe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xTe(e, t, n) {
- return (t = STe(t)) in e ? Object.defineProperty(e, t, {
+function STe(e, t, n) {
+ return (t = CTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function STe(e) {
- var t = CTe(e, "string");
+function CTe(e) {
+ var t = wTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function CTe(e, t) {
+function wTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56442,10 +56498,10 @@ function CTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function wTe(e) {
+function TTe(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) return `transform ${e.animationDuration}ms ${e.animationEasing}`;
}
-function TTe(e) {
+function ETe(e) {
var t = uG(), [n, r] = R.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
@@ -56467,7 +56523,7 @@ function TTe(e) {
document.removeEventListener("keydown", t);
};
}, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(fG(fG({}, n), {}, { dismissed: !1 }));
- var { cssClasses: i, cssProperties: a } = bTe({
+ var { cssClasses: i, cssProperties: a } = xTe({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -56480,7 +56536,7 @@ function TTe(e) {
},
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = fG(fG({}, e.hasPortalFromProps ? {} : fG(fG({ transition: wTe({
+ }), o = fG(fG({}, e.hasPortalFromProps ? {} : fG(fG({ transition: TTe({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -56500,7 +56556,7 @@ function TTe(e) {
ref: e.innerRef
}, e.children);
}
-var ETe = /*#__PURE__*/ R.memo(TTe), pG = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
+var DTe = /*#__PURE__*/ R.memo(ETe), pG = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
function mG() {
@@ -56526,26 +56582,26 @@ function gG(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) {
- DTe(e, t, n[t]);
+ OTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function DTe(e, t, n) {
- return (t = OTe(t)) in e ? Object.defineProperty(e, t, {
+function OTe(e, t, n) {
+ return (t = kTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function OTe(e) {
- var t = kTe(e, "string");
+function kTe(e) {
+ var t = ATe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function kTe(e, t) {
+function ATe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56562,31 +56618,31 @@ var _G = {
curveBumpX: Dbe,
curveBumpY: Obe,
curveLinearClosed: Wbe,
- curveLinear: dz,
+ curveLinear: fz,
curveMonotoneX: Gbe,
curveMonotoneY: Kbe,
curveNatural: qbe,
curveStep: Jbe,
curveStepAfter: Xbe,
curveStepBefore: Ybe
-}, 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, ATe = (e, t) => {
+}, 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, jTe = (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"}`];
if (r) return r;
}
- return _G[n] || dz;
+ return _G[n] || fz;
}, SG = {
connectNulls: !1,
type: "linear"
-}, jTe = (e) => {
- var { type: t = SG.type, points: n = [], baseLine: r, layout: i, connectNulls: a = SG.connectNulls } = e, o = ATe(t, i), s = a ? n.filter(vG) : n;
+}, MTe = (e) => {
+ var { type: t = SG.type, points: n = [], baseLine: r, layout: i, connectNulls: a = SG.connectNulls } = e, o = jTe(t, i), s = a ? n.filter(vG) : 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);
+ return c = i === "vertical" ? gz().y(xG).x1(bG).x0((e) => e.base.x) : gz().x(bG).y1(xG).y0((e) => e.base.y), c.defined(yG).curve(o)(a ? l.filter(yG) : 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);
+ return (i === "vertical" && Z(r) ? gz().y(xG).x1(bG).x0(r) : Z(r) ? gz().x(bG).y1(xG).y0(r) : hz().x(bG).y(xG)).defined(vG).curve(o)(s);
}, CG = (e) => {
var { className: t, points: n, path: r, pathRef: i } = e, a = eW();
if ((!n || !n.length) && !r) return null;
@@ -56596,13 +56652,13 @@ var _G = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? jTe(o) : r;
- return /*#__PURE__*/ R.createElement("path", mG({}, UR(e), gB(e), {
+ }, s = n && n.length ? MTe(o) : r;
+ return /*#__PURE__*/ R.createElement("path", mG({}, WR(e), _B(e), {
className: Sh("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, MTe = [
+}, NTe = [
"x",
"y",
"top",
@@ -56630,30 +56686,30 @@ function TG(e, t) {
}
return n;
}
-function NTe(e) {
+function PTe(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) {
- PTe(e, t, n[t]);
+ FTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : TG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function PTe(e, t, n) {
- return (t = FTe(t)) in e ? Object.defineProperty(e, t, {
+function FTe(e, t, n) {
+ return (t = ITe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function FTe(e) {
- var t = ITe(e, "string");
+function ITe(e) {
+ var t = LTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ITe(e, t) {
+function LTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56663,16 +56719,16 @@ function ITe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function LTe(e, t) {
+function RTe(e, t) {
if (e == null) return {};
- var n, r, i = RTe(e, t);
+ var n, r, i = zTe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function RTe(e, t) {
+function zTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56681,8 +56737,8 @@ function RTe(e, t) {
}
return n;
}
-var zTe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, BTe = (e) => {
- var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = LTe(e, MTe), l = NTe({
+var BTe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, VTe = (e) => {
+ var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = RTe(e, NTe), l = PTe({
x: t,
y: n,
top: r,
@@ -56690,14 +56746,14 @@ var zTe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, BTe = (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", wG({}, KR(l), {
className: Sh("recharts-cross", s),
- d: zTe(t, n, a, o, r, i)
+ d: BTe(t, n, a, o, r, i)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function VTe(e, t, n, r) {
+function HTe(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -56724,26 +56780,26 @@ function DG(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) {
- HTe(e, t, n[t]);
+ UTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function HTe(e, t, n) {
- return (t = UTe(t)) in e ? Object.defineProperty(e, t, {
+function UTe(e, t, n) {
+ return (t = WTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function UTe(e) {
- var t = WTe(e, "string");
+function WTe(e) {
+ var t = GTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function WTe(e, t) {
+function GTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56753,7 +56809,7 @@ function WTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var GTe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), OG = (e, t, n) => e.map((e) => `${GTe(e)} ${t}ms ${n}`).join(","), KTe = (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 KTe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), OG = (e, t, n) => e.map((e) => `${KTe(e)} ${t}ms ${n}`).join(","), qTe = (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]) }), {});
//#endregion
//#region node_modules/recharts/es6/animation/configUpdate.js
function AG(e, t) {
@@ -56770,26 +56826,26 @@ function jG(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) {
- qTe(e, t, n[t]);
+ JTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qTe(e, t, n) {
- return (t = JTe(t)) in e ? Object.defineProperty(e, t, {
+function JTe(e, t, n) {
+ return (t = YTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function JTe(e) {
- var t = YTe(e, "string");
+function YTe(e) {
+ var t = XTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function YTe(e, t) {
+function XTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56818,7 +56874,7 @@ var MG = (e, t, n) => e + (t - e) * n, NG = (e) => {
from: MG(t.from, r[e].from, n)
}) : t, t) : PG(e, r, n - 1);
};
-function XTe(e, t, n, r, i, a) {
+function ZTe(e, t, n, r, i, a) {
var o, s = r.reduce((n, r) => jG(jG({}, n), {}, { [r]: {
from: e[r],
velocity: 0,
@@ -56833,7 +56889,7 @@ function XTe(e, t, n, r, i, a) {
(e = u) == null || e();
});
}
-function ZTe(e, t, n, r, i, a, o) {
+function QTe(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] });
@@ -56851,15 +56907,15 @@ function ZTe(e, t, n, r, i, a, o) {
(e = s) == null || e();
});
}
-var QTe = (e, t, n, r, i, a) => {
- var o = KTe(e, t);
- return n == null ? () => (i(jG(jG({}, e), t)), () => {}) : n.isStepper === !0 ? XTe(e, t, n, o, i, a) : ZTe(e, t, n, r, o, i, a);
+var $Te = (e, t, n, r, i, a) => {
+ var o = qTe(e, t);
+ return n == null ? () => (i(jG(jG({}, e), t)), () => {}) : n.isStepper === !0 ? ZTe(e, t, n, o, i, a) : QTe(e, t, n, r, o, i, a);
}, FG = (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), $Te = (e, t) => (n) => IG([...FG(e, t).map((e, t) => e * t).slice(1), 0], n), eEe = (e) => {
+], IG = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), LG = (e, t) => (n) => IG(FG(e, t), n), eEe = (e, t) => (n) => IG([...FG(e, t).map((e, t) => e * t).slice(1), 0], n), tEe = (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(",");
@@ -56871,7 +56927,7 @@ var QTe = (e, t, n, r, i, a) => {
i[2],
i[3]
];
-}, tEe = function() {
+}, nEe = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -56905,7 +56961,7 @@ var QTe = (e, t, n, r, i, a) => {
1
];
default:
- var t = eEe(e[0]);
+ var t = tEe(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -56914,8 +56970,8 @@ var QTe = (e, t, n, r, i, a) => {
1,
1
];
-}, nEe = (e, t, n, r) => {
- var i = LG(e, n), a = LG(t, r), o = $Te(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, rEe = (e, t, n, r) => {
+ var i = LG(e, n), a = LG(t, r), o = eEe(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);
@@ -56925,28 +56981,28 @@ var QTe = (e, t, n, r, i, a) => {
};
return c.isStepper = !1, c;
}, RG = function() {
- return nEe(...tEe(...arguments));
-}, rEe = function() {
+ return rEe(...nEe(...arguments));
+}, iEe = function() {
var { stiff: e = 100, damping: t = 8, dt: n = 17 } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = (r, i, a) => {
var o = a + (-(r - i) * e - a * t) * n / 1e3, s = a * n / 1e3 + r;
return Math.abs(s - i) < 1e-4 && Math.abs(o) < 1e-4 ? [i, 0] : [s, o];
};
return r.isStepper = !0, r.dt = n, r;
-}, iEe = (e) => {
+}, aEe = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
case "linear": return RG(e);
- case "spring": return rEe();
+ case "spring": return iEe();
default: if (e.split("(")[0] === "cubic-bezier") return RG(e);
}
return typeof e == "function" ? e : null;
};
//#endregion
//#region node_modules/recharts/es6/animation/AnimationManager.js
-function aEe(e) {
+function oEe(e) {
var t, n = () => null, r = !1, i = null, a = (o) => {
if (!r) {
if (Array.isArray(o)) {
@@ -56977,7 +57033,7 @@ function aEe(e) {
}
//#endregion
//#region node_modules/recharts/es6/animation/timeoutController.js
-var oEe = class {
+var sEe = class {
setTimeout(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = performance.now(), r = null, i = (a) => {
a - n >= t ? e(a) : typeof requestAnimationFrame == "function" && (r = requestAnimationFrame(i));
@@ -56989,14 +57045,14 @@ var oEe = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/createDefaultAnimationManager.js
-function sEe() {
- return aEe(new oEe());
+function cEe() {
+ return oEe(new sEe());
}
//#endregion
//#region node_modules/recharts/es6/animation/useAnimationManager.js
-var cEe = /*#__PURE__*/ (0, R.createContext)(sEe);
-function lEe(e, t) {
- var n = (0, R.useContext)(cEe);
+var lEe = /*#__PURE__*/ (0, R.createContext)(cEe);
+function uEe(e, t) {
+ var n = (0, R.useContext)(lEe);
return (0, R.useMemo)(() => t ?? n(e), [
e,
t,
@@ -57005,7 +57061,7 @@ function lEe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-var uEe = {
+var dEe = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -57015,12 +57071,12 @@ var uEe = {
onAnimationStart: () => {}
}, zG = { t: 0 }, BG = { t: 1 };
function VG(e) {
- var t = yB(e, uEe), { 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 = lEe(t.animationId, t.animationManager), [p, m] = (0, R.useState)(d ? zG : BG), h = (0, R.useRef)(null);
+ var t = bB(e, dEe), { 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 = uEe(t.animationId, t.animationManager), [p, m] = (0, R.useState)(d ? zG : BG), h = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
d || m(BG);
}, [d]), (0, R.useEffect)(() => {
- if (!d || !r) return lB;
- var e = QTe(zG, BG, iEe(a), i, m, f.getTimeoutController());
+ if (!d || !r) return uB;
+ var e = $Te(zG, BG, aEe(a), i, m, f.getTimeoutController());
return f.start([
c,
o,
@@ -57046,12 +57102,12 @@ 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;
+ 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 dEe = ["radius"], fEe = ["radius"], pEe, mEe, hEe, gEe, _Ee, vEe, yEe, bEe, xEe, SEe;
+var fEe = ["radius"], pEe = ["radius"], mEe, hEe, gEe, _Ee, vEe, yEe, bEe, xEe, SEe, CEe;
function UG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -57066,26 +57122,26 @@ function WG(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) {
- CEe(e, t, n[t]);
+ wEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function CEe(e, t, n) {
- return (t = wEe(t)) in e ? Object.defineProperty(e, t, {
+function wEe(e, t, n) {
+ return (t = TEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wEe(e) {
- var t = TEe(e, "string");
+function TEe(e) {
+ var t = EEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function TEe(e, t) {
+function EEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57106,14 +57162,14 @@ function GG() {
}
function KG(e, t) {
if (e == null) return {};
- var n, r, i = EEe(e, t);
+ var n, r, i = DEe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function EEe(e, t) {
+function DEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57126,7 +57182,7 @@ function qG(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 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,
@@ -57137,44 +57193,44 @@ var JG = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = Xz(pEe ||= qG([
+ d = Zz(mEe ||= qG([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += Xz(mEe ||= qG([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += Zz(hEe ||= qG([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += Xz(hEe ||= qG([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += Zz(gEe ||= qG([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += Xz(gEe ||= qG([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += Zz(_Ee ||= qG([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += Xz(_Ee ||= qG([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += Zz(vEe ||= qG([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += Xz(vEe ||= qG([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += Zz(yEe ||= qG([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += Xz(yEe ||= qG([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += Zz(bEe ||= qG([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += Xz(bEe ||= qG([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += Zz(xEe ||= qG([
"A ",
",",
",0,0,",
@@ -57184,8 +57240,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(xEe ||= 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(SEe ||= qG([
+ d = Zz(SEe ||= 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 = Zz(CEe ||= qG([
"M ",
",",
" h ",
@@ -57206,7 +57262,7 @@ var JG = (e, t, n, r, i) => {
animationDuration: 1500,
animationEasing: "ease"
}, XG = (e) => {
- var t = yB(e, YG), n = (0, R.useRef)(null), [r, i] = (0, R.useState)(-1);
+ var t = bB(e, YG), 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();
@@ -57229,12 +57285,12 @@ 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, dEe);
+ var S = KR(t), { radius: C } = S, w = KG(S, fEe);
return /*#__PURE__*/ R.createElement("path", GG({}, w, {
- x: Yz(a),
- y: Yz(o),
- width: Yz(s),
- height: Yz(c),
+ 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)
@@ -57250,12 +57306,12 @@ 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, fEe);
+ } : { strokeDasharray: k } : { strokeDasharray: A }, p = KR(t), { radius: h } = p, b = KG(p, pEe);
return /*#__PURE__*/ R.createElement("path", GG({}, b, {
radius: typeof l == "number" ? l : void 0,
className: x,
@@ -57281,26 +57337,26 @@ function QG(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) {
- DEe(e, t, n[t]);
+ OEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ZG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function DEe(e, t, n) {
- return (t = OEe(t)) in e ? Object.defineProperty(e, t, {
+function OEe(e, t, n) {
+ return (t = kEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function OEe(e) {
- var t = kEe(e, "string");
+function kEe(e) {
+ var t = AEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function kEe(e, t) {
+function AEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57310,10 +57366,10 @@ function kEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var $G = Math.PI / 180, eK = (e) => e * Math.PI / 180, AEe = (e) => e * 180 / Math.PI, tK = (e, t, n, r) => ({
+var $G = Math.PI / 180, eK = (e) => e * Math.PI / 180, jEe = (e) => e * 180 / Math.PI, tK = (e, t, n, r) => ({
x: e + Math.cos(-$G * r) * n,
y: t + Math.sin(-$G * r) * n
-}), jEe = function(e, t) {
+}), MEe = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
right: 0,
@@ -57324,11 +57380,11 @@ var $G = Math.PI / 180, eK = (e) => e * Math.PI / 180, AEe = (e) => e * 180 / Ma
brushBottom: 0
};
return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;
-}, MEe = (e, t) => {
+}, NEe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return Math.sqrt((n - i) ** 2 + (r - a) ** 2);
-}, NEe = (e, t) => {
- var { x: n, y: r } = e, { cx: i, cy: a } = t, o = MEe({
+}, PEe = (e, t) => {
+ var { x: n, y: r } = e, { cx: i, cy: a } = t, o = NEe({
x: n,
y: r
}, {
@@ -57342,25 +57398,25 @@ var $G = Math.PI / 180, eK = (e) => e * Math.PI / 180, AEe = (e) => e * 180 / Ma
var s = (n - i) / o, c = Math.acos(s);
return r > a && (c = 2 * Math.PI - c), {
radius: o,
- angle: AEe(c),
+ angle: jEe(c),
angleInRadian: c
};
-}, PEe = (e) => {
+}, FEe = (e) => {
var { startAngle: t, endAngle: n } = e, r = Math.floor(t / 360), i = Math.floor(n / 360), a = Math.min(r, i);
return {
startAngle: t - a * 360,
endAngle: n - a * 360
};
-}, FEe = (e, t) => {
+}, IEe = (e, t) => {
var { startAngle: n, endAngle: r } = t, i = Math.floor(n / 360), a = Math.floor(r / 360);
return e + Math.min(i, a) * 360;
-}, IEe = (e, t) => {
- var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = NEe({
+}, LEe = (e, t) => {
+ var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = PEe({
x: n,
y: r
}, t), { innerRadius: o, outerRadius: s } = t;
if (i < o || i > s || i === 0) return null;
- var { startAngle: c, endAngle: l } = PEe(t), u = a, d;
+ var { startAngle: c, endAngle: l } = FEe(t), u = a, d;
if (c <= l) {
for (; u > l;) u -= 360;
for (; u < c;) u += 360;
@@ -57372,7 +57428,7 @@ var $G = Math.PI / 180, eK = (e) => e * Math.PI / 180, AEe = (e) => e * 180 / Ma
}
return d ? QG(QG({}, t), {}, {
radius: i,
- angle: FEe(u, t)
+ angle: IEe(u, t)
}) : null;
};
//#endregion
@@ -57390,7 +57446,7 @@ function nK(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
-var LEe, REe, zEe, BEe, VEe, HEe, UEe;
+var REe, zEe, BEe, VEe, HEe, UEe, WEe;
function rK() {
return rK = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -57403,7 +57459,7 @@ function rK() {
function iK(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var WEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) => {
+var GEe = (e, t) => Qz(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;
return {
center: f,
@@ -57412,7 +57468,7 @@ var WEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) =>
theta: u
};
}, oK = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = WEe(a, o), c = a + s, l = tK(t, n, i, a), u = tK(t, n, i, c), d = Xz(LEe ||= iK([
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = GEe(a, o), c = a + s, l = tK(t, n, i, a), u = tK(t, n, i, c), d = Zz(REe ||= iK([
"M ",
",",
"\n A ",
@@ -57425,7 +57481,7 @@ var WEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) =>
]), 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(REe ||= iK([
+ d += Zz(zEe ||= iK([
"L ",
",",
"\n A ",
@@ -57436,14 +57492,14 @@ var WEe = (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(zEe ||= iK([
+ } else d += Zz(BEe ||= iK([
"L ",
",",
" Z"
]), t, n);
return d;
-}, GEe = (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({
+}, KEe = (e) => {
+ 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 } = aK({
cx: t,
cy: n,
radius: i,
@@ -57460,7 +57516,7 @@ var WEe = (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(BEe ||= iK([
+ if (_ < 0) return o ? Zz(VEe ||= iK([
"M ",
",",
"\n a",
@@ -57478,7 +57534,7 @@ var WEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) =>
startAngle: c,
endAngle: l
});
- var v = Xz(VEe ||= iK([
+ var v = Zz(HEe ||= iK([
"M ",
",",
"\n A",
@@ -57520,7 +57576,7 @@ var WEe = (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(HEe ||= iK([
+ v += Zz(UEe ||= iK([
"L",
",",
"\n A",
@@ -57541,13 +57597,13 @@ var WEe = (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(UEe ||= iK([
+ } else v += Zz(WEe ||= iK([
"L",
",",
"Z"
]), t, n);
return v;
-}, KEe = {
+}, qEe = {
cx: 0,
cy: 0,
innerRadius: 0,
@@ -57558,9 +57614,9 @@ var WEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) =>
forceCornerRadius: !1,
cornerIsExternal: !1
}, sK = (e) => {
- var t = yB(e, KEe), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
+ var t = bB(e, qEe), { 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 ? GEe({
+ var f = Sh("recharts-sector", d), p = a - i, m = rB(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? KEe({
cx: n,
cy: r,
innerRadius: i,
@@ -57578,14 +57634,14 @@ var WEe = (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", rK({}, KR(t), {
className: f,
d: h
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js
-function qEe(e, t, n) {
+function JEe(e, t, n) {
if (e === "horizontal") return [{
x: t.x,
y: n.top
@@ -57600,7 +57656,7 @@ function qEe(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);
return [{
@@ -57616,18 +57672,18 @@ function qEe(e, t, n) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
-function JEe(e) {
- return Gz(e) ? NaN : Number(e);
+function YEe(e) {
+ return Kz(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
function cK(e) {
- return e ? (e = JEe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
+ return e ? (e = YEe(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);
+ n && typeof n != "number" && $B(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);
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;
@@ -57666,7 +57722,7 @@ function gK(e, t) {
if (mK(o)) return o;
}
}
-function YEe(e, t, n) {
+function XEe(e, t, n) {
if (!(!n && t == null)) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
@@ -58113,7 +58169,7 @@ var bK = (e) => {
}
var u = r[c] ?? 1, d = new _K.default(u).mul(o);
return t ? d : new _K.default(Math.ceil(d.toNumber()));
-}, XEe = (e, t, n) => {
+}, ZEe = (e, t, n) => {
var r = new _K.default(1), i = new _K.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
@@ -58142,7 +58198,7 @@ var bK = (e) => {
var l = c === Infinity ? [s, ...Array(r - 1).fill(Infinity)] : [...Array(r - 1).fill(-Infinity), c];
return t > n ? l.reverse() : l;
}
- if (s === c) return XEe(s, r, i);
+ if (s === c) return ZEe(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);
return t > n ? p.reverse() : p;
}, TK = function(e, t) {
@@ -58151,7 +58207,7 @@ var bK = (e) => {
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];
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, ZEe = (e) => e.rootProps.baseValue, IK = {
+}, 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, QEe = (e) => e.rootProps.baseValue, IK = {
grid: -100,
barBackground: -50,
area: 100,
@@ -58231,26 +58287,26 @@ function HK(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) {
- QEe(e, t, n[t]);
+ $Ee(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : VK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function QEe(e, t, n) {
- return (t = $Ee(t)) in e ? Object.defineProperty(e, t, {
+function $Ee(e, t, n) {
+ return (t = eDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $Ee(e) {
- var t = eDe(e, "string");
+function eDe(e) {
+ var t = tDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eDe(e, t) {
+function tDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58308,21 +58364,21 @@ var UK = {
EU,
DU,
NU
-], jEe), YK = $([qK, JK], (e, t) => {
- if (e != null) return nB(e.innerRadius, t, 0);
+], MEe), YK = $([qK, JK], (e, t) => {
+ if (e != null) return rB(e.innerRadius, t, 0);
}), XK = $([qK, JK], (e, t) => {
- if (e != null) return nB(e.outerRadius, t, t * .8);
+ if (e != null) return rB(e.outerRadius, t, t * .8);
}), ZK = $([qK], (e) => {
if (e == null) return [0, 0];
var { startAngle: t, endAngle: n } = e;
return [t, n];
-}), tDe = $([GK, ZK], zK), QK = $([
+}), nDe = $([GK, ZK], zK), QK = $([
JK,
YK,
XK
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), nDe = $([KK, QK], zK), $K = $([
+}), rDe = $([KK, QK], zK), $K = $([
$U,
qK,
YK,
@@ -58333,8 +58389,8 @@ var UK = {
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,
@@ -58376,7 +58432,7 @@ var aq = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] &&
function oq(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
-function rDe(e, t) {
+function iDe(e, t) {
if (e.length === t.length) {
for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
return !0;
@@ -58455,7 +58511,7 @@ function dq(e, t) {
//#region node_modules/d3-array/src/bisector.js
function fq(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = iDe(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = aDe(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -58481,7 +58537,7 @@ function fq(e) {
right: i
};
}
-function iDe(e) {
+function aDe(e) {
return (t, n) => dq(e(t), n);
}
//#endregion
@@ -58489,7 +58545,7 @@ function iDe(e) {
function pq(e) {
return e === null ? NaN : +e;
}
-function* aDe(e, t) {
+function* oDe(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -58503,7 +58559,7 @@ mq.left, fq(pq).center;
//#endregion
//#region node_modules/internmap/src/index.js
var gq = class extends Map {
- constructor(e, t = cDe) {
+ constructor(e, t = lDe) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
@@ -58516,25 +58572,25 @@ var gq = class extends Map {
return super.has(_q(this, e));
}
set(e, t) {
- return super.set(oDe(this, e), t);
+ return super.set(sDe(this, e), t);
}
delete(e) {
- return super.delete(sDe(this, e));
+ return super.delete(cDe(this, e));
}
};
function _q({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function oDe({ _intern: e, _key: t }, n) {
+function sDe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function sDe({ _intern: e, _key: t }, n) {
+function cDe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function cDe(e) {
+function lDe(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
@@ -58607,15 +58663,15 @@ function Dq(e, t, n) {
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function lDe(e, t, n) {
- if (e = Float64Array.from(aDe(e, n)), r = e.length) {
+function uDe(e, t, n) {
+ if (e = Float64Array.from(oDe(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);
}
}
-function uDe(e, t, n = pq) {
+function dDe(e, t, n = pq) {
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);
@@ -58625,7 +58681,7 @@ function uDe(e, t, n = pq) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function dDe(e, t, n) {
+function fDe(e, t, n) {
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
return a;
@@ -58697,7 +58753,7 @@ function Nq() {
function d() {
var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;
a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));
- var m = dDe(e).map(function(e) {
+ var m = fDe(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -58732,7 +58788,7 @@ function Pq(e) {
return Pq(t());
}, e;
}
-function fDe() {
+function pDe() {
return Pq(Nq.apply(null, arguments).paddingInner(1));
}
//#endregion
@@ -58748,7 +58804,7 @@ function Iq(e, t) {
//#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*", pDe = /^#([0-9a-f]{3,8})$/, mDe = RegExp(`^rgb\\(${Bq},${Bq},${Bq}\\)$`), hDe = RegExp(`^rgb\\(${Hq},${Hq},${Hq}\\)$`), gDe = RegExp(`^rgba\\(${Bq},${Bq},${Bq},${Vq}\\)$`), _De = RegExp(`^rgba\\(${Hq},${Hq},${Hq},${Vq}\\)$`), vDe = RegExp(`^hsl\\(${Vq},${Hq},${Hq}\\)$`), yDe = RegExp(`^hsla\\(${Vq},${Hq},${Hq},${Vq}\\)$`), Uq = {
+var Rq = .7, zq = 1 / Rq, Bq = "\\s*([+-]?\\d+)\\s*", Vq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Hq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", mDe = /^#([0-9a-f]{3,8})$/, hDe = RegExp(`^rgb\\(${Bq},${Bq},${Bq}\\)$`), gDe = RegExp(`^rgb\\(${Hq},${Hq},${Hq}\\)$`), _De = RegExp(`^rgba\\(${Bq},${Bq},${Bq},${Vq}\\)$`), vDe = RegExp(`^rgba\\(${Hq},${Hq},${Hq},${Vq}\\)$`), yDe = RegExp(`^hsl\\(${Vq},${Hq},${Hq}\\)$`), bDe = RegExp(`^hsla\\(${Vq},${Hq},${Hq},${Vq}\\)$`), Uq = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -58907,18 +58963,18 @@ Fq(Lq, Kq, {
},
hex: Wq,
formatHex: Wq,
- formatHex8: bDe,
- formatHsl: xDe,
+ formatHex8: xDe,
+ formatHsl: SDe,
formatRgb: Gq,
toString: Gq
});
function Wq() {
return this.rgb().formatHex();
}
-function bDe() {
+function xDe() {
return this.rgb().formatHex8();
}
-function xDe() {
+function SDe() {
return rJ(this).formatHsl();
}
function Gq() {
@@ -58926,7 +58982,7 @@ function Gq() {
}
function Kq(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = pDe.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 = mDe.exec(e)) ? new Xq(t[1], t[2], t[3], 1) : (t = hDe.exec(e)) ? new Xq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = gDe.exec(e)) ? Jq(t[1], t[2], t[3], t[4]) : (t = _De.exec(e)) ? Jq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = vDe.exec(e)) ? nJ(t[1], t[2] / 100, t[3] / 100, 1) : (t = yDe.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 = mDe.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 = hDe.exec(e)) ? new Xq(t[1], t[2], t[3], 1) : (t = gDe.exec(e)) ? new Xq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = _De.exec(e)) ? Jq(t[1], t[2], t[3], t[4]) : (t = vDe.exec(e)) ? Jq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = yDe.exec(e)) ? nJ(t[1], t[2] / 100, t[3] / 100, 1) : (t = bDe.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;
}
function qq(e) {
return new Xq(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
@@ -58934,11 +58990,11 @@ function qq(e) {
function Jq(e, t, n, r) {
return r <= 0 && (e = t = n = NaN), new Xq(e, t, n, r);
}
-function SDe(e) {
+function CDe(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 ? SDe(e) : new Xq(e, t, n, r ?? 1);
+ return arguments.length === 1 ? CDe(e) : new Xq(e, t, n, r ?? 1);
}
function Xq(e, t, n, r) {
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
@@ -58961,14 +59017,14 @@ Fq(Xq, Yq, Iq(Lq, {
},
hex: Zq,
formatHex: Zq,
- formatHex8: CDe,
+ formatHex8: wDe,
formatRgb: Qq,
toString: Qq
}));
function Zq() {
return `#${tJ(this.r)}${tJ(this.g)}${tJ(this.b)}`;
}
-function CDe() {
+function wDe() {
return `#${tJ(this.r)}${tJ(this.g)}${tJ(this.b)}${tJ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
function Qq() {
@@ -58995,13 +59051,13 @@ function rJ(e) {
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new iJ(o, s, c, e.opacity);
}
-function wDe(e, t, n, r) {
+function TDe(e, t, n, r) {
return arguments.length === 1 ? rJ(e) : new iJ(e, t, n, r ?? 1);
}
function iJ(e, t, n, r) {
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
}
-Fq(iJ, wDe, Iq(Lq, {
+Fq(iJ, TDe, Iq(Lq, {
brighter(e) {
return e = e == null ? zq : zq ** +e, new iJ(this.h, this.s, this.l * e, this.opacity);
},
@@ -59037,29 +59093,29 @@ function sJ(e, t, n) {
var cJ = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function TDe(e, t) {
+function EDe(e, t) {
return function(n) {
return e + n * t;
};
}
-function EDe(e, t, n) {
+function DDe(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function DDe(e) {
+function ODe(e) {
return (e = +e) == 1 ? lJ : function(t, n) {
- return n - t ? EDe(t, n, e) : cJ(isNaN(t) ? n : t);
+ return n - t ? DDe(t, n, e) : cJ(isNaN(t) ? n : t);
};
}
function lJ(e, t) {
var n = t - e;
- return n ? TDe(e, n) : cJ(isNaN(e) ? t : e);
+ return n ? EDe(e, n) : cJ(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
var uJ = (function e(t) {
- var n = DDe(t);
+ var n = ODe(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);
return function(t) {
@@ -59070,7 +59126,7 @@ var uJ = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function ODe(e, t) {
+function kDe(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -59078,12 +59134,12 @@ function ODe(e, t) {
return r;
};
}
-function kDe(e) {
+function ADe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function ADe(e, t) {
+function jDe(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 < n; ++o) a[o] = t[o];
@@ -59094,7 +59150,7 @@ function ADe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function jDe(e, t) {
+function MDe(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -59109,7 +59165,7 @@ function dJ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function MDe(e, t) {
+function NDe(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];
return function(e) {
@@ -59120,23 +59176,23 @@ function MDe(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");
-function NDe(e) {
+function PDe(e) {
return function() {
return e;
};
}
-function PDe(e) {
+function FDe(e) {
return function(t) {
return e(t) + "";
};
}
-function FDe(e, t) {
+function IDe(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({
i: o,
x: dJ(r, i)
})), n = pJ.lastIndex;
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? PDe(c[0].x) : NDe(t) : (t = c.length, function(e) {
+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? FDe(c[0].x) : PDe(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("");
});
@@ -59145,7 +59201,7 @@ function FDe(e, t) {
//#region node_modules/d3-interpolate/src/value.js
function mJ(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) : FDe : t instanceof Kq ? uJ : t instanceof Date ? jDe : kDe(t) ? ODe : Array.isArray(t) ? ADe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? MDe : dJ)(e, t);
+ return t == null || n === "boolean" ? cJ(t) : (n === "number" ? dJ : n === "string" ? (r = Kq(t)) ? (t = r, uJ) : IDe : t instanceof Kq ? uJ : t instanceof Date ? MDe : ADe(t) ? kDe : Array.isArray(t) ? jDe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? NDe : dJ)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
@@ -59156,7 +59212,7 @@ function hJ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function IDe(e, t) {
+function LDe(e, t) {
t === void 0 && (t = e, e = mJ);
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) {
@@ -59166,7 +59222,7 @@ function IDe(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function LDe(e) {
+function RDe(e) {
return function() {
return e;
};
@@ -59185,21 +59241,21 @@ function vJ(e) {
function yJ(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : LDe(isNaN(t) ? NaN : .5);
+ } : RDe(isNaN(t) ? NaN : .5);
}
-function RDe(e, t) {
+function zDe(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function zDe(e, t, n) {
+function BDe(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 a(r(e));
};
}
-function BDe(e, t, n) {
+function VDe(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]);
return function(t) {
@@ -59214,7 +59270,7 @@ function xJ() {
var e = _J, t = _J, n = mJ, r, i, a, o = vJ, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== vJ && (o = RDe(e[0], e[n - 1])), s = n > 2 ? BDe : zDe, c = l = null, d;
+ return o !== vJ && (o = zDe(e[0], e[n - 1])), s = n > 2 ? VDe : BDe, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
@@ -59242,7 +59298,7 @@ function SJ() {
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function VDe(e) {
+function HDe(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
function CJ(e, t) {
@@ -59257,7 +59313,7 @@ function wJ(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function HDe(e, t) {
+function UDe(e, t) {
return function(n, r) {
for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];
return a.reverse().join(t);
@@ -59265,7 +59321,7 @@ function HDe(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function UDe(e) {
+function WDe(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -59274,9 +59330,9 @@ function UDe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var WDe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+var GDe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
function TJ(e) {
- if (!(t = WDe.exec(e))) throw Error("invalid format: " + e);
+ if (!(t = GDe.exec(e))) throw Error("invalid format: " + e);
var t;
return new EJ({
fill: t[1],
@@ -59300,7 +59356,7 @@ EJ.prototype.toString = function() {
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function GDe(e) {
+function KDe(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -59317,7 +59373,7 @@ function GDe(e) {
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
var DJ;
-function KDe(e, t) {
+function qDe(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;
@@ -59337,14 +59393,14 @@ var kJ = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: VDe,
+ d: HDe,
e: (e, t) => e.toExponential(t),
f: (e, t) => e.toFixed(t),
g: (e, t) => e.toPrecision(t),
o: (e) => Math.round(e).toString(8),
p: (e, t) => OJ(e * 100, t),
r: OJ,
- s: KDe,
+ s: qDe,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
@@ -59374,8 +59430,8 @@ var jJ = Array.prototype.map, MJ = [
"Z",
"Y"
];
-function qDe(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? AJ : HDe(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 : UDe(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 + "";
+function JDe(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? AJ : UDe(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 : WDe(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 + "";
function l(e, l) {
e = TJ(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;
@@ -59388,7 +59444,7 @@ function qDe(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = GDe(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 = KDe(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) {
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;
@@ -59429,27 +59485,27 @@ function qDe(e) {
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
var NJ, PJ, FJ;
-JDe({
+YDe({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function JDe(e) {
- return NJ = qDe(e), PJ = NJ.format, FJ = NJ.formatPrefix, NJ;
+function YDe(e) {
+ return NJ = JDe(e), PJ = NJ.format, FJ = NJ.formatPrefix, NJ;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function YDe(e) {
+function XDe(e) {
return Math.max(0, -wJ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function XDe(e, t) {
+function ZDe(e, t) {
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(wJ(t) / 3))) * 3 - wJ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
-function ZDe(e, t) {
+function QDe(e, t) {
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, wJ(t) - wJ(e)) + 1;
}
//#endregion
@@ -59459,16 +59515,16 @@ function IJ(e, t, n, r) {
switch (r = TJ(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = XDe(i, o)) && (r.precision = a), FJ(r, o);
+ return r.precision == null && !isNaN(a = ZDe(i, o)) && (r.precision = a), FJ(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = ZDe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = QDe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = YDe(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = XDe(i)) && (r.precision = a - (r.type === "%") * 2);
}
return PJ(r);
}
@@ -59531,19 +59587,19 @@ function VJ(e) {
function HJ(e) {
return Math.exp(e);
}
-function QDe(e) {
- return -Math.log(-e);
-}
function $De(e) {
- return -Math.exp(-e);
+ return -Math.log(-e);
}
function eOe(e) {
- return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
+ return -Math.exp(-e);
}
function tOe(e) {
- return e === 10 ? eOe : e === Math.E ? Math.exp : (t) => e ** +t;
+ return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
function nOe(e) {
+ return e === 10 ? tOe : e === Math.E ? Math.exp : (t) => e ** +t;
+}
+function rOe(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) {
@@ -59552,7 +59608,7 @@ function UJ(e) {
function WJ(e) {
let t = e(VJ, HJ), n = t.domain, r = 10, i, a;
function o() {
- return i = nOe(r), a = tOe(r), n()[0] < 0 ? (i = UJ(i), a = UJ(a), e(QDe, $De)) : e(VJ, HJ), t;
+ return i = rOe(r), a = nOe(r), n()[0] < 0 ? (i = UJ(i), a = UJ(a), e($De, eOe)) : e(VJ, HJ), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -59622,16 +59678,16 @@ function XJ(e) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function rOe(e) {
+function iOe(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function iOe(e) {
+function aOe(e) {
return e < 0 ? -e * e : e * e;
}
function ZJ(e) {
var t = e(vJ, vJ), n = 1;
function r() {
- return n === 1 ? e(vJ, vJ) : n === .5 ? e(rOe, iOe) : e(XJ(n), XJ(1 / n));
+ return n === 1 ? e(vJ, vJ) : n === .5 ? e(iOe, aOe) : e(XJ(n), XJ(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
@@ -59643,7 +59699,7 @@ function QJ() {
return bJ(e, QJ()).exponent(e.exponent());
}, kq.apply(e, arguments), e;
}
-function aOe() {
+function oOe() {
return QJ.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -59651,13 +59707,13 @@ function aOe() {
function $J(e) {
return Math.sign(e) * e * e;
}
-function oOe(e) {
+function sOe(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
function eY() {
var e = SJ(), t = [0, 1], n = !1, r;
function i(t) {
- var i = oOe(e(t));
+ var i = sOe(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
@@ -59684,7 +59740,7 @@ function tY() {
var e = [], t = [], n = [], r;
function i() {
var r = 0, i = Math.max(1, t.length);
- for (n = Array(i - 1); ++r < i;) n[r - 1] = uDe(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = dDe(e, r / i);
return a;
}
function a(e) {
@@ -59853,8 +59909,8 @@ function CY(e) {
e.setDate(e.getDate() + t * 7);
}, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * lY) / fY);
}
-var wY = CY(0), TY = CY(1), sOe = CY(2), cOe = CY(3), EY = CY(4), lOe = CY(5), uOe = CY(6);
-wY.range, TY.range, sOe.range, cOe.range, EY.range, lOe.range, uOe.range;
+var wY = CY(0), TY = CY(1), cOe = CY(2), lOe = CY(3), EY = CY(4), uOe = CY(5), dOe = CY(6);
+wY.range, TY.range, cOe.range, lOe.range, EY.range, uOe.range, dOe.range;
function DY(e) {
return oY((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
@@ -59862,8 +59918,8 @@ function DY(e) {
e.setUTCDate(e.getUTCDate() + t * 7);
}, (e, t) => (t - e) / fY);
}
-var OY = DY(0), kY = DY(1), dOe = DY(2), fOe = DY(3), AY = DY(4), pOe = DY(5), mOe = DY(6);
-OY.range, kY.range, dOe.range, fOe.range, AY.range, pOe.range, mOe.range;
+var OY = DY(0), kY = DY(1), fOe = DY(2), pOe = DY(3), AY = DY(4), mOe = DY(5), hOe = DY(6);
+OY.range, kY.range, fOe.range, pOe.range, AY.range, mOe.range, hOe.range;
//#endregion
//#region node_modules/d3-time/src/month.js
var jY = oY((e) => {
@@ -60010,7 +60066,7 @@ function FY(e, t, n, r, i, a) {
}
return [s, c];
}
-var [hOe, gOe] = FY(PY, MY, OY, SY, yY, _Y), [_Oe, vOe] = FY(NY, jY, wY, bY, vY, gY);
+var [gOe, _Oe] = FY(PY, MY, OY, SY, yY, _Y), [vOe, yOe] = FY(NY, jY, wY, bY, vY, gY);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
function IY(e) {
@@ -60038,7 +60094,7 @@ function RY(e, t, n) {
L: 0
};
}
-function yOe(e) {
+function bOe(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 = {
a: N,
A: ee,
@@ -60047,30 +60103,30 @@ function yOe(e) {
c: null,
d: JY,
e: JY,
- f: HOe,
- g: QOe,
- G: eke,
- H: zOe,
- I: BOe,
- j: VOe,
+ f: UOe,
+ g: $Oe,
+ G: tke,
+ H: BOe,
+ I: VOe,
+ j: HOe,
L: YY,
- m: UOe,
- M: WOe,
+ m: WOe,
+ M: GOe,
p: F,
q: ne,
Q: tX,
s: nX,
- S: GOe,
- u: KOe,
- U: qOe,
- V: JOe,
- w: YOe,
- W: XOe,
+ S: KOe,
+ u: qOe,
+ U: JOe,
+ V: YOe,
+ w: XOe,
+ W: ZOe,
x: null,
X: null,
- y: ZOe,
- Y: $Oe,
- Z: tke,
+ y: QOe,
+ Y: eke,
+ Z: nke,
"%": eX
}, b = {
a: re,
@@ -60080,30 +60136,30 @@ function yOe(e) {
c: null,
d: ZY,
e: ZY,
- f: ake,
- g: hke,
- G: _ke,
- H: nke,
- I: rke,
- j: ike,
+ f: oke,
+ g: gke,
+ G: vke,
+ H: rke,
+ I: ike,
+ j: ake,
L: QY,
- m: oke,
- M: ske,
+ m: ske,
+ M: cke,
p: se,
q: ce,
Q: tX,
s: nX,
- S: cke,
- u: lke,
- U: uke,
- V: dke,
- w: fke,
- W: pke,
+ S: lke,
+ u: uke,
+ U: dke,
+ V: fke,
+ w: pke,
+ W: mke,
x: null,
X: null,
- y: mke,
- Y: gke,
- Z: vke,
+ y: hke,
+ Y: _ke,
+ Z: yke,
"%": eX
}, x = {
a: E,
@@ -60113,31 +60169,31 @@ function yOe(e) {
c: A,
d: KY,
e: KY,
- f: FOe,
+ f: IOe,
g: GY,
G: WY,
H: qY,
I: qY,
- j: jOe,
- L: POe,
- m: AOe,
- M: MOe,
+ j: MOe,
+ L: FOe,
+ m: jOe,
+ M: NOe,
p: T,
- q: kOe,
- Q: LOe,
- s: ROe,
- S: NOe,
- u: wOe,
- U: TOe,
- V: EOe,
- w: COe,
- W: DOe,
+ q: AOe,
+ Q: ROe,
+ s: zOe,
+ S: POe,
+ u: TOe,
+ U: EOe,
+ V: DOe,
+ w: wOe,
+ W: OOe,
x: j,
X: M,
y: GY,
Y: WY,
- Z: OOe,
- "%": IOe
+ Z: kOe,
+ "%": LOe
};
y.x = S(n, y), y.X = S(r, y), y.c = S(t, y), b.x = S(n, b), b.X = S(r, b), b.c = S(t, b);
function S(e, t) {
@@ -60265,37 +60321,37 @@ var zY = {
"-": "",
_: " ",
0: "0"
-}, BY = /^\s*\d+/, bOe = /^%/, xOe = /[\\^$*+?|[\]().{}]/g;
+}, BY = /^\s*\d+/, xOe = /^%/, SOe = /[\\^$*+?|[\]().{}]/g;
function VY(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 SOe(e) {
- return e.replace(xOe, "\\$&");
+function COe(e) {
+ return e.replace(SOe, "\\$&");
}
function HY(e) {
- return RegExp("^(?:" + e.map(SOe).join("|") + ")", "i");
+ return RegExp("^(?:" + e.map(COe).join("|") + ")", "i");
}
function UY(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function COe(e, t, n) {
+function wOe(e, t, n) {
var r = BY.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function wOe(e, t, n) {
+function TOe(e, t, n) {
var r = BY.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function TOe(e, t, n) {
+function EOe(e, t, n) {
var r = BY.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function EOe(e, t, n) {
+function DOe(e, t, n) {
var r = BY.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function DOe(e, t, n) {
+function OOe(e, t, n) {
var r = BY.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
@@ -60307,15 +60363,15 @@ function GY(e, t, n) {
var r = BY.exec(t.slice(n, n + 2));
return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
}
-function OOe(e, t, n) {
+function kOe(e, t, n) {
var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n, n + 6));
return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
}
-function kOe(e, t, n) {
+function AOe(e, t, n) {
var r = BY.exec(t.slice(n, n + 1));
return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
}
-function AOe(e, t, n) {
+function jOe(e, t, n) {
var r = BY.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
@@ -60323,7 +60379,7 @@ function KY(e, t, n) {
var r = BY.exec(t.slice(n, n + 2));
return r ? (e.d = +r[0], n + r[0].length) : -1;
}
-function jOe(e, t, n) {
+function MOe(e, t, n) {
var r = BY.exec(t.slice(n, n + 3));
return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
}
@@ -60331,159 +60387,159 @@ function qY(e, t, n) {
var r = BY.exec(t.slice(n, n + 2));
return r ? (e.H = +r[0], n + r[0].length) : -1;
}
-function MOe(e, t, n) {
+function NOe(e, t, n) {
var r = BY.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function NOe(e, t, n) {
+function POe(e, t, n) {
var r = BY.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function POe(e, t, n) {
+function FOe(e, t, n) {
var r = BY.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function FOe(e, t, n) {
+function IOe(e, t, n) {
var r = BY.exec(t.slice(n, n + 6));
return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
}
-function IOe(e, t, n) {
- var r = bOe.exec(t.slice(n, n + 1));
+function LOe(e, t, n) {
+ var r = xOe.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function LOe(e, t, n) {
+function ROe(e, t, n) {
var r = BY.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function ROe(e, t, n) {
+function zOe(e, t, n) {
var r = BY.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 zOe(e, t) {
+function BOe(e, t) {
return VY(e.getHours(), t, 2);
}
-function BOe(e, t) {
+function VOe(e, t) {
return VY(e.getHours() % 12 || 12, t, 2);
}
-function VOe(e, t) {
+function HOe(e, t) {
return VY(1 + bY.count(NY(e), e), t, 3);
}
function YY(e, t) {
return VY(e.getMilliseconds(), t, 3);
}
-function HOe(e, t) {
+function UOe(e, t) {
return YY(e, t) + "000";
}
-function UOe(e, t) {
+function WOe(e, t) {
return VY(e.getMonth() + 1, t, 2);
}
-function WOe(e, t) {
+function GOe(e, t) {
return VY(e.getMinutes(), t, 2);
}
-function GOe(e, t) {
+function KOe(e, t) {
return VY(e.getSeconds(), t, 2);
}
-function KOe(e) {
+function qOe(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function qOe(e, t) {
+function JOe(e, t) {
return VY(wY.count(NY(e) - 1, e), t, 2);
}
function XY(e) {
var t = e.getDay();
return t >= 4 || t === 0 ? EY(e) : EY.ceil(e);
}
-function JOe(e, t) {
+function YOe(e, t) {
return e = XY(e), VY(EY.count(NY(e), e) + (NY(e).getDay() === 4), t, 2);
}
-function YOe(e) {
+function XOe(e) {
return e.getDay();
}
-function XOe(e, t) {
+function ZOe(e, t) {
return VY(TY.count(NY(e) - 1, e), t, 2);
}
-function ZOe(e, t) {
+function QOe(e, t) {
return VY(e.getFullYear() % 100, t, 2);
}
-function QOe(e, t) {
+function $Oe(e, t) {
return e = XY(e), VY(e.getFullYear() % 100, t, 2);
}
-function $Oe(e, t) {
+function eke(e, t) {
return VY(e.getFullYear() % 1e4, t, 4);
}
-function eke(e, t) {
+function tke(e, t) {
var n = e.getDay();
return e = n >= 4 || n === 0 ? EY(e) : EY.ceil(e), VY(e.getFullYear() % 1e4, t, 4);
}
-function tke(e) {
+function nke(e) {
var t = e.getTimezoneOffset();
return (t > 0 ? "-" : (t *= -1, "+")) + VY(t / 60 | 0, "0", 2) + VY(t % 60, "0", 2);
}
function ZY(e, t) {
return VY(e.getUTCDate(), t, 2);
}
-function nke(e, t) {
+function rke(e, t) {
return VY(e.getUTCHours(), t, 2);
}
-function rke(e, t) {
+function ike(e, t) {
return VY(e.getUTCHours() % 12 || 12, t, 2);
}
-function ike(e, t) {
+function ake(e, t) {
return VY(1 + xY.count(PY(e), e), t, 3);
}
function QY(e, t) {
return VY(e.getUTCMilliseconds(), t, 3);
}
-function ake(e, t) {
+function oke(e, t) {
return QY(e, t) + "000";
}
-function oke(e, t) {
+function ske(e, t) {
return VY(e.getUTCMonth() + 1, t, 2);
}
-function ske(e, t) {
+function cke(e, t) {
return VY(e.getUTCMinutes(), t, 2);
}
-function cke(e, t) {
+function lke(e, t) {
return VY(e.getUTCSeconds(), t, 2);
}
-function lke(e) {
+function uke(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function uke(e, t) {
+function dke(e, t) {
return VY(OY.count(PY(e) - 1, e), t, 2);
}
function $Y(e) {
var t = e.getUTCDay();
return t >= 4 || t === 0 ? AY(e) : AY.ceil(e);
}
-function dke(e, t) {
+function fke(e, t) {
return e = $Y(e), VY(AY.count(PY(e), e) + (PY(e).getUTCDay() === 4), t, 2);
}
-function fke(e) {
+function pke(e) {
return e.getUTCDay();
}
-function pke(e, t) {
+function mke(e, t) {
return VY(kY.count(PY(e) - 1, e), t, 2);
}
-function mke(e, t) {
+function hke(e, t) {
return VY(e.getUTCFullYear() % 100, t, 2);
}
-function hke(e, t) {
+function gke(e, t) {
return e = $Y(e), VY(e.getUTCFullYear() % 100, t, 2);
}
-function gke(e, t) {
+function _ke(e, t) {
return VY(e.getUTCFullYear() % 1e4, t, 4);
}
-function _ke(e, t) {
+function vke(e, t) {
var n = e.getUTCDay();
return e = n >= 4 || n === 0 ? AY(e) : AY.ceil(e), VY(e.getUTCFullYear() % 1e4, t, 4);
}
-function vke() {
+function yke() {
return "+0000";
}
function eX() {
@@ -60498,7 +60554,7 @@ function nX(e) {
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
var rX, iX, aX;
-yke({
+bke({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -60550,15 +60606,15 @@ yke({
"Dec"
]
});
-function yke(e) {
- return rX = yOe(e), iX = rX.format, rX.parse, aX = rX.utcFormat, rX.utcParse, rX;
+function bke(e) {
+ return rX = bOe(e), iX = rX.format, rX.parse, aX = rX.utcFormat, rX.utcParse, rX;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function bke(e) {
+function xke(e) {
return new Date(e);
}
-function xke(e) {
+function Ske(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
function oX(e, t, n, r, i, a, o, s, c, l) {
@@ -60569,7 +60625,7 @@ function oX(e, t, n, r, i, a, o, s, c, l) {
return u.invert = function(e) {
return new Date(d(e));
}, u.domain = function(e) {
- return arguments.length ? f(Array.from(e, xke)) : f().map(bke);
+ return arguments.length ? f(Array.from(e, Ske)) : f().map(xke);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -60582,13 +60638,13 @@ function oX(e, t, n, r, i, a, o, s, c, l) {
return bJ(u, oX(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function Ske() {
- return kq.apply(oX(_Oe, vOe, NY, jY, wY, bY, vY, gY, hY, iX).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function Cke() {
+ return kq.apply(oX(vOe, yOe, NY, jY, wY, bY, vY, gY, hY, iX).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function Cke() {
- return kq.apply(oX(hOe, gOe, PY, MY, OY, xY, yY, _Y, hY, aX).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function wke() {
+ return kq.apply(oX(gOe, _Oe, PY, MY, OY, xY, yY, _Y, hY, aX).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
@@ -60643,7 +60699,7 @@ function fX() {
return cX(e, fX()).exponent(e.exponent());
}, Aq.apply(e, arguments);
}
-function wke() {
+function Tke() {
return fX.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -60663,7 +60719,7 @@ function pX() {
}, n.range = function() {
return e.map((n, r) => t(r / (e.length - 1)));
}, n.quantiles = function(t) {
- return Array.from({ length: t + 1 }, (n, r) => lDe(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => uDe(e, r / t));
}, n.copy = function() {
return pX(t).domain(e);
}, Aq.apply(n, arguments);
@@ -60689,7 +60745,7 @@ function mX() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = IDe(e, [
+ return arguments.length ? ([n, r, i] = t, l = LDe(e, [
n,
r,
i
@@ -60734,7 +60790,7 @@ function vX() {
return cX(e, vX()).exponent(e.exponent());
}, Aq.apply(e, arguments);
}
-function Tke() {
+function Eke() {
return vX.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -60744,14 +60800,14 @@ var yX = /* @__PURE__ */ wt({
scaleDiverging: () => hX,
scaleDivergingLog: () => gX,
scaleDivergingPow: () => vX,
- scaleDivergingSqrt: () => Tke,
+ scaleDivergingSqrt: () => Eke,
scaleDivergingSymlog: () => _X,
scaleIdentity: () => zJ,
scaleImplicit: () => jq,
scaleLinear: () => RJ,
scaleLog: () => GJ,
scaleOrdinal: () => Mq,
- scalePoint: () => fDe,
+ scalePoint: () => pDe,
scalePow: () => QJ,
scaleQuantile: () => tY,
scaleQuantize: () => nY,
@@ -60760,26 +60816,26 @@ var yX = /* @__PURE__ */ wt({
scaleSequentialLog: () => uX,
scaleSequentialPow: () => fX,
scaleSequentialQuantile: () => pX,
- scaleSequentialSqrt: () => wke,
+ scaleSequentialSqrt: () => Tke,
scaleSequentialSymlog: () => dX,
- scaleSqrt: () => aOe,
+ scaleSqrt: () => oOe,
scaleSymlog: () => YJ,
scaleThreshold: () => rY,
- scaleTime: () => Ske,
- scaleUtc: () => Cke,
+ scaleTime: () => Cke,
+ scaleUtc: () => wke,
tickFormat: () => IJ
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function Eke(e) {
+function Dke(e) {
if (e in yX) return yX[e]();
- var t = `scale${sB(e)}`;
+ var t = `scale${cB(e)}`;
if (t in yX) return yX[t]();
}
function bX(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = Eke(e);
+ var r = Dke(e);
if (r != null) return r.domain(t).range(n), r;
}
}
@@ -60788,22 +60844,22 @@ function xX(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function Dke(e) {
- return `scale${sB(e)}`;
-}
function Oke(e) {
- return Dke(e) in yX;
+ return `scale${cB(e)}`;
+}
+function kke(e) {
+ return Oke(e) in yX;
}
var SX = (e, t, n) => {
if (e != null) {
var { scale: r, type: i } = e;
if (r === "auto") return i === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !t) ? "point" : i === "category" ? "band" : "linear";
- if (typeof r == "string") return Oke(r) ? r : "point";
+ if (typeof r == "string") return kke(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function kke(e, t) {
+function Ake(e, t) {
for (var n = 0, r = e.length, i = e[0] < e[e.length - 1]; n < r;) {
var a = Math.floor((n + r) / 2);
(i ? e[a] < t : e[a] > t) ? n = a + 1 : r = a;
@@ -60814,7 +60870,7 @@ function CX(e, t) {
if (e) {
var n = t ?? e.domain(), r = n.map((t) => e(t) ?? 0), i = e.range();
if (!(n.length === 0 || i.length < 2)) return (e) => {
- var t = kke(r, e);
+ var t = Ake(r, e);
if (t <= 0) return n[0];
if (t >= n.length) return n[n.length - 1];
var i = r[t - 1] ?? 0, a = r[t] ?? 0;
@@ -60824,7 +60880,7 @@ function CX(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function Ake(e) {
+function jke(e) {
if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : CX(e, void 0);
}
//#endregion
@@ -60843,26 +60899,26 @@ function TX(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) {
- jke(e, t, n[t]);
+ Mke(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wX(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function jke(e, t, n) {
- return (t = Mke(t)) in e ? Object.defineProperty(e, t, {
+function Mke(e, t, n) {
+ return (t = Nke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Mke(e) {
- var t = Nke(e, "string");
+function Nke(e) {
+ var t = Pke(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Nke(e, t) {
+function Pke(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60930,7 +60986,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, Pke = {
+}, jX = (e, t) => e.cartesianAxis.yAxis[t], MX = (e, t) => jX(e, t) ?? AX, Fke = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -60943,7 +60999,7 @@ var EX = [0, "auto"], DX = {
scale: "auto",
type: "number",
unit: ""
-}, NX = (e, t) => e.cartesianAxis.zAxis[t] ?? Pke, PX = (e, t, n) => {
+}, NX = (e, t) => e.cartesianAxis.zAxis[t] ?? Fke, PX = (e, t, n) => {
switch (t) {
case "xAxis": return kX(e, n);
case "yAxis": return MX(e, n);
@@ -60952,7 +61008,7 @@ var EX = [0, "auto"], DX = {
case "radiusAxis": return KK(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, Fke = (e, t, n) => {
+}, Ike = (e, t, n) => {
switch (t) {
case "xAxis": return kX(e, n);
case "yAxis": return MX(e, n);
@@ -60979,20 +61035,20 @@ function LX(e, t) {
}
};
}
-var RX = (e) => e.graphicalItems.cartesianItems, Ike = $([eq, tq], LX), zX = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), BX = $([
+var RX = (e) => e.graphicalItems.cartesianItems, Lke = $([eq, tq], LX), zX = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), BX = $([
RX,
PX,
- Ike
-], 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), Lke = $([BX], HX), UX = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Rke = $([BX], UX, { memoizeOptions: { resultEqualityCheck: oq } }), WX = (e, t) => {
+ Lke
+], 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), Rke = $([BX], HX), UX = (e) => e.map((e) => e.data).filter(Boolean).flat(1), zke = $([BX], UX, { memoizeOptions: { resultEqualityCheck: oq } }), WX = (e, t) => {
var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;
return e.length > 0 ? e : n.slice(r, i + 1);
-}, GX = $([Rke, 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 = $([zke, 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) {
+ if (tB(e) || e instanceof Date) {
var t = Number(e);
if (cU(t)) return t;
}
@@ -61006,13 +61062,13 @@ function YX(e) {
if (n != null) return [n, n];
}
function XX(e) {
- return e.map(JX).filter(cB);
+ return e.map(JX).filter(lB);
}
-function zke(e, t) {
+function Bke(e, t) {
var n = JX(e), r = JX(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var Bke = $([qX], (e) => e?.map((e) => e.value).sort(zke));
+var Vke = $([qX], (e) => e?.map((e) => e.value).sort(Bke));
function ZX(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
@@ -61020,13 +61076,13 @@ function ZX(e, t) {
default: return !1;
}
}
-function Vke(e, t, n) {
- return !n || typeof t != "number" || Qz(t) || !n.length ? [] : XX(n.flatMap((n) => {
+function Hke(e, t, n) {
+ return !n || typeof t != "number" || $z(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];
}));
}
-var QX = (e) => FX(e, sq(e), cq(e)), $X = $([QX], (e) => e?.dataKey), Hke = $([
+var QX = (e) => FX(e, sq(e), cq(e)), $X = $([QX], (e) => e?.dataKey), Uke = $([
VX,
fK,
QX
@@ -61039,22 +61095,22 @@ var QX = (e) => FX(e, sq(e), cq(e)), $X = $([QX], (e) => e?.dataKey), Hke = $([
return Object.fromEntries(Object.entries(i).map((t) => {
var [i, a] = t, o = r ? [...a].reverse() : a;
return [i, {
- stackedData: HCe(e, o.map(nq), n),
+ stackedData: UCe(e, o.map(nq), n),
graphicalItems: o
}];
}));
}, tZ = $([
- Hke,
+ Uke,
VX,
AK,
jK
], eZ), nZ = (e, t, n, r) => {
var { dataStartIndex: i, dataEndIndex: a } = t;
if (r == null && n !== "zAxis") {
- var o = GCe(e, i, a);
+ var o = KCe(e, i, a);
if (o == null || o[0] !== 0 || o[1] !== 0) return o;
}
-}, Uke = $([PX], (e) => e.allowDataOverflow), rZ = (e) => {
+}, Wke = $([PX], (e) => e.allowDataOverflow), rZ = (e) => {
if (e == null || !("domain" in e)) return EX;
if (e.domain != null) return e.domain;
if ("ticks" in e && e.ticks != null) {
@@ -61065,12 +61121,12 @@ var QX = (e) => FX(e, sq(e), cq(e)), $X = $([QX], (e) => e?.dataKey), Hke = $([
if (e.type === "category") return e.ticks.map(String);
}
return e?.domain ?? EX;
-}, iZ = $([PX], rZ), aZ = $([iZ, Uke], gK), Wke = $([
+}, iZ = $([PX], rZ), aZ = $([iZ, Wke], gK), Gke = $([
tZ,
uK,
eq,
aZ
-], nZ, { memoizeOptions: { resultEqualityCheck: aq } }), oZ = (e) => e.errorBars, Gke = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => ZX(n, e)), sZ = function() {
+], nZ, { memoizeOptions: { resultEqualityCheck: aq } }), oZ = (e) => e.errorBars, Kke = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => ZX(n, e)), sZ = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
@@ -61080,7 +61136,7 @@ var QX = (e) => FX(e, sq(e), cq(e)), $X = $([QX], (e) => e?.dataKey), Hke = $([
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 = Vke(e, c, s);
+ var s = r[n.id]?.filter((e) => ZX(i, e)), c = fU(e, t.dataKey ?? n.dataKey), l = Hke(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);
@@ -61092,29 +61148,29 @@ var QX = (e) => FX(e, sq(e), cq(e)), $X = $([QX], (e) => e?.dataKey), Hke = $([
var n = YX(fU(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];
-}, Kke = $([
+}, qke = $([
GX,
PX,
- Lke,
+ Rke,
oZ,
eq
], cZ, { memoizeOptions: { resultEqualityCheck: aq } });
-function qke(e) {
+function Jke(e) {
var { value: t } = e;
- if (eB(t) || t instanceof Date) return t;
+ if (tB(t) || t instanceof Date) return t;
}
-var Jke = (e, t, n) => {
- var r = e.map(qke).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), Yke = $([
+var Yke = (e, t, n) => {
+ var r = e.map(Jke).filter((e) => e != null);
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && iB(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), Xke = $([
lZ,
eq,
tq
-], uZ), dZ = (e) => e.referenceElements.areas, Xke = $([
+], uZ), dZ = (e) => e.referenceElements.areas, Zke = $([
dZ,
eq,
tq
-], uZ), fZ = (e) => e.referenceElements.lines, Zke = $([
+], uZ), fZ = (e) => e.referenceElements.lines, Qke = $([
fZ,
eq,
tq
@@ -61123,40 +61179,40 @@ var Jke = (e, t, n) => {
var n = XX(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, Qke = $(Yke, eq, pZ), mZ = (e, t) => {
+}, $ke = $(Xke, eq, pZ), mZ = (e, t) => {
if (e != null) {
var n = XX(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)];
}
-}, $ke = $([Xke, eq], mZ);
-function eAe(e) {
+}, eAe = $([Zke, eq], mZ);
+function tAe(e) {
if (e.x != null) return XX([e.x]);
var t = e.segment?.map((e) => e.x);
return t == null || t.length === 0 ? [] : XX(t);
}
-function tAe(e) {
+function nAe(e) {
if (e.y != null) return XX([e.y]);
var t = e.segment?.map((e) => e.y);
return t == null || t.length === 0 ? [] : XX(t);
}
var hZ = (e, t) => {
if (e != null) {
- var n = e.flatMap((e) => t === "xAxis" ? eAe(e) : tAe(e));
+ var n = e.flatMap((e) => t === "xAxis" ? tAe(e) : nAe(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, nAe = $(Qke, $([Zke, eq], hZ), $ke, (e, t, n) => sZ(e, n, t)), gZ = (e, t, n, r, i, a, o, s) => n ?? YEe(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? sZ(r, a, i) : sZ(a, i), e.allowDataOverflow), rAe = $([
+}, rAe = $($ke, $([Qke, eq], hZ), eAe, (e, t, n) => sZ(e, n, t)), gZ = (e, t, n, r, i, a, o, s) => n ?? XEe(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? sZ(r, a, i) : sZ(a, i), e.allowDataOverflow), iAe = $([
PX,
iZ,
aZ,
- Wke,
- Kke,
- nAe,
+ Gke,
+ qke,
+ rAe,
$U,
eq
-], gZ, { memoizeOptions: { resultEqualityCheck: aq } }), iAe = [0, 1], _Z = (e, t, n, r, i, a, o) => {
+], gZ, { memoizeOptions: { resultEqualityCheck: aq } }), aAe = [0, 1], _Z = (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" ? Jke(r, e, l) : i === "expand" ? iAe : o;
+ return l && s == null ? lK(0, n?.length ?? 0) : c === "category" ? Yke(r, e, l) : i === "expand" ? aAe : o;
}
}, vZ = $([
PX,
@@ -61165,7 +61221,7 @@ var hZ = (e, t) => {
qX,
AK,
eq,
- rAe
+ iAe
], _Z), yZ = $([
PX,
IX,
@@ -61193,7 +61249,7 @@ var hZ = (e, t) => {
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, aAe = $([
+}, oAe = $([
PX,
vZ,
xZ,
@@ -61218,17 +61274,17 @@ var hZ = (e, t) => {
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;
-}), oAe = (e, t, n) => {
+}), sAe = (e, t, n) => {
var r = kX(e, t);
return r == null || typeof r.padding != "string" ? 0 : CZ(e, "xAxis", t, n, r.padding);
-}, sAe = (e, t, n) => {
+}, cAe = (e, t, n) => {
var r = MX(e, t);
return r == null || typeof r.padding != "string" ? 0 : CZ(e, "yAxis", t, n, r.padding);
-}, cAe = $(kX, oAe, (e, t) => {
+}, lAe = $(kX, sAe, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -61241,7 +61297,7 @@ var hZ = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), lAe = $(MX, sAe, (e, t) => {
+}), uAe = $(MX, cAe, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -61254,19 +61310,19 @@ var hZ = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), uAe = $([
+}), dAe = $([
NU,
- cAe,
+ lAe,
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];
-}), dAe = $([
+}), fAe = $([
NU,
$U,
- lAe,
+ uAe,
LU,
IU,
(e, t, n) => n
@@ -61275,8 +61331,8 @@ var hZ = (e, t) => {
return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];
}), wZ = (e, t, n, r) => {
switch (t) {
- case "xAxis": return uAe(e, n, r);
- case "yAxis": return dAe(e, n, r);
+ case "xAxis": return dAe(e, n, r);
+ case "yAxis": return fAe(e, n, r);
case "zAxis": return NX(e, n)?.range;
case "angleAxis": return ZK(e);
case "radiusAxis": return QK(e, n);
@@ -61285,7 +61341,7 @@ var hZ = (e, t) => {
}, TZ = $([PX, wZ], zK), EZ = $([
PX,
yZ,
- $([yZ, aAe], uq),
+ $([yZ, oAe], uq),
TZ
], xX), DZ = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
@@ -61298,54 +61354,54 @@ var hZ = (e, t) => {
FX,
eq
], DZ), kZ = $([EZ], lq);
-$([EZ], Ake), $([EZ, Bke], CX), $([
+$([EZ], jke), $([EZ, Vke], CX), $([
BX,
oZ,
eq
-], Gke);
+], Kke);
function AZ(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var jZ = (e, t) => t, MZ = (e, t, n) => n, fAe = $(kU, jZ, MZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(AZ)), pAe = $(AU, jZ, MZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(AZ)), NZ = (e, t) => ({
+var jZ = (e, t) => t, MZ = (e, t, n) => n, pAe = $(kU, jZ, MZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(AZ)), mAe = $(AU, jZ, MZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(AZ)), NZ = (e, t) => ({
width: e.width,
height: t.height
-}), mAe = (e, t) => ({
+}), hAe = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), PZ = $(NU, kX, NZ), hAe = (e, t, n) => {
+}), PZ = $(NU, kX, NZ), gAe = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, gAe = (e, t, n) => {
+}, _Ae = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, _Ae = $(DU, NU, fAe, jZ, MZ, (e, t, n, r, i) => {
+}, vAe = $(DU, NU, pAe, jZ, MZ, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
var s = NZ(t, n);
- o ??= hAe(t, r, e);
+ o ??= gAe(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;
-}), vAe = $(EU, NU, pAe, jZ, MZ, (e, t, n, r, i) => {
+}), yAe = $(EU, NU, mAe, jZ, MZ, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = mAe(t, n);
- o ??= gAe(t, r, e);
+ var s = hAe(t, n);
+ o ??= _Ae(t, r, e);
var c = r === "left" && !i || r === "right" && i;
a[n.id] = o - Number(c) * s.width, o += (c ? -1 : 1) * s.width;
}), a;
-}), yAe = $([
+}), bAe = $([
NU,
kX,
(e, t) => {
var n = kX(e, t);
- if (n != null) return _Ae(e, n.orientation, n.mirror);
+ if (n != null) return vAe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -61359,12 +61415,12 @@ var jZ = (e, t) => t, MZ = (e, t, n) => n, fAe = $(kU, jZ, MZ, (e, t, n) => e.fi
y: i
};
}
-}), bAe = $([
+}), xAe = $([
NU,
MX,
(e, t) => {
var n = MX(e, t);
- if (n != null) return vAe(e, n.orientation, n.mirror);
+ if (n != null) return yAe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -61390,7 +61446,7 @@ var jZ = (e, t) => t, MZ = (e, t, n) => n, fAe = $(kU, jZ, MZ, (e, t, n) => e.fi
}, LZ = (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;
+ if (o && s && a === "category" && i && iB(c)) return c;
}
}, RZ = $([
$U,
@@ -61399,7 +61455,7 @@ var jZ = (e, t) => t, MZ = (e, t, n) => n, fAe = $(kU, jZ, MZ, (e, t, n) => e.fi
eq
], LZ), zZ = $([
$U,
- Fke,
+ Ike,
yZ,
kZ,
RZ,
@@ -61434,7 +61490,7 @@ var jZ = (e, t) => t, MZ = (e, t, n) => n, fAe = $(kU, jZ, MZ, (e, t, n) => e.fi
}), BZ = (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;
+ 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);
@@ -61444,7 +61500,7 @@ var jZ = (e, t) => t, MZ = (e, t, n) => n, fAe = $(kU, jZ, MZ, (e, t, n) => e.fi
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) ? {
coordinate: n + m,
@@ -61452,7 +61508,7 @@ var jZ = (e, t) => t, MZ = (e, t, n) => n, fAe = $(kU, jZ, MZ, (e, t, n) => e.fi
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) ? {
coordinate: n + m,
@@ -61460,7 +61516,7 @@ var jZ = (e, t) => t, MZ = (e, t, n) => n, fAe = $(kU, jZ, MZ, (e, t, n) => e.fi
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) ? {
coordinate: n + m,
@@ -61468,7 +61524,7 @@ var jZ = (e, t) => t, MZ = (e, t, n) => n, fAe = $(kU, jZ, MZ, (e, t, n) => e.fi
index: t,
offset: m
} : null;
- }).filter(cB);
+ }).filter(lB);
}
}, VZ = $([
$U,
@@ -61483,7 +61539,7 @@ var jZ = (e, t) => t, MZ = (e, t, n) => n, fAe = $(kU, jZ, MZ, (e, t, n) => e.fi
], BZ), HZ = (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) => {
+ 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) ? {
coordinate: r + l,
@@ -61491,7 +61547,7 @@ var jZ = (e, t) => t, MZ = (e, t, n) => n, fAe = $(kU, jZ, MZ, (e, t, n) => e.fi
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) ? {
coordinate: r + l,
@@ -61499,7 +61555,7 @@ var jZ = (e, t) => t, MZ = (e, t, n) => n, fAe = $(kU, jZ, MZ, (e, t, n) => e.fi
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) ? {
coordinate: r + l,
@@ -61507,7 +61563,7 @@ var jZ = (e, t) => t, MZ = (e, t, n) => n, fAe = $(kU, jZ, MZ, (e, t, n) => e.fi
index: t,
offset: l
} : null;
- }).filter(cB);
+ }).filter(lB);
}
}, UZ = $([
$U,
@@ -61528,7 +61584,7 @@ $((e, t, n) => NX(e, n), $([$([
], xX)], lq), (e, t) => {
if (e != null && t != null) return TX(TX({}, e), {}, { scale: t });
});
-var xAe = $([
+var SAe = $([
$U,
kU,
AU
@@ -61562,15 +61618,15 @@ function qZ(e, t, n) {
function JZ(e, t) {
return qZ(t, GZ(e), KZ(e));
}
-function SAe(e) {
+function CAe(e) {
return Q((t) => JZ(t, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
var YZ = (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;
-}, CAe = (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;
+}, wAe = (e) => e.tooltip.settings, XZ = {
active: !1,
index: null,
dataKey: void 0,
@@ -61655,7 +61711,7 @@ var YZ = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), { addTooltipEntrySettings: wAe, replaceTooltipEntrySettings: TAe, removeTooltipEntrySettings: EAe, setTooltipSettingsState: DAe, setActiveMouseOverItemIndex: QZ, mouseLeaveItem: OAe, mouseLeaveChart: $Z, setActiveClickItemIndex: kAe, setMouseOverAxisIndex: eQ, setMouseClickAxisIndex: AAe, setSyncInteraction: tQ, setKeyboardInteraction: nQ } = ZZ.actions, jAe = ZZ.reducer;
+}), { addTooltipEntrySettings: TAe, replaceTooltipEntrySettings: EAe, removeTooltipEntrySettings: DAe, setTooltipSettingsState: OAe, setActiveMouseOverItemIndex: QZ, mouseLeaveItem: kAe, mouseLeaveChart: $Z, setActiveClickItemIndex: AAe, setMouseOverAxisIndex: eQ, setMouseClickAxisIndex: jAe, setSyncInteraction: tQ, setKeyboardInteraction: nQ } = ZZ.actions, MAe = ZZ.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
function rQ(e, t) {
@@ -61672,26 +61728,26 @@ function iQ(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) {
- MAe(e, t, n[t]);
+ NAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : rQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function MAe(e, t, n) {
- return (t = NAe(t)) in e ? Object.defineProperty(e, t, {
+function NAe(e, t, n) {
+ return (t = PAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function NAe(e) {
- var t = PAe(e, "string");
+function PAe(e) {
+ var t = FAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function PAe(e, t) {
+function FAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61701,21 +61757,21 @@ function PAe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function FAe(e, t, n) {
+function IAe(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function IAe(e) {
+function LAe(e) {
return e.index != null;
}
var aQ = (e, t, n, r) => {
if (t == null) return XZ;
- var i = FAe(e, t, n);
+ var i = IAe(e, t, n);
if (i == null) return XZ;
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 (IAe(i)) {
+ if (LAe(i)) {
if (a) return iQ(iQ({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
@@ -61728,7 +61784,7 @@ var aQ = (e, t, n, r) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function LAe(e) {
+function RAe(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -61737,14 +61793,14 @@ function LAe(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function RAe(e, t) {
- var n = LAe(e), r = t[0], i = t[1];
+function zAe(e, t) {
+ var n = RAe(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function zAe(e, t, n) {
+function BAe(e, t, n) {
if (n == null || t == null) return !0;
var r = fU(e, t);
- return r == null || !mK(n) || RAe(r, n);
+ return r == null || !mK(n) || zAe(r, n);
}
var oQ = (e, t, n, r) => {
var i = e?.index;
@@ -61754,7 +61810,7 @@ var oQ = (e, t, n, r) => {
var o = 0, s = Infinity;
t.length > 0 && (s = t.length - 1);
var c = Math.max(o, Math.min(a, s)), l = t[c];
- return l == null || zAe(l, n, r) ? String(c) : null;
+ return l == null || BAe(l, n, r) ? String(c) : null;
}, sQ = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
@@ -61798,26 +61854,26 @@ function fQ(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) {
- BAe(e, t, n[t]);
+ VAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function BAe(e, t, n) {
- return (t = VAe(t)) in e ? Object.defineProperty(e, t, {
+function VAe(e, t, n) {
+ return (t = HAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function VAe(e) {
- var t = HAe(e, "string");
+function HAe(e) {
+ var t = UAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function HAe(e, t) {
+function UAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61827,39 +61883,39 @@ function HAe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function UAe(e) {
+function WAe(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function WAe(e) {
+function GAe(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function GAe(e) {
+function KAe(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
function pQ(e) {
if (typeof e == "string") return e;
}
-function KAe(e) {
+function qAe(e) {
if (!(typeof e != "object" || !e)) return {
- name: "name" in e ? UAe(e.name) : void 0,
- unit: "unit" in e ? WAe(e.unit) : void 0,
- dataKey: "dataKey" in e ? GAe(e.dataKey) : void 0,
+ name: "name" in e ? WAe(e.name) : void 0,
+ unit: "unit" in e ? GAe(e.unit) : void 0,
+ dataKey: "dataKey" in e ? KAe(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
};
}
-function qAe(e, t) {
+function JAe(e, t) {
return e ?? t;
}
var mQ = (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 = qAe(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 = JAe(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" ? oB(m, r, i) : a(m, t, c, g);
return Array.isArray(_) ? _.forEach((t) => {
- var n = KAe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = fQ(fQ({}, f), {}, {
+ var n = qAe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = fQ(fQ({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
@@ -61889,17 +61945,17 @@ var mQ = (e, t, n, r, i, a, o) => {
$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
QX,
$([sq, cq], LX)
-], zX, { memoizeOptions: { resultEqualityCheck: oq } }), JAe = $([gQ], (e) => e.filter(iq)), _Q = $([$([gQ], UX, { memoizeOptions: { resultEqualityCheck: oq } }), uK], WX), YAe = $([
- JAe,
+], zX, { memoizeOptions: { resultEqualityCheck: oq } }), YAe = $([gQ], (e) => e.filter(iq)), _Q = $([$([gQ], UX, { memoizeOptions: { resultEqualityCheck: oq } }), uK], WX), XAe = $([
+ YAe,
uK,
QX
], rq), vQ = $([
_Q,
QX,
gQ
-], KX), yQ = $([QX], rZ), bQ = $([yQ, $([QX], (e) => e.allowDataOverflow)], gK), XAe = $([
+], KX), yQ = $([QX], rZ), bQ = $([yQ, $([QX], (e) => e.allowDataOverflow)], gK), ZAe = $([
$([
- YAe,
+ XAe,
$([gQ], (e) => e.filter(iq)),
AK,
jK
@@ -61907,17 +61963,17 @@ var mQ = (e, t, n, r, i, a, o) => {
uK,
sq,
bQ
-], nZ), ZAe = $([
+], nZ), QAe = $([
_Q,
QX,
$([gQ], HX),
oZ,
sq
-], cZ, { memoizeOptions: { resultEqualityCheck: aq } }), QAe = $([$([
+], cZ, { memoizeOptions: { resultEqualityCheck: aq } }), $Ae = $([$([
lZ,
sq,
cq
-], uZ), sq], pZ), $Ae = $([$([
+], uZ), sq], pZ), eje = $([$([
dZ,
sq,
cq
@@ -61932,21 +61988,21 @@ var mQ = (e, t, n, r, i, a, o) => {
QX,
yQ,
bQ,
- XAe,
ZAe,
+ QAe,
$([
- QAe,
+ $Ae,
$([$([
fZ,
sq,
cq
], uZ), sq], hZ),
- $Ae
+ eje
], sZ),
$U,
sq
], gZ)
-], _Z), eje = $([
+], _Z), tje = $([
QX,
xQ,
$([
@@ -61958,7 +62014,7 @@ var mQ = (e, t, n, r, i, a, o) => {
], SZ), SQ = (e) => wZ(e, sq(e), cq(e), !1), CQ = $([QX, SQ], zK), wQ = $([$([
QX,
hQ,
- eje,
+ tje,
CQ
], xX)], lq), TQ = $([
$U,
@@ -61984,7 +62040,7 @@ var mQ = (e, t, n, r, i, a, o) => {
var { type: c } = t, l = pU(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) ? {
coordinate: n + d,
@@ -61992,7 +62048,7 @@ var mQ = (e, t, n, r, i, a, o) => {
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) ? {
coordinate: n + d,
@@ -62000,13 +62056,13 @@ var mQ = (e, t, n, r, i, a, o) => {
index: t,
offset: d
} : null;
- }).filter(cB);
+ }).filter(lB);
}
}
}), EQ = $([
GZ,
KZ,
- CAe
+ wAe
], (e, t, n) => qZ(n.shared, e, t)), DQ = (e) => e.tooltip.settings.trigger, OQ = (e) => e.tooltip.settings.defaultIndex, kQ = $([
uQ,
EQ,
@@ -62019,14 +62075,14 @@ var mQ = (e, t, n, r, i, a, o) => {
xQ
], oQ), jQ = $([TQ, AQ], YZ), MQ = $([kQ], (e) => {
if (e) return e.dataKey;
-}), tje = $([kQ], (e) => {
+}), nje = $([kQ], (e) => {
if (e) return e.graphicalItemId;
}), NQ = $([
uQ,
EQ,
DQ,
OQ
-], cQ), nje = $([kQ, $([
+], cQ), rje = $([kQ, $([
EU,
DU,
$U,
@@ -62034,7 +62090,7 @@ var mQ = (e, t, n, r, i, a, o) => {
TQ,
OQ,
NQ
-], sQ)], (e, t) => e != null && e.coordinate ? e.coordinate : t), rje = $([kQ], (e) => e?.active ?? !1), ije = $([$([
+], sQ)], (e, t) => e != null && e.coordinate ? e.coordinate : t), ije = $([kQ], (e) => e?.active ?? !1), aje = $([$([
NQ,
AQ,
uK,
@@ -62064,26 +62120,26 @@ function FQ(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) {
- aje(e, t, n[t]);
+ oje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aje(e, t, n) {
- return (t = oje(t)) in e ? Object.defineProperty(e, t, {
+function oje(e, t, n) {
+ return (t = sje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oje(e) {
- var t = sje(e, "string");
+function sje(e) {
+ var t = cje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sje(e, t) {
+function cje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62093,8 +62149,8 @@ function sje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var cje = () => Q(QX), lje = () => {
- var e = cje(), t = Q(TQ), n = Q(wQ);
+var lje = () => Q(QX), uje = () => {
+ var e = lje(), t = Q(TQ), n = Q(wQ);
return CU(!e || !n ? void 0 : FQ(FQ({}, e), {}, { scale: n }), t);
};
//#endregion
@@ -62113,26 +62169,26 @@ function LQ(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) {
- uje(e, t, n[t]);
+ dje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : IQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function uje(e, t, n) {
- return (t = dje(t)) in e ? Object.defineProperty(e, t, {
+function dje(e, t, n) {
+ return (t = fje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dje(e) {
- var t = fje(e, "string");
+function fje(e) {
+ var t = pje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fje(e, t) {
+function pje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62142,7 +62198,7 @@ function fje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var pje = (e, t, n, r) => {
+var mje = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -62158,7 +62214,7 @@ var pje = (e, t, n, r) => {
x: 0,
y: 0
};
-}, mje = (e, t, n, r) => {
+}, hje = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
@@ -62188,7 +62244,7 @@ var pje = (e, t, n, r) => {
y: 0
};
};
-function hje(e, t) {
+function gje(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;
}
@@ -62198,9 +62254,9 @@ var RQ = (e, t, n, r, i) => {
if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = 0; o < a; o++) {
var s = o > 0 ? n[o - 1]?.coordinate : n[a - 1]?.coordinate, c = n[o]?.coordinate, l = o >= a - 1 ? n[0]?.coordinate : n[o + 1]?.coordinate, u = void 0;
if (s != null && c != null && l != null) {
- if (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);
@@ -62225,7 +62281,7 @@ 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, gje = $(TQ, (e) => eV(e, (e) => e.coordinate)), UQ = $([
+}, zQ = () => Q(MK), BQ = (e, t) => t, VQ = (e, t, n) => n, HQ = (e, t, n, r) => r, _je = $(TQ, (e) => tV(e, (e) => e.coordinate)), UQ = $([
uQ,
BQ,
VQ,
@@ -62235,7 +62291,7 @@ var RQ = (e, t, n, r, i) => {
_Q,
$X,
xQ
-], oQ), _je = (e, t, n) => {
+], oQ), vje = (e, t, n) => {
if (t != null) {
var r = uQ(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
@@ -62253,7 +62309,7 @@ var RQ = (e, t, n, r, i) => {
TQ,
HQ,
GQ
-], sQ), vje = $([UQ, KQ], (e, t) => e.coordinate ?? t), qQ = $([TQ, WQ], YZ), yje = $([
+], sQ), yje = $([UQ, KQ], (e, t) => e.coordinate ?? t), qQ = $([TQ, WQ], YZ), bje = $([
GQ,
WQ,
uK,
@@ -62261,39 +62317,39 @@ var RQ = (e, t, n, r, i) => {
qQ,
lQ,
BQ
-], mQ), bje = $([UQ, WQ], (e, t) => ({
+], mQ), xje = $([UQ, WQ], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), xje = (e, t, n, r, i, a, o) => {
- if (!(!e || !n || !r || !i) && hje(e, o)) {
- var s = RQ(KCe(e, t), a, i, n, r), c = pje(t, i, s, e);
+})), Sje = (e, t, n, r, i, a, o) => {
+ if (!(!e || !n || !r || !i) && gje(e, o)) {
+ var s = RQ(qCe(e, t), a, i, n, r), c = mje(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, Sje = (e, t, n, r, i, a, o) => {
+}, Cje = (e, t, n, r, i, a, o) => {
if (!(!e || !r || !i || !a || !n)) {
- var s = IEe(e, n);
+ var s = LEe(e, n);
if (s) {
- var c = RQ(qCe(s, t), o, a, r, i), l = mje(t, a, c, s);
+ var c = RQ(JCe(s, t), o, a, r, i), l = hje(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, Cje = (e, t, n, r, i, a, o, s) => {
- if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? xje(e, t, r, i, a, o, s) : Sje(e, t, n, r, i, a, o);
-}, wje = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, wje = (e, t, n, r, i, a, o, s) => {
+ if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? Sje(e, t, r, i, a, o, s) : Cje(e, t, n, r, i, a, o);
+}, Tje = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
if (t != null) {
var r = e[t];
if (r != null) return n ? r.panoramaElement : r.element;
}
-}), Tje = $((e) => e.zIndex.zIndexMap, (e) => {
+}), Eje = $((e) => e.zIndex.zIndexMap, (e) => {
var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(IK));
return Array.from(new Set(t)).sort((e, t) => e - t);
-}, { memoizeOptions: { resultEqualityCheck: rDe } });
+}, { memoizeOptions: { resultEqualityCheck: iDe } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
function JQ(e, t) {
@@ -62310,26 +62366,26 @@ function YQ(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) {
- Eje(e, t, n[t]);
+ Dje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : JQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Eje(e, t, n) {
- return (t = Dje(t)) in e ? Object.defineProperty(e, t, {
+function Dje(e, t, n) {
+ return (t = Oje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Dje(e) {
- var t = Oje(e, "string");
+function Oje(e) {
+ var t = kje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Oje(e, t) {
+function kje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62339,17 +62395,17 @@ function Oje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var kje = { zIndexMap: Object.values(IK).reduce((e, t) => YQ(YQ({}, e), {}, { [t]: {
+var Aje = { zIndexMap: Object.values(IK).reduce((e, t) => YQ(YQ({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, Aje = new Set(Object.values(IK));
-function jje(e) {
- return Aje.has(e);
+} }), {}) }, jje = new Set(Object.values(IK));
+function Mje(e) {
+ return jje.has(e);
}
var XQ = NH({
name: "zIndex",
- initialState: kje,
+ initialState: Aje,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -62365,7 +62421,7 @@ var XQ = NH({
unregisterZIndexPortal: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !jje(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !Mje(n) && delete e.zIndexMap[n]);
},
prepare: kH()
},
@@ -62388,19 +62444,19 @@ var XQ = NH({
prepare: kH()
}
}
-}), { registerZIndexPortal: Mje, unregisterZIndexPortal: Nje, registerZIndexPortalElement: Pje, unregisterZIndexPortalElement: Fje } = XQ.actions, Ije = XQ.reducer;
+}), { registerZIndexPortal: Nje, unregisterZIndexPortal: Pje, registerZIndexPortalElement: Fje, unregisterZIndexPortalElement: Ije } = XQ.actions, Lje = XQ.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
function ZQ(e) {
- var { zIndex: t, children: n } = e, r = Swe() && t !== void 0 && t !== 0, i = FU(), a = KB();
- (0, R.useLayoutEffect)(() => r ? (a(Mje({ zIndex: t })), () => {
- a(Nje({ zIndex: t }));
- }) : lB, [
+ var { zIndex: t, children: n } = e, r = Cwe() && t !== void 0 && t !== 0, i = FU(), a = qB();
+ (0, R.useLayoutEffect)(() => r ? (a(Nje({ zIndex: t })), () => {
+ a(Pje({ zIndex: t }));
+ }) : uB, [
a,
t,
r
]);
- var o = Q((e) => wje(e, t, i));
+ var o = Q((e) => Tje(e, t, i));
return r ? o ? /*#__PURE__*/ (0, rp.createPortal)(n, o) : null : n;
}
//#endregion
@@ -62428,26 +62484,26 @@ function e$(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) {
- Lje(e, t, n[t]);
+ Rje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $Q(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Lje(e, t, n) {
- return (t = Rje(t)) in e ? Object.defineProperty(e, t, {
+function Rje(e, t, n) {
+ return (t = zje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Rje(e) {
- var t = zje(e, "string");
+function zje(e) {
+ var t = Bje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function zje(e, t) {
+function Bje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62457,17 +62513,17 @@ function zje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Bje(e) {
+function Vje(e) {
var { cursor: t, cursorComp: n, cursorProps: r } = e;
return /*#__PURE__*/ (0, R.isValidElement)(t) ? /*#__PURE__*/ (0, R.cloneElement)(t, r) : /*#__PURE__*/ (0, R.createElement)(n, r);
}
-function Vje(e) {
+function Hje(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 = BTe, h = IK.cursorLine;
- else if (l === "BarChart") p = VTe(o, u, i, a), m = XG, h = IK.cursorRectangle;
- else if (o === "radial" && hB(u)) {
+ if (l === "ScatterChart") p = u, m = VTe, h = IK.cursorLine;
+ else if (l === "BarChart") p = HTe(o, u, i, a), m = XG, h = IK.cursorRectangle;
+ else if (o === "radial" && gB(u)) {
var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = nK(u);
p = {
cx: g,
@@ -62477,24 +62533,24 @@ function Vje(e) {
innerRadius: v,
outerRadius: v
}, m = sK, h = IK.cursorLine;
- } else p = { points: qEe(o, u, i) }, m = CG, h = IK.cursorLine;
+ } else p = { points: JEe(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$({
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(Bje, {
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ R.createElement(Vje, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
-function Hje(e) {
- var t = lje(), n = XU(), r = eW(), i = zQ();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ R.createElement(Vje, QQ({}, e, {
+function Uje(e) {
+ var t = uje(), n = XU(), r = eW(), i = zQ();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ R.createElement(Hje, QQ({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -62503,7 +62559,7 @@ function Hje(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var t$ = /*#__PURE__*/ (0, R.createContext)(null), Uje = () => (0, R.useContext)(t$), Wje = (/* @__PURE__ */ Dt((/* @__PURE__ */ Ct(((e, t) => {
+var t$ = /*#__PURE__*/ (0, R.createContext)(null), Wje = () => (0, R.useContext)(t$), Gje = (/* @__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));
@@ -62590,10 +62646,10 @@ var t$ = /*#__PURE__*/ (0, R.createContext)(null), Uje = () => (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 Wje(), r$ = "recharts.syncEvent.tooltip", i$ = "recharts.syncEvent.brush", a$ = (e, t) => {
+})))(), 1)).default, n$ = new Gje(), r$ = "recharts.syncEvent.tooltip", i$ = "recharts.syncEvent.brush", a$ = (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({
name: "options",
@@ -62606,10 +62662,10 @@ var t$ = /*#__PURE__*/ (0, R.createContext)(null), Uje = () => (0, R.useContext)
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), Gje = o$.reducer, { createEventEmitter: Kje } = o$.actions;
+}), Kje = o$.reducer, { createEventEmitter: qje } = o$.actions;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function qje(e) {
+function Jje(e) {
return e.tooltip.syncInteraction;
}
var s$ = NH({
@@ -62636,7 +62692,7 @@ var s$ = NH({
n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);
}
}
-}), { setChartData: c$, setDataStartEndIndexes: Jje, setComputedData: Yje } = s$.actions, Xje = s$.reducer, Zje = ["x", "y"];
+}), { setChartData: c$, setDataStartEndIndexes: Yje, setComputedData: Xje } = s$.actions, Zje = s$.reducer, Qje = ["x", "y"];
function l$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -62651,26 +62707,26 @@ function u$(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) {
- Qje(e, t, n[t]);
+ $je(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Qje(e, t, n) {
- return (t = $je(t)) in e ? Object.defineProperty(e, t, {
+function $je(e, t, n) {
+ return (t = eMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $je(e) {
- var t = eMe(e, "string");
+function eMe(e) {
+ var t = tMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eMe(e, t) {
+function tMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62680,16 +62736,16 @@ function eMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function tMe(e, t) {
+function nMe(e, t) {
if (e == null) return {};
- var n, r, i = nMe(e, t);
+ var n, r, i = rMe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function nMe(e, t) {
+function rMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62698,16 +62754,16 @@ function nMe(e, t) {
}
return n;
}
-function rMe() {
- 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);
+function iMe() {
+ var e = Q(NK), t = Q(FK), n = qB(), r = Q(PK), i = Q(TQ), a = eW(), o = YU(), 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 = tMe(d, Zje), { 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 = nMe(d, Qje), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = u$(u$({}, m), {}, {
x: o.x + (_ ? (f - h) / _ : 0) * o.width,
y: o.y + (v ? (p - g) / v : 0) * o.height
});
@@ -62768,12 +62824,12 @@ function rMe() {
o
]);
}
-function iMe() {
- var e = Q(NK), t = Q(FK), n = KB();
+function aMe() {
+ var e = Q(NK), t = Q(FK), 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(Jje(i));
+ t !== a && e === r && n(Yje(i));
};
return n$.on(i$, r), () => {
n$.off(i$, r);
@@ -62784,14 +62840,14 @@ function iMe() {
e
]);
}
-function aMe() {
- var e = KB();
+function oMe() {
+ var e = qB();
(0, R.useEffect)(() => {
- e(Kje());
- }, [e]), rMe(), iMe();
+ e(qje());
+ }, [e]), iMe(), aMe();
}
-function oMe(e, t, n, r, i, a) {
- var o = Q((n) => _je(n, e, t)), s = Q(tje), c = Q(FK), l = Q(NK), u = Q(PK), d = Q(qje)?.active, f = YU();
+function sMe(e, t, n, r, i, a) {
+ var o = Q((n) => vje(n, e, t)), s = Q(nje), c = Q(FK), l = Q(NK), u = Q(PK), d = Q(Jje)?.active, f = YU();
(0, R.useEffect)(() => {
if (!d && l != null && c != null) {
var e = tQ({
@@ -62835,26 +62891,26 @@ function f$(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) {
- sMe(e, t, n[t]);
+ cMe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : d$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function sMe(e, t, n) {
- return (t = cMe(t)) in e ? Object.defineProperty(e, t, {
+function cMe(e, t, n) {
+ return (t = lMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function cMe(e) {
- var t = lMe(e, "string");
+function lMe(e) {
+ var t = uMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function lMe(e, t) {
+function uMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62864,13 +62920,13 @@ function lMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function uMe(e) {
+function dMe(e) {
return e.dataKey;
}
-function dMe(e, t) {
- return /*#__PURE__*/ R.isValidElement(e) ? /*#__PURE__*/ R.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ R.createElement(e, t) : /*#__PURE__*/ R.createElement(gTe, t);
+function fMe(e, t) {
+ return /*#__PURE__*/ R.isValidElement(e) ? /*#__PURE__*/ R.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ R.createElement(e, t) : /*#__PURE__*/ R.createElement(_Te, t);
}
-var p$ = [], fMe = {
+var p$ = [], pMe = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -62896,10 +62952,10 @@ var p$ = [], fMe = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function pMe(e) {
- var t = yB(e, fMe), { 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;
+function mMe(e) {
+ var t = bB(e, pMe), { 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(DAe({
+ x(OAe({
shared: g,
trigger: _,
axisId: b,
@@ -62914,12 +62970,12 @@ function pMe(e) {
n,
S
]);
- var C = YU(), w = pG(), T = SAe(g), { activeIndex: E, isActive: D } = Q((e) => bje(e, T, _, S)) ?? {}, O = Q((e) => yje(e, T, _, S)), k = Q((e) => qQ(e, T, _, S)), A = Q((e) => vje(e, T, _, S)), j = O, M = Uje(), N = n ?? D ?? !1, [ee, te] = rV([j, N]), P = T === "axis" ? k : void 0;
- oMe(T, _, A, P, E, N);
+ var C = YU(), w = pG(), T = CAe(g), { activeIndex: E, isActive: D } = Q((e) => xje(e, T, _, S)) ?? {}, O = Q((e) => bje(e, T, _, S)), k = Q((e) => qQ(e, T, _, S)), A = Q((e) => yje(e, T, _, S)), j = O, M = Wje(), N = n ?? D ?? !1, [ee, te] = iV([j, N]), P = T === "axis" ? k : void 0;
+ sMe(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, uMe));
+ N || (ne = p$), s && ne.length && (ne = GB(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, dMe));
var re = ne.length > 0, ie = f$(f$({}, t), {}, {
payload: ne,
label: P,
@@ -62927,7 +62983,7 @@ function pMe(e) {
activeIndex: E,
coordinate: A,
accessibilityLayer: w
- }), ae = /*#__PURE__*/ R.createElement(ETe, {
+ }), ae = /*#__PURE__*/ R.createElement(DTe, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -62944,8 +63000,8 @@ function pMe(e) {
lastBoundingBox: ee,
innerRef: te,
hasPortalFromProps: !!y
- }, dMe(o, ie));
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ (0, rp.createPortal)(ae, F), N && /*#__PURE__*/ R.createElement(Hje, {
+ }, fMe(o, ie));
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ (0, rp.createPortal)(ae, F), N && /*#__PURE__*/ R.createElement(Uje, {
cursor: h,
tooltipEventType: T,
coordinate: A,
@@ -62959,19 +63015,19 @@ var m$ = (e) => null;
m$.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function mMe(e, t, n) {
- return (t = hMe(t)) in e ? Object.defineProperty(e, t, {
+function hMe(e, t, n) {
+ return (t = gMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function hMe(e) {
- var t = gMe(e, "string");
+function gMe(e) {
+ var t = _Me(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function gMe(e, t) {
+function _Me(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62981,9 +63037,9 @@ function gMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var _Me = class {
+var vMe = class {
constructor(e) {
- mMe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ hMe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -63016,30 +63072,30 @@ function h$(e, t) {
}
return n;
}
-function vMe(e) {
+function yMe(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) {
- yMe(e, t, n[t]);
+ bMe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function yMe(e, t, n) {
- return (t = bMe(t)) in e ? Object.defineProperty(e, t, {
+function bMe(e, t, n) {
+ return (t = xMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bMe(e) {
- var t = xMe(e, "string");
+function xMe(e) {
+ var t = SMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xMe(e, t) {
+function SMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63049,10 +63105,10 @@ function xMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var g$ = vMe({}, {
+var g$ = yMe({}, {
cacheSize: 2e3,
enableCache: !0
-}), _$ = new _Me(g$.cacheSize), SMe = {
+}), _$ = new vMe(g$.cacheSize), CMe = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -63061,13 +63117,13 @@ var g$ = vMe({}, {
border: "none",
whiteSpace: "pre"
}, v$ = "recharts_measurement_span";
-function CMe(e, t) {
+function wMe(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
var y$ = (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, SMe, t), n.textContent = `${e}`;
+ n || (n = document.createElement("span"), n.setAttribute("id", v$), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, CMe, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -63086,24 +63142,24 @@ var y$ = (e, t) => {
height: 0
};
if (!g$.enableCache) return y$(e, t);
- var n = CMe(e, t), r = _$.get(n);
+ var n = wMe(e, t), r = _$.get(n);
if (r) return r;
var i = y$(e, t);
return _$.set(n, i), i;
}, x$;
-function wMe(e, t, n) {
- return (t = TMe(t)) in e ? Object.defineProperty(e, t, {
+function TMe(e, t, n) {
+ return (t = EMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function TMe(e) {
- var t = EMe(e, "string");
+function EMe(e) {
+ var t = DMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function EMe(e, t) {
+function DMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63113,7 +63169,7 @@ function EMe(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%]*)/, DMe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, OMe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, kMe = {
+var S$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, C$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, OMe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, kMe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, AMe = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -63121,7 +63177,7 @@ var S$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, C$ = /(
in: 96,
Q: 96 / 101.6,
px: 1
-}, AMe = [
+}, jMe = [
"cm",
"mm",
"pt",
@@ -63130,20 +63186,20 @@ var S$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, C$ = /(
"Q",
"px"
];
-function jMe(e) {
- return AMe.includes(e);
+function MMe(e) {
+ return jMe.includes(e);
}
var w$ = "NaN";
-function MMe(e, t) {
- return e * kMe[t];
+function NMe(e, t) {
+ return e * AMe[t];
}
var T$ = class e {
static parse(t) {
- var [, n, r] = OMe.exec(t) ?? [];
+ var [, n, r] = kMe.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 !== "" && !DMe.test(t) && (this.num = NaN, this.unit = ""), jMe(t) && (this.num = MMe(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, $z(e) && (this.unit = ""), t !== "" && !OMe.test(t) && (this.num = NaN, this.unit = ""), MMe(t) && (this.num = NMe(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -63161,10 +63217,10 @@ var T$ = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return Qz(this.num);
+ return $z(this.num);
}
};
-x$ = T$, wMe(T$, "NaN", new x$(NaN, ""));
+x$ = T$, TMe(T$, "NaN", new x$(NaN, ""));
function E$(e) {
if (e == null || e.includes(w$)) return w$;
for (var t = e; t.includes("*") || t.includes("/");) {
@@ -63180,31 +63236,31 @@ function E$(e) {
return t;
}
var D$ = /\(([^()]*)\)/;
-function NMe(e) {
+function PMe(e) {
for (var t = e, n; (n = D$.exec(t)) != null;) {
var [, r] = n;
t = t.replace(D$, E$(r));
}
return t;
}
-function PMe(e) {
+function FMe(e) {
var t = e.replace(/\s+/g, "");
- return t = NMe(t), t = E$(t), t;
+ return t = PMe(t), t = E$(t), t;
}
-function FMe(e) {
+function IMe(e) {
try {
- return PMe(e);
+ return FMe(e);
} catch {
return w$;
}
}
function O$(e) {
- var t = FMe(e.slice(5, -1));
+ var t = IMe(e.slice(5, -1));
return t === w$ ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var IMe = [
+var LMe = [
"x",
"y",
"lineHeight",
@@ -63213,7 +63269,7 @@ var IMe = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], LMe = [
+], RMe = [
"dx",
"dy",
"angle",
@@ -63231,14 +63287,14 @@ function k$() {
}
function A$(e, t) {
if (e == null) return {};
- var n, r, i = RMe(e, t);
+ var n, r, i = zMe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function RMe(e, t) {
+function zMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63251,7 +63307,7 @@ var j$ = /[ \f\n\r\t\v\u2028\u2029]+/, M$ = (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(j$)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
width: b$(e, r).width
@@ -63265,8 +63321,8 @@ var j$ = /[ \f\n\r\t\v\u2028\u2029]+/, M$ = (e) => {
function N$(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function zMe(e) {
- return oB(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+function BMe(e) {
+ return sB(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
var P$ = (e, t, n, r) => e.reduce((e, i) => {
var { word: a, width: o } = i, s = e[e.length - 1];
@@ -63279,16 +63335,16 @@ 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), BMe = "…", I$ = (e, t, n, r, i, a, o, s) => {
+}, []), F$ = (e) => e.reduce((e, t) => e.width > t.width ? e : t), VMe = "…", I$ = (e, t, n, r, i, a, o, s) => {
var c = M$({
breakAll: n,
style: r,
- children: e.slice(0, t) + BMe
+ children: e.slice(0, t) + VMe
});
if (!c) return [!1, []];
var l = P$(c.wordsWithComputedWidth, a, o, s);
return [l.length > i || F$(l).width > Number(a), l];
-}, VMe = (e, t, n, r, i) => {
+}, HMe = (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;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
@@ -63301,9 +63357,9 @@ var P$ = (e, t, n, r) => e.reduce((e, i) => {
}
return h || d;
}, L$ = (e) => [{
- words: oB(e) ? [] : e.toString().split(j$),
+ words: sB(e) ? [] : e.toString().split(j$),
width: void 0
-}], HMe = (e) => {
+}], UMe = (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$({
@@ -63315,7 +63371,7 @@ var P$ = (e, t, n, r) => e.reduce((e, i) => {
var { wordsWithComputedWidth: u, spaceWidth: d } = l;
s = u, c = d;
} else return L$(r);
- return VMe({
+ return HMe({
breakAll: a,
children: r,
maxLines: o,
@@ -63323,7 +63379,7 @@ var P$ = (e, t, n, r) => e.reduce((e, i) => {
}, s, c, t, !!n);
}
return L$(r);
-}, R$ = "#808080", UMe = {
+}, R$ = "#808080", WMe = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
@@ -63335,7 +63391,7 @@ var P$ = (e, t, n, r) => e.reduce((e, i) => {
x: 0,
y: 0
}, z$ = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var n = yB(e, UMe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = A$(n, IMe), f = (0, R.useMemo)(() => HMe({
+ var n = bB(e, WMe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = A$(n, LMe), f = (0, R.useMemo)(() => UMe({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -63349,8 +63405,8 @@ 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, LMe);
- if (!eB(r) || !eB(i) || f.length === 0) return null;
+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = A$(d, RMe);
+ 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;
var x;
@@ -63368,7 +63424,7 @@ var P$ = (e, t, n, r) => e.reduce((e, i) => {
var w = C.width, { width: T } = d;
S.push(`scale(${Z(T) && Z(w) ? T / w : 1})`);
}
- return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ R.createElement("text", k$({}, GR(v), {
+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ R.createElement("text", k$({}, KR(v), {
ref: t,
x: y,
y: b,
@@ -63401,26 +63457,26 @@ function V$(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) {
- WMe(e, t, n[t]);
+ GMe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function WMe(e, t, n) {
- return (t = GMe(t)) in e ? Object.defineProperty(e, t, {
+function GMe(e, t, n) {
+ return (t = KMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function GMe(e) {
- var t = KMe(e, "string");
+function KMe(e) {
+ var t = qMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function KMe(e, t) {
+function qMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63430,7 +63486,7 @@ function KMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var qMe = (e) => {
+var JMe = (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;
if (n === "top") {
var T = {
@@ -63512,9 +63568,9 @@ var qMe = (e) => {
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)) ? V$({
+ x: o + rB(n.x, m),
+ y: s + rB(n.y, c),
horizontalAnchor: "end",
verticalAnchor: "end"
}, k) : V$({
@@ -63523,17 +63579,17 @@ var qMe = (e) => {
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, k);
-}, JMe = ["labelRef"], YMe = ["content"];
+}, YMe = ["labelRef"], XMe = ["content"];
function H$(e, t) {
if (e == null) return {};
- var n, r, i = XMe(e, t);
+ var n, r, i = ZMe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function XMe(e, t) {
+function ZMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63556,26 +63612,26 @@ function W$(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) {
- ZMe(e, t, n[t]);
+ QMe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ZMe(e, t, n) {
- return (t = QMe(t)) in e ? Object.defineProperty(e, t, {
+function QMe(e, t, n) {
+ return (t = $Me(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function QMe(e) {
- var t = $Me(e, "string");
+function $Me(e) {
+ var t = eNe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $Me(e, t) {
+function eNe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63614,7 +63670,7 @@ var K$ = /*#__PURE__*/ (0, R.createContext)(null), q$ = (e) => {
}, J$ = () => {
var e = (0, R.useContext)(K$), t = YU();
return e || (t ? JU(t) : void 0);
-}, Y$ = /*#__PURE__*/ (0, R.createContext)(null), eNe = (e) => {
+}, Y$ = /*#__PURE__*/ (0, R.createContext)(null), tNe = (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,
@@ -63636,11 +63692,11 @@ var K$ = /*#__PURE__*/ (0, R.createContext)(null), q$ = (e) => {
}, X$ = () => {
var e = (0, R.useContext)(Y$), t = Q($K);
return e || t;
-}, tNe = (e) => {
- var { value: t, formatter: n } = e, r = oB(e.children) ? t : e.children;
+}, nNe = (e) => {
+ 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", nNe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 360), rNe = (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 = nNe(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, Z$ = (e) => e != null && typeof e == "function", rNe = (e, t) => Qz(t - e) * Math.min(Math.abs(t - e), 360), iNe = (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 = rNe(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -63656,7 +63712,7 @@ var K$ = /*#__PURE__*/ (0, R.createContext)(null), q$ = (e) => {
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}
A${m},${m},0,1,${+!v},
- ${b.x},${b.y}`, S = oB(e.id) ? tB("recharts-radial-line-") : e.id;
+ ${b.x},${b.y}`, S = sB(e.id) ? nB("recharts-radial-line-") : e.id;
return /*#__PURE__*/ R.createElement("text", G$({}, r, {
dominantBaseline: "central",
className: Sh("recharts-radial-bar-label", o)
@@ -63664,7 +63720,7 @@ var K$ = /*#__PURE__*/ (0, R.createContext)(null), q$ = (e) => {
id: S,
d: x
})), /*#__PURE__*/ R.createElement("textPath", { xlinkHref: `#${S}` }, n));
-}, iNe = (e, t, n) => {
+}, aNe = (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);
@@ -63700,14 +63756,14 @@ var K$ = /*#__PURE__*/ (0, R.createContext)(null), q$ = (e) => {
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, Q$ = (e) => e != null && "cx" in e && Z(e.cx), aNe = {
+}, Q$ = (e) => e != null && "cx" in e && Z(e.cx), oNe = {
angle: 0,
offset: 5,
zIndex: IK.label,
position: "middle",
textBreakAll: !1
};
-function oNe(e) {
+function sNe(e) {
if (!Q$(e)) return e;
var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;
return {
@@ -63720,24 +63776,24 @@ function oNe(e) {
};
}
function $$(e) {
- var t = yB(e, aNe), { 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 = oNe(p);
- if (!p || oB(a) && oB(o) && !/*#__PURE__*/ (0, R.isValidElement)(s) && typeof s != "function") return null;
+ var t = bB(e, oNe), { 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 = sNe(p);
+ if (!p || sB(a) && sB(o) && !/*#__PURE__*/ (0, R.isValidElement)(s) && typeof s != "function") return null;
var _ = W$(W$({}, t), {}, { viewBox: p });
if (/*#__PURE__*/ (0, R.isValidElement)(s)) {
- var { labelRef: v } = _, y = H$(_, JMe);
+ var { labelRef: v } = _, y = H$(_, YMe);
return /*#__PURE__*/ (0, R.cloneElement)(s, y);
}
if (typeof s == "function") {
- var { content: b } = _, x = H$(_, YMe);
+ var { content: b } = _, x = H$(_, XMe);
if (m = /*#__PURE__*/ (0, R.createElement)(s, x), /*#__PURE__*/ (0, R.isValidElement)(m)) return m;
- } else m = tNe(t);
- var S = GR(t);
+ } else m = nNe(t);
+ var S = KR(t);
if (Q$(p)) {
- if (i === "insideStart" || i === "insideEnd" || i === "end") return rNe(t, i, m, S, p);
- h = iNe(p, t.offset, t.position);
+ if (i === "insideStart" || i === "insideEnd" || i === "end") return iNe(t, i, m, S, p);
+ h = aNe(p, t.offset, t.position);
} else {
if (!g) return null;
- var C = qMe({
+ var C = JMe({
viewBox: g,
position: i,
offset: t.offset,
@@ -63766,7 +63822,7 @@ var e1 = (e, t, n) => {
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($$, G$({ key: "label-implicit" }, r)) : tB(e) ? /*#__PURE__*/ R.createElement($$, G$({
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$({
@@ -63781,13 +63837,13 @@ function t1(e) {
var { label: t, labelRef: n } = e;
return e1(t, J$(), n) || null;
}
-function sNe(e) {
+function cNe(e) {
var { label: t } = e;
return e1(t, X$()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var cNe = ["valueAccessor"], lNe = [
+var lNe = ["valueAccessor"], uNe = [
"dataKey",
"clockWise",
"id",
@@ -63805,14 +63861,14 @@ function n1() {
}
function r1(e, t) {
if (e == null) return {};
- var n, r, i = uNe(e, t);
+ var n, r, i = dNe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function uNe(e, t) {
+function dNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63821,21 +63877,21 @@ function uNe(e, t) {
}
return n;
}
-var dNe = (e) => {
+var fNe = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (zMe(t)) return t;
-}, i1 = /*#__PURE__*/ (0, R.createContext)(void 0), a1 = i1.Provider, o1 = /*#__PURE__*/ (0, R.createContext)(void 0), fNe = o1.Provider;
-function pNe() {
+ if (BMe(t)) return t;
+}, i1 = /*#__PURE__*/ (0, R.createContext)(void 0), a1 = i1.Provider, o1 = /*#__PURE__*/ (0, R.createContext)(void 0), pNe = o1.Provider;
+function mNe() {
return (0, R.useContext)(i1);
}
-function mNe() {
+function hNe() {
return (0, R.useContext)(o1);
}
function s1(e) {
- var { valueAccessor: t = dNe } = e, n = r1(e, cNe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = r1(n, lNe), l = pNe(), u = mNe(), 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, {
+ var { valueAccessor: t = fNe } = e, n = r1(e, lNe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = r1(n, uNe), l = mNe(), u = hNe(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ R.createElement(ZQ, { zIndex: s ?? IK.label }, /*#__PURE__*/ R.createElement(XR, { className: "recharts-label-list" }, d.map((e, i) => {
+ var s = sB(r) ? t(e, i) : fU(e.payload, r), l = sB(a) ? {} : { id: `${a}-${i}` };
+ return /*#__PURE__*/ R.createElement($$, n1({ key: `label-${i}` }, KR(e), c, l, {
fill: n.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -63856,12 +63912,12 @@ function c1(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var hNe = [
+var gNe = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], gNe;
+], _Ne;
function l1() {
return l1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -63871,16 +63927,16 @@ function l1() {
return e;
}, l1.apply(null, arguments);
}
-function _Ne(e, t) {
+function vNe(e, t) {
if (e == null) return {};
- var n, r, i = vNe(e, t);
+ var n, r, i = yNe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function vNe(e, t) {
+function yNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63889,10 +63945,10 @@ function vNe(e, t) {
}
return n;
}
-function yNe(e, t) {
+function bNe(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, bNe = function() {
+var u1 = (e) => e != null && e.x === +e.x && e.y === +e.y, xNe = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
@@ -63903,9 +63959,9 @@ var u1 = (e) => e != null && e.x === +e.x && e.y === +e.y, bNe = function() {
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
}, d1 = (e, t) => {
- var n = bNe(e);
+ var n = xNe(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => Xz(gNe ||= yNe([
+ var r = n.map((e) => e.reduce((e, t, n) => Zz(_Ne ||= bNe([
"",
"",
"",
@@ -63913,29 +63969,29 @@ var u1 = (e) => e != null && e.x === +e.x && e.y === +e.y, bNe = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, xNe = (e, t, n) => {
+}, SNe = (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 { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = _Ne(e, hNe);
+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = vNe(e, gNe);
if (!t || !t.length) return null;
var o = Sh("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = xNe(t, r, i);
- return /*#__PURE__*/ R.createElement("g", { className: o }, /*#__PURE__*/ R.createElement("path", l1({}, GR(a), {
+ var s = a.stroke && a.stroke !== "none", c = SNe(t, r, i);
+ return /*#__PURE__*/ R.createElement("g", { className: o }, /*#__PURE__*/ R.createElement("path", l1({}, 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", l1({}, KR(a), {
fill: "none",
d: d1(t, i)
- })) : null, s ? /*#__PURE__*/ R.createElement("path", l1({}, GR(a), {
+ })) : null, s ? /*#__PURE__*/ R.createElement("path", l1({}, KR(a), {
fill: "none",
d: d1(r, i)
})) : null);
}
var l = d1(t, i);
- return /*#__PURE__*/ R.createElement("path", l1({}, GR(a), {
+ return /*#__PURE__*/ R.createElement("path", l1({}, KR(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -63954,7 +64010,7 @@ function p1() {
}
var m1 = (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", p1({}, WR(e), _B(e), {
className: a,
cx: t,
cy: n,
@@ -64010,7 +64066,7 @@ var y1 = () => void 0, b1 = $([
b1,
FX,
yZ
-], bZ), SNe = $([yZ, $([
+], bZ), CNe = $([yZ, $([
PX,
b1,
x1,
@@ -64023,14 +64079,14 @@ var y1 = () => void 0, b1 = $([
}
}, C1 = (e, t, n) => {
switch (t) {
- case "angleAxis": return tDe(e, n);
- case "radiusAxis": return nDe(e, n);
+ case "angleAxis": return nDe(e, n);
+ case "radiusAxis": return rDe(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
}, w1 = $([$([
S1,
yZ,
- SNe,
+ CNe,
C1
], xX)], lq), T1 = $([
$U,
@@ -64047,7 +64103,7 @@ var y1 = () => void 0, b1 = $([
RZ,
T1,
eq
-], BZ), CNe = $([E1], (e) => {
+], BZ), wNe = $([E1], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -64055,7 +64111,7 @@ var y1 = () => void 0, b1 = $([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), wNe = $([
+}), TNe = $([
$U,
S1,
w1,
@@ -64063,11 +64119,11 @@ var y1 = () => void 0, b1 = $([
RZ,
T1,
eq
-], HZ), TNe = $([(e, t) => E1(e, "angleAxis", t, !1)], (e) => {
+], HZ), ENe = $([(e, t) => E1(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), ENe = $([(e, t) => E1(e, "radiusAxis", t, !1)], (e) => {
+}), DNe = $([(e, t) => E1(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), DNe = [
+}), ONe = [
"gridType",
"radialLines",
"angleAxisId",
@@ -64080,16 +64136,16 @@ var y1 = () => void 0, b1 = $([
"polarRadius",
"zIndex"
];
-function ONe(e, t) {
+function kNe(e, t) {
if (e == null) return {};
- var n, r, i = kNe(e, t);
+ var n, r, i = ANe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function kNe(e, t) {
+function ANe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64121,26 +64177,26 @@ function k1(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) {
- ANe(e, t, n[t]);
+ jNe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ANe(e, t, n) {
- return (t = jNe(t)) in e ? Object.defineProperty(e, t, {
+function jNe(e, t, n) {
+ return (t = MNe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jNe(e) {
- var t = MNe(e, "string");
+function MNe(e) {
+ var t = NNe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MNe(e, t) {
+function NNe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64150,16 +64206,16 @@ function MNe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var NNe = (e, t, n, r) => {
+var PNe = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
var o = tK(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, PNe = (e) => {
+}, FNe = (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 = k1({ 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, {
@@ -64173,7 +64229,7 @@ var NNe = (e, t, n, r) => {
var { cx: t, cy: n, radius: r } = e, i = k1({
stroke: "#ccc",
fill: "none"
- }, UR(e));
+ }, WR(e));
return /*#__PURE__*/ R.createElement("circle", D1({}, i, {
className: Sh("recharts-polar-grid-concentric-circle", e.className),
cx: t,
@@ -64184,12 +64240,12 @@ var NNe = (e, t, n, r) => {
var { radius: t } = e, n = k1({
stroke: "#ccc",
fill: "none"
- }, UR(e));
+ }, WR(e));
return /*#__PURE__*/ R.createElement("path", D1({}, n, {
className: Sh("recharts-polar-grid-concentric-polygon", e.className),
- d: NNe(t, e.cx, e.cy, e.polarAngles)
+ d: PNe(t, e.cx, e.cy, e.polarAngles)
}));
-}, FNe = (e) => {
+}, INe = (e) => {
var { polarRadius: t, gridType: n } = e;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
@@ -64203,14 +64259,14 @@ var NNe = (e, t, n, r) => {
radius: t
}));
}));
-}, INe = {
+}, LNe = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
zIndex: IK.grid
}, M1 = (e) => {
- var t = yB(e, INe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = ONe(t, DNe), m = Q($K), h = Q((e) => TNe(e, i)), g = Q((e) => ENe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+ var t = bB(e, LNe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = kNe(t, ONe), m = Q($K), h = Q((e) => ENe(e, i)), g = Q((e) => DNe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
var y = k1({
cx: m?.cx ?? o ?? 0,
@@ -64221,13 +64277,13 @@ var NNe = (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(FNe, D1({
+ return b <= 0 ? null : /*#__PURE__*/ R.createElement(ZQ, { zIndex: y.zIndex }, /*#__PURE__*/ R.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ R.createElement(INe, D1({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ R.createElement(PNe, D1({
+ })), /*#__PURE__*/ R.createElement(FNe, D1({
gridType: n,
radialLines: r
}, y, {
@@ -64243,11 +64299,11 @@ function N1(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function LNe(e, t = wB) {
+function RNe(e, t = TB) {
if (e == null) return;
let n = N1(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);
@@ -64256,11 +64312,11 @@ function LNe(e, t = wB) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function RNe(e, t = wB) {
+function zNe(e, t = TB) {
if (e == null) return;
let n = N1(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);
@@ -64289,7 +64345,7 @@ var P1 = NH({
delete e.angleAxis[t.payload.id];
}
}
-}), { addRadiusAxis: zNe, removeRadiusAxis: BNe, addAngleAxis: VNe, removeAngleAxis: HNe } = P1.actions, UNe = P1.reducer;
+}), { addRadiusAxis: BNe, removeRadiusAxis: VNe, addAngleAxis: HNe, removeAngleAxis: UNe } = P1.actions, WNe = P1.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
function F1(e) {
@@ -64297,12 +64353,12 @@ function F1(e) {
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var WNe = ["type"], GNe = [
+var GNe = ["type"], KNe = [
"cx",
"cy",
"angle",
"axisLine"
-], KNe = [
+], qNe = [
"angle",
"tickFormatter",
"stroke",
@@ -64331,26 +64387,26 @@ function R1(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) {
- qNe(e, t, n[t]);
+ JNe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qNe(e, t, n) {
- return (t = JNe(t)) in e ? Object.defineProperty(e, t, {
+function JNe(e, t, n) {
+ return (t = YNe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function JNe(e) {
- var t = YNe(e, "string");
+function YNe(e) {
+ var t = XNe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function YNe(e, t) {
+function XNe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64362,14 +64418,14 @@ function YNe(e, t) {
}
function z1(e, t) {
if (e == null) return {};
- var n, r, i = XNe(e, t);
+ var n, r, i = ZNe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function XNe(e, t) {
+function ZNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64378,20 +64434,20 @@ function XNe(e, t) {
}
return n;
}
-var ZNe = "radiusAxis";
-function QNe(e) {
- var t = KB(), n = rW(), r = (0, R.useMemo)(() => {
- var { type: t } = e, r = z1(e, WNe), i = BK(n, "radiusAxis", t);
+var QNe = "radiusAxis";
+function $Ne(e) {
+ var t = qB(), n = rW(), r = (0, R.useMemo)(() => {
+ var { type: t } = e, r = z1(e, GNe), i = BK(n, "radiusAxis", t);
if (i != null) return R1(R1({}, r), {}, { type: i });
}, [e, n]);
- return (0, R.useEffect)(() => r == null ? lB : (t(zNe(r)), () => {
- t(BNe(r));
+ return (0, R.useEffect)(() => r == null ? uB : (t(BNe(r)), () => {
+ t(VNe(r));
}), [t, r]), null;
}
-var $Ne = (e, t, n, r) => {
+var ePe = (e, t, n, r) => {
var { coordinate: i } = e;
return tK(n, r, i, t);
-}, ePe = (e) => {
+}, tPe = (e) => {
var t;
switch (e) {
case "left":
@@ -64403,49 +64459,49 @@ var $Ne = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, tPe = (e, t, n, r) => {
- var i = LNe(r, (e) => e.coordinate || 0);
+}, nPe = (e, t, n, r) => {
+ var i = RNe(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: RNe(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: zNe(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, nPe = (e, t) => {
- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = z1(e, GNe), 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)), {}, {
+}, rPe = (e, t) => {
+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = z1(e, KNe), 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({}, 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));
-}, rPe = (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), iPe = (e, t) => {
- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = z1(e, KNe), s = ePe(e.orientation), c = UR(o), l = WR(a), u = t.map((t, o) => {
- var u = $Ne(t, e.angle, e.cx, e.cy), d = R1(R1(R1(R1({
+}, iPe = (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), aPe = (e, t) => {
+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = z1(e, qNe), s = tPe(e.orientation), c = WR(o), l = GR(a), u = t.map((t, o) => {
+ var u = ePe(t, e.angle, e.cx, e.cy), d = R1(R1(R1(R1({
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({
+ return /*#__PURE__*/ R.createElement(XR, I1({
className: Sh("recharts-polar-radius-axis-tick", F1(a)),
key: `tick-${t.coordinate}`
- }, _B(e, t, o)), rPe(a, d, r ? r(t.value, o) : t.value));
+ }, vB(e, t, o)), iPe(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ R.createElement(YR, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, aPe = (e) => {
+ return /*#__PURE__*/ R.createElement(XR, { className: "recharts-polar-radius-axis-ticks" }, u);
+}, oPe = (e) => {
var { radiusAxisId: t } = e, n = Q($K), r = Q((e) => w1(e, "radiusAxis", t)), i = Q((e) => E1(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", ZNe, a.className) }, s && nPe(a, i), o && iPe(a, i), /*#__PURE__*/ R.createElement(eNe, tPe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ R.createElement(sNe, { label: a.label }), a.children)));
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: a.zIndex }, /*#__PURE__*/ R.createElement(XR, { className: Sh("recharts-polar-radius-axis", QNe, a.className) }, s && rPe(a, i), o && aPe(a, i), /*#__PURE__*/ R.createElement(tNe, nPe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ R.createElement(cNe, { label: a.label }), a.children)));
};
function B1(e) {
- var t = yB(e, RK);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(QNe, {
+ var t = bB(e, RK);
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement($Ne, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -64462,12 +64518,12 @@ function B1(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ R.createElement(aPe, t));
+ }), /*#__PURE__*/ R.createElement(oPe, t));
}
B1.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var oPe = ["children", "type"], sPe = ["ref"];
+var sPe = ["children", "type"], cPe = ["ref"];
function V1() {
return V1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -64491,26 +64547,26 @@ function U1(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) {
- cPe(e, t, n[t]);
+ lPe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function cPe(e, t, n) {
- return (t = lPe(t)) in e ? Object.defineProperty(e, t, {
+function lPe(e, t, n) {
+ return (t = uPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function lPe(e) {
- var t = uPe(e, "string");
+function uPe(e) {
+ var t = dPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function uPe(e, t) {
+function dPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64522,14 +64578,14 @@ function uPe(e, t) {
}
function W1(e, t) {
if (e == null) return {};
- var n, r, i = dPe(e, t);
+ var n, r, i = fPe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function dPe(e, t) {
+function fPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64538,17 +64594,17 @@ function dPe(e, t) {
}
return n;
}
-var G1 = 1e-5, fPe = Math.cos(eK(45)), pPe = "angleAxis";
-function mPe(e) {
- var t = KB(), n = rW(), r = (0, R.useMemo)(() => {
- var { children: t, type: r } = e, i = W1(e, oPe), a = BK(n, "angleAxis", r);
+var G1 = 1e-5, pPe = Math.cos(eK(45)), mPe = "angleAxis";
+function hPe(e) {
+ var t = qB(), n = rW(), r = (0, R.useMemo)(() => {
+ var { children: t, type: r } = e, i = W1(e, sPe), 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(VNe(r)), () => {
- t(HNe(r));
+ return (0, R.useEffect)(() => r == null ? uB : (t(HNe(r)), () => {
+ t(UNe(r));
}), [t, r]), i ? e.children : null;
}
-var hPe = (e, t) => {
+var gPe = (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);
return {
x1: c.x,
@@ -64556,16 +64612,16 @@ var hPe = (e, t) => {
x2: l.x,
y2: l.y
};
-}, gPe = (e, t) => {
+}, _Pe = (e, t) => {
var n = Math.cos(eK(-e.coordinate));
return n > G1 ? t === "outer" ? "start" : "end" : n < -G1 ? t === "outer" ? "end" : "start" : "middle";
-}, _Pe = (e) => {
- var t = Math.cos(eK(-e.coordinate)), n = Math.sin(eK(-e.coordinate));
- return Math.abs(t) <= fPe ? n > 0 ? "start" : "end" : "middle";
}, vPe = (e) => {
+ var t = Math.cos(eK(-e.coordinate)), n = Math.sin(eK(-e.coordinate));
+ return Math.abs(t) <= pPe ? n > 0 ? "start" : "end" : "middle";
+}, yPe = (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));
+ var s = U1(U1({}, WR(e)), {}, { fill: "none" }, WR(a));
if (i === "circle") return /*#__PURE__*/ R.createElement(m1, V1({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
@@ -64573,12 +64629,12 @@ var hPe = (e, t) => {
}));
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 }));
-}, yPe = (e) => {
+}, bPe = (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;
-}, bPe = (e) => {
- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = UR(e), { ref: s } = o, c = W1(o, sPe), l = WR(t), u = U1(U1({}, c), {}, { fill: "none" }, UR(n)), d = a.map((a, o) => {
- var s = hPe(a, e), d = gPe(a, e.orientation), f = _Pe(a), p = U1(U1(U1({}, c), {}, {
+}, xPe = (e) => {
+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = WR(e), { ref: s } = o, c = W1(o, cPe), l = GR(t), u = U1(U1({}, c), {}, { fill: "none" }, WR(n)), d = a.map((a, o) => {
+ var s = gPe(a, e), d = _Pe(a, e.orientation), f = vPe(a), p = U1(U1(U1({}, c), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -64589,28 +64645,28 @@ var hPe = (e, t) => {
x: s.x2,
y: s.y2
});
- return /*#__PURE__*/ R.createElement(YR, V1({
+ return /*#__PURE__*/ R.createElement(XR, V1({
className: Sh("recharts-polar-angle-axis-tick", F1(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(yPe, {
+ }, vB(e, a, o)), n && /*#__PURE__*/ R.createElement("line", V1({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ R.createElement(bPe, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ R.createElement(YR, { className: "recharts-polar-angle-axis-ticks" }, d);
-}, xPe = (e) => {
- var { angleAxisId: t } = e, n = Q($K), r = Q((e) => w1(e, "angleAxis", t)), i = FU(), a = Q((e) => CNe(e, "angleAxis", t, i));
+ return /*#__PURE__*/ R.createElement(XR, { className: "recharts-polar-angle-axis-ticks" }, d);
+}, SPe = (e) => {
+ var { angleAxisId: t } = e, n = Q($K), r = Q((e) => w1(e, "angleAxis", t)), i = FU(), a = Q((e) => wNe(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
var o = U1(U1(U1({}, 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", pPe, o.className) }, /*#__PURE__*/ R.createElement(vPe, o), /*#__PURE__*/ R.createElement(bPe, o)));
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: o.zIndex }, /*#__PURE__*/ R.createElement(XR, { className: Sh("recharts-polar-angle-axis", mPe, o.className) }, /*#__PURE__*/ R.createElement(yPe, o), /*#__PURE__*/ R.createElement(xPe, o)));
};
function K1(e) {
- var t = yB(e, LK);
- return /*#__PURE__*/ R.createElement(mPe, {
+ var t = bB(e, LK);
+ return /*#__PURE__*/ R.createElement(hPe, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -64627,12 +64683,12 @@ function K1(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ R.createElement(xPe, t));
+ }, /*#__PURE__*/ R.createElement(SPe, t));
}
K1.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var SPe = /* @__PURE__ */ Ct(((e) => {
+var CPe = /* @__PURE__ */ Ct(((e) => {
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition");
function m(e) {
if (typeof e == "object" && e) {
@@ -64661,26 +64717,26 @@ var SPe = /* @__PURE__ */ Ct(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), CPe = (/* @__PURE__ */ Ct(((e, t) => {
- t.exports = SPe();
+})), wPe = (/* @__PURE__ */ Ct(((e, t) => {
+ t.exports = CPe();
})))(), 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;
var t = [];
return R.Children.forEach(e, (e) => {
- oB(e) || ((0, CPe.isFragment)(e) ? t = t.concat(X1(e.props.children)) : t.push(e));
+ sB(e) || ((0, wPe.isFragment)(e) ? t = t.concat(X1(e.props.children)) : t.push(e));
}), Y1 = t, J1 = e, t;
};
function Z1(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");
+ 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;
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
-function wPe(e) {
+function TPe(e) {
if (typeof e != "object" || !e) return !1;
if (Object.getPrototypeOf(e) === null) return !0;
if (Object.prototype.toString.call(e) !== "[object Object]") {
@@ -64693,7 +64749,7 @@ function wPe(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Trapezoid.js
-var TPe, EPe, DPe, OPe, kPe;
+var EPe, DPe, OPe, kPe, APe;
function $1(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -64708,26 +64764,26 @@ function e0(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) {
- APe(e, t, n[t]);
+ jPe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function APe(e, t, n) {
- return (t = jPe(t)) in e ? Object.defineProperty(e, t, {
+function jPe(e, t, n) {
+ return (t = MPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jPe(e) {
- var t = MPe(e, "string");
+function MPe(e) {
+ var t = NPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MPe(e, t) {
+function NPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64750,29 +64806,29 @@ function n0(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(TPe ||= n0([
+ var a = n - r, o = Zz(EPe ||= n0([
"M ",
",",
""
]), e, t);
- return o += Xz(EPe ||= n0([
+ return o += Zz(DPe ||= n0([
"L ",
",",
""
- ]), e + n, t), o += Xz(DPe ||= n0([
+ ]), e + n, t), o += Zz(OPe ||= n0([
"L ",
",",
""
- ]), e + n - a / 2, t + i), o += Xz(OPe ||= n0([
+ ]), e + n - a / 2, t + i), o += Zz(kPe ||= n0([
"L ",
",",
""
- ]), e + n - a / 2 - r, t + i), o += Xz(kPe ||= n0([
+ ]), e + n - a / 2 - r, t + i), o += Zz(APe ||= n0([
"L ",
",",
" Z"
]), e, t), o;
-}, NPe = {
+}, PPe = {
x: 0,
y: 0,
upperWidth: 0,
@@ -64782,8 +64838,8 @@ var r0 = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, PPe = (e) => {
- var t = yB(e, NPe), { 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-");
+}, FPe = (e) => {
+ var t = bB(e, PPe), { 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-");
if ((0, R.useEffect)(() => {
if (f.current && f.current.getTotalLength) try {
var e = f.current.getTotalLength();
@@ -64791,7 +64847,7 @@ 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", t0({}, KR(t), {
className: x,
d: r0(n, r, i, a, o)
})));
@@ -64805,35 +64861,35 @@ 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", t0({}, KR(t), {
className: x,
d: r0(u, d, s, c, l),
ref: f,
style: e0(e0({}, p), t.style)
}));
});
-}, FPe = [
+}, IPe = [
"option",
"shapeType",
"activeClassName",
"inActiveClassName"
];
-function IPe(e, t) {
+function LPe(e, t) {
if (e == null) return {};
- var n, r, i = LPe(e, t);
+ var n, r, i = RPe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function LPe(e, t) {
+function RPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64856,26 +64912,26 @@ function a0(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) {
- RPe(e, t, n[t]);
+ zPe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function RPe(e, t, n) {
- return (t = zPe(t)) in e ? Object.defineProperty(e, t, {
+function zPe(e, t, n) {
+ return (t = BPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zPe(e) {
- var t = BPe(e, "string");
+function BPe(e) {
+ var t = VPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function BPe(e, t) {
+function VPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64885,34 +64941,34 @@ function BPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function VPe(e, t) {
+function HPe(e, t) {
return a0(a0({}, t), e);
}
-function HPe(e, t) {
+function UPe(e, t) {
return e === "symbols";
}
function o0(e) {
var { shapeType: t, elementProps: n } = e;
switch (t) {
case "rectangle": return /*#__PURE__*/ R.createElement(XG, n);
- case "trapezoid": return /*#__PURE__*/ R.createElement(PPe, n);
+ case "trapezoid": return /*#__PURE__*/ R.createElement(FPe, n);
case "sector": return /*#__PURE__*/ R.createElement(sK, n);
case "symbols":
- if (HPe(t, n)) return /*#__PURE__*/ R.createElement(mB, n);
+ if (UPe(t, n)) return /*#__PURE__*/ R.createElement(hB, n);
break;
case "curve": return /*#__PURE__*/ R.createElement(CG, n);
default: return null;
}
}
-function UPe(e) {
+function WPe(e) {
return /*#__PURE__*/ (0, R.isValidElement)(e) ? e.props : e;
}
function s0(e) {
- var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = IPe(e, FPe), o;
- if (/*#__PURE__*/ (0, R.isValidElement)(t)) o = /*#__PURE__*/ (0, R.cloneElement)(t, a0(a0({}, a), UPe(t)));
+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = LPe(e, IPe), o;
+ if (/*#__PURE__*/ (0, R.isValidElement)(t)) o = /*#__PURE__*/ (0, R.cloneElement)(t, a0(a0({}, a), WPe(t)));
else if (typeof t == "function") o = t(a, a.index);
- else if (wPe(t) && typeof t != "boolean") {
- var s = VPe(t, a);
+ else if (TPe(t) && typeof t != "boolean") {
+ var s = HPe(t, a);
o = /*#__PURE__*/ R.createElement(o0, {
shapeType: n,
elementProps: s
@@ -64924,12 +64980,12 @@ function s0(e) {
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 r = qB();
return (i, a) => (o) => {
e?.(i, a, o), r(QZ({
activeIndex: String(a),
@@ -64939,14 +64995,14 @@ var c0 = (e, t, n) => {
}));
};
}, l0 = (e) => {
- var t = KB();
+ var t = qB();
return (n, r) => (i) => {
- e?.(n, r, i), t(OAe());
+ e?.(n, r, i), t(kAe());
};
}, u0 = (e, t, n) => {
- var r = KB();
+ var r = qB();
return (i, a) => (o) => {
- e?.(i, a, o), r(kAe({
+ e?.(i, a, o), r(AAe({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -64957,9 +65013,9 @@ 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);
+ var { tooltipEntrySettings: t } = e, n = qB(), r = FU(), i = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
- r || (i.current === null ? n(wAe(t)) : i.current !== t && n(TAe({
+ r || (i.current === null ? n(TAe(t)) : i.current !== t && n(EAe({
prev: i.current,
next: t
})), i.current = t);
@@ -64968,13 +65024,13 @@ function d0(e) {
n,
r
]), (0, R.useLayoutEffect)(() => () => {
- i.current &&= (n(EAe(i.current)), null);
+ i.current &&= (n(DAe(i.current)), null);
}, [n]), null;
}
//#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);
+ var { legendPayload: t } = e, n = qB(), r = FU(), i = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
r || (i.current === null ? n(qW(t)) : i.current !== t && n(JW({
prev: i.current,
@@ -64989,7 +65045,7 @@ function f0(e) {
}, [n]), null;
}
function p0(e) {
- var { legendPayload: t } = e, n = KB(), r = Q($U), i = (0, R.useRef)(null);
+ var { legendPayload: t } = e, n = qB(), r = Q($U), i = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
(r === "centric" || r === "radial") && (i.current === null ? n(qW(t)) : i.current !== t && n(JW({
prev: i.current,
@@ -65005,21 +65061,21 @@ function p0(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useId.js
-var WPe = R.useId ?? (() => {
- var [e] = R.useState(() => tB("uid-"));
+var GPe = R.useId ?? (() => {
+ var [e] = R.useState(() => nB("uid-"));
return e;
});
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function GPe(e, t) {
- var n = WPe();
+function KPe(e, t) {
+ var n = GPe();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var KPe = /*#__PURE__*/ (0, R.createContext)(void 0), m0 = (e) => {
- var { id: t, type: n, children: r } = e, i = GPe(`recharts-${n}`, t);
- return /*#__PURE__*/ R.createElement(KPe.Provider, { value: i }, r(i));
+var qPe = /*#__PURE__*/ (0, R.createContext)(void 0), m0 = (e) => {
+ var { id: t, type: n, children: r } = e, i = KPe(`recharts-${n}`, t);
+ return /*#__PURE__*/ R.createElement(qPe.Provider, { value: i }, r(i));
}, h0 = NH({
name: "graphicalItems",
initialState: {
@@ -65068,40 +65124,40 @@ var KPe = /*#__PURE__*/ (0, R.createContext)(void 0), m0 = (e) => {
prepare: kH()
}
}
-}), { addCartesianGraphicalItem: qPe, replaceCartesianGraphicalItem: JPe, removeCartesianGraphicalItem: YPe, addPolarGraphicalItem: XPe, removePolarGraphicalItem: ZPe, replacePolarGraphicalItem: QPe } = h0.actions, $Pe = h0.reducer, g0 = /*#__PURE__*/ (0, R.memo)((e) => {
- var t = KB(), n = (0, R.useRef)(null);
+}), { addCartesianGraphicalItem: JPe, replaceCartesianGraphicalItem: YPe, removeCartesianGraphicalItem: XPe, addPolarGraphicalItem: ZPe, removePolarGraphicalItem: QPe, replacePolarGraphicalItem: $Pe } = h0.actions, eFe = h0.reducer, g0 = /*#__PURE__*/ (0, R.memo)((e) => {
+ var t = qB(), n = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
- n.current === null ? t(qPe(e)) : n.current !== e && t(JPe({
+ n.current === null ? t(JPe(e)) : n.current !== e && t(YPe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, R.useLayoutEffect)(() => () => {
- n.current &&= (t(YPe(n.current)), null);
+ n.current &&= (t(XPe(n.current)), null);
}, [t]), null;
}), _0 = /*#__PURE__*/ (0, R.memo)((e) => {
- var t = KB(), n = (0, R.useRef)(null);
+ var t = qB(), n = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
- n.current === null ? t(XPe(e)) : n.current !== e && t(QPe({
+ n.current === null ? t(ZPe(e)) : n.current !== e && t($Pe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, R.useLayoutEffect)(() => () => {
- n.current &&= (t(ZPe(n.current)), null);
+ n.current &&= (t(QPe(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function eFe(e) {
+function tFe(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function tFe(e) {
- if (!(!TB(e) || e.length === 0)) return eFe(N1(e));
+function nFe(e) {
+ if (!(!EB(e) || e.length === 0)) return tFe(N1(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var nFe = ["points"];
+var rFe = ["points"];
function v0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -65116,26 +65172,26 @@ function y0(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) {
- rFe(e, t, n[t]);
+ iFe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rFe(e, t, n) {
- return (t = iFe(t)) in e ? Object.defineProperty(e, t, {
+function iFe(e, t, n) {
+ return (t = aFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function iFe(e) {
- var t = aFe(e, "string");
+function aFe(e) {
+ var t = oFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aFe(e, t) {
+function oFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65154,16 +65210,16 @@ function b0() {
return e;
}, b0.apply(null, arguments);
}
-function oFe(e, t) {
+function sFe(e, t) {
if (e == null) return {};
- var n, r, i = sFe(e, t);
+ var n, r, i = cFe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function sFe(e, t) {
+function cFe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65172,19 +65228,19 @@ function sFe(e, t) {
}
return n;
}
-function cFe(e) {
+function lFe(e) {
var { option: t, dotProps: n, className: r } = 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 = oFe(a, nFe);
+ var i = Sh(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = sFe(a, rFe);
return /*#__PURE__*/ R.createElement(m1, b0({}, s, { className: i }));
}
-function lFe(e, t) {
+function uFe(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;
- if (!lFe(t, n)) return null;
+ if (!uFe(t, n)) return null;
var u = Q1(n), d = _be(n), f = t.map((e, r) => {
var s = y0(y0(y0({ r: 3 }, o), d), {}, {
index: r,
@@ -65195,14 +65251,14 @@ function x0(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ R.createElement(cFe, {
+ return /*#__PURE__*/ R.createElement(lFe, {
key: `dot-${r}`,
option: n,
dotProps: s,
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(ZQ, { zIndex: l }, /*#__PURE__*/ R.createElement(XR, b0({ className: r }, p), f));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
@@ -65220,26 +65276,26 @@ function C0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? S0(Object(n), !0).forEach(function(t) {
- uFe(e, t, n[t]);
+ dFe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function uFe(e, t, n) {
- return (t = dFe(t)) in e ? Object.defineProperty(e, t, {
+function dFe(e, t, n) {
+ return (t = fFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dFe(e) {
- var t = fFe(e, "string");
+function fFe(e) {
+ var t = pFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fFe(e, t) {
+function pFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65327,7 +65383,7 @@ var w0 = NH({
}
}
}
-}), { addXAxis: pFe, replaceXAxis: mFe, removeXAxis: hFe, addYAxis: gFe, replaceYAxis: _Fe, removeYAxis: vFe, addZAxis: yFe, replaceZAxis: bFe, removeZAxis: xFe, updateYAxisWidth: SFe } = w0.actions, CFe = w0.reducer, wFe = $([
+}), { addXAxis: mFe, replaceXAxis: hFe, removeXAxis: gFe, addYAxis: _Fe, replaceYAxis: vFe, removeYAxis: yFe, addZAxis: bFe, replaceZAxis: xFe, removeZAxis: SFe, updateYAxisWidth: CFe } = w0.actions, wFe = w0.reducer, TFe = $([
$([NU], (e) => ({
top: e.top,
bottom: e.bottom,
@@ -65343,7 +65399,7 @@ var w0 = NH({
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), T0 = () => Q(wFe), TFe = () => Q(ije);
+}), T0 = () => Q(TFe), EFe = () => Q(aje);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
function E0(e, t) {
@@ -65360,26 +65416,26 @@ function D0(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) {
- EFe(e, t, n[t]);
+ DFe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function EFe(e, t, n) {
- return (t = DFe(t)) in e ? Object.defineProperty(e, t, {
+function DFe(e, t, n) {
+ return (t = OFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function DFe(e) {
- var t = OFe(e, "string");
+function OFe(e) {
+ var t = kFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function OFe(e, t) {
+function kFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65389,7 +65445,7 @@ function OFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var kFe = (e) => {
+var AFe = (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({}, {
@@ -65403,17 +65459,17 @@ var kFe = (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(m1, 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 = TFe();
+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = IK.activeDot } = e, s = Q(AQ), c = EFe();
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(kFe, {
+ return sB(l) ? null : /*#__PURE__*/ R.createElement(ZQ, { zIndex: o }, /*#__PURE__*/ R.createElement(AFe, {
point: l,
childIndex: Number(s),
mainColor: n,
@@ -65438,26 +65494,26 @@ function A0(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) {
- AFe(e, t, n[t]);
+ jFe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function AFe(e, t, n) {
- return (t = jFe(t)) in e ? Object.defineProperty(e, t, {
+function jFe(e, t, n) {
+ return (t = MFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jFe(e) {
- var t = MFe(e, "string");
+function MFe(e) {
+ var t = NFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MFe(e, t) {
+function NFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65467,13 +65523,13 @@ function MFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var j0 = (e, t) => w1(e, "radiusAxis", t), NFe = $([j0], (e) => {
+var j0 = (e, t) => w1(e, "radiusAxis", t), PFe = $([j0], (e) => {
if (e != null) return { scale: e };
-}), PFe = $([KK, j0], (e, t) => {
+}), FFe = $([KK, j0], (e, t) => {
if (e != null && t != null) return A0(A0({}, e), {}, { scale: t });
-}), FFe = (e, t, n, r) => E1(e, "radiusAxis", t, r), M0 = (e, t, n) => GK(e, n), N0 = (e, t, n) => w1(e, "angleAxis", n), IFe = $([M0, N0], (e, t) => {
+}), IFe = (e, t, n, r) => E1(e, "radiusAxis", t, r), M0 = (e, t, n) => GK(e, n), N0 = (e, t, n) => w1(e, "angleAxis", n), LFe = $([M0, N0], (e, t) => {
if (e != null && t != null) return A0(A0({}, e), {}, { scale: t });
-}), LFe = (e, t, n, r) => E1(e, "angleAxis", n, r), RFe = $([
+}), RFe = (e, t, n, r) => E1(e, "angleAxis", n, r), zFe = $([
M0,
N0,
$K
@@ -65485,30 +65541,30 @@ var j0 = (e, t) => w1(e, "radiusAxis", t), NFe = $([j0], (e) => {
cx: n.cx,
cy: n.cy
};
-}), zFe = (e, t, n, r, i) => i, BFe = $([
+}), BFe = (e, t, n, r, i) => i, VFe = $([
$U,
- PFe,
FFe,
IFe,
- LFe
-], (e, t, n, r, i) => pU(e, "radiusAxis") ? CU(t, n, !1) : CU(r, i, !1)), VFe = $([
- NFe,
- RFe,
+ LFe,
+ RFe
+], (e, t, n, r, i) => pU(e, "radiusAxis") ? CU(t, n, !1) : CU(r, i, !1)), HFe = $([
+ PFe,
+ zFe,
dK,
- $([h1, zFe], (e, t) => {
+ $([h1, BFe], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- BFe
+ VFe
], (e, t, n, r, i) => {
var { chartData: a, dataStartIndex: o, dataEndIndex: s } = n;
- if (e != null && t != null && a != null && i != null && r != null) return ZFe({
+ if (e != null && t != null && a != null && i != null && r != null) return QFe({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), HFe = ["id"];
+}), UFe = ["id"];
function P0() {
return P0 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -65532,26 +65588,26 @@ function I0(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) {
- UFe(e, t, n[t]);
+ WFe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : F0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function UFe(e, t, n) {
- return (t = WFe(t)) in e ? Object.defineProperty(e, t, {
+function WFe(e, t, n) {
+ return (t = GFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function WFe(e) {
- var t = GFe(e, "string");
+function GFe(e) {
+ var t = KFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function GFe(e, t) {
+function KFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65561,16 +65617,16 @@ function GFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function KFe(e, t) {
+function qFe(e, t) {
if (e == null) return {};
- var n, r, i = qFe(e, t);
+ var n, r, i = JFe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function qFe(e, t) {
+function JFe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65582,7 +65638,7 @@ function qFe(e, t) {
function L0(e, t) {
return e && e !== "none" ? e : t;
}
-var JFe = (e) => {
+var YFe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
@@ -65592,10 +65648,10 @@ var JFe = (e) => {
value: TU(n, t),
payload: e
}];
-}, YFe = /*#__PURE__*/ R.memo((e) => {
+}, XFe = /*#__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,
@@ -65612,8 +65668,8 @@ var JFe = (e) => {
};
return /*#__PURE__*/ R.createElement(d0, { tooltipEntrySettings: l });
});
-function XFe(e) {
- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = UR(KFe(n, HFe));
+function ZFe(e) {
+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = WR(qFe(n, UFe));
return /*#__PURE__*/ R.createElement(x0, {
points: t,
dot: r,
@@ -65623,10 +65679,10 @@ function XFe(e) {
baseProps: o
});
}
-function ZFe(e) {
+function QFe(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) ? tFe(d) : d, m = oB(p) ? 0 : t.scale.map(p) ?? 0;
+ var a = fU(e, n.dataKey, r), d = fU(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? nFe(d) : d, m = sB(p) ? 0 : t.scale.map(p) ?? 0;
Array.isArray(d) && d.length >= 2 && (c = !0), l.push(I0(I0({}, tK(o, s, m, f)), {}, {
name: a,
value: d,
@@ -65640,7 +65696,7 @@ function ZFe(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;
+ var n = e.value[0], r = sB(n) ? 0 : t.scale.map(n) ?? 0;
d.push(I0(I0({}, e), {}, { radius: r }, tK(o, s, r, e.angle)));
} else d.push(e);
}), {
@@ -65649,7 +65705,7 @@ function ZFe(e) {
baseLinePoints: d
};
}
-function QFe(e) {
+function $Fe(e) {
var { showLabels: t, points: n, children: r } = e, i = n.map((e) => {
var t = {
x: e.x,
@@ -65669,10 +65725,10 @@ function QFe(e) {
});
return /*#__PURE__*/ R.createElement(a1, { value: t ? i : void 0 }, r);
}
-function $Fe(e) {
+function eIe(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, I0(I0({}, r), {}, { points: t })) : typeof i == "function" ? i(I0(I0({}, r), {}, { points: t })) : /*#__PURE__*/ R.createElement(f1, P0({}, KR(r), {
onMouseEnter: (e) => {
var { onMouseEnter: t } = r;
t && t(r, e);
@@ -65685,7 +65741,7 @@ function $Fe(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ R.createElement(YR, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ R.createElement(XFe, {
+ return /*#__PURE__*/ R.createElement(XR, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ R.createElement(ZFe, {
props: r,
points: t
}));
@@ -65693,20 +65749,20 @@ function $Fe(e) {
var R0 = (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)
+ x: aB(a.x, r.x, n),
+ y: aB(a.y, r.y, n)
}) : I0(I0({}, r), {}, {
- x: iB(r.cx, r.x, n),
- y: iB(r.cy, r.y, n)
+ x: aB(r.cx, r.x, n),
+ y: aB(r.cy, r.y, n)
});
};
-function eIe(e) {
+function tIe(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)(() => {
typeof u == "function" && u(), v(!1);
}, [u]), x = (0, R.useCallback)(() => {
typeof d == "function" && d(), v(!0);
}, [d]);
- return /*#__PURE__*/ R.createElement(QFe, {
+ return /*#__PURE__*/ R.createElement($Fe, {
showLabels: y,
points: i
}, /*#__PURE__*/ R.createElement(VG, {
@@ -65720,22 +65776,22 @@ function eIe(e) {
onAnimationStart: x
}, (e) => {
var o = e === 1 ? i : i.map(R0(f, m, e)), s = e === 1 ? a : a?.map(R0(p, h, e));
- return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ R.createElement($Fe, {
+ return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ R.createElement(eIe, {
points: o,
baseLinePoints: s,
props: t
});
}), /*#__PURE__*/ R.createElement(c1, { label: t.label }), t.children);
}
-function tIe(e) {
+function nIe(e) {
var t = (0, R.useRef)(void 0), n = (0, R.useRef)(void 0);
- return /*#__PURE__*/ R.createElement(eIe, {
+ return /*#__PURE__*/ R.createElement(tIe, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var nIe = {
+var rIe = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
@@ -65749,27 +65805,27 @@ var nIe = {
radiusAxisId: 0,
zIndex: IK.area
};
-function rIe(e) {
+function iIe(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(tIe, e)), /*#__PURE__*/ R.createElement(O0, {
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(XR, { className: i }, /*#__PURE__*/ R.createElement(nIe, e)), /*#__PURE__*/ R.createElement(O0, {
points: r,
mainColor: L0(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function iIe(e) {
- var t = FU(), n = Q((n) => VFe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ R.createElement(rIe, P0({}, e, {
+function aIe(e) {
+ var t = FU(), n = Q((n) => HFe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ R.createElement(iIe, P0({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
function z0(e) {
- var t = yB(e, nIe);
+ var t = bB(e, rIe);
return /*#__PURE__*/ R.createElement(m0, {
id: t.id,
type: "radar"
@@ -65781,7 +65837,7 @@ function z0(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ R.createElement(p0, { legendPayload: JFe(t) }), /*#__PURE__*/ R.createElement(YFe, {
+ }), /*#__PURE__*/ R.createElement(p0, { legendPayload: YFe(t) }), /*#__PURE__*/ R.createElement(XFe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -65790,7 +65846,7 @@ function z0(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ R.createElement(iIe, P0({}, t, { id: e }))));
+ }), /*#__PURE__*/ R.createElement(aIe, P0({}, t, { id: e }))));
}
z0.displayName = "Radar";
//#endregion
@@ -65814,7 +65870,7 @@ function H0(e) {
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
var U0 = (e, t, n) => {
var r = n ?? e;
- if (!oB(r)) return nB(r, t, 0);
+ if (!sB(r)) return rB(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) => {
var n = e[t.stackId];
@@ -65849,26 +65905,26 @@ function K0(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) {
- aIe(e, t, n[t]);
+ oIe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aIe(e, t, n) {
- return (t = oIe(t)) in e ? Object.defineProperty(e, t, {
+function oIe(e, t, n) {
+ return (t = sIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oIe(e) {
- var t = sIe(e, "string");
+function sIe(e) {
+ var t = cIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sIe(e, t) {
+function cIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65878,10 +65934,10 @@ function sIe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function cIe(e, t, n, r, i) {
+function lIe(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = nB(e, n, 0, !0), s, c = [];
+ var o = rB(e, n, 0, !0), s, c = [];
if (cU(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);
@@ -65901,7 +65957,7 @@ function cIe(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);
@@ -65919,7 +65975,7 @@ function cIe(e, t, n, r, i) {
}
}
var q0 = (e, t, n, r, i, a, o) => {
- var s = oB(o) ? t : o, c = cIe(n, r, i === a ? a : i, e, s);
+ var s = sB(o) ? t : o, c = lIe(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);
@@ -65955,26 +66011,26 @@ function Z0(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) {
- lIe(e, t, n[t]);
+ uIe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lIe(e, t, n) {
- return (t = uIe(t)) in e ? Object.defineProperty(e, t, {
+function uIe(e, t, n) {
+ return (t = dIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uIe(e) {
- var t = dIe(e, "string");
+function dIe(e) {
+ var t = fIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dIe(e, t) {
+function fIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65986,7 +66042,7 @@ function dIe(e, t) {
}
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) => wNe(e, "radiusAxis", t, !1), e2 = $([(e, t, n) => GK(e, n), (e, t, n) => w1(e, "angleAxis", n)], (e, t) => {
+}), $0 = (e, t) => TNe(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) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
@@ -65996,20 +66052,20 @@ var Q0 = $([(e, t) => KK(e, t), (e, t) => w1(e, "radiusAxis", t)], (e, t) => {
$0,
e2,
t2
-], (e, t, n, r, i) => pU(e, "radiusAxis") ? CU(t, n, !1) : CU(r, i, !1)), fIe = $([
+], (e, t, n, r, i) => pU(e, "radiusAxis") ? CU(t, n, !1) : CU(r, i, !1)), pIe = $([
e2,
Q0,
$U
], (e, t, n) => {
var r = n === "radial" ? e : t;
if (r != null && r.scale != null) return bU({ numericAxis: r });
-}), pIe = (e, t, n, r, i) => i, mIe = (e, t, n, r, i) => n, hIe = (e, t, n, r, i) => t, i2 = (e, t, n, r, i) => r.maxBarSize, a2 = (e) => e.type === "radialBar", gIe = $([$([
+}), mIe = (e, t, n, r, i) => i, hIe = (e, t, n, r, i) => n, gIe = (e, t, n, r, i) => t, i2 = (e, t, n, r, i) => r.maxBarSize, a2 = (e) => e.type === "radialBar", _Ie = $([$([
$([
$([
$U,
h1,
- mIe,
- hIe
+ hIe,
+ gIe
], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(a2)),
kK,
() => void 0
@@ -66026,7 +66082,7 @@ var Q0 = $([(e, t) => KK(e, t), (e, t) => w1(e, "radiusAxis", t)], (e, t) => {
$0,
i2
], (e, t, n, r, i, a, o) => {
- var s = oB(o) ? t : o;
+ var s = sB(o) ? t : o;
return e === "centric" ? CU(n, r, !0) ?? s ?? 0 : CU(i, a, !0) ?? s ?? 0;
}),
r2,
@@ -66040,7 +66096,7 @@ var Q0 = $([(e, t) => KK(e, t), (e, t) => w1(e, "radiusAxis", t)], (e, t) => {
o2,
AK,
jK
-], eZ), _Ie = $([
+], eZ), vIe = $([
e2,
t2,
Q0,
@@ -66049,16 +66105,16 @@ var Q0 = $([(e, t) => KK(e, t), (e, t) => w1(e, "radiusAxis", t)], (e, t) => {
n2,
r2,
$U,
- fIe,
- $K,
pIe,
- gIe,
+ $K,
+ mIe,
+ _Ie,
$([(e, t, n) => $U(e) === "centric" ? s2(e, "radiusAxis", t) : s2(e, "angleAxis", n), n2], J0)
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = i;
if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];
var { dataKey: g, minPointSize: _ } = a, { cx: v, cy: y, startAngle: b, endAngle: x } = l;
- return PIe({
+ return FIe({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -66079,7 +66135,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
});
-}), vIe = $([dK, (e, t) => t], (e, t) => {
+}), yIe = $([dK, (e, t) => t], (e, t) => {
var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -66097,16 +66153,16 @@ function c2(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var yIe = [
+var bIe = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], bIe = [
+], xIe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], xIe = ["value", "background"];
+], SIe = ["value", "background"];
function l2() {
return l2 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -66130,26 +66186,26 @@ function d2(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) {
- SIe(e, t, n[t]);
+ CIe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function SIe(e, t, n) {
- return (t = CIe(t)) in e ? Object.defineProperty(e, t, {
+function CIe(e, t, n) {
+ return (t = wIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function CIe(e) {
- var t = wIe(e, "string");
+function wIe(e) {
+ var t = TIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wIe(e, t) {
+function TIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66161,14 +66217,14 @@ function wIe(e, t) {
}
function f2(e, t) {
if (e == null) return {};
- var n, r, i = TIe(e, t);
+ var n, r, i = EIe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function TIe(e, t) {
+function EIe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66178,7 +66234,7 @@ function TIe(e, t) {
return n;
}
var p2 = [];
-function EIe(e) {
+function DIe(e) {
var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -66195,15 +66251,15 @@ function EIe(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ R.createElement(fNe, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ R.createElement(pNe, { value: t ? i : void 0 }, r);
}
-function DIe(e) {
- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = f2(n, yIe), l = UR(c), u = Q(AQ), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = f2(n, bIe), h = c0(d, n.dataKey, s), g = l0(p), _ = u0(f, n.dataKey, s);
- return t == null ? null : /*#__PURE__*/ R.createElement(EIe, {
+function OIe(e) {
+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = f2(n, bIe), l = WR(c), u = Q(AQ), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = f2(n, xIe), h = c0(d, n.dataKey, s), g = l0(p), _ = u0(f, n.dataKey, s);
+ return t == null ? null : /*#__PURE__*/ R.createElement(DIe, {
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 = d2(d2(d2(d2({}, l), {}, { cornerRadius: V0(o) }, e), vB(m, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: s,
onClick: d,
@@ -66220,7 +66276,7 @@ function DIe(e) {
}, /*#__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);
}
-function OIe(e) {
+function kIe(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)(() => {
typeof c == "function" && c(), p(!1);
}, [c]), h = (0, R.useCallback)(() => {
@@ -66239,34 +66295,34 @@ function OIe(e) {
var i = e === 1 ? r : (r ?? p2).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)
+ 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 d2(d2({}, t), {}, { endAngle: aB(a, i, e) });
});
- return e > 0 && (n.current = i ?? null), /*#__PURE__*/ R.createElement(DIe, {
+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ R.createElement(OIe, {
sectors: i ?? p2,
allOtherRadialBarProps: t,
showLabels: !f
});
});
}
-function kIe(e) {
+function AIe(e) {
var t = (0, R.useRef)(null);
- return /*#__PURE__*/ R.createElement(OIe, {
+ return /*#__PURE__*/ R.createElement(kIe, {
props: e,
previousSectorsRef: t
});
}
-function AIe(e) {
- var t = Q((t) => vIe(t, e.legendType));
+function jIe(e) {
+ var t = Q((t) => yIe(t, e.legendType));
return /*#__PURE__*/ R.createElement(p0, { legendPayload: t ?? [] });
}
-var jIe = /*#__PURE__*/ R.memo((e) => {
+var MIe = /*#__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,
@@ -66282,14 +66338,14 @@ var jIe = /*#__PURE__*/ R.memo((e) => {
}
};
return /*#__PURE__*/ R.createElement(d0, { tooltipEntrySettings: u });
-}), MIe = class extends R.PureComponent {
+}), NIe = class extends R.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var { cornerRadius: t } = this.props, n = WR(this.props.background);
+ var { cornerRadius: t } = this.props, n = GR(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, xIe);
+ var { value: i, background: a } = e, o = f2(e, SIe);
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 = d2(d2(d2(d2(d2({ cornerRadius: V0(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,
@@ -66302,10 +66358,10 @@ var jIe = /*#__PURE__*/ R.memo((e) => {
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(kIe, this.props))));
+ return /*#__PURE__*/ R.createElement(ZQ, { 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(AIe, this.props))));
}
};
-function NIe(e) {
+function PIe(e) {
var t = R.useMemo(() => Z1(e.children, m$), [e.children]), n = R.useMemo(() => ({
data: void 0,
hide: !1,
@@ -66327,8 +66383,8 @@ function NIe(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = Q((r) => _Ie(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? p2;
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(jIe, {
+ ]), r = Q((r) => vIe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? p2;
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(MIe, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -66338,7 +66394,7 @@ function NIe(e) {
fill: e.fill,
tooltipType: e.tooltipType,
id: e.id
- }), /*#__PURE__*/ R.createElement(MIe, l2({}, e, { sectors: r })));
+ }), /*#__PURE__*/ R.createElement(NIe, l2({}, e, { sectors: r })));
}
var m2 = {
angleAxisId: 0,
@@ -66357,7 +66413,7 @@ var m2 = {
radiusAxisId: 0,
zIndex: IK.bar
};
-function PIe(e) {
+function FIe(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) => {
var b, x, S, C, w, T;
@@ -66373,7 +66429,7 @@ function PIe(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: {
@@ -66396,7 +66452,7 @@ function PIe(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;
}
}
@@ -66413,7 +66469,7 @@ function PIe(e) {
});
}
function h2(e) {
- var t = yB(e, m2);
+ var t = bB(e, m2);
return /*#__PURE__*/ R.createElement(m0, {
id: t.id,
type: "radialBar"
@@ -66429,13 +66485,13 @@ function h2(e) {
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ R.createElement(AIe, t), /*#__PURE__*/ R.createElement(NIe, l2({}, t, { id: e }))));
+ }), /*#__PURE__*/ R.createElement(jIe, t), /*#__PURE__*/ R.createElement(PIe, l2({}, t, { id: e }))));
}
h2.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
var g2 = (e) => {
- var { chartData: t } = e, n = KB(), r = FU();
+ var { chartData: t } = e, n = qB(), r = FU();
return (0, R.useEffect)(() => r ? () => {} : (n(c$(t)), () => {
n(c$(void 0));
}), [
@@ -66460,7 +66516,7 @@ var g2 = (e) => {
reducers: { setBrushSettings(e, t) {
return t.payload == null ? _2 : t.payload;
} }
-}), { setBrushSettings: FIe } = v2.actions, IIe = v2.reducer, LIe = (e, t) => {
+}), { setBrushSettings: IIe } = v2.actions, LIe = v2.reducer, RIe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return {
x: Math.min(n, i),
@@ -66468,9 +66524,9 @@ var g2 = (e) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, RIe = (e) => {
+}, zIe = (e) => {
var { x1: t, y1: n, x2: r, y2: i } = e;
- return LIe({
+ return RIe({
x: t,
y: n
}, {
@@ -66478,11 +66534,11 @@ var g2 = (e) => {
y: i
});
};
-function zIe(e) {
+function BIe(e) {
return (e % 180 + 180) % 180;
}
-var BIe = function(e) {
- var { width: t, height: n } = e, r = zIe(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
+var VIe = function(e) {
+ var { width: t, height: n } = e, r = BIe(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({
name: "referenceElements",
@@ -66514,8 +66570,8 @@ var BIe = function(e) {
n !== -1 && e.lines.splice(n, 1);
}
}
-}), { addDot: VIe, removeDot: HIe, addArea: UIe, removeArea: WIe, addLine: GIe, removeLine: KIe } = y2.actions, qIe = y2.reducer, b2 = /*#__PURE__*/ (0, R.createContext)(void 0), JIe = (e) => {
- var { children: t } = e, [n] = (0, R.useState)(`${tB("recharts")}-clip`), r = T0();
+}), { addDot: HIe, removeDot: UIe, addArea: WIe, removeArea: GIe, addLine: KIe, removeLine: qIe } = y2.actions, JIe = y2.reducer, b2 = /*#__PURE__*/ (0, R.createContext)(void 0), YIe = (e) => {
+ var { children: t } = e, [n] = (0, R.useState)(`${nB("recharts")}-clip`), r = T0();
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", {
@@ -66524,7 +66580,7 @@ var BIe = function(e) {
height: s,
width: o
}))), t);
-}, YIe = () => (0, R.useContext)(b2), XIe = class {
+}, XIe = () => (0, R.useContext)(b2), ZIe = class {
constructor(e) {
var { x: t, y: n } = e;
this.xAxisScale = t, this.yAxisScale = n;
@@ -66564,26 +66620,26 @@ function S2(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) {
- ZIe(e, t, n[t]);
+ QIe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : x2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ZIe(e, t, n) {
- return (t = QIe(t)) in e ? Object.defineProperty(e, t, {
+function QIe(e, t, n) {
+ return (t = $Ie(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function QIe(e) {
- var t = $Ie(e, "string");
+function $Ie(e) {
+ var t = eLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $Ie(e, t) {
+function eLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66602,7 +66658,7 @@ function C2() {
return e;
}, C2.apply(null, arguments);
}
-var eLe = (e, t) => {
+var tLe = (e, t) => {
var n;
if (/*#__PURE__*/ R.isValidElement(e)) n = /*#__PURE__*/ R.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
@@ -66611,7 +66667,7 @@ var eLe = (e, t) => {
n = /*#__PURE__*/ R.createElement("line", C2({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, tLe = (e, t, n, r, i, a) => {
+}, nLe = (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;
var l = [{
@@ -66622,7 +66678,7 @@ var eLe = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, nLe = (e, t, n, r, i, a) => {
+}, rLe = (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;
var l = [{
@@ -66633,7 +66689,7 @@ var eLe = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, rLe = (e, t, n, r) => {
+}, iLe = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -66642,43 +66698,43 @@ var eLe = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, iLe = (e, t, n, r, i, a, o) => {
- var { x: s, y: c, segment: l, ifOverflow: u } = o, d = eB(s);
- return eB(c) ? tLe(c, u, r, a, t, n) : d ? nLe(s, u, r, i, e, n) : l != null && l.length === 2 ? rLe(l, u, r, new XIe({
+}, aLe = (e, t, n, r, i, a, o) => {
+ var { x: s, y: c, segment: l, ifOverflow: u } = o, d = tB(s);
+ return tB(c) ? nLe(c, u, r, a, t, n) : d ? rLe(s, u, r, i, e, n) : l != null && l.length === 2 ? iLe(l, u, r, new ZIe({
x: e,
y: t
})) : null;
};
-function aLe(e) {
- var t = KB();
- return (0, R.useEffect)(() => (t(GIe(e)), () => {
- t(KIe(e));
+function oLe(e) {
+ var t = qB();
+ return (0, R.useEffect)(() => (t(KIe(e)), () => {
+ t(qIe(e));
})), null;
}
-function oLe(e) {
- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = FU(), s = YIe(), 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();
+function sLe(e) {
+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = FU(), s = XIe(), 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();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = iLe(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = aLe(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 = S2(S2({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, KR(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), x = RIe({
+ }), x = zIe({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ R.createElement(ZQ, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(YR, { className: Sh("recharts-reference-line", i) }, eLe(r, b), /*#__PURE__*/ R.createElement(q$, C2({}, x, {
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(XR, { className: Sh("recharts-reference-line", i) }, tLe(r, b), /*#__PURE__*/ R.createElement(q$, C2({}, x, {
lowerWidth: x.width,
upperWidth: x.width
}), /*#__PURE__*/ R.createElement(t1, { label: e.label }), e.children)));
}
-var sLe = {
+var cLe = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -66691,15 +66747,15 @@ var sLe = {
zIndex: IK.line
};
function w2(e) {
- var t = yB(e, sLe);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(aLe, {
+ var t = bB(e, cLe);
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(oLe, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ R.createElement(oLe, t));
+ }), /*#__PURE__*/ R.createElement(sLe, t));
}
w2.displayName = "ReferenceLine";
//#endregion
@@ -66715,13 +66771,13 @@ function T2(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function cLe(e, t, n) {
- return BIe({
+function lLe(e, t, n) {
+ return VIe({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function lLe(e, t, n) {
+function uLe(e, t, n) {
var r = n === "width", { x: i, y: a, width: o, height: s } = e;
return t === 1 ? {
start: r ? i : a,
@@ -66736,12 +66792,12 @@ function E2(e, t, n, r, i) {
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function uLe(e, t) {
+function dLe(e, t) {
return T2(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function dLe(e, t, n, r, i) {
+function fLe(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) };
@@ -66750,7 +66806,7 @@ function dLe(e, t, n, r, i) {
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function fLe(e, t, n, r, i) {
+function pLe(e, t, n, r, i) {
var a = (r || []).slice().length;
if (a === 0) return [];
for (var { start: o, end: s } = t, c = 1; c <= a; c++) {
@@ -66787,26 +66843,26 @@ function O2(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) {
- pLe(e, t, n[t]);
+ mLe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pLe(e, t, n) {
- return (t = mLe(t)) in e ? Object.defineProperty(e, t, {
+function mLe(e, t, n) {
+ return (t = hLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mLe(e) {
- var t = hLe(e, "string");
+function hLe(e) {
+ var t = gLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hLe(e, t) {
+function gLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66816,7 +66872,7 @@ function hLe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function gLe(e, t, n, r, i) {
+function _Le(e, t, n, r, i) {
for (var a = (r || []).slice(), o = a.length, { start: s } = t, { end: c } = t, l = function(t) {
var r = a[t];
if (r == null) return 1;
@@ -66829,7 +66885,7 @@ function gLe(e, t, n, r, i) {
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function _Le(e, t, n, r, i, a) {
+function vLe(e, t, n, r, i, a) {
var o = (r || []).slice(), s = o.length, { start: c, end: l } = t;
if (a) {
var u = r[s - 1];
@@ -66853,7 +66909,7 @@ function _Le(e, t, n, r, i, a) {
function k2(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 uLe(i, Z(c) ? c : 0) ?? [];
+ if (Z(c) || lG.isSsr) return dLe(i, Z(c) ? c : 0) ?? [];
var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? b$(u, {
fontSize: t,
letterSpacing: n
@@ -66862,19 +66918,19 @@ function k2(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? cLe(b$(i, {
+ return p === "width" ? lLe(b$(i, {
fontSize: t,
letterSpacing: n
}), m, d) : b$(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? Zz(_.coordinate - g.coordinate) : 1, y = lLe(a, v, p);
- return c === "equidistantPreserveStart" ? dLe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? fLe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? _Le(v, y, h, i, o, c === "preserveStartEnd") : gLe(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? Qz(_.coordinate - g.coordinate) : 1, y = uLe(a, v, p);
+ return c === "equidistantPreserveStart" ? fLe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? pLe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? vLe(v, y, h, i, o, c === "preserveStartEnd") : _Le(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var vLe = (e) => {
+var yLe = (e) => {
var { ticks: t, label: n, labelGapWithTick: r = 5, tickSize: i = 0, tickMargin: a = 0 } = e, o = 0;
if (t) {
Array.from(t).forEach((e) => {
@@ -66903,7 +66959,7 @@ var vLe = (e) => {
delete e[n][r];
}
}
-}), { setRenderedTicks: yLe, removeRenderedTicks: bLe } = A2.actions, xLe = A2.reducer, SLe = [
+}), { setRenderedTicks: bLe, removeRenderedTicks: xLe } = A2.actions, SLe = A2.reducer, CLe = [
"axisLine",
"width",
"height",
@@ -66913,16 +66969,16 @@ var vLe = (e) => {
"axisType",
"axisId"
];
-function CLe(e, t) {
+function wLe(e, t) {
if (e == null) return {};
- var n, r, i = wLe(e, t);
+ var n, r, i = TLe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function wLe(e, t) {
+function TLe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66954,26 +67010,26 @@ function N2(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) {
- TLe(e, t, n[t]);
+ ELe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function TLe(e, t, n) {
- return (t = ELe(t)) in e ? Object.defineProperty(e, t, {
+function ELe(e, t, n) {
+ return (t = DLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ELe(e) {
- var t = DLe(e, "string");
+function DLe(e) {
+ var t = OLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function DLe(e, t) {
+function OLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67007,10 +67063,10 @@ var P2 = {
interval: "preserveEnd",
zIndex: IK.axis
};
-function OLe(e) {
+function kLe(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 = N2(N2(N2({}, c), WR(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
l = N2(N2({}, l), {}, {
@@ -67028,9 +67084,9 @@ function OLe(e) {
y2: n + i
});
}
- return /*#__PURE__*/ R.createElement("line", j2({}, l, { className: Sh("recharts-cartesian-axis-line", Jz(s, "className")) }));
+ return /*#__PURE__*/ R.createElement("line", j2({}, l, { className: Sh("recharts-cartesian-axis-line", Yz(s, "className")) }));
}
-function kLe(e, t, n, r, i, a, o, s, c) {
+function ALe(e, t, n, r, i, a, o, s, c) {
var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = Z(e.tickCoord) ? e.tickCoord : e.coordinate;
switch (a) {
case "top":
@@ -67057,14 +67113,14 @@ function kLe(e, t, n, r, i, a, o, s, c) {
}
};
}
-function ALe(e, t) {
+function jLe(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function jLe(e, t) {
+function MLe(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -67072,7 +67128,7 @@ function jLe(e, t) {
default: return t ? "end" : "start";
}
}
-function MLe(e) {
+function NLe(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 }));
@@ -67082,9 +67138,9 @@ function MLe(e) {
}
return i;
}
-function NLe(e) {
- var { ticks: t, axisType: n, axisId: r } = e, i = KB();
- return (0, R.useEffect)(() => r == null || n == null ? lB : (i(yLe({
+function PLe(e) {
+ var { ticks: t, axisType: n, axisId: r } = e, i = qB();
+ return (0, R.useEffect)(() => r == null || n == null ? uB : (i(bLe({
ticks: t.map((e) => ({
value: e.value,
coordinate: e.coordinate,
@@ -67094,7 +67150,7 @@ function NLe(e) {
axisId: r,
axisType: n
})), () => {
- i(bLe({
+ i(xLe({
axisId: r,
axisType: n
}));
@@ -67105,15 +67161,15 @@ function NLe(e) {
n
]), null;
}
-var PLe = /*#__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 : ALe(u, d), O = jLe(u, d), k = {};
+var FLe = /*#__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 = WR(b), E = GR(r), D = N$(T.textAnchor) ? T.textAnchor : jLe(u, d), O = MLe(u, d), k = {};
typeof i == "object" && (k = i);
- var A = N2(N2({}, T), {}, { fill: "none" }, k), j = w.map((e) => N2({ entry: e }, kLe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
+ var A = N2(N2({}, T), {}, { fill: "none" }, k), j = w.map((e) => N2({ entry: e }, ALe(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", j2({}, 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), {}, {
textAnchor: D,
@@ -67126,16 +67182,16 @@ var PLe = /*#__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, j2({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, _B(x, n, t)), r && /*#__PURE__*/ R.createElement(MLe, {
+ }, vB(x, n, t)), r && /*#__PURE__*/ R.createElement(NLe, {
option: r,
tickProps: u,
value: `${typeof o == "function" ? o(n.value, t) : n.value}${s || ""}`
}));
});
- return /*#__PURE__*/ R.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ R.createElement(NLe, {
+ return /*#__PURE__*/ R.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ R.createElement(PLe, {
ticks: w,
axisId: C,
axisType: S
@@ -67143,9 +67199,9 @@ var PLe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
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));
-}), FLe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = CLe(e, SLe), [d, f] = (0, R.useState)(""), [p, m] = (0, R.useState)(""), h = (0, R.useRef)(null);
- (0, R.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => vLe({
+}), ILe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = wLe(e, CLe), [d, f] = (0, R.useState)(""), [p, m] = (0, R.useState)(""), h = (0, R.useRef)(null);
+ (0, R.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => yLe({
ticks: h.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -67163,7 +67219,7 @@ var PLe = /*#__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(OLe, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ R.createElement(ZQ, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(XR, { className: Sh("recharts-cartesian-axis", a) }, /*#__PURE__*/ R.createElement(kLe, {
x: e.x,
y: e.y,
width: r,
@@ -67171,8 +67227,8 @@ var PLe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: UR(e)
- }), /*#__PURE__*/ R.createElement(PLe, {
+ otherSvgProps: WR(e)
+ }), /*#__PURE__*/ R.createElement(FLe, {
ref: g,
axisType: c,
events: u,
@@ -67208,19 +67264,19 @@ var PLe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
labelRef: e.labelRef
}), e.children)));
}), F2 = /*#__PURE__*/ R.forwardRef((e, t) => {
- var n = yB(e, P2);
- return /*#__PURE__*/ R.createElement(FLe, j2({}, n, { ref: t }));
+ var n = bB(e, P2);
+ return /*#__PURE__*/ R.createElement(ILe, j2({}, n, { ref: t }));
});
F2.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/CartesianGrid.js
-var ILe = [
+var LLe = [
"x1",
"y1",
"x2",
"y2",
"key"
-], LLe = ["offset"], RLe = ["xAxisId", "yAxisId"], zLe = ["xAxisId", "yAxisId"];
+], RLe = ["offset"], zLe = ["xAxisId", "yAxisId"], BLe = ["xAxisId", "yAxisId"];
function I2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -67235,26 +67291,26 @@ function L2(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) {
- BLe(e, t, n[t]);
+ VLe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function BLe(e, t, n) {
- return (t = VLe(t)) in e ? Object.defineProperty(e, t, {
+function VLe(e, t, n) {
+ return (t = HLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function VLe(e) {
- var t = HLe(e, "string");
+function HLe(e) {
+ var t = ULe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function HLe(e, t) {
+function ULe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67275,14 +67331,14 @@ function R2() {
}
function z2(e, t) {
if (e == null) return {};
- var n, r, i = ULe(e, t);
+ var n, r, i = WLe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function ULe(e, t) {
+function WLe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67291,7 +67347,7 @@ function ULe(e, t) {
}
return n;
}
-var WLe = (e) => {
+var GLe = (e) => {
var { fill: t } = e;
if (!t || t === "none") return null;
var { fillOpacity: n, x: r, y: i, width: a, height: o, ry: s } = e;
@@ -67312,7 +67368,7 @@ function B2(e) {
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, ILe)) ?? {}, { offset: u } = l, d = z2(l, LLe);
+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = WR(z2(n, LLe)) ?? {}, { offset: u } = l, d = z2(l, RLe);
r = /*#__PURE__*/ R.createElement("line", R2({}, d, {
x1: i,
y1: a,
@@ -67324,10 +67380,10 @@ function B2(e) {
}
return r;
}
-function GLe(e) {
+function KLe(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, RLe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = z2(e, zLe), c = i.map((e, i) => {
var a = L2(L2({}, s), {}, {
x1: t,
y1: e,
@@ -67344,10 +67400,10 @@ function GLe(e) {
});
return /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);
}
-function KLe(e) {
+function qLe(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, zLe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = z2(e, BLe), c = i.map((e, i) => {
var a = L2(L2({}, s), {}, {
x1: e,
y1: t,
@@ -67364,7 +67420,7 @@ function KLe(e) {
});
return /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);
}
-function qLe(e) {
+function JLe(e) {
var { horizontalFill: t, fillOpacity: n, x: r, y: i, width: a, height: o, horizontalPoints: s, horizontal: c = !0 } = e;
if (!c || !t || !t.length || s == null) return null;
var l = s.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -67387,7 +67443,7 @@ function qLe(e) {
});
return /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function JLe(e) {
+function YLe(e) {
var { vertical: t = !0, verticalFill: n, fillOpacity: r, x: i, y: a, width: o, height: s, verticalPoints: c } = e;
if (!t || !n || !n.length) return null;
var l = c.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -67410,7 +67466,7 @@ function JLe(e) {
});
return /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);
}
-var YLe = (e, t) => {
+var XLe = (e, t) => {
var { xAxis: n, width: r, height: i, offset: a } = e;
return mU(k2(L2(L2(L2({}, P2), n), {}, {
ticks: hU(n, !0),
@@ -67421,7 +67477,7 @@ var YLe = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, XLe = (e, t) => {
+}, ZLe = (e, t) => {
var { yAxis: n, width: r, height: i, offset: a } = e;
return mU(k2(L2(L2(L2({}, P2), n), {}, {
ticks: hU(n, !0),
@@ -67432,7 +67488,7 @@ var YLe = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, ZLe = {
+}, QLe = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -67447,14 +67503,14 @@ var YLe = (e, t) => {
zIndex: IK.grid
};
function V2(e) {
- var t = ZU(), n = QU(), r = XU(), i = L2(L2({}, yB(e, ZLe)), {}, {
+ var t = ZU(), n = QU(), r = XU(), i = L2(L2({}, bB(e, QLe)), {}, {
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;
- var _ = i.verticalCoordinatesGenerator || YLe, v = i.horizontalCoordinatesGenerator || XLe, { horizontalPoints: y, verticalPoints: b } = i;
+ var _ = i.verticalCoordinatesGenerator || XLe, v = i.horizontalCoordinatesGenerator || ZLe, { 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,
@@ -67473,7 +67529,7 @@ function V2(e) {
}, C ? !0 : d);
RU(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(WLe, {
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: i.zIndex }, /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ R.createElement(GLe, {
fill: i.fill,
fillOpacity: i.fillOpacity,
x: i.x,
@@ -67481,12 +67537,12 @@ function V2(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ R.createElement(qLe, R2({}, i, { horizontalPoints: y })), /*#__PURE__*/ R.createElement(JLe, R2({}, i, { verticalPoints: b })), /*#__PURE__*/ R.createElement(GLe, R2({}, i, {
+ }), /*#__PURE__*/ R.createElement(JLe, R2({}, i, { horizontalPoints: y })), /*#__PURE__*/ R.createElement(YLe, R2({}, i, { verticalPoints: b })), /*#__PURE__*/ R.createElement(KLe, R2({}, i, {
offset: r,
horizontalPoints: y,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ R.createElement(KLe, R2({}, i, {
+ })), /*#__PURE__*/ R.createElement(qLe, R2({}, i, {
offset: r,
verticalPoints: b,
xAxis: h,
@@ -67513,17 +67569,17 @@ var H2 = NH({
e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));
}
}
-}), { addErrorBar: QLe, replaceErrorBar: $Le, removeErrorBar: eRe } = H2.actions, tRe = H2.reducer, nRe = ["children"];
-function rRe(e, t) {
+}), { addErrorBar: $Le, replaceErrorBar: eRe, removeErrorBar: tRe } = H2.actions, nRe = H2.reducer, rRe = ["children"];
+function iRe(e, t) {
if (e == null) return {};
- var n, r, i = iRe(e, t);
+ var n, r, i = aRe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function iRe(e, t) {
+function aRe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67532,7 +67588,7 @@ function iRe(e, t) {
}
return n;
}
-var aRe = /*#__PURE__*/ (0, R.createContext)({
+var oRe = /*#__PURE__*/ (0, R.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -67544,8 +67600,8 @@ var aRe = /*#__PURE__*/ (0, R.createContext)({
errorBarOffset: 0
});
function U2(e) {
- var { children: t } = e, n = rRe(e, nRe);
- return /*#__PURE__*/ R.createElement(aRe.Provider, { value: n }, t);
+ var { children: t } = e, n = iRe(e, rRe);
+ return /*#__PURE__*/ R.createElement(oRe.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
@@ -67570,30 +67626,30 @@ 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), oRe = $([
+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), sRe = $([
$U,
K2,
J2,
q2,
Y2
-], (e, t, n, r, i) => pU(e, "xAxis") ? CU(t, r, !1) : CU(n, i, !1)), sRe = (e, t, n, r, i) => i;
-function cRe(e) {
+], (e, t, n, r, i) => pU(e, "xAxis") ? CU(t, r, !1) : CU(n, i, !1)), cRe = (e, t, n, r, i) => i;
+function lRe(e) {
return e.type === "line";
}
-var lRe = $([
+var uRe = $([
$U,
K2,
J2,
q2,
Y2,
- $([RX, sRe], (e, t) => e.filter(cRe).find((e) => e.id === t)),
- oRe,
+ $([RX, cRe], (e, t) => e.filter(lRe).find((e) => e.id === t)),
+ sRe,
fK
], (e, t, n, r, i, a, o, s) => {
var { chartData: c, dataStartIndex: l, dataEndIndex: u } = s;
if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {
var { dataKey: d, data: f } = a, p = f != null && f.length > 0 ? f : c?.slice(l, u + 1);
- if (p != null) return kRe({
+ if (p != null) return ARe({
layout: e,
xAxis: t,
yAxis: n,
@@ -67608,7 +67664,7 @@ var lRe = $([
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
function X2(e) {
- var t = WR(e), n = 3, r = 2;
+ 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), {
@@ -67623,13 +67679,13 @@ function X2(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var uRe = ["id"], dRe = [
+var dRe = ["id"], fRe = [
"type",
"layout",
"connectNulls",
"needClip",
"shape"
-], fRe = [
+], pRe = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -67668,26 +67724,26 @@ function $2(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) {
- pRe(e, t, n[t]);
+ mRe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pRe(e, t, n) {
- return (t = mRe(t)) in e ? Object.defineProperty(e, t, {
+function mRe(e, t, n) {
+ return (t = hRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mRe(e) {
- var t = hRe(e, "string");
+function hRe(e) {
+ var t = gRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hRe(e, t) {
+function gRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67699,14 +67755,14 @@ function hRe(e, t) {
}
function e4(e, t) {
if (e == null) return {};
- var n, r, i = gRe(e, t);
+ var n, r, i = _Re(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function gRe(e, t) {
+function _Re(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67715,7 +67771,7 @@ function gRe(e, t) {
}
return n;
}
-var _Re = (e) => {
+var vRe = (e) => {
var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;
return [{
inactive: a,
@@ -67725,10 +67781,10 @@ var _Re = (e) => {
value: TU(n, t),
payload: e
}];
-}, vRe = /*#__PURE__*/ R.memo((e) => {
+}, yRe = /*#__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,
@@ -67745,11 +67801,11 @@ var _Re = (e) => {
};
return /*#__PURE__*/ R.createElement(d0, { tooltipEntrySettings: d });
}), t4 = (e, t) => `${t}px ${e}px`;
-function yRe(e, t) {
+function bRe(e, t) {
for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);
return r;
}
-var bRe = (e, t, n) => {
+var xRe = (e, t, n) => {
var r = n.reduce((e, t) => e + t, 0);
if (!r) return t4(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) {
@@ -67761,13 +67817,13 @@ var bRe = (e, t, n) => {
}
var d = o.length % 2 == 0 ? [0, t] : [t];
return [
- ...yRe(n, i),
+ ...bRe(n, i),
...o,
...d
].map((e) => `${e}px`).join(", ");
};
-function xRe(e) {
- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = UR(e4(r, uRe));
+function SRe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = WR(e4(r, dRe));
return /*#__PURE__*/ R.createElement(x0, {
points: n,
dot: i,
@@ -67779,7 +67835,7 @@ function xRe(e) {
clipPathId: t
});
}
-function SRe(e) {
+function CRe(e) {
var { showLabels: t, children: n, points: r } = e, i = (0, R.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -67800,7 +67856,7 @@ function SRe(e) {
return /*#__PURE__*/ R.createElement(a1, { 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, dRe))), {}, {
+ 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({}, KR(e4(a, fRe))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: l ? `url(#clipPath-${t})` : void 0,
@@ -67813,28 +67869,28 @@ function n4(e) {
return /*#__PURE__*/ R.createElement(R.Fragment, null, r?.length > 1 && /*#__PURE__*/ R.createElement(s0, Z2({
shapeType: "curve",
option: u
- }, d, { pathRef: n })), /*#__PURE__*/ R.createElement(xRe, {
+ }, d, { pathRef: n })), /*#__PURE__*/ R.createElement(SRe, {
points: r,
clipPathId: t,
props: a
}));
}
-function CRe(e) {
+function wRe(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function wRe(e) {
+function TRe(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)(() => {
typeof h == "function" && h(), x(!1);
}, [h]), w = (0, R.useCallback)(() => {
typeof g == "function" && g(), x(!0);
- }, [g]), T = CRe(r.current), E = (0, R.useRef)(0);
+ }, [g]), T = wRe(r.current), E = (0, R.useRef)(0);
y.current !== v && (E.current = a.current, y.current = v);
var D = E.current;
- return /*#__PURE__*/ R.createElement(SRe, {
+ return /*#__PURE__*/ R.createElement(CRe, {
points: o,
showLabels: S
}, n.children, /*#__PURE__*/ R.createElement(VG, {
@@ -67847,20 +67903,20 @@ function wRe(e) {
onAnimationStart: w,
key: v
}, (e) => {
- var l = iB(D, T + D, e), u = Math.min(l, T), d = c ? s ? bRe(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 ? xRe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : t4(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)
+ 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)
+ x: aB(p * 2, t.x, e),
+ y: aB(m / 2, t.y, e)
}) : $2($2({}, t), {}, {
x: t.x,
y: t.y
@@ -67883,9 +67939,9 @@ function wRe(e) {
});
}), /*#__PURE__*/ R.createElement(c1, { label: n.label }));
}
-function TRe(e) {
+function ERe(e) {
var { clipPathId: t, props: n } = e, r = (0, R.useRef)(null), i = (0, R.useRef)(0), a = (0, R.useRef)(null);
- return /*#__PURE__*/ R.createElement(wRe, {
+ return /*#__PURE__*/ R.createElement(TRe, {
props: n,
clipPathId: t,
previousPointsRef: r,
@@ -67893,17 +67949,17 @@ function TRe(e) {
pathRef: a
});
}
-var ERe = (e, t) => ({
+var DRe = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
errorVal: fU(e.payload, t)
-}), DRe = class extends R.Component {
+}), ORe = 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, {
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: f }, /*#__PURE__*/ R.createElement(XR, { className: p }, d && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(G2, {
clipPathId: m,
xAxisId: i,
yAxisId: a
@@ -67916,9 +67972,9 @@ var ERe = (e, t) => ({
xAxisId: i,
yAxisId: a,
data: n,
- dataPointFormatter: ERe,
+ dataPointFormatter: DRe,
errorBarOffset: 0
- }, /*#__PURE__*/ R.createElement(TRe, {
+ }, /*#__PURE__*/ R.createElement(ERe, {
props: this.props,
clipPathId: m
}))), /*#__PURE__*/ R.createElement(O0, {
@@ -67949,11 +68005,11 @@ var ERe = (e, t) => ({
zIndex: IK.line,
type: "linear"
};
-function ORe(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, fRe), { needClip: _ } = W2(p, m), v = T0(), y = eW(), b = FU(), x = Q((e) => lRe(e, p, m, b, h));
+function kRe(e) {
+ var t = bB(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, pRe), { needClip: _ } = W2(p, m), v = T0(), y = eW(), b = FU(), x = Q((e) => uRe(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(DRe, Z2({}, g, {
+ return /*#__PURE__*/ R.createElement(ORe, Z2({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -67977,7 +68033,7 @@ function ORe(e) {
needClip: _
}));
}
-function kRe(e) {
+function ARe(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);
@@ -67989,11 +68045,11 @@ function kRe(e) {
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 = vU({
axis: r,
ticks: a,
bandSize: s,
@@ -68008,12 +68064,12 @@ function kRe(e) {
};
}).filter(Boolean);
}
-function ARe(e) {
- var t = yB(e, r4), n = FU();
+function jRe(e) {
+ var t = bB(e, r4), n = FU();
return /*#__PURE__*/ R.createElement(m0, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(f0, { legendPayload: _Re(t) }), /*#__PURE__*/ R.createElement(vRe, {
+ }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(f0, { legendPayload: vRe(t) }), /*#__PURE__*/ R.createElement(yRe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -68034,9 +68090,9 @@ function ARe(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ R.createElement(ORe, Z2({}, t, { id: e }))));
+ }), /*#__PURE__*/ R.createElement(kRe, Z2({}, t, { id: e }))));
}
-var i4 = /*#__PURE__*/ R.memo(ARe, QW);
+var i4 = /*#__PURE__*/ R.memo(jRe, QW);
i4.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
@@ -68048,19 +68104,19 @@ function o4(e, t) {
}
//#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), jRe = $([
+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), MRe = $([
$U,
s4,
l4,
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", MRe = (e, t) => f4(e) === "yAxis" ? o4(e, t) : a4(e, t), NRe = $([
+], (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", NRe = (e, t) => f4(e) === "yAxis" ? o4(e, t) : a4(e, t), PRe = $([
$U,
s4,
l4,
c4,
u4,
- $([d4, (e, t, n) => tZ(e, f4(e), MRe(e, t), n)], (e, t) => {
+ $([d4, (e, t, n) => tZ(e, f4(e), NRe(e, t), n)], (e, t) => {
if (e != null && t != null) {
var { stackId: n } = e, r = nq(e);
if (n != null && r != null) {
@@ -68070,14 +68126,14 @@ var s4 = (e, t, n) => WZ(e, "xAxis", a4(e, t), n), c4 = (e, t, n) => UZ(e, "xAxi
}
}),
pK,
- jRe,
+ MRe,
d4,
- ZEe
+ QEe
], (e, t, n, r, i, a, o, s, c, l) => {
var { chartData: u, dataStartIndex: d, dataEndIndex: f } = o;
if (!(c == null || e !== "horizontal" && e !== "vertical" || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || s == null)) {
var { data: p } = c, m = p && p.length > 0 ? p : u?.slice(d, f + 1);
- if (m != null) return $Re({
+ if (m != null) return eze({
layout: e,
xAxis: t,
yAxis: n,
@@ -68091,7 +68147,7 @@ var s4 = (e, t, n) => WZ(e, "xAxis", a4(e, t), n), c4 = (e, t, n) => UZ(e, "xAxi
bandSize: s
});
}
-}), PRe = ["id"], FRe = [
+}), FRe = ["id"], IRe = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -68118,14 +68174,14 @@ function p4() {
}
function m4(e, t) {
if (e == null) return {};
- var n, r, i = IRe(e, t);
+ var n, r, i = LRe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function IRe(e, t) {
+function LRe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68148,26 +68204,26 @@ function g4(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) {
- LRe(e, t, n[t]);
+ RRe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function LRe(e, t, n) {
- return (t = RRe(t)) in e ? Object.defineProperty(e, t, {
+function RRe(e, t, n) {
+ return (t = zRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function RRe(e) {
- var t = zRe(e, "string");
+function zRe(e) {
+ var t = BRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function zRe(e, t) {
+function BRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68180,7 +68236,7 @@ function zRe(e, t) {
function _4(e, t) {
return e && e !== "none" ? e : t;
}
-var BRe = (e) => {
+var VRe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
@@ -68190,10 +68246,10 @@ var BRe = (e) => {
value: TU(n, t),
payload: e
}];
-}, VRe = /*#__PURE__*/ R.memo((e) => {
+}, HRe = /*#__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,
@@ -68210,8 +68266,8 @@ var BRe = (e) => {
};
return /*#__PURE__*/ R.createElement(d0, { tooltipEntrySettings: d });
});
-function HRe(e) {
- var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = UR(r);
+function URe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = WR(r);
return /*#__PURE__*/ R.createElement(x0, {
points: n,
dot: a,
@@ -68223,7 +68279,7 @@ function HRe(e) {
clipPathId: t
});
}
-function URe(e) {
+function WRe(e) {
var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {
var t = {
x: e.x ?? 0,
@@ -68244,8 +68300,8 @@ function URe(e) {
return /*#__PURE__*/ R.createElement(a1, { 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, PRe), 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, {
+ 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, FRe), 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(CG, p4({}, m, {
id: d,
points: t,
connectNulls: l,
@@ -68268,13 +68324,13 @@ function v4(e) {
connectNulls: l,
fill: "none",
points: n
- }))), /*#__PURE__*/ R.createElement(HRe, {
+ }))), /*#__PURE__*/ R.createElement(URe, {
points: t,
props: f,
clipPathId: i
}));
}
-function WRe(e) {
+function GRe(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;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
@@ -68285,7 +68341,7 @@ function WRe(e) {
height: Math.floor(s)
}) : null;
}
-function GRe(e) {
+function KRe(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;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
@@ -68296,21 +68352,21 @@ function GRe(e) {
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function KRe(e) {
+function qRe(e) {
var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;
- return n === "vertical" ? /*#__PURE__*/ R.createElement(WRe, {
+ return n === "vertical" ? /*#__PURE__*/ R.createElement(GRe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ R.createElement(GRe, {
+ }) : /*#__PURE__*/ R.createElement(KRe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function qRe(e) {
+function JRe(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)(() => ({
points: o,
baseLine: s
@@ -68321,7 +68377,7 @@ function qRe(e) {
}, [f]);
if (h == null) return null;
var x = i.current, S = a.current;
- return /*#__PURE__*/ R.createElement(URe, {
+ return /*#__PURE__*/ R.createElement(WRe, {
showLabels: v,
points: o
}, r.children, /*#__PURE__*/ R.createElement(VG, {
@@ -68340,18 +68396,18 @@ function qRe(e) {
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)
+ 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)
+ x: aB(i.x, t.x, e),
+ y: aB(i.y, t.y, e)
});
}
return t;
@@ -68364,13 +68420,13 @@ function qRe(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(KRe, {
+ 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(qRe, {
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(v4, {
points: o,
baseLine: s,
needClip: t,
@@ -68379,9 +68435,9 @@ function qRe(e) {
})));
}), /*#__PURE__*/ R.createElement(c1, { label: r.label }));
}
-function JRe(e) {
+function YRe(e) {
var { needClip: t, clipPathId: n, props: r } = e, i = (0, R.useRef)(null), a = (0, R.useRef)();
- return /*#__PURE__*/ R.createElement(qRe, {
+ return /*#__PURE__*/ R.createElement(JRe, {
needClip: t,
clipPathId: n,
props: r,
@@ -68389,12 +68445,12 @@ function JRe(e) {
previousBaselineRef: a
});
}
-var YRe = class extends R.PureComponent {
+var XRe = 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, {
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: p }, /*#__PURE__*/ R.createElement(XR, { className: m }, o && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(G2, {
clipPathId: h,
xAxisId: s,
yAxisId: c
@@ -68403,7 +68459,7 @@ var YRe = class extends R.PureComponent {
y: i - y / 2,
width: l + y,
height: u + y
- }))), /*#__PURE__*/ R.createElement(JRe, {
+ }))), /*#__PURE__*/ R.createElement(YRe, {
needClip: o,
clipPathId: h,
props: this.props
@@ -68421,7 +68477,7 @@ var YRe = class extends R.PureComponent {
clipPath: b
}));
}
-}, XRe = {
+}, ZRe = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
@@ -68441,11 +68497,11 @@ var YRe = class extends R.PureComponent {
yAxisId: 0,
zIndex: IK.area
};
-function ZRe(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, FRe), g = eW(), _ = zQ(), { needClip: v } = W2(p, m), y = FU(), { points: b, isRange: x, baseLine: S } = Q((t) => NRe(t, e.id, y)) ?? {}, C = T0();
+function QRe(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, IRe), g = eW(), _ = zQ(), { needClip: v } = W2(p, m), y = FU(), { points: b, isRange: x, baseLine: S } = Q((t) => PRe(t, e.id, y)) ?? {}, C = T0();
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(YRe, p4({}, h, {
+ return !b || !b.length ? null : /*#__PURE__*/ R.createElement(XRe, p4({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -68471,7 +68527,7 @@ function ZRe(e) {
yAxisId: m
}));
}
-var QRe = (e, t, n, r, i) => {
+var $Re = (e, t, n, r, i) => {
var a = n ?? t;
if (Z(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
@@ -68481,8 +68537,8 @@ var QRe = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function $Re(e) {
- var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = QRe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
+function eze(e) {
+ var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = $Re(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
var a;
if (m) a = i[u + n];
else {
@@ -68531,12 +68587,12 @@ function $Re(e) {
isRange: _
};
}
-function eze(e) {
- var t = yB(e, XRe), n = FU();
+function tze(e) {
+ var t = bB(e, ZRe), n = FU();
return /*#__PURE__*/ R.createElement(m0, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(f0, { legendPayload: BRe(t) }), /*#__PURE__*/ R.createElement(VRe, {
+ }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(f0, { legendPayload: VRe(t) }), /*#__PURE__*/ R.createElement(HRe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -68561,15 +68617,15 @@ function eze(e) {
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ R.createElement(ZRe, p4({}, t, { id: e }))));
+ }), /*#__PURE__*/ R.createElement(QRe, p4({}, t, { id: e }))));
}
-var y4 = /*#__PURE__*/ R.memo(eze, QW);
+var y4 = /*#__PURE__*/ R.memo(tze, QW);
y4.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var tze = "Invariant failed";
-function nze(e, t) {
- if (!e) throw Error(tze);
+var nze = "Invariant failed";
+function rze(e, t) {
+ if (!e) throw Error(nze);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
@@ -68589,35 +68645,35 @@ function x4(e) {
inActiveClassName: "recharts-inactive-bar"
}, e));
}
-var rze = function(e) {
+var ize = 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);
- return i ? e(n, r) : (!i && nze(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
+ var i = Z(n) || sB(n);
+ return i ? e(n, r) : (!i && rze(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, ize = (e, t, n) => n, S4 = $([RX, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), aze = $([S4], (e) => e?.maxBarSize), oze = (e, t, n, r) => r, sze = $([
+}, aze = (e, t, n) => n, S4 = $([RX, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), oze = $([S4], (e) => e?.maxBarSize), sze = (e, t, n, r) => r, cze = $([
$U,
RX,
a4,
o4,
- ize
-], (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")), cze = (e, t, n) => {
+ aze
+], (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")), lze = (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);
-}, lze = $([
- sze,
+}, uze = $([
+ cze,
kK,
(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);
}
-], W0), uze = (e, t, n) => {
+], W0), dze = (e, t, n) => {
var r = S4(e, t);
if (r == null) return 0;
var i = a4(e, t), a = o4(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;
+ var o = $U(e), s = EK(e), { maxBarSize: c } = r, l = sB(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);
@@ -68625,7 +68681,7 @@ var rze = function(e) {
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);
}
-}, dze = $([
+}, fze = $([
NU,
PU,
(e, t, n) => {
@@ -68645,25 +68701,25 @@ var rze = function(e) {
if (r != null) return UZ(e, "yAxis", r, n);
},
$([$([
- lze,
+ uze,
EK,
DK,
OK,
- uze,
+ dze,
C4,
- aze
+ oze
], q0), S4], Y0),
$U,
pK,
C4,
- $([cze, S4], J0),
+ $([lze, S4], J0),
S4,
- oze
+ sze
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = c;
if (!(d == null || o == null || t == null || s !== "horizontal" && s !== "vertical" || n == null || r == null || i == null || a == null || l == null)) {
var { data: g } = d, _ = g != null && g.length > 0 ? g : p?.slice(m, h + 1);
- if (_ != null) return zze({
+ if (_ != null) return Bze({
layout: s,
barSettings: d,
pos: o,
@@ -68680,7 +68736,7 @@ var rze = function(e) {
dataStartIndex: m
});
}
-}), fze = ["index"];
+}), pze = ["index"];
function w4() {
return w4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -68690,16 +68746,16 @@ function w4() {
return e;
}, w4.apply(null, arguments);
}
-function pze(e, t) {
+function mze(e, t) {
if (e == null) return {};
- var n, r, i = mze(e, t);
+ var n, r, i = hze(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function mze(e, t) {
+function hze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68708,31 +68764,31 @@ function mze(e, t) {
}
return n;
}
-var T4 = /*#__PURE__*/ (0, R.createContext)(void 0), hze = (e) => {
+var T4 = /*#__PURE__*/ (0, R.createContext)(void 0), gze = (e) => {
var t = (0, R.useContext)(T4);
if (t != null) return t.stackId;
if (e != null) return _U(e);
-}, gze = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, _ze = (e) => {
+}, _ze = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, vze = (e) => {
var t = (0, R.useContext)(T4);
if (t != null) {
var { stackId: n } = t;
- return `url(#${gze(n, e)})`;
+ return `url(#${_ze(n, e)})`;
}
}, E4 = (e) => {
- var { index: t } = e, n = pze(e, fze), r = _ze(t);
- return /*#__PURE__*/ R.createElement(YR, w4({
+ var { index: t } = e, n = mze(e, pze), r = vze(t);
+ return /*#__PURE__*/ R.createElement(XR, w4({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, vze = [
+}, yze = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], yze = [
+], bze = [
"value",
"background",
"tooltipPosition"
-], bze = ["id"], xze = [
+], xze = ["id"], Sze = [
"onMouseEnter",
"onClick",
"onMouseLeave"
@@ -68760,26 +68816,26 @@ function k4(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) {
- Sze(e, t, n[t]);
+ Cze(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Sze(e, t, n) {
- return (t = Cze(t)) in e ? Object.defineProperty(e, t, {
+function Cze(e, t, n) {
+ return (t = wze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Cze(e) {
- var t = wze(e, "string");
+function wze(e) {
+ var t = Tze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wze(e, t) {
+function Tze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68791,14 +68847,14 @@ function wze(e, t) {
}
function A4(e, t) {
if (e == null) return {};
- var n, r, i = Tze(e, t);
+ var n, r, i = Eze(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Tze(e, t) {
+function Eze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68807,7 +68863,7 @@ function Tze(e, t) {
}
return n;
}
-var Eze = (e) => {
+var Dze = (e) => {
var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;
return [{
inactive: a,
@@ -68817,10 +68873,10 @@ var Eze = (e) => {
value: TU(n, t),
payload: e
}];
-}, Dze = /*#__PURE__*/ R.memo((e) => {
+}, Oze = /*#__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,
@@ -68837,17 +68893,17 @@ var Eze = (e) => {
};
return /*#__PURE__*/ R.createElement(d0, { tooltipEntrySettings: u });
});
-function Oze(e) {
- var t = Q(AQ), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = A4(a, vze), u = c0(o, r, a.id), d = l0(s), f = u0(c, r, a.id);
+function kze(e) {
+ var t = Q(AQ), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = A4(a, yze), u = c0(o, r, a.id), d = l0(s), f = u0(c, r, a.id);
if (!i || n == null) return null;
- var p = WR(i);
+ var p = GR(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, yze);
+ var { value: a, background: o, tooltipPosition: s } = e, c = A4(e, bze);
if (!o) return null;
var m = u(e, n), h = d(e, n), g = f(e, n), _ = k4(k4(k4(k4(k4({
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,
@@ -68858,7 +68914,7 @@ function Oze(e) {
return /*#__PURE__*/ R.createElement(x4, D4({ key: `background-bar-${n}` }, _));
}));
}
-function kze(e) {
+function Aze(e) {
var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {
var t = {
x: e.x,
@@ -68878,7 +68934,7 @@ function kze(e) {
});
return /*#__PURE__*/ R.createElement(a1, { value: t ? i : void 0 }, n);
}
-function Aze(e) {
+function jze(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);
(0, R.useEffect)(() => {
var e;
@@ -68899,7 +68955,7 @@ function Aze(e) {
}));
return g ? /*#__PURE__*/ R.createElement(ZQ, { zIndex: IK.activeBar }, /*#__PURE__*/ R.createElement(E4, { index: i.originalDataIndex }, v)) : v;
}
-function jze(e) {
+function Mze(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, {
isActive: !1,
@@ -68908,24 +68964,24 @@ function jze(e) {
dataKey: a
}));
}
-function Mze(e) {
- var { data: t, props: n } = e, r = UR(n) ?? {}, { id: i } = r, a = A4(r, bze), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = A4(n, xze), p = c0(l, s, i), m = l0(d), h = u0(u, s, i);
+function Nze(e) {
+ var { data: t, props: n } = e, r = WR(n) ?? {}, { id: i } = r, a = A4(r, xze), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = A4(n, Sze), 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({
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)
- }), c ? /*#__PURE__*/ R.createElement(Aze, {
+ }), c ? /*#__PURE__*/ R.createElement(jze, {
shape: o,
activeBar: c,
baseProps: a,
entry: e,
index: t,
dataKey: s
- }) : /*#__PURE__*/ R.createElement(jze, {
+ }) : /*#__PURE__*/ R.createElement(Mze, {
shape: o,
baseProps: a,
entry: e,
@@ -68933,13 +68989,13 @@ function Mze(e) {
dataKey: s
})))) : null;
}
-function Nze(e) {
+function Pze(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)(() => {
typeof l == "function" && l(), m(!1);
}, [l]), _ = (0, R.useCallback)(() => {
typeof u == "function" && u(), m(!0);
}, [u]);
- return /*#__PURE__*/ R.createElement(kze, {
+ return /*#__PURE__*/ R.createElement(Aze, {
showLabels: h,
rects: r
}, /*#__PURE__*/ R.createElement(VG, {
@@ -68955,38 +69011,38 @@ function Nze(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)
+ 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);
+ var a = aB(0, t.height, e), o = aB(t.stackedBarStart, t.y, e);
return k4(k4({}, t), {}, {
y: o,
height: a
});
}
- var s = iB(0, t.width, e), c = iB(t.stackedBarStart, t.x, e);
+ var s = aB(0, t.width, e), c = aB(t.stackedBarStart, t.x, e);
return k4(k4({}, t), {}, {
width: s,
x: c
});
});
- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ R.createElement(YR, null, /*#__PURE__*/ R.createElement(Mze, {
+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ R.createElement(XR, null, /*#__PURE__*/ R.createElement(Nze, {
props: t,
data: a
}));
}), /*#__PURE__*/ R.createElement(c1, { label: t.label }), t.children);
}
-function Pze(e) {
+function Fze(e) {
var t = (0, R.useRef)(null);
- return /*#__PURE__*/ R.createElement(Nze, {
+ return /*#__PURE__*/ R.createElement(Pze, {
previousRectanglesRef: t,
props: e
});
}
-var j4 = 0, Fze = (e, t) => {
+var j4 = 0, Ize = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
@@ -68994,29 +69050,29 @@ var j4 = 0, Fze = (e, t) => {
value: n,
errorVal: fU(e, t)
};
-}, Ize = class extends R.PureComponent {
+}, Lze = 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, {
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(Oze, {
+ }, /*#__PURE__*/ R.createElement(kze, {
data: t,
dataKey: n,
background: s,
allOtherBarProps: this.props
- }), /*#__PURE__*/ R.createElement(Pze, this.props)));
+ }), /*#__PURE__*/ R.createElement(Fze, this.props)));
}
-}, Lze = {
+}, Rze = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
@@ -69031,17 +69087,17 @@ var j4 = 0, Fze = (e, t) => {
yAxisId: 0,
zIndex: IK.bar
};
-function Rze(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) => dze(t, e.id, p, m));
+function zze(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) => fze(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, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: Fze,
+ dataPointFormatter: Ize,
errorBarOffset: g
- }, /*#__PURE__*/ R.createElement(Ize, D4({}, e, {
+ }, /*#__PURE__*/ R.createElement(Lze, D4({}, e, {
layout: f,
needClip: d,
data: h,
@@ -69057,7 +69113,7 @@ function Rze(e) {
isAnimationActive: u
})));
}
-function zze(e) {
+function Bze(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);
return f.map((e, f) => {
var _, x, S, C, w, T;
@@ -69066,7 +69122,7 @@ function zze(e) {
if (E == null) return null;
_ = gU(E, v);
} else _ = fU(e, n), Array.isArray(_) || (_ = [y, _]);
- var D = rze(r, j4)(_[1], f);
+ var D = ize(r, j4)(_[1], f);
if (t === "horizontal") {
var O = c.scale.map(_[0]), k = c.scale.map(_[1]);
if (O == null || k == null) return null;
@@ -69079,13 +69135,13 @@ function zze(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 {
@@ -69104,7 +69160,7 @@ function zze(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;
}
}
@@ -69126,12 +69182,12 @@ function zze(e) {
}, m && m[f] && m[f].props);
}).filter(Boolean);
}
-function Bze(e) {
- var t = yB(e, Lze), n = hze(t.stackId), r = FU();
+function Vze(e) {
+ var t = bB(e, Rze), n = gze(t.stackId), r = FU();
return /*#__PURE__*/ R.createElement(m0, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(f0, { legendPayload: Eze(t) }), /*#__PURE__*/ R.createElement(Dze, {
+ }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(f0, { legendPayload: Dze(t) }), /*#__PURE__*/ R.createElement(Oze, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -69156,23 +69212,23 @@ function Bze(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null
- }), /*#__PURE__*/ R.createElement(ZQ, { zIndex: t.zIndex }, /*#__PURE__*/ R.createElement(Rze, D4({}, t, { id: e })))));
+ }), /*#__PURE__*/ R.createElement(ZQ, { zIndex: t.zIndex }, /*#__PURE__*/ R.createElement(zze, D4({}, t, { id: e })))));
}
-var M4 = /*#__PURE__*/ R.memo(Bze, QW);
+var M4 = /*#__PURE__*/ R.memo(Vze, QW);
M4.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var Vze = ["domain", "range"], Hze = ["domain", "range"];
+var Hze = ["domain", "range"], Uze = ["domain", "range"];
function N4(e, t) {
if (e == null) return {};
- var n, r, i = Uze(e, t);
+ var n, r, i = Wze(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Uze(e, t) {
+function Wze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -69186,16 +69242,16 @@ function P4(e, t) {
}
function F4(e, t) {
if (e === t) return !0;
- var { domain: n, range: r } = e, i = N4(e, Vze), { domain: a, range: o } = t, s = N4(t, Hze);
+ var { domain: n, range: r } = e, i = N4(e, Hze), { domain: a, range: o } = t, s = N4(t, Uze);
return !P4(n, a) || !P4(r, o) ? !1 : QW(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var Wze = ["type"], Gze = [
+var Gze = ["type"], Kze = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], Kze = ["id", "scale"];
+], qze = ["id", "scale"];
function I4() {
return I4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -69219,26 +69275,26 @@ function R4(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) {
- qze(e, t, n[t]);
+ Jze(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qze(e, t, n) {
- return (t = Jze(t)) in e ? Object.defineProperty(e, t, {
+function Jze(e, t, n) {
+ return (t = Yze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Jze(e) {
- var t = Yze(e, "string");
+function Yze(e) {
+ var t = Xze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Yze(e, t) {
+function Xze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -69250,14 +69306,14 @@ function Yze(e, t) {
}
function z4(e, t) {
if (e == null) return {};
- var n, r, i = Xze(e, t);
+ var n, r, i = Zze(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Xze(e, t) {
+function Zze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -69266,23 +69322,23 @@ function Xze(e, t) {
}
return n;
}
-function Zze(e) {
- var t = KB(), n = (0, R.useRef)(null), r = tW(), { type: i } = e, a = z4(e, Wze), o = BK(r, "xAxis", i), s = (0, R.useMemo)(() => {
+function Qze(e) {
+ var t = qB(), n = (0, R.useRef)(null), r = tW(), { type: i } = e, a = z4(e, Gze), o = BK(r, "xAxis", i), s = (0, R.useMemo)(() => {
if (o != null) return R4(R4({}, a), {}, { type: o });
}, [a, o]);
return (0, R.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(pFe(s)) : n.current !== s && t(mFe({
+ s != null && (n.current === null ? t(mFe(s)) : n.current !== s && t(hFe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, R.useLayoutEffect)(() => () => {
- n.current &&= (t(hFe(n.current)), null);
+ n.current &&= (t(gFe(n.current)), null);
}, [t]), null;
}
-var Qze = (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) => yAe(e, t)), l = Q((e) => OX(e, t));
+var $ze = (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) => bAe(e, t)), l = Q((e) => OX(e, t));
if (s == null || c == null || l == null) return null;
- var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = z4(e, Gze), { id: m, scale: h } = l, g = z4(l, Kze);
+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = z4(e, Kze), { id: m, scale: h } = l, g = z4(l, qze);
return /*#__PURE__*/ R.createElement(F2, I4({}, p, g, {
x: c.x,
y: c.y,
@@ -69294,7 +69350,7 @@ var Qze = (e) => {
axisType: a,
axisId: t
}));
-}, $ze = {
+}, eBe = {
allowDataOverflow: DX.allowDataOverflow,
allowDecimals: DX.allowDecimals,
allowDuplicatedCategory: DX.allowDuplicatedCategory,
@@ -69319,8 +69375,8 @@ var Qze = (e) => {
niceTicks: DX.niceTicks,
xAxisId: 0
}, B4 = /*#__PURE__*/ R.memo((e) => {
- var t = yB(e, $ze);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(Zze, {
+ var t = bB(e, eBe);
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(Qze, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -69346,16 +69402,16 @@ var Qze = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ R.createElement(Qze, t));
+ }), /*#__PURE__*/ R.createElement($ze, t));
}, F4);
B4.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var eBe = ["type"], tBe = [
+var tBe = ["type"], nBe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], nBe = ["id", "scale"];
+], rBe = ["id", "scale"];
function V4() {
return V4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -69379,26 +69435,26 @@ function U4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? H4(Object(n), !0).forEach(function(t) {
- rBe(e, t, n[t]);
+ iBe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rBe(e, t, n) {
- return (t = iBe(t)) in e ? Object.defineProperty(e, t, {
+function iBe(e, t, n) {
+ return (t = aBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function iBe(e) {
- var t = aBe(e, "string");
+function aBe(e) {
+ var t = oBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aBe(e, t) {
+function oBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -69410,14 +69466,14 @@ function aBe(e, t) {
}
function W4(e, t) {
if (e == null) return {};
- var n, r, i = oBe(e, t);
+ var n, r, i = sBe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function oBe(e, t) {
+function sBe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -69426,27 +69482,27 @@ function oBe(e, t) {
}
return n;
}
-function sBe(e) {
- var t = KB(), n = (0, R.useRef)(null), r = tW(), { type: i } = e, a = W4(e, eBe), o = BK(r, "yAxis", i), s = (0, R.useMemo)(() => {
+function cBe(e) {
+ var t = qB(), n = (0, R.useRef)(null), r = tW(), { type: i } = e, a = W4(e, tBe), o = BK(r, "yAxis", i), s = (0, R.useMemo)(() => {
if (o != null) return U4(U4({}, a), {}, { type: o });
}, [o, a]);
return (0, R.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(gFe(s)) : n.current !== s && t(_Fe({
+ s != null && (n.current === null ? t(_Fe(s)) : n.current !== s && t(vFe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, R.useLayoutEffect)(() => () => {
- n.current &&= (t(vFe(n.current)), null);
+ n.current &&= (t(yFe(n.current)), null);
}, [t]), null;
}
-function cBe(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) => bAe(e, t)), p = Q((e) => VZ(e, u, t, c)), m = Q((e) => jX(e, t));
+function lBe(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 = qB(), u = "yAxis", d = Q((e) => FZ(e, t)), f = Q((e) => xAe(e, t)), p = Q((e) => VZ(e, u, t, c)), m = Q((e) => jX(e, t));
if ((0, R.useLayoutEffect)(() => {
if (!(r !== "auto" || !d || Z$(i) || /*#__PURE__*/ (0, R.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(SFe({
+ Math.round(d.width) !== Math.round(n) && l(CFe({
id: t,
width: n
}));
@@ -69461,7 +69517,7 @@ function cBe(e) {
r,
m
]), d == null || f == null || m == null) return null;
- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = W4(e, tBe), { id: y, scale: b } = m, x = W4(m, nBe);
+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = W4(e, nBe), { id: y, scale: b } = m, x = W4(m, rBe);
return /*#__PURE__*/ R.createElement(F2, V4({}, v, x, {
ref: a,
labelRef: o,
@@ -69477,7 +69533,7 @@ function cBe(e) {
axisId: t
}));
}
-var lBe = {
+var uBe = {
allowDataOverflow: AX.allowDataOverflow,
allowDecimals: AX.allowDecimals,
allowDuplicatedCategory: AX.allowDuplicatedCategory,
@@ -69502,8 +69558,8 @@ var lBe = {
width: AX.width,
yAxisId: 0
}, G4 = /*#__PURE__*/ R.memo((e) => {
- var t = yB(e, lBe);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(sBe, {
+ var t = bB(e, uBe);
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(cBe, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -69529,7 +69585,7 @@ var lBe = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ R.createElement(cBe, t));
+ }), /*#__PURE__*/ R.createElement(lBe, t));
}, F4);
G4.displayName = "YAxis";
var K4 = $([
@@ -69539,17 +69595,17 @@ var K4 = $([
sq,
CQ,
TQ,
- gje,
+ _je,
NU
-], Cje);
+], wje);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function uBe(e) {
+function dBe(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
function q4(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (uBe(e)) {
+ if (dBe(e)) {
var i = e.currentTarget.getBBox();
n = i.width > 0 ? t.width / i.width : 1, r = i.height > 0 ? t.height / i.height : 1;
} else {
@@ -69569,7 +69625,7 @@ Y4.startListening({
actionCreator: J4,
effect: (e, t) => {
var n = e.payload, r = K4(t.getState(), q4(n));
- r?.activeIndex != null && t.dispatch(AAe({
+ r?.activeIndex != null && t.dispatch(jAe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
@@ -69607,7 +69663,7 @@ Z4.startListening({
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function dBe(e, t) {
+function fBe(e, t) {
return t instanceof HTMLElement ? `HTMLElement <${t.tagName} class="${t.className}">` : t === window ? "global.window" : e === "children" && typeof t == "object" && t ? "<<CHILDREN>>" : t;
}
//#endregion
@@ -69630,11 +69686,11 @@ var t3 = {
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;
} }
-}), fBe = n3.reducer, { updateOptions: pBe } = n3.actions, r3 = NH({
+}), pBe = n3.reducer, { updateOptions: mBe } = n3.actions, r3 = NH({
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: mBe } = r3.actions, hBe = r3.reducer, i3 = wH("keyDown"), a3 = wH("focus"), o3 = wH("blur"), s3 = iU(), c3 = null, l3 = null, u3 = null;
+}), { updatePolarOptions: hBe } = r3.actions, gBe = r3.reducer, i3 = wH("keyDown"), a3 = wH("focus"), o3 = wH("blur"), s3 = iU(), c3 = null, l3 = null, u3 = null;
s3.startListening({
actionCreator: i3,
effect: (e, t) => {
@@ -69659,7 +69715,7 @@ s3.startListening({
}));
return;
}
- var c = xAe(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
+ var c = SAe(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({
@@ -69742,12 +69798,12 @@ p3.startListening({
try {
if (!e) return;
var { handler: n, reactEvent: r } = e, a = t.getState(), o = {
- activeCoordinate: nje(a),
+ activeCoordinate: rje(a),
activeDataKey: MQ(a),
activeIndex: AQ(a),
activeLabel: jQ(a),
activeTooltipIndex: AQ(a),
- isTooltipActive: rje(a)
+ isTooltipActive: ije(a)
};
n && n(o, r);
} finally {
@@ -69771,7 +69827,7 @@ p3.startListening({
}
}
});
-var gBe = $([
+var _Be = $([
$([uQ], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
@@ -69816,9 +69872,9 @@ v3.startListening({
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
- var s = o.getAttribute(YCe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = gQ(e).find((e) => e.id === c);
+ var s = o.getAttribute(XCe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = gQ(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var { dataKey: u } = l, d = gBe(e, s, c);
+ var { dataKey: u } = l, d = _Be(e, s, c);
t.dispatch(QZ({
activeDataKey: u,
activeIndex: s,
@@ -69856,27 +69912,27 @@ var C3 = {
reducers: { setEventSettings: (e, t) => {
t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = WW(t.payload.throttledEvents));
} }
-}), { setEventSettings: _Be } = w3.actions, vBe = w3.reducer, yBe = dV({
- brush: IIe,
- cartesianAxis: CFe,
- chartData: Xje,
- errorBars: tRe,
- eventSettings: vBe,
- graphicalItems: $Pe,
- layout: ICe,
- legend: Pwe,
- options: Gje,
- polarAxis: UNe,
- polarOptions: hBe,
- referenceElements: qIe,
- renderedTicks: xLe,
- rootProps: fBe,
- tooltip: jAe,
- zIndex: Ije
-}), bBe = function(e) {
+}), { setEventSettings: vBe } = w3.actions, yBe = w3.reducer, bBe = fV({
+ brush: LIe,
+ cartesianAxis: wFe,
+ chartData: Zje,
+ errorBars: nRe,
+ eventSettings: yBe,
+ graphicalItems: eFe,
+ layout: LCe,
+ legend: Fwe,
+ options: Kje,
+ polarAxis: WNe,
+ polarOptions: gBe,
+ referenceElements: JIe,
+ renderedTicks: SLe,
+ rootProps: pBe,
+ tooltip: MAe,
+ zIndex: Lje
+}), xBe = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return cCe({
- reducer: yBe,
+ return lCe({
+ reducer: bBe,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -69897,7 +69953,7 @@ var C3 = {
return typeof e == "function" && (t = e()), t.concat(jH({ type: "raf" }));
},
devTools: lG.devToolsEnabled && {
- serialize: { replacer: dBe },
+ serialize: { replacer: fBe },
name: `recharts-${t}`
}
});
@@ -69907,19 +69963,19 @@ var C3 = {
function T3(e) {
var { preloadedState: t, children: n, reduxStoreName: r } = e, i = FU(), a = (0, R.useRef)(null);
if (i) return n;
- a.current ??= bBe(t, r);
- var o = GB;
- return /*#__PURE__*/ R.createElement(Jwe, {
+ a.current ??= xBe(t, r);
+ var o = KB;
+ return /*#__PURE__*/ R.createElement(Ywe, {
context: o,
store: a.current
}, n);
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function xBe(e) {
- var { layout: t, margin: n } = e, r = KB(), i = FU();
+function SBe(e) {
+ var { layout: t, margin: n } = e, r = qB(), i = FU();
return (0, R.useEffect)(() => {
- i || (r(NCe(t)), r(MCe(n)));
+ i || (r(PCe(t)), r(NCe(n)));
}, [
r,
i,
@@ -69927,31 +69983,31 @@ function xBe(e) {
n
]), null;
}
-var E3 = /*#__PURE__*/ (0, R.memo)(xBe, QW);
+var E3 = /*#__PURE__*/ (0, R.memo)(SBe, QW);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
function D3(e) {
- var t = KB();
+ var t = qB();
return (0, R.useEffect)(() => {
- t(pBe(e));
+ t(mBe(e));
}, [t, e]), null;
}
var O3 = /*#__PURE__*/ (0, R.memo)((e) => {
- var t = KB();
+ var t = qB();
return (0, R.useEffect)(() => {
- t(_Be(e));
+ t(vBe(e));
}, [t, e]), null;
}, QW);
//#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();
- return (0, R.useLayoutEffect)(() => (r.current && i(Pje({
+ var { zIndex: t, isPanorama: n } = e, r = (0, R.useRef)(null), i = qB();
+ return (0, R.useLayoutEffect)(() => (r.current && i(Fje({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(Fje({
+ i(Ije({
zIndex: t,
isPanorama: n
}));
@@ -69966,7 +70022,7 @@ function k3(e) {
});
}
function A3(e) {
- var { children: t, isPanorama: n } = e, r = Q(Tje);
+ var { children: t, isPanorama: n } = e, r = Q(Eje);
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, {
@@ -69981,17 +70037,17 @@ function A3(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var SBe = ["children"];
-function CBe(e, t) {
+var CBe = ["children"];
+function wBe(e, t) {
if (e == null) return {};
- var n, r, i = wBe(e, t);
+ var n, r, i = TBe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function wBe(e, t) {
+function TBe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -70009,46 +70065,46 @@ function j3() {
return e;
}, j3.apply(null, arguments);
}
-var TBe = {
+var EBe = {
width: "100%",
height: "100%",
display: "block"
-}, EBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+}, DBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var n = ZU(), r = QU(), i = pG();
if (!lU(n) || !lU(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, j3({}, o, {
title: s,
desc: c,
role: u,
tabIndex: l,
width: n,
height: r,
- style: TBe,
+ style: EBe,
ref: t
}), a);
-}), DBe = (e) => {
+}), OBe = (e) => {
var { children: t } = e, n = Q(LU);
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) => {
- var { children: n } = e, r = CBe(e, SBe);
- return FU() ? /*#__PURE__*/ R.createElement(DBe, null, /*#__PURE__*/ R.createElement(A3, { isPanorama: !0 }, n)) : /*#__PURE__*/ R.createElement(EBe, j3({ ref: t }, r), /*#__PURE__*/ R.createElement(A3, { isPanorama: !1 }, n));
+ var { children: n } = e, r = wBe(e, CBe);
+ return FU() ? /*#__PURE__*/ R.createElement(OBe, null, /*#__PURE__*/ R.createElement(A3, { isPanorama: !0 }, n)) : /*#__PURE__*/ R.createElement(DBe, j3({ ref: t }, r), /*#__PURE__*/ R.createElement(A3, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function OBe() {
- var e = KB(), [t, n] = (0, R.useState)(null), r = Q(JCe);
+function kBe() {
+ var e = qB(), [t, n] = (0, R.useState)(null), r = Q(YCe);
return (0, R.useEffect)(() => {
if (t != null) {
var n = t.getBoundingClientRect().width / t.offsetWidth;
- cU(n) && n !== r && e(FCe(n));
+ cU(n) && n !== r && e(ICe(n));
}
}, [
t,
@@ -70068,30 +70124,30 @@ function N3(e, t) {
}
return n;
}
-function kBe(e) {
+function ABe(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) {
- ABe(e, t, n[t]);
+ jBe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ABe(e, t, n) {
- return (t = jBe(t)) in e ? Object.defineProperty(e, t, {
+function jBe(e, t, n) {
+ return (t = MBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jBe(e) {
- var t = MBe(e, "string");
+function MBe(e) {
+ var t = NBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MBe(e, t) {
+function NBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70110,7 +70166,7 @@ function P3() {
return e;
}, P3.apply(null, arguments);
}
-var NBe = () => (aMe(), null);
+var PBe = () => (oMe(), null);
function F3(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
@@ -70119,7 +70175,7 @@ function F3(e) {
}
return 0;
}
-var PBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+var FBe = /*#__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)
@@ -70151,7 +70207,7 @@ var PBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
width: r.containerWidth,
height: r.containerHeight
}), /*#__PURE__*/ R.createElement("div", P3({ ref: o }, e)));
-}), FBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+}), IBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var { width: n, height: r } = e, [i, a] = (0, R.useState)({
containerWidth: F3(n),
containerHeight: F3(r)
@@ -70173,15 +70229,15 @@ var PBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
width: i.containerWidth,
height: i.containerHeight
}), /*#__PURE__*/ R.createElement("div", P3({ ref: s }, e)));
-}), IBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+}), LBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var { width: n, height: r } = e;
return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(iW, {
width: n,
height: r
}), /*#__PURE__*/ R.createElement("div", P3({ ref: t }, e)));
-}), LBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+}), RBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ R.createElement(FBe, P3({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ R.createElement(IBe, P3({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ R.createElement(IBe, P3({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ R.createElement(LBe, P3({}, e, {
width: n,
height: r,
ref: t
@@ -70190,11 +70246,11 @@ var PBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
height: r
}), /*#__PURE__*/ R.createElement("div", P3({ ref: t }, e)));
});
-function RBe(e) {
- return e ? PBe : LBe;
+function zBe(e) {
+ return e ? FBe : RBe;
}
-var zBe = /*#__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 = OBe(), D = KU(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, R.useCallback)((e) => {
+var BBe = /*#__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 = qB(), [S, C] = (0, R.useState)(null), [w, T] = (0, R.useState)(null), E = kBe(), D = KU(), 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,
@@ -70266,12 +70322,12 @@ var zBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
handler: p,
reactEvent: e
}));
- }, [x, p]), le = RBe(v);
- return /*#__PURE__*/ R.createElement(t$.Provider, { value: S }, /*#__PURE__*/ R.createElement(XR.Provider, { value: w }, /*#__PURE__*/ R.createElement(le, {
+ }, [x, p]), le = zBe(v);
+ return /*#__PURE__*/ R.createElement(t$.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),
- style: kBe({
+ style: ABe({
position: "relative",
cursor: "default",
width: O,
@@ -70292,8 +70348,8 @@ var zBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
onTouchMove: se,
onTouchStart: oe,
ref: A
- }, /*#__PURE__*/ R.createElement(NBe, null), n)));
-}), BBe = [
+ }, /*#__PURE__*/ R.createElement(PBe, null), n)));
+}), VBe = [
"width",
"height",
"responsive",
@@ -70304,16 +70360,16 @@ var zBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
"title",
"desc"
];
-function VBe(e, t) {
+function HBe(e, t) {
if (e == null) return {};
- var n, r, i = HBe(e, t);
+ var n, r, i = UBe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function HBe(e, t) {
+function UBe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -70323,7 +70379,7 @@ function HBe(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(VBe(e, BBe));
+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = WR(HBe(e, VBe));
return c ? /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(iW, {
width: n,
height: r
@@ -70331,7 +70387,7 @@ var I3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ R.createElement(zBe, {
+ }, a)) : /*#__PURE__*/ R.createElement(BBe, {
className: o,
style: s,
width: n,
@@ -70353,7 +70409,7 @@ var I3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ R.createElement(JIe, null, a)));
+ }, /*#__PURE__*/ R.createElement(YIe, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
@@ -70376,30 +70432,30 @@ function R3(e, t) {
}
return n;
}
-function UBe(e) {
+function WBe(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) {
- WBe(e, t, n[t]);
+ GBe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function WBe(e, t, n) {
- return (t = GBe(t)) in e ? Object.defineProperty(e, t, {
+function GBe(e, t, n) {
+ return (t = KBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function GBe(e) {
- var t = KBe(e, "string");
+function KBe(e) {
+ var t = qBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function KBe(e, t) {
+function qBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70409,7 +70465,7 @@ function KBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var qBe = UBe({
+var JBe = WBe({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -70425,7 +70481,7 @@ var qBe = UBe({
stackOffset: "none",
syncMethod: "index"
}, C3), z3 = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- var n = yB(e.categoricalChartProps, qBe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
+ var n = bB(e.categoricalChartProps, JBe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
@@ -70454,32 +70510,32 @@ var qBe = UBe({
className: n.className,
reverseStackOrder: n.reverseStackOrder
}), /*#__PURE__*/ R.createElement(I3, L3({}, n, { ref: t })));
-}), JBe = ["axis"], YBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(z3, {
+}), YBe = ["axis"], XBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(z3, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: JBe,
+ validateTooltipEventTypes: YBe,
tooltipPayloadSearcher: a$,
categoricalChartProps: e,
ref: t
-})), XBe = ["axis", "item"], B3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(z3, {
+})), ZBe = ["axis", "item"], B3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(z3, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: XBe,
+ validateTooltipEventTypes: ZBe,
tooltipPayloadSearcher: a$,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function ZBe(e) {
- var t = KB();
+function QBe(e) {
+ var t = qB();
return (0, R.useEffect)(() => {
- t(mBe(e));
+ t(hBe(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var QBe = ["layout"];
+var $Be = ["layout"];
function V3() {
return V3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -70489,16 +70545,16 @@ function V3() {
return e;
}, V3.apply(null, arguments);
}
-function $Be(e, t) {
+function eVe(e, t) {
if (e == null) return {};
- var n, r, i = eVe(e, t);
+ var n, r, i = tVe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function eVe(e, t) {
+function tVe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -70517,30 +70573,30 @@ function H3(e, t) {
}
return n;
}
-function tVe(e) {
+function nVe(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) {
- nVe(e, t, n[t]);
+ rVe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function nVe(e, t, n) {
- return (t = rVe(t)) in e ? Object.defineProperty(e, t, {
+function rVe(e, t, n) {
+ return (t = iVe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function rVe(e) {
- var t = iVe(e, "string");
+function iVe(e) {
+ var t = aVe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function iVe(e, t) {
+function aVe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70550,7 +70606,7 @@ function iVe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var U3 = tVe({
+var U3 = nVe({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -70570,7 +70626,7 @@ var U3 = tVe({
innerRadius: 0,
outerRadius: "80%"
}, C3), W3 = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- var n = yB(e.categoricalChartProps, U3), { layout: r } = n, i = $Be(n, QBe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
+ var n = bB(e.categoricalChartProps, U3), { layout: r } = n, i = eVe(n, $Be), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
chartName: a,
defaultTooltipEventType: o,
validateTooltipEventTypes: s,
@@ -70598,7 +70654,7 @@ var U3 = tVe({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ R.createElement(ZBe, {
+ }), /*#__PURE__*/ R.createElement(QBe, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
@@ -70623,26 +70679,26 @@ function K3(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) {
- aVe(e, t, n[t]);
+ oVe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aVe(e, t, n) {
- return (t = oVe(t)) in e ? Object.defineProperty(e, t, {
+function oVe(e, t, n) {
+ return (t = sVe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oVe(e) {
- var t = sVe(e, "string");
+function sVe(e) {
+ var t = cVe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sVe(e, t) {
+function cVe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70652,24 +70708,24 @@ function sVe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var cVe = ["axis"], lVe = K3(K3({}, U3), {}, {
+var lVe = ["axis"], uVe = K3(K3({}, U3), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), uVe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var n = yB(e, lVe);
+}), dVe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var n = bB(e, uVe);
return /*#__PURE__*/ R.createElement(W3, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: cVe,
+ validateTooltipEventTypes: lVe,
tooltipPayloadSearcher: a$,
categoricalChartProps: n,
ref: t
});
-}), dVe = ["axis"], fVe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(z3, {
+}), fVe = ["axis"], pVe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(z3, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: dVe,
+ validateTooltipEventTypes: fVe,
tooltipPayloadSearcher: a$,
categoricalChartProps: e,
ref: t
@@ -70690,26 +70746,26 @@ function J3(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) {
- pVe(e, t, n[t]);
+ mVe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pVe(e, t, n) {
- return (t = mVe(t)) in e ? Object.defineProperty(e, t, {
+function mVe(e, t, n) {
+ return (t = hVe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mVe(e) {
- var t = hVe(e, "string");
+function hVe(e) {
+ var t = gVe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hVe(e, t) {
+function gVe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70719,16 +70775,16 @@ function hVe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var gVe = ["axis", "item"], _Ve = J3(J3({}, U3), {}, {
+var _Ve = ["axis", "item"], vVe = J3(J3({}, U3), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), vVe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var n = yB(e, _Ve);
+}), yVe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var n = bB(e, vVe);
return /*#__PURE__*/ R.createElement(W3, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: gVe,
+ validateTooltipEventTypes: _Ve,
tooltipPayloadSearcher: a$,
categoricalChartProps: n,
ref: t
@@ -70737,7 +70793,7 @@ var gVe = ["axis", "item"], _Ve = J3(J3({}, U3), {}, {
//#endregion
//#region src/react/charts/cn.ts
function Y3(...e) {
- return SE(Sh(e));
+ return CE(Sh(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
@@ -70745,7 +70801,7 @@ var X3 = {
light: "",
dark: ".dark"
}, Z3 = Object.keys(X3);
-function yVe(e) {
+function bVe(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.`);
}
var Q3 = R.createContext(null);
@@ -70759,7 +70815,7 @@ function e6({ id: e, config: t, initialDimension: n = {
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = R.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return yVe(t), /* @__PURE__ */ (0, B.jsx)(Q3.Provider, {
+ return bVe(t), /* @__PURE__ */ (0, B.jsx)(Q3.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, B.jsxs)("div", {
"data-slot": "chart",
@@ -70790,7 +70846,7 @@ function t6({ isLoading: e }) {
})
}) : null;
}
-function bVe(e, t) {
+function xVe(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -70805,7 +70861,7 @@ var n6 = ({ id: e, config: t }) => {
if (!n.length) return null;
let r = (e) => n.flatMap(([t, n]) => {
let r = n.colors?.[e];
- return !r || !Array.isArray(r) || r.length === 0 ? [] : bVe(r, i6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : xVe(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 /* @__PURE__ */ (0, B.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
@@ -70819,15 +70875,15 @@ function i6(e) {
let t = Z3.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var xVe = (e = 10, t = 0, n = 70) => {
+var SVe = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, SVe = {
+}, CVe = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, CVe = {
+}, wVe = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
@@ -70854,7 +70910,7 @@ 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", SVe[p], CVe[m], n),
+ 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", CVe[p], wVe[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) => {
@@ -70868,7 +70924,7 @@ function a6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",
"my-0.5": _ && r === "dashed"
}),
- style: wVe(n, o)
+ style: TVe(n, o)
}), /* @__PURE__ */ (0, B.jsxs)("div", {
className: Y3("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
@@ -70887,10 +70943,10 @@ function a6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function wVe(e, t) {
+function TVe(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)(pMe, {
+var o6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, B.jsx)(mMe, {
animationDuration: e,
...t
});
@@ -70907,7 +70963,7 @@ function s6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
onClick: () => {
c && s?.(o === r ? null : r);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, B.jsx)(i.icon, {}) : /* @__PURE__ */ (0, B.jsx)(TVe, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, B.jsx)(i.icon, {}) : /* @__PURE__ */ (0, B.jsx)(EVe, {
variant: l,
dataKey: r,
colorsCount: d
@@ -70916,8 +70972,8 @@ function s6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function TVe({ variant: e, dataKey: t, colorsCount: n }) {
- let r = EVe(t, n), i = DVe(t, n);
+function EVe({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = DVe(t, n), i = OVe(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, B.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -70949,10 +71005,10 @@ function TVe({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function EVe(e, t) {
+function DVe(e, t) {
return t <= 1 ? { backgroundColor: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-function DVe(e, t) {
+function OVe(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -70972,7 +71028,7 @@ var c6 = nG, l6 = () => null, u6 = {
damping: 35,
mass: .8
};
-function OVe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function kVe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
let i = R.useRef(null), [a, o] = R.useState(!1), s = (0, R.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, R.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
@@ -71018,7 +71074,7 @@ function OVe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function kVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
+function AVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
let x = R.useRef(null), S = R.useMemo(() => n ?? Object.keys(t), [n, t]), C = e.length, w = R.useId().replace(/:/g, ""), T = d !== void 0 && f !== void 0, [E, D] = R.useState(() => ({
startIndex: Math.max(0, Math.min(p, C - 1)),
endIndex: Math.max(0, Math.min(m ?? C - 1, C - 1))
@@ -71052,7 +71108,7 @@ function kVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [C, v]), { isDragging: A, bind: j } = OVe({
+ }, [C, v]), { isDragging: A, bind: j } = kVe({
range: E,
totalPoints: C,
containerRef: x,
@@ -71108,7 +71164,7 @@ function kVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
}),
/* @__PURE__ */ (0, B.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, B.jsx)(AVe, {
+ children: /* @__PURE__ */ (0, B.jsx)(jVe, {
data: e,
keys: S,
chartConfig: t,
@@ -71177,7 +71233,7 @@ function d6({ side: e, position: t, label: n, bind: r }) {
})]
});
}
-function AVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function jVe({ 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)
@@ -71237,7 +71293,7 @@ function AVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
if (r === "line") return /* @__PURE__ */ (0, B.jsx)(qU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, B.jsxs)(YBe, {
+ children: /* @__PURE__ */ (0, B.jsxs)(XBe, {
data: e,
margin: {
top: 4,
@@ -71293,7 +71349,7 @@ function AVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
return /* @__PURE__ */ (0, B.jsx)(qU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, B.jsxs)(fVe, {
+ children: /* @__PURE__ */ (0, B.jsxs)(pVe, {
data: e,
margin: {
top: 4,
@@ -71319,7 +71375,7 @@ function AVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function jVe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function MVe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = R.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -71343,7 +71399,7 @@ function jVe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var MVe = {
+var NVe = {
dots: ({ id: e }) => /* @__PURE__ */ (0, B.jsx)("pattern", {
id: e,
x: "0",
@@ -71516,7 +71572,7 @@ var MVe = {
})
};
function f6({ variant: e }) {
- let t = (0, R.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = MVe[e];
+ let t = (0, R.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = NVe[e];
return /* @__PURE__ */ (0, B.jsxs)(ZQ, {
zIndex: -1,
children: [/* @__PURE__ */ (0, B.jsxs)("defs", { children: [
@@ -71547,7 +71603,7 @@ function f6({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var p6 = 2, NVe = "loading", PVe = 2e3, FVe = "evil-stacked", IVe = .5, LVe = .05, RVe = [
+var p6 = 2, PVe = "loading", FVe = 2e3, IVe = "evil-stacked", LVe = .5, RVe = .05, zVe = [
0,
.7,
.5,
@@ -71559,7 +71615,7 @@ function h6() {
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 }) {
- 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 } = rHe(m, h), { visibleData: T, brushProps: E } = jVe({ data: t }), D = (0, R.useMemo)(() => {
+ 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 } = iHe(m, h), { visibleData: T, brushProps: E } = MVe({ 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 : {};
return {
slot: {
@@ -71602,7 +71658,7 @@ function g6({ config: e, data: t, children: n, className: r, chartProps: i, stac
children: /* @__PURE__ */ (0, B.jsxs)(e6, {
className: r,
config: e,
- footer: O && !m && /* @__PURE__ */ (0, B.jsx)(kVe, {
+ footer: O && !m && /* @__PURE__ */ (0, B.jsx)(AVe, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -71633,7 +71689,7 @@ function g6({ config: e, data: t, children: n, className: r, chartProps: i, stac
d && /* @__PURE__ */ (0, B.jsx)(f6, { variant: d }),
/* @__PURE__ */ (0, B.jsx)(w2, { color: "white" }),
D.chartChildren,
- m && /* @__PURE__ */ (0, B.jsx)(iHe, {
+ m && /* @__PURE__ */ (0, B.jsx)(aHe, {
chartId: _,
onShimmerExit: w
})
@@ -71642,7 +71698,7 @@ function g6({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function zVe({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
+function BVe({ 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();
if (f) return null;
let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {
@@ -71665,7 +71721,7 @@ function zVe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
};
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(M4, {
dataKey: e,
- stackId: u ? FVe : void 0,
+ stackId: u ? IVe : void 0,
fill: `url(#${b}-colors-${e})`,
radius: S,
isAnimationActive: !1,
@@ -71682,44 +71738,44 @@ function zVe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
}),
...c
}), /* @__PURE__ */ (0, B.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, B.jsx)(JVe, {
+ /* @__PURE__ */ (0, B.jsx)(YVe, {
id: b,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, B.jsx)(YVe, {
+ t === "hatched" && /* @__PURE__ */ (0, B.jsx)(XVe, {
id: b,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, B.jsx)(ZVe, {
+ t === "duotone" && /* @__PURE__ */ (0, B.jsx)(QVe, {
id: b,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, B.jsx)(QVe, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, B.jsx)($Ve, {
id: b,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, B.jsx)($Ve, {
+ t === "gradient" && /* @__PURE__ */ (0, B.jsx)(eHe, {
id: b,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, B.jsx)(eHe, {
+ t === "stripped" && /* @__PURE__ */ (0, B.jsx)(tHe, {
id: b,
dataKey: e
}),
- s && /* @__PURE__ */ (0, B.jsx)(XVe, {
+ s && /* @__PURE__ */ (0, B.jsx)(ZVe, {
id: b,
dataKey: e
}),
- o && /* @__PURE__ */ (0, B.jsx)(tHe, {
+ o && /* @__PURE__ */ (0, B.jsx)(nHe, {
id: b,
dataKey: e
})
] })] });
}
-function BVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+function VVe({ 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, {
tickLine: e,
@@ -71730,7 +71786,7 @@ function BVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function VVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+function HVe({ 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, {
tickLine: e,
@@ -71742,7 +71798,7 @@ function VVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function HVe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+function UVe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
let { isHorizontal: i } = h6();
return /* @__PURE__ */ (0, B.jsx)(V2, {
strokeDasharray: e,
@@ -71751,7 +71807,7 @@ function HVe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
...r
});
}
-function UVe({ variant: e, roundness: t, defaultIndex: n }) {
+function WVe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = h6();
return r ? null : /* @__PURE__ */ (0, B.jsx)(o6, {
cursor: !1,
@@ -71763,7 +71819,7 @@ function UVe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function WVe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+function GVe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
let { selectedDataKey: i, selectDataKey: a } = h6();
return /* @__PURE__ */ (0, B.jsx)(c6, {
verticalAlign: n,
@@ -71777,7 +71833,7 @@ function WVe({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
});
}
var _6 = (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 = GVe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : KVe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = qVe({
+ 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 = KVe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : qVe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = JVe({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -71822,7 +71878,7 @@ var _6 = (e) => {
children: A
}) : A]
});
-}, GVe = (e, t, n, r, i) => {
+}, KVe = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -71837,11 +71893,11 @@ var _6 = (e) => {
break;
default: s = t;
}
- let c = s * LVe * 1e3, l = IVe * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * RVe * 1e3, l = LVe * 1e3, u = c + l, d = Date.now() - i;
if (d >= u) return null;
let f = d <= c ? 0 : (d - c) / l, p = {
duration: (u - Math.max(d, c)) / 1e3,
- ease: RVe,
+ ease: zVe,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -71855,7 +71911,7 @@ var _6 = (e) => {
transition: p,
style: { originY: 1 }
};
-}, KVe = (e, t, n) => {
+}, qVe = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -71864,10 +71920,10 @@ var _6 = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, qVe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, JVe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
let o = e && t !== null ? t === null || t === n ? 1 : .15 : 1;
return r && i ? a ? o : o * .3 : o;
-}, JVe = ({ id: e, dataKey: t, config: n }) => {
+}, YVe = ({ id: e, dataKey: t, config: n }) => {
let r = i6(n[t] ?? {});
return /* @__PURE__ */ (0, B.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -71889,7 +71945,7 @@ var _6 = (e) => {
}, i);
})
});
-}, YVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
+}, XVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -71930,7 +71986,7 @@ var _6 = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), XVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
+] }), ZVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -71971,7 +72027,7 @@ var _6 = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), ZVe = ({ id: e, dataKey: t, config: n }) => {
+] }), QVe = ({ id: e, dataKey: t, config: n }) => {
let r = i6(n[t] ?? {});
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("linearGradient", {
@@ -72039,7 +72095,7 @@ var _6 = (e) => {
})
})
] });
-}, QVe = ({ id: e, dataKey: t, config: n }) => {
+}, $Ve = ({ id: e, dataKey: t, config: n }) => {
let r = i6(n[t] ?? {});
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("linearGradient", {
@@ -72107,7 +72163,7 @@ var _6 = (e) => {
})
})
] });
-}, $Ve = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
+}, eHe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -72144,7 +72200,7 @@ var _6 = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), eHe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
+] }), tHe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -72181,7 +72237,7 @@ var _6 = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), tHe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)("filter", {
+] }), nHe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -72201,35 +72257,35 @@ var _6 = (e) => {
}),
/* @__PURE__ */ (0, B.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, B.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, B.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), nHe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), rHe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
let a = i / (e - 1), o = t + Math.sin(a * Math.PI) ** 2 * (n - t);
return {
offset: `${(a * 100).toFixed(0)}%`,
opacity: Number(o.toFixed(3))
};
});
-function rHe(e, t = 12) {
+function iHe(e, t = 12) {
let [n, r] = (0, R.useState)(!1), i = (0, R.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, R.useMemo)(() => xVe(t, 20, 80), [t, n]),
+ loadingData: (0, R.useMemo)(() => SVe(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var iHe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(M4, {
- dataKey: NVe,
+var aHe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(M4, {
+ dataKey: PVe,
fill: "currentColor",
fillOpacity: .15,
radius: p6,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, B.jsx)("defs", { children: /* @__PURE__ */ (0, B.jsx)(aHe, {
+}), /* @__PURE__ */ (0, B.jsx)("defs", { children: /* @__PURE__ */ (0, B.jsx)(oHe, {
chartId: e,
onShimmerExit: t
-}) })] }), aHe = ({ chartId: e, onShimmerExit: t }) => {
- let n = nHe(), r = (0, R.useRef)(-1);
+}) })] }), oHe = ({ chartId: e, onShimmerExit: t }) => {
+ let n = rHe(), r = (0, R.useRef)(-1);
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -72260,7 +72316,7 @@ var iHe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: PVe / 1e3,
+ duration: FVe / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -72282,10 +72338,10 @@ var iHe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fr
})
] });
};
-g6.Bar = zVe, g6.XAxis = BVe, g6.YAxis = VVe, g6.Grid = HVe, g6.Tooltip = UVe, g6.Legend = WVe, g6.Brush = l6;
+g6.Bar = BVe, g6.XAxis = VVe, g6.YAxis = HVe, g6.Grid = UVe, g6.Tooltip = WVe, g6.Legend = GVe, g6.Brush = l6;
//#endregion
//#region src/react/charts/chart-card.tsx
-var v6 = `${OE({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+var v6 = `${kE({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
function y6({ 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",
@@ -72312,7 +72368,7 @@ var b6 = [
"var(--color-chart-5)",
"var(--color-chart-6)"
], x6 = (e) => ({ light: [e] }), S6 = (e) => `s${e}`;
-function oHe(e) {
+function sHe(e) {
return Object.fromEntries(e.map((e, t) => [S6(t), {
label: e,
colors: x6(b6[t % b6.length])
@@ -72337,7 +72393,7 @@ function w6({ swatch: e, name: t, value: n }) {
});
}
var T6 = "size-2.5 shrink-0 rounded-xs";
-function sHe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+function cHe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
let { config: o } = $3(), 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;
@@ -72362,7 +72418,7 @@ function sHe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLab
function E6({ nameKey: e, valueKey: t, hideLabel: n }) {
return /* @__PURE__ */ (0, B.jsx)(o6, {
cursor: !1,
- content: /* @__PURE__ */ (0, B.jsx)(sHe, {
+ content: /* @__PURE__ */ (0, B.jsx)(cHe, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -72439,7 +72495,7 @@ var A6 = [
"周六",
"周日"
], j6 = (e, t) => e ? Math.max(.12, e / t) : 0;
-function cHe(e) {
+function lHe(e) {
let t = Array.from({ length: 7 }, () => Array(24).fill(0));
for (let n of e?.hours || []) {
let { weekday: e, hour: r, count: i } = n;
@@ -72456,7 +72512,7 @@ function cHe(e) {
total: n.reduce((e, t) => e + t, 0)
};
}
-function lHe(e) {
+function uHe(e) {
let t = (e?.days || []).filter((e) => /^\d{4}-\d{2}-\d{2}$/.test(e.date) && Number.isFinite(e.count) && e.count >= 0).slice().sort((e, t) => e.date.localeCompare(t.date)), n = {
cells: [],
total: 0,
@@ -72495,19 +72551,19 @@ var M6 = 14, N6 = 17, P6 = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, uHe = {
+}, dHe = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function dHe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function fHe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${C6} ${uHe[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${C6} ${dHe[a]}`,
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
@@ -72565,7 +72621,7 @@ function F6({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, B.jsx)(dHe, {
+ }), g && _ ? /* @__PURE__ */ (0, B.jsx)(fHe, {
cell: g,
series: t.series,
tone: c,
@@ -72581,7 +72637,7 @@ function F6({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
]
});
}
-var fHe = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [A6.map((e, t) => /* @__PURE__ */ (0, B.jsx)("text", {
+var pHe = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [A6.map((e, t) => /* @__PURE__ */ (0, B.jsx)("text", {
x: 0,
y: 18 + t * N6 + 7,
dominantBaseline: "middle",
@@ -72595,7 +72651,7 @@ var fHe = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [A6.map((e, t) =>
children: t
}, t))] });
function I6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = cHe(e), s = lHe(e);
+ let o = lHe(e), s = uHe(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, {
@@ -72606,7 +72662,7 @@ function I6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: fHe,
+ axis: pHe,
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, {
title: n,
@@ -72672,20 +72728,20 @@ function L6({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, B.jsx)(pT, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, B.jsx)(mT, { "aria-hidden": !0 })
}) : null]
});
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var pHe = "30%", mHe = "100%", R6 = 5, z6 = 14, hHe = 5, B6 = 1500, V6 = (0, R.createContext)(null);
+var mHe = "30%", hHe = "100%", R6 = 5, z6 = 14, gHe = 5, B6 = 1500, V6 = (0, R.createContext)(null);
function H6() {
let e = (0, R.use)(V6);
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 = pHe, outerRadius: l = mHe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, R.useId)().replace(/:/g, ""), [h, g] = (0, R.useState)(u), _ = SHe(f), v = yHe(o), y = (0, R.useCallback)((e, t) => {
+function U6({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = mHe, outerRadius: l = hHe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, R.useId)().replace(/:/g, ""), [h, g] = (0, R.useState)(u), _ = CHe(f), v = bHe(o), y = (0, R.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -72717,7 +72773,7 @@ function U6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
children: /* @__PURE__ */ (0, B.jsxs)(e6, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, B.jsx)(t6, { isLoading: f }), /* @__PURE__ */ (0, B.jsxs)(vVe, {
+ children: [/* @__PURE__ */ (0, B.jsx)(t6, { isLoading: f }), /* @__PURE__ */ (0, B.jsxs)(yVe, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -72736,8 +72792,8 @@ function U6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
}),
p && /* @__PURE__ */ (0, B.jsx)(f6, { variant: p }),
r,
- f && /* @__PURE__ */ (0, B.jsx)(CHe, {}),
- /* @__PURE__ */ (0, B.jsx)("defs", { children: /* @__PURE__ */ (0, B.jsx)(bHe, {
+ f && /* @__PURE__ */ (0, B.jsx)(wHe, {}),
+ /* @__PURE__ */ (0, B.jsx)("defs", { children: /* @__PURE__ */ (0, B.jsx)(xHe, {
config: e,
chartId: m
}) })
@@ -72746,7 +72802,7 @@ function U6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function gHe({ dataKey: e, cornerRadius: t = R6, barSize: n = z6, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+function _He({ 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, {
dataKey: e,
@@ -72771,7 +72827,7 @@ function gHe({ dataKey: e, cornerRadius: t = R6, barSize: n = z6, showBackground
...a
});
}
-function _He({ variant: e, roundness: t, defaultIndex: n }) {
+function vHe({ variant: e, roundness: t, defaultIndex: n }) {
let { nameKey: r, isLoading: i } = H6();
return i ? null : /* @__PURE__ */ (0, B.jsx)(o6, {
defaultIndex: n,
@@ -72784,7 +72840,7 @@ function _He({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function vHe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function yHe({ 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, {
verticalAlign: n,
@@ -72798,7 +72854,7 @@ function vHe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function yHe(e) {
+function bHe(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -72814,7 +72870,7 @@ function yHe(e) {
};
}
}
-var bHe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, B.jsx)(B.Fragment, { children: Object.entries(e).map(([e, n]) => {
+var xHe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, B.jsx)(B.Fragment, { children: Object.entries(e).map(([e, n]) => {
let r = i6(n);
return /* @__PURE__ */ (0, B.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
@@ -72837,13 +72893,13 @@ var bHe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, B.jsx)(B.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function xHe() {
- return Array.from({ length: hHe }, (e, t) => ({
+function SHe() {
+ return Array.from({ length: gHe }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function SHe(e) {
+function CHe(e) {
let [t, n] = (0, R.useState)(0);
return (0, R.useEffect)(() => {
if (!e) return;
@@ -72851,9 +72907,9 @@ function SHe(e) {
n((e) => e + 1);
}, B6);
return () => clearInterval(t);
- }, [e]), (0, R.useMemo)(() => xHe(), [t]);
+ }, [e]), (0, R.useMemo)(() => SHe(), [t]);
}
-var CHe = () => /* @__PURE__ */ (0, B.jsx)(h2, {
+var wHe = () => /* @__PURE__ */ (0, B.jsx)(h2, {
dataKey: "value",
cornerRadius: R6,
barSize: z6,
@@ -72867,17 +72923,17 @@ var CHe = () => /* @__PURE__ */ (0, B.jsx)(h2, {
fillOpacity: .25
})
});
-U6.RadialBar = gHe, U6.Tooltip = _He, U6.Legend = vHe;
+U6.RadialBar = _He, U6.Tooltip = vHe, U6.Legend = yHe;
//#endregion
//#region src/react/stats/radial-card.tsx
-var wHe = [
+var THe = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], THe = [
+], EHe = [
"aria-pressed:bg-chart-1/10 aria-pressed:ring-chart-1",
"aria-pressed:bg-chart-2/10 aria-pressed:ring-chart-2",
"aria-pressed:bg-chart-3/10 aria-pressed:ring-chart-3",
@@ -72918,7 +72974,7 @@ function W6({ title: e, rows: t, unit: n = "个视频" }) {
children: /* @__PURE__ */ (0, B.jsxs)(U6, {
data: f,
nameKey: "slice",
- config: oHe(s.map((e) => e.name)),
+ config: sHe(s.map((e) => e.name)),
max: sbe(s.map((e) => e.value)),
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
@@ -72950,13 +73006,13 @@ function W6({ title: e, rows: t, unit: n = "个视频" }) {
onPointerLeave: () => o(-1),
onFocus: () => o(t),
onBlur: () => o(-1),
- className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${THe[t % 6]}`,
+ className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${EHe[t % 6]}`,
children: [
/* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, B.jsx)("i", {
"aria-hidden": !0,
- className: `size-3 shrink-0 rounded-sm ${wHe[t % 6]}`
+ className: `size-3 shrink-0 rounded-sm ${THe[t % 6]}`
}), e.name]
}),
/* @__PURE__ */ (0, B.jsx)("b", {
@@ -72975,7 +73031,7 @@ function W6({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var EHe = 10, G6 = b6[5], DHe = b6[4], OHe = `${OE()} flex flex-col gap-4`, kHe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", AHe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", jHe = "开始播放后,这里会显示最近的真实观看证据。", MHe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", NHe = "添加媒体文件夹后,这里会显示存储空间。";
+var DHe = 10, G6 = b6[5], OHe = b6[4], kHe = `${kE()} flex flex-col gap-4`, AHe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", jHe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", MHe = "开始播放后,这里会显示最近的真实观看证据。", NHe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", PHe = "添加媒体文件夹后,这里会显示存储空间。";
function K6({ 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",
@@ -72997,10 +73053,10 @@ 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)(NE, {
+ }), /* @__PURE__ */ (0, B.jsx)(PE, {
label: `${e}:${t.toLocaleString()} / ${n.toLocaleString()}`,
value: t,
max: Math.max(n, 1)
@@ -73028,14 +73084,14 @@ function J6({ term: e, figure: t, unit: n }) {
}
function Y6({ headline: e, children: t }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: `${OHe} md:flex-row md:gap-6`,
+ className: `${kHe} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, B.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function PHe({ data: e, configurable: t, openMediaSettings: n }) {
+function FHe({ data: e, configurable: t, openMediaSettings: n }) {
return e.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
@@ -73070,7 +73126,7 @@ function PHe({ data: e, configurable: t, openMediaSettings: n }) {
unit: "个视频",
series: "视频",
color: G6,
- rows: zR(e.by_quality)
+ rows: BR(e.by_quality)
}),
/* @__PURE__ */ (0, B.jsx)(k6, {
title: "文件类型",
@@ -73082,24 +73138,24 @@ function PHe({ data: e, configurable: t, openMediaSettings: n }) {
})
]
})]
- }) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(AE, {
shell: "plain",
- icon: gae,
+ icon: hae,
title: "还没有视频",
actions: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [t ? /* @__PURE__ */ (0, B.jsx)(J, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
- }) : null, /* @__PURE__ */ (0, B.jsx)(DE, {
+ }) : null, /* @__PURE__ */ (0, B.jsx)(OE, {
variant: "secondary",
href: "/follow-manage?tab=add",
size: "small",
children: "添加关注"
})] }),
- children: kHe
+ children: AHe
});
}
-function FHe({ data: e }) {
+function IHe({ data: e }) {
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(I6, {
activity: e.play_activity,
title: "播放时间",
@@ -73114,11 +73170,11 @@ function FHe({ data: e }) {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: DHe,
+ color: OHe,
rows: mbe(e.replays)
})] });
}
-function IHe({ attribution: e }) {
+function LHe({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col",
@@ -73151,7 +73207,7 @@ function IHe({ attribution: e }) {
]
});
}
-function LHe({ volume: e }) {
+function RHe({ volume: e }) {
let t = e.total, n = e.used ?? 0;
return /* @__PURE__ */ (0, B.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -73168,11 +73224,11 @@ function LHe({ 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), "%"]
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, B.jsx)(NE, {
+ t == null ? null : /* @__PURE__ */ (0, B.jsx)(PE, {
label: `${e.label}空间使用率`,
value: n,
max: Math.max(t, 1)
@@ -73190,25 +73246,25 @@ function LHe({ volume: e }) {
]
});
}
-function RHe({ volumes: e, configurable: t, openMediaSettings: n }) {
+function zHe({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex flex-col",
- children: e.map((e) => /* @__PURE__ */ (0, B.jsx)(LHe, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ children: e.map((e) => /* @__PURE__ */ (0, B.jsx)(RHe, { volume: e }, `${e.kind}:${e.label}`))
+ }) : /* @__PURE__ */ (0, B.jsx)(AE, {
shell: "plain",
- icon: TT,
+ icon: ET,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, B.jsx)(J, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: NHe
+ children: PHe
});
}
-function zHe({ tags: e, tagLabel: t, onTag: n }) {
+function BHe({ tags: e, tagLabel: t, onTag: n }) {
return e.length ? /* @__PURE__ */ (0, B.jsx)(L6, {
- previewCount: EHe,
+ previewCount: DHe,
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", {
className: "min-w-0",
@@ -73232,24 +73288,24 @@ function zHe({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, e.k))
- }) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(AE, {
shell: "plain",
- icon: OT,
+ icon: kT,
title: "还没有内容标签",
- actions: /* @__PURE__ */ (0, B.jsx)(DE, {
+ actions: /* @__PURE__ */ (0, B.jsx)(OE, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: AHe
+ children: jHe
});
}
-function BHe({ rows: e }) {
+function VHe({ 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", {
@@ -73268,30 +73324,30 @@ function BHe({ rows: e }) {
})]
}), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, B.jsx)(NE, {
+ children: [/* @__PURE__ */ (0, B.jsx)(PE, {
label: `真实观看 ${t.toFixed(0)}%`,
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}`);
})
- }) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(AE, {
shell: "plain",
- icon: ET,
+ icon: DT,
title: "还没有观看记录",
- actions: /* @__PURE__ */ (0, B.jsx)(DE, {
+ actions: /* @__PURE__ */ (0, B.jsx)(OE, {
variant: "secondary",
href: "/",
size: "small",
children: "浏览馆藏"
}),
- children: jHe
+ children: MHe
});
}
-function VHe({ sources: e, videos: t }) {
+function HHe({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, B.jsxs)("article", {
@@ -73310,7 +73366,7 @@ function VHe({ sources: e, videos: t }) {
})]
})]
}),
- /* @__PURE__ */ (0, B.jsx)(NE, {
+ /* @__PURE__ */ (0, B.jsx)(PE, {
label: `${e.k} 覆盖视频`,
value: e.assets,
max: Math.max(t, 1)
@@ -73321,27 +73377,27 @@ function VHe({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(AE, {
shell: "plain",
- icon: OT,
+ icon: kT,
title: "还没有标签来源",
- actions: /* @__PURE__ */ (0, B.jsx)(DE, {
+ actions: /* @__PURE__ */ (0, B.jsx)(OE, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: MHe
+ children: NHe
});
}
function X6({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, B.jsx)(hk, {
+ return /* @__PURE__ */ (0, B.jsx)(gk, {
id: e,
- className: xM({
+ className: SM({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, B.jsx)(TM, {
+ children: /* @__PURE__ */ (0, B.jsx)(EM, {
label: t,
icon: i,
accent: a,
@@ -73350,34 +73406,34 @@ function X6({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function HHe(e) {
- let t = CS({
- queryKey: PR,
- queryFn: ({ signal: e }) => FR(e)
+function UHe(e) {
+ let t = wS({
+ queryKey: FR,
+ queryFn: ({ signal: e }) => IR(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, B.jsx)(jE, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
+ 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);
- return /* @__PURE__ */ (0, B.jsxs)(jE, { children: [
+ 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",
children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${ye(o)}`
}),
- /* @__PURE__ */ (0, B.jsxs)(pk, {
+ /* @__PURE__ */ (0, B.jsxs)(mk, {
defaultSelectedKey: "inventory",
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, B.jsxs)(mk, {
+ /* @__PURE__ */ (0, B.jsxs)(hk, {
"aria-label": "统计视图",
- className: SM,
+ className: CM,
children: [
/* @__PURE__ */ (0, B.jsx)(X6, {
id: "inventory",
label: "馆藏视频",
- icon: xT,
+ icon: ST,
accent: 0,
figure: a.toLocaleString(),
detail: ye(o)
@@ -73385,7 +73441,7 @@ function HHe(e) {
/* @__PURE__ */ (0, B.jsx)(X6, {
id: "viewing",
label: "看过",
- icon: wT,
+ icon: TT,
accent: 1,
figure: r.played.toLocaleString(),
detail: ibe(r.play_seconds)
@@ -73393,7 +73449,7 @@ function HHe(e) {
/* @__PURE__ */ (0, B.jsx)(X6, {
id: "coverage",
label: "内容标签",
- icon: OT,
+ icon: kT,
accent: 2,
figure: `${s}%`,
detail: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
@@ -73401,21 +73457,21 @@ function HHe(e) {
/* @__PURE__ */ (0, B.jsx)(X6, {
id: "storage",
label: "使用空间",
- icon: TT,
+ icon: ET,
accent: 3,
figure: `${i.online} 个卷`,
detail: i.measured ? `已用 ${ye(i.used)}` : "容量未取得"
})
]
}),
- /* @__PURE__ */ (0, B.jsx)(gk, {
+ /* @__PURE__ */ (0, B.jsx)(_k, {
id: "inventory",
- children: /* @__PURE__ */ (0, B.jsx)(PHe, {
+ children: /* @__PURE__ */ (0, B.jsx)(FHe, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, B.jsxs)(gk, {
+ /* @__PURE__ */ (0, B.jsxs)(_k, {
id: "viewing",
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, B.jsx)(Y6, {
@@ -73461,9 +73517,9 @@ function HHe(e) {
})
]
})
- }), /* @__PURE__ */ (0, B.jsx)(FHe, { data: n })]
+ }), /* @__PURE__ */ (0, B.jsx)(IHe, { data: n })]
}),
- /* @__PURE__ */ (0, B.jsx)(gk, {
+ /* @__PURE__ */ (0, B.jsx)(_k, {
id: "coverage",
children: /* @__PURE__ */ (0, B.jsx)(Y6, {
headline: /* @__PURE__ */ (0, B.jsx)(J6, {
@@ -73471,10 +73527,10 @@ function HHe(e) {
figure: `${s}%`,
unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- children: /* @__PURE__ */ (0, B.jsx)(IHe, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, B.jsx)(LHe, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, B.jsx)(gk, {
+ /* @__PURE__ */ (0, B.jsx)(_k, {
id: "storage",
children: /* @__PURE__ */ (0, B.jsx)(Y6, {
headline: /* @__PURE__ */ (0, B.jsx)(J6, {
@@ -73482,7 +73538,7 @@ function HHe(e) {
figure: String(i.measured),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, B.jsx)(RHe, {
+ children: /* @__PURE__ */ (0, B.jsx)(zHe, {
volumes: n.storage_volumes,
...e
})
@@ -73490,51 +73546,51 @@ function HHe(e) {
})
]
}),
- /* @__PURE__ */ (0, B.jsxs)(pk, {
+ /* @__PURE__ */ (0, B.jsxs)(mk, {
defaultSelectedKey: "tags",
- className: `${OE({ padding: "none" })} flex flex-col`,
+ className: `${kE({ padding: "none" })} flex flex-col`,
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)(hk, {
+ /* @__PURE__ */ (0, B.jsx)(gk, {
id: "tags",
- className: vA,
+ className: yA,
children: "内容标签"
}),
- /* @__PURE__ */ (0, B.jsx)(hk, {
+ /* @__PURE__ */ (0, B.jsx)(gk, {
id: "recent",
- className: vA,
+ className: yA,
children: "最近看过"
}),
- /* @__PURE__ */ (0, B.jsx)(hk, {
+ /* @__PURE__ */ (0, B.jsx)(gk, {
id: "sources",
- className: vA,
+ className: yA,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, B.jsx)(gk, {
+ /* @__PURE__ */ (0, B.jsx)(_k, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, B.jsx)(zHe, {
+ children: /* @__PURE__ */ (0, B.jsx)(BHe, {
tags: n.top_tags,
...e
})
}),
- /* @__PURE__ */ (0, B.jsx)(gk, {
+ /* @__PURE__ */ (0, B.jsx)(_k, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, B.jsx)(BHe, { rows: n.recent })
+ children: /* @__PURE__ */ (0, B.jsx)(VHe, { rows: n.recent })
}),
- /* @__PURE__ */ (0, B.jsx)(gk, {
+ /* @__PURE__ */ (0, B.jsx)(_k, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, B.jsx)(VHe, {
+ children: /* @__PURE__ */ (0, B.jsx)(HHe, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -73545,7 +73601,7 @@ function HHe(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function UHe(e, t) {
+function WHe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
@@ -73569,13 +73625,13 @@ function e8(e, t) {
function t8(e) {
return e.value;
}
-function WHe(e) {
+function GHe(e) {
return e.index;
}
-function GHe(e) {
+function KHe(e) {
return e.nodes;
}
-function KHe(e) {
+function qHe(e) {
return e.links;
}
function n8(e, t) {
@@ -73590,8 +73646,8 @@ function r8({ nodes: e }) {
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function qHe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = WHe, c = UHe, l, u, d = GHe, f = KHe, p = 6;
+function JHe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = GHe, c = WHe, l, u, d = KHe, f = qHe, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
@@ -73777,7 +73833,7 @@ function qHe() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var i8 = Math.PI, a8 = 2 * i8, o8 = 1e-6, JHe = a8 - o8;
+var i8 = Math.PI, a8 = 2 * i8, o8 = 1e-6, YHe = a8 - o8;
function s8() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
@@ -73818,7 +73874,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 > JHe ? 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) > o8 || Math.abs(this._y1 - l) > o8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % a8 + a8), d > YHe ? 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))));
},
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";
@@ -73836,27 +73892,27 @@ function l8(e) {
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function YHe(e) {
+function XHe(e) {
return e[0];
}
-function XHe(e) {
+function ZHe(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var ZHe = Array.prototype.slice;
+var QHe = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function QHe(e) {
+function $He(e) {
return e.source;
}
-function $He(e) {
+function eUe(e) {
return e.target;
}
-function eUe(e) {
- var t = QHe, n = $He, r = YHe, i = XHe, a = null;
+function tUe(e) {
+ var t = $He, n = eUe, r = XHe, i = ZHe, a = null;
function o() {
- var o, s = ZHe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ var o, s = QHe.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;
}
return o.source = function(e) {
@@ -73871,48 +73927,48 @@ function eUe(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function tUe(e, t, n, r, i) {
+function nUe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function nUe() {
- return eUe(tUe);
+function rUe() {
+ return tUe(nUe);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function rUe(e) {
+function iUe(e) {
return [e.source.x1, e.y0];
}
-function iUe(e) {
+function aUe(e) {
return [e.target.x0, e.y1];
}
-function aUe() {
- return nUe().source(rUe).target(iUe);
+function oUe() {
+ return rUe().source(iUe).target(aUe);
}
//#endregion
//#region src/react/taste/taste.ts
-var oUe = "/api/taste", u8 = "/api/taste/refresh", sUe = "/api/taste/import", cUe = "/api/taste/source", d8 = (e) => ["taste", e], lUe = ["taste", "refresh"], uUe = [
+var sUe = "/api/taste", u8 = "/api/taste/refresh", cUe = "/api/taste/import", lUe = "/api/taste/source", d8 = (e) => ["taste", e], uUe = ["taste", "refresh"], dUe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], f8 = (e, t) => W(`${oUe}?window=${e}`, t), dUe = (e) => W(u8, e);
-async function fUe(e, t) {
+], f8 = (e, t) => W(`${sUe}?window=${e}`, t), fUe = (e) => W(u8, e);
+async function pUe(e, t) {
await p.fetchQuery({
queryKey: d8(e),
queryFn: () => f8(e, t)
});
}
-var pUe = (e) => G(u8, {
+var mUe = (e) => G(u8, {
window: e,
background: !0
-}), mUe = (e, t) => G(cUe, {
+}), hUe = (e, t) => G(lUe, {
operation: "remove",
source_key: e,
window: t
});
-async function hUe(e) {
- let t = await fetch(sUe, {
+async function gUe(e) {
+ let t = await fetch(cUe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -73926,25 +73982,25 @@ async function hUe(e) {
} catch {}
if (!t.ok) {
let e = n?.error;
- throw new LS(e || `导入失败(${t.status})`, t.status, n);
+ throw new RS(e || `导入失败(${t.status})`, t.status, n);
}
return n;
}
-var gUe = 1e4, p8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", _Ue = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, vUe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function yUe(e) {
+var _Ue = 1e4, p8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", vUe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, yUe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function bUe(e) {
if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();
let t = [];
return e.web_visits && t.push(`浏览 ${e.web_visits}`), e.peach_items && t.push(`Peach ${e.peach_items}`), t.join(" · ");
}
-function bUe(e) {
- let t = e.map(vUe), n = Math.max(1, ...t);
+function xUe(e) {
+ let t = e.map(yUe), 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) => ({
name: e.name,
value: Number(e.score)
})).sort((e, t) => t.value - e.value).slice(0, t);
-function xUe(e) {
+function SUe(e) {
let t = m8(e, 6);
return t.length < 3 ? [] : t;
}
@@ -73955,10 +74011,10 @@ var h8 = {
source: 145,
target: 545
};
-function SUe(e = []) {
+function CUe(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = qHe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
+ let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = JHe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
nodes: [...n.map((e) => ({
id: `source:${e}`,
name: e,
@@ -73973,7 +74029,7 @@ function SUe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), a = t.reduce((e, t) => e + t.value, 0), o = aUe();
+ }), a = t.reduce((e, t) => e + t.value, 0), o = oUe();
return {
nodes: i.nodes.map((e) => ({
id: e.id,
@@ -74003,7 +74059,7 @@ function SUe(e = []) {
total: a
};
}
-var CUe = (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 wUe = (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 }) {
let c = R.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
@@ -74126,14 +74182,14 @@ var b8 = R.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
b8.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var wUe = 1, TUe = .3, EUe = 6, x8 = 1500, S8 = "value", C8 = (0, R.createContext)(null);
+var TUe = 1, EUe = .3, DUe = 6, x8 = 1500, S8 = "value", C8 = (0, R.createContext)(null);
function w8() {
let e = (0, R.use)(C8);
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 }) {
- let u = (0, R.useId)().replace(/:/g, ""), [d, f] = (0, R.useState)(o), p = zUe(c, l), m = (0, R.useCallback)((e) => {
+ let u = (0, R.useId)().replace(/:/g, ""), [d, f] = (0, R.useState)(o), p = BUe(c, l), m = (0, R.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, R.useMemo)(() => ({
config: e,
@@ -74151,32 +74207,32 @@ function T8({ config: e, data: t, children: n, className: r, chartProps: i, back
children: /* @__PURE__ */ (0, B.jsxs)(e6, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, B.jsx)(t6, { isLoading: c }), /* @__PURE__ */ (0, B.jsxs)(uVe, {
+ children: [/* @__PURE__ */ (0, B.jsx)(t6, { isLoading: c }), /* @__PURE__ */ (0, B.jsxs)(dVe, {
id: u,
data: c ? p : t,
...i,
children: [
a && /* @__PURE__ */ (0, B.jsx)(f6, { variant: a }),
n,
- c && /* @__PURE__ */ (0, B.jsx)(BUe, {})
+ c && /* @__PURE__ */ (0, B.jsx)(VUe, {})
]
})]
})
});
}
-function DUe({ dataKey: e, variant: t = "filled", fillOpacity: n = TUe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+function OUe({ dataKey: e, variant: t = "filled", fillOpacity: n = EUe, 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, "");
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 } = NUe(a, d, e, p.dot);
+ }, m = t === "filled", { dot: h, activeDot: g } = PUe(a, d, e, p.dot);
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(z0, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: wUe,
+ strokeWidth: TUe,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -74189,29 +74245,29 @@ function DUe({ dataKey: e, variant: t = "filled", fillOpacity: n = TUe, isGlowin
},
...o
}), /* @__PURE__ */ (0, B.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, B.jsx)(PUe, {
+ /* @__PURE__ */ (0, B.jsx)(FUe, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, B.jsx)(FUe, {
+ /* @__PURE__ */ (0, B.jsx)(IUe, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, B.jsx)(IUe, {
+ m && /* @__PURE__ */ (0, B.jsx)(LUe, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, B.jsx)(LUe, {
+ r && /* @__PURE__ */ (0, B.jsx)(RUe, {
id: d,
dataKey: e
})
] })] });
}
var E8 = () => null, D8 = () => null;
-function OUe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+function kUe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
return /* @__PURE__ */ (0, B.jsx)(M1, {
gridType: e,
stroke: t,
@@ -74220,7 +74276,7 @@ function OUe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function kUe({ tick: e = {
+function AUe({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
@@ -74231,7 +74287,7 @@ function kUe({ tick: e = {
...n
});
}
-function AUe({ tick: e = {
+function jUe({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
@@ -74243,7 +74299,7 @@ function AUe({ tick: e = {
...r
});
}
-function jUe({ variant: e, roundness: t, defaultIndex: n }) {
+function MUe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = w8();
return r ? null : /* @__PURE__ */ (0, B.jsx)(o6, {
defaultIndex: n,
@@ -74255,7 +74311,7 @@ function jUe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function MUe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function NUe({ 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, {
verticalAlign: n,
@@ -74268,7 +74324,7 @@ function MUe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var NUe = (e, t, n, r) => {
+var PUe = (e, t, n, r) => {
let i = !1, a = !1;
return R.Children.forEach(e, (e) => {
if ((0, R.isValidElement)(e)) {
@@ -74310,7 +74366,7 @@ var NUe = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), PUe = ({ id: e, dataKey: t, config: n }) => {
+}) }), FUe = ({ id: e, dataKey: t, config: n }) => {
let r = i6(n[t] ?? {});
return /* @__PURE__ */ (0, B.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -74323,7 +74379,7 @@ var NUe = (e, t, n, r) => {
colorsCount: r
})
});
-}, FUe = ({ id: e, dataKey: t, config: n }) => {
+}, IUe = ({ id: e, dataKey: t, config: n }) => {
let r = i6(n[t] ?? {});
return /* @__PURE__ */ (0, B.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
@@ -74336,7 +74392,7 @@ var NUe = (e, t, n, r) => {
colorsCount: r
})
});
-}, IUe = ({ id: e, dataKey: t, config: n }) => {
+}, LUe = ({ 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);
return /* @__PURE__ */ (0, B.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
@@ -74349,7 +74405,7 @@ var NUe = (e, t, n, r) => {
opacities: i
})
});
-}, LUe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)("filter", {
+}, RUe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -74369,7 +74425,7 @@ var NUe = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, B.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, B.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, B.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), RUe = (e) => [
+}), zUe = (e) => [
"A",
"B",
"C",
@@ -74380,7 +74436,7 @@ var NUe = (e, t, n, r) => {
skill: e,
[S8]: 30 + Math.random() * 70
}));
-function zUe(e, t = EUe) {
+function BUe(e, t = DUe) {
let [n, r] = (0, R.useState)(0);
return (0, R.useEffect)(() => {
if (!e) return;
@@ -74388,9 +74444,9 @@ function zUe(e, t = EUe) {
r((e) => e + 1);
}, x8);
return () => clearInterval(t);
- }, [e]), (0, R.useMemo)(() => RUe(t), [t, n]);
+ }, [e]), (0, R.useMemo)(() => zUe(t), [t, n]);
}
-var BUe = () => /* @__PURE__ */ (0, B.jsx)(z0, {
+var VUe = () => /* @__PURE__ */ (0, B.jsx)(z0, {
dataKey: S8,
stroke: "currentColor",
strokeOpacity: .3,
@@ -74402,17 +74458,17 @@ var BUe = () => /* @__PURE__ */ (0, B.jsx)(z0, {
animationDuration: x8,
animationEasing: "ease-in-out"
});
-T8.Radar = DUe, T8.Dot = E8, T8.ActiveDot = D8, T8.PolarGrid = OUe, T8.PolarAngleAxis = kUe, T8.PolarRadiusAxis = AUe, T8.Tooltip = jUe, T8.Legend = MUe;
+T8.Radar = OUe, T8.Dot = E8, T8.ActiveDot = D8, T8.PolarGrid = kUe, T8.PolarAngleAxis = AUe, T8.PolarRadiusAxis = jUe, T8.Tooltip = MUe, T8.Legend = NUe;
//#endregion
//#region src/react/taste/charts.tsx
-var VUe = [
+var HUe = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], HUe = [
+], UUe = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
@@ -74422,7 +74478,7 @@ var VUe = [
], k8 = { value: {
label: "标签命中",
colors: x6(b6[3])
-} }, UUe = [
+} }, WUe = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -74432,20 +74488,20 @@ var VUe = [
"min-h-52",
"min-h-60",
"min-h-64"
-], WUe = 26, GUe = { radius: k8.value }, KUe = (e, t) => Math.sqrt(e / t);
-function qUe({ rows: e, label: t }) {
- let n = xUe(e);
+], GUe = 26, KUe = { radius: k8.value }, qUe = (e, t) => Math.sqrt(e / t);
+function JUe({ rows: e, label: t }) {
+ let n = SUe(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: KUe(e.value, r)
+ radius: qUe(e.value, r)
}));
return /* @__PURE__ */ (0, B.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
children: /* @__PURE__ */ (0, B.jsxs)(T8, {
data: i,
- config: GUe,
+ config: KUe,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
@@ -74462,17 +74518,17 @@ function qUe({ rows: e, label: t }) {
})
});
}
-function JUe({ rows: e, label: t }) {
+function YUe({ rows: e, label: t }) {
let n = m8(e, 8);
return n.length ? /* @__PURE__ */ (0, B.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${UUe[n.length]}`,
+ className: `flex grow flex-col ${WUe[n.length]}`,
children: /* @__PURE__ */ (0, B.jsxs)(g6, {
data: n,
config: k8,
layout: "horizontal",
barRadius: 4,
- chartProps: { maxBarSize: WUe },
+ chartProps: { maxBarSize: GUe },
className: "aspect-auto text-text-secondary",
children: [
/* @__PURE__ */ (0, B.jsx)(g6.YAxis, {
@@ -74496,8 +74552,8 @@ function JUe({ rows: e, label: t }) {
})
}) : null;
}
-function YUe({ flows: e }) {
- let [t, n] = (0, R.useState)(null), r = SUe(e);
+function XUe({ flows: e }) {
+ let [t, n] = (0, R.useState)(null), r = CUe(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", {
@@ -74525,7 +74581,7 @@ function YUe({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${VUe[e.color]}`,
+ className: `outline-none transition-opacity ${HUe[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -74559,14 +74615,14 @@ function YUe({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? HUe[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? UUe[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, B.jsxs)("text", {
x: g8[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: [CUe(e.name), /* @__PURE__ */ (0, B.jsx)("tspan", {
+ children: [wUe(e.name), /* @__PURE__ */ (0, B.jsx)("tspan", {
x: g8[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
@@ -74584,11 +74640,11 @@ function YUe({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var XUe = 10, A8 = SE(Ck, wk, "text-body-2-medium"), j8 = `${OE()} flex flex-col gap-4`, M8 = "rounded-xl bg-background-primary-default p-3", ZUe = "读取运行 Peach 的这台电脑上的浏览记录", QUe = "导入或读取浏览记录后,这里会列出已采集设备。", $Ue = "馆藏里暂时没有对得上浏览信号的标签。", eWe = "采集浏览记录后,这里会显示聚合后的口味证据。", tWe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", nWe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", rWe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", iWe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", aWe = "这个数据源将不再用于口味分析。原始导出文件保留。", N8 = "peach-taste-guide-dismissed";
+var ZUe = 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", QUe = "读取运行 Peach 的这台电脑上的浏览记录", $Ue = "导入或读取浏览记录后,这里会列出已采集设备。", eWe = "馆藏里暂时没有对得上浏览信号的标签。", tWe = "采集浏览记录后,这里会显示聚合后的口味证据。", nWe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", rWe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", iWe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", aWe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", oWe = "这个数据源将不再用于口味分析。原始导出文件保留。", N8 = "peach-taste-guide-dismissed";
function P8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
- className: xM(),
- children: /* @__PURE__ */ (0, B.jsx)(TM, {
+ className: SM(),
+ children: /* @__PURE__ */ (0, B.jsx)(EM, {
label: t,
icon: e,
accent: i,
@@ -74611,22 +74667,22 @@ function F8({ name: e, domain: t }) {
})]
});
}
-function oWe({ html: e }) {
+function sWe({ 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 }
});
}
-function sWe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
- if (!e.length) return /* @__PURE__ */ (0, B.jsx)(kE, {
+function cWe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
+ if (!e.length) return /* @__PURE__ */ (0, B.jsx)(AE, {
shell: "plain",
- icon: jT,
+ icon: MT,
title: "暂无足够证据",
children: r
});
- let a = bUe(e);
+ let a = xUe(e);
return /* @__PURE__ */ (0, B.jsx)(L6, {
- previewCount: XUe,
+ previewCount: ZUe,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
let o = !!t && !!e.peach_items, s = String(e.source_domain || ""), c = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
@@ -74653,7 +74709,7 @@ function sWe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
name: e.name,
domain: s
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, B.jsx)(oWe, { html: k(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, B.jsx)(sWe, { html: k(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
image_version: e.image_version,
@@ -74666,10 +74722,10 @@ function sWe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
children: e.name
}), /* @__PURE__ */ (0, B.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: yUe(e)
+ children: bUe(e)
})]
}),
- o ? /* @__PURE__ */ (0, B.jsx)(hT, {
+ o ? /* @__PURE__ */ (0, B.jsx)(gT, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -74690,30 +74746,30 @@ function sWe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
});
}
function I8({ label: e, panels: t, onSignal: n }) {
- return /* @__PURE__ */ (0, B.jsxs)(pk, {
- className: `${OE({ padding: "none" })} flex flex-col`,
+ 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,
- children: t.map((e) => /* @__PURE__ */ (0, B.jsx)(hk, {
+ className: vA,
+ children: t.map((e) => /* @__PURE__ */ (0, B.jsx)(gk, {
id: e.id,
- className: vA,
+ className: yA,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, B.jsx)(gk, {
+ }), t.map((e) => /* @__PURE__ */ (0, B.jsx)(_k, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, B.jsx)(sWe, {
+ children: /* @__PURE__ */ (0, B.jsx)(cWe, {
...e.props,
onSignal: n
})
}, e.id))]
});
}
-function cWe({ data: e, onSignal: t, navigate: n }) {
+function lWe({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -74779,21 +74835,21 @@ function cWe({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, B.jsx)(hT, {
+ }), /* @__PURE__ */ (0, B.jsx)(gT, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(AE, {
shell: "plain",
- icon: jT,
+ icon: MT,
title: "还没有可探索的入口",
- children: $Ue
+ children: eWe
})
]
});
}
-function lWe({ onboarding: e, done: t }) {
+function uWe({ onboarding: e, done: t }) {
let [n, r] = (0, R.useState)(() => {
try {
return localStorage.getItem(N8) === "1";
@@ -74802,21 +74858,21 @@ function lWe({ onboarding: e, done: t }) {
}
});
return t || n ? null : /* @__PURE__ */ (0, B.jsx)("div", {
- className: OE({
+ className: kE({
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, B.jsxs)(Uk, {
+ children: /* @__PURE__ */ (0, B.jsxs)(Wk, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: nWe
+ children: rWe
}),
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: rWe
+ children: iWe
}),
/* @__PURE__ */ (0, B.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -74846,7 +74902,7 @@ function lWe({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: iWe
+ children: aWe
}),
/* @__PURE__ */ (0, B.jsx)("span", {
className: "self-start",
@@ -74866,7 +74922,7 @@ function lWe({ onboarding: e, done: t }) {
})
});
}
-function uWe({ busy: e, onRefresh: t, onImport: n }) {
+function dWe({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, R.useRef)(null), [i, a] = (0, R.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -74875,15 +74931,15 @@ function uWe({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, B.jsx)(J, {
- leadingIcon: bT,
- title: ZUe,
+ leadingIcon: xT,
+ title: QUe,
onClick: t,
...X(e),
children: "读取浏览器历史"
}), /* @__PURE__ */ (0, B.jsx)(J, {
ref: r,
iconOnly: !0,
- leadingIcon: pT,
+ leadingIcon: mT,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
@@ -74892,21 +74948,21 @@ function uWe({ busy: e, onRefresh: t, onImport: n }) {
e || a(!0);
}
})]
- }), /* @__PURE__ */ (0, B.jsx)(bO, {
+ }), /* @__PURE__ */ (0, B.jsx)(xO, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: Sk,
- children: /* @__PURE__ */ (0, B.jsxs)(EM, {
+ className: Ck,
+ 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,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, B.jsx)(bT, {
+ children: [/* @__PURE__ */ (0, B.jsx)(xT, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
@@ -74914,7 +74970,7 @@ function uWe({ busy: e, onRefresh: t, onImport: n }) {
type: "button",
className: A8,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, B.jsx)(MT, {
+ children: [/* @__PURE__ */ (0, B.jsx)(NT, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -74922,9 +74978,9 @@ function uWe({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function dWe({ sources: e, window: t, toast: n }) {
- let r = ES({
- mutationFn: (e) => mUe(e, t),
+function fWe({ sources: e, window: t, toast: n }) {
+ let r = DS({
+ mutationFn: (e) => hUe(e, t),
onSuccess: (e) => {
p.setQueryData(d8(t), e.dashboard), n("已移除口味数据源");
}
@@ -74948,10 +75004,10 @@ function dWe({ sources: e, window: t, toast: n }) {
children: [
/* @__PURE__ */ (0, B.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, B.jsx)(MT, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, B.jsx)(NT, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, B.jsx)(xT, {
+ }) : /* @__PURE__ */ (0, B.jsx)(ST, {
"aria-hidden": !0,
className: "size-4"
})
@@ -74971,12 +75027,12 @@ function dWe({ sources: e, window: t, toast: n }) {
size: "small",
"aria-label": `移除 ${e.profile}`,
iconOnly: !0,
- leadingIcon: ST,
+ leadingIcon: CT,
...X(r.isPending),
onClick: () => {
r.isPending || je({
title: "移除口味数据源",
- body: aWe,
+ body: oWe,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -74984,30 +75040,30 @@ function dWe({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(AE, {
shell: "plain",
- icon: xT,
+ icon: ST,
title: "还没有数据源",
- children: QUe
+ children: $Ue
})
]
});
}
-function fWe(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 = CS({
+function pWe(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),
- placeholderData: OS.keepPreviousData
- }), { job: d, running: f, outcome: m, start: h } = BM({
- queryKey: lUe,
- queryFn: ({ signal: e }) => dUe(e),
- start: () => pUe(a),
- idlePollMs: gUe,
+ placeholderData: kS.keepPreviousData
+ }), { job: d, running: f, outcome: m, start: h } = VM({
+ queryKey: uUe,
+ queryFn: ({ signal: e }) => fUe(e),
+ start: () => mUe(a),
+ idlePollMs: _Ue,
onFinish: (e) => {
e.status !== "failed" && (p.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));
}
- }), g = ES({
- mutationFn: (e) => hUe(e),
+ }), g = DS({
+ mutationFn: (e) => gUe(e),
onSuccess: (e) => {
p.setQueryData(d8("all"), e.dashboard), o("all"), r("已导入口味数据");
}
@@ -75017,47 +75073,47 @@ function fWe(e) {
}, v = () => {
f || h.isPending || (h.reset(), h.mutate());
}, y = u.data;
- if (!y) return /* @__PURE__ */ (0, B.jsx)(jE, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
+ if (!y) return /* @__PURE__ */ (0, B.jsx)(ME, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
title: "口味分析读取失败",
children: u.error ? U(u.error) : "读取口味分析失败"
}) });
let b = y.summary || {}, x = y.coverage || {}, S = y.rankings || {}, C = y.storage || {}, w = S.browser_categories || [], T = y.gaps || [], E = x.tagged || 0, D = x.identified || 0, O = h.error ? U(h.error) : g.error ? U(g.error) : m?.status === "failed" ? m.error || "读取未取得" : "";
- return /* @__PURE__ */ (0, B.jsxs)(jE, { children: [
- /* @__PURE__ */ (0, B.jsxs)(pk, {
+ return /* @__PURE__ */ (0, B.jsxs)(ME, { children: [
+ /* @__PURE__ */ (0, B.jsxs)(mk, {
selectedKey: s,
onSelectionChange: (e) => c(String(e)),
className: "flex flex-col gap-5",
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,
- children: [/* @__PURE__ */ (0, B.jsx)(hk, {
+ className: vA,
+ children: [/* @__PURE__ */ (0, B.jsx)(gk, {
id: "browser",
- className: vA,
+ className: yA,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, B.jsx)(hk, {
+ }), /* @__PURE__ */ (0, B.jsx)(gk, {
id: "peach",
- className: vA,
+ className: yA,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(Ek, {
+ /* @__PURE__ */ (0, B.jsx)(Dk, {
"aria-label": "分析范围",
selectedKey: a,
onSelectionChange: (e) => {
e !== null && o(String(e));
},
- children: uUe.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Dk, {
+ children: dUe.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Ok, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, B.jsx)(uWe, {
+ /* @__PURE__ */ (0, B.jsx)(dWe, {
busy: f || h.isPending || g.isPending,
onRefresh: v,
onImport: () => l.current?.click()
@@ -75073,7 +75129,7 @@ function fWe(e) {
]
})]
}),
- /* @__PURE__ */ (0, B.jsx)(lWe, {
+ /* @__PURE__ */ (0, B.jsx)(uWe, {
onboarding: i,
done: !!(b.history_sources || y.updated_at)
}),
@@ -75081,48 +75137,48 @@ function fWe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- f ? /* @__PURE__ */ (0, B.jsx)(IM, {
+ f ? /* @__PURE__ */ (0, B.jsx)(LM, {
label: d?.message || "正在读取浏览记录并更新口味分析",
value: d?.checked,
total: d?.total
}) : null,
- g.isPending ? /* @__PURE__ */ (0, B.jsx)(IM, { label: "正在导入历史文件" }) : null,
+ g.isPending ? /* @__PURE__ */ (0, B.jsx)(LM, { label: "正在导入历史文件" }) : null,
O ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
children: O
}) : null
]
}),
- /* @__PURE__ */ (0, B.jsxs)(gk, {
+ /* @__PURE__ */ (0, B.jsxs)(_k, {
id: "browser",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
- className: SM,
+ className: CM,
children: [
/* @__PURE__ */ (0, B.jsx)(P8, {
accent: 0,
- icon: ET,
+ icon: DT,
term: "浏览记录",
figure: Number(b.history_visits || 0).toLocaleString(),
detail: `${b.history_sources || 0} 个数据源 · ${p8(b.range_start)}—${p8(b.range_end)}`
}),
/* @__PURE__ */ (0, B.jsx)(P8, {
accent: 1,
- icon: OT,
+ icon: kT,
term: "口味维度",
figure: w.length.toLocaleString(),
detail: w[0]?.name || "尚无主维度"
}),
/* @__PURE__ */ (0, B.jsx)(P8, {
accent: 2,
- icon: jT,
+ icon: MT,
term: "浏览候选",
figure: T.length.toLocaleString()
}),
/* @__PURE__ */ (0, B.jsx)(P8, {
accent: 3,
- icon: xT,
+ icon: ST,
term: "私有导出",
figure: Number(C.exports || 0).toLocaleString(),
detail: ye(C.bytes || 0)
@@ -75139,7 +75195,7 @@ function fWe(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- /* @__PURE__ */ (0, B.jsx)(qUe, {
+ /* @__PURE__ */ (0, B.jsx)(JUe, {
rows: w,
label: "主要口味维度"
}),
@@ -75150,14 +75206,14 @@ function fWe(e) {
]
}), /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: w.length ? /* @__PURE__ */ (0, B.jsx)(JUe, {
+ children: w.length ? /* @__PURE__ */ (0, B.jsx)(YUe, {
rows: w,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(AE, {
shell: "plain",
- icon: jT,
+ icon: MT,
title: "暂无口味维度",
- children: eWe
+ children: tWe
})
})]
}),
@@ -75173,7 +75229,7 @@ function fWe(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, B.jsx)(YUe, { flows: y.creator_flows }),
+ /* @__PURE__ */ (0, B.jsx)(XUe, { flows: y.creator_flows }),
/* @__PURE__ */ (0, B.jsx)(I8, {
label: "浏览器口味维度",
onSignal: t,
@@ -75215,42 +75271,42 @@ function fWe(e) {
rows: T,
kind: "",
visual: "none",
- empty: tWe
+ empty: nWe
}
}
]
})
]
}),
- /* @__PURE__ */ (0, B.jsxs)(gk, {
+ /* @__PURE__ */ (0, B.jsxs)(_k, {
id: "peach",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
- className: SM,
+ className: CM,
children: [
/* @__PURE__ */ (0, B.jsx)(P8, {
accent: 0,
- icon: wT,
+ icon: TT,
term: "Peach 看过",
figure: Number(b.peach_items || 0).toLocaleString(),
- detail: _Ue(b.peach_seconds || 0)
+ detail: vUe(b.peach_seconds || 0)
}),
/* @__PURE__ */ (0, B.jsx)(P8, {
accent: 1,
- icon: hae,
+ icon: mae,
term: "喜欢",
figure: Number(b.liked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, B.jsx)(P8, {
accent: 2,
- icon: mae,
+ icon: pae,
term: "不合口味",
figure: Number(b.disliked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, B.jsx)(P8, {
accent: 3,
- icon: OT,
+ icon: kT,
term: "有标签",
figure: E.toLocaleString()
})
@@ -75328,12 +75384,12 @@ function fWe(e) {
})
]
}),
- /* @__PURE__ */ (0, B.jsx)(cWe, {
+ /* @__PURE__ */ (0, B.jsx)(lWe, {
data: y,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, B.jsx)(dWe, {
+ /* @__PURE__ */ (0, B.jsx)(fWe, {
sources: y.sources || [],
window: a,
toast: r
@@ -75353,7 +75409,7 @@ function L8({ term: e, value: t, rest: n }) {
children: `${n} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, B.jsx)(NE, {
+ }), /* @__PURE__ */ (0, B.jsx)(PE, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -75362,7 +75418,7 @@ function L8({ term: e, value: t, rest: n }) {
}
//#endregion
//#region src/react/router/managed-routes.tsx
-function pWe(e, t, n) {
+function mWe(e, t, n) {
if (e === "duplicates") {
n("/duplicates");
return;
@@ -75373,7 +75429,7 @@ function pWe(e, t, n) {
var R8 = {
"/stats": {
prefetch: (e, t) => rbe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(HHe, {
+ page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(UHe, {
tagLabel: ct,
onTag: t.openTag,
configurable: e.configurable,
@@ -75383,8 +75439,8 @@ var R8 = {
})
},
"/taste": {
- prefetch: (e, t) => fUe("all", t),
- page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(fWe, {
+ prefetch: (e, t) => pUe("all", t),
+ page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(pWe, {
onSignal: t.openTasteSignal,
navigate: n,
toast: (e) => t.receipt(e),
@@ -75392,7 +75448,7 @@ var R8 = {
})
},
"/review": {
- prefetch: (e, t) => Oj(t),
+ prefetch: (e, t) => kj(t),
page: (e, t) => /* @__PURE__ */ (0, B.jsx)(kve, {
...e,
route: t.routeReview,
@@ -75403,15 +75459,15 @@ var R8 = {
})
},
"/data-cleanup": {
- prefetch: (e, t) => lde(t),
- page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(gfe, {
+ prefetch: (e, t) => cde(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(hfe, {
failure: t.failure,
- open: (e) => pWe(e, t, n),
+ open: (e) => mWe(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)(cme, {
openItem: t.openItem,
failure: t.failure,
@@ -75419,7 +75475,7 @@ var R8 = {
})
},
"/quality-goals": {
- prefetch: (e, t) => nue(t),
+ prefetch: (e, t) => tue(t),
page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(pve, {
openItem: t.openItem,
javTitleHtml: st,
@@ -75435,7 +75491,7 @@ var R8 = {
page: (e, t) => /* @__PURE__ */ (0, B.jsx)(Uve, { toast: (e) => t.toast(e) })
},
"/configuration": {
- prefetch: (e, t) => xR(t),
+ prefetch: (e, t) => SR(t),
page: (e, t) => /* @__PURE__ */ (0, B.jsx)(tbe, {
receipt: (e) => t.receipt(e),
reopenTutorial: t.reopenTutorial
@@ -75453,8 +75509,8 @@ var R8 = {
})
},
"/activity": {
- prefetch: (e, t) => Cce(t),
- page: (e) => /* @__PURE__ */ (0, B.jsx)(Kce, { ...e.prefill ? { prefill: e.prefill } : {} })
+ prefetch: (e, t) => Sce(t),
+ page: (e) => /* @__PURE__ */ (0, B.jsx)(Gce, { ...e.prefill ? { prefill: e.prefill } : {} })
},
"/follow-manage": {
prefetch: (e, t) => Gme(t, e.tab),
@@ -75485,7 +75541,7 @@ var R8 = {
page: (e) => /* @__PURE__ */ (0, B.jsx)(Che, { ...e })
}
}, V8 = (e) => Object.hasOwn(B8, e), H8 = {
- prefetch: (e, t) => Lfe(e, t),
+ prefetch: (e, t) => Ife(e, t),
page: (e, t) => /* @__PURE__ */ (0, B.jsx)(A_e, {
...e,
route: t.routeIndex,
@@ -75506,7 +75562,7 @@ var R8 = {
"/agencies": H8,
"/tags": H8
}, W8 = {
- prefetch: (e) => Efe(e),
+ prefetch: (e) => Tfe(e),
page: (e) => /* @__PURE__ */ (0, B.jsx)($pe, { ...e })
}, G8 = {
"/performers/*": W8,
@@ -75516,57 +75572,57 @@ var R8 = {
"/agencies/*": W8
}, K8 = {
"/": {
- prefetch: (e, t) => Are(e, t),
- page: (e) => /* @__PURE__ */ (0, B.jsx)(HA, { ...e })
+ prefetch: (e, t) => kre(e, t),
+ page: (e) => /* @__PURE__ */ (0, B.jsx)(UA, { ...e })
},
"/junk-files": {
prefetch: async () => {},
page: (e) => /* @__PURE__ */ (0, B.jsx)(G_e, { ...e })
}
-}, q8 = (e) => Object.hasOwn(K8, e), mWe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, B.jsx)(Z_e, { ...e }) : /* @__PURE__ */ (0, B.jsx)(RM, { ...e }), J8 = {
+}, q8 = (e) => Object.hasOwn(K8, e), hWe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, B.jsx)(Z_e, { ...e }) : /* @__PURE__ */ (0, B.jsx)(zM, { ...e }), J8 = {
"catalog-filter": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, B.jsx)(sle, { ...e })
+ page: (e) => /* @__PURE__ */ (0, B.jsx)(ole, { ...e })
},
"feed-new": {
- prefetch: (e) => xfe(e),
+ prefetch: (e) => bfe(e),
page: (e) => /* @__PURE__ */ (0, B.jsx)(mme, { ...e })
},
"library-processing": {
- prefetch: (e, t) => tj(t),
- page: (e) => /* @__PURE__ */ (0, B.jsx)(mWe, { ...e })
+ prefetch: (e, t) => nj(t),
+ page: (e) => /* @__PURE__ */ (0, B.jsx)(hWe, { ...e })
},
search: {
prefetch: async () => {},
page: (e) => /* @__PURE__ */ (0, B.jsx)(Jve, { ...e })
}
-}, Y8 = (e) => Object.hasOwn(J8, e), hWe = [
+}, Y8 = (e) => Object.hasOwn(J8, e), gWe = [
"/",
"/unseen",
"/watch-later",
"/flagged",
"/trash",
"/junk-files"
-], gWe = [
+], _We = [
...Object.keys(R8),
...Object.keys(B8),
...Object.keys(U8),
...Object.keys(G8),
- ...hWe
+ ...gWe
], 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];
}
-function _We(e, t, n) {
+function vWe(e, t, n) {
return X8(e) ? Z8(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
-function vWe(e, t, n, r) {
+function yWe(e, t, n, r) {
return Z8(e).page(t, n, r);
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/url.js
-var yWe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, bWe = /^[\\/]{2}/;
-function xWe(e, t) {
+var bWe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, xWe = /^[\\/]{2}/;
+function SWe(e, t) {
return t + e.replace(/\\/g, "/");
}
//#endregion
@@ -75582,7 +75638,7 @@ function $8(e, t) {
} catch {}
}
}
-function SWe({ pathname: e = "/", search: t = "", hash: n = "" }) {
+function CWe({ 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) {
@@ -75597,19 +75653,19 @@ function e5(e) {
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/utils.js
-function CWe(e, t, n = "/") {
- return wWe(e, t, n, !1);
+function wWe(e, t, n = "/") {
+ return TWe(e, t, n, !1);
}
-function wWe(e, t, n, r, i) {
+function TWe(e, t, n, r, i) {
let a = s5((typeof t == "string" ? e5(t) : t).pathname || "/", n);
if (a == null) return null;
- let o = i ?? TWe(e), s = null, c = RWe(a);
- for (let e = 0; s == null && e < o.length; ++e) s = LWe(o[e], c, r);
+ let o = i ?? EWe(e), s = null, c = zWe(a);
+ for (let e = 0; s == null && e < o.length; ++e) s = RWe(o[e], c, r);
return s;
}
-function TWe(e) {
+function EWe(e) {
let t = t5(e);
- return EWe(t), t;
+ return DWe(t), t;
}
function t5(e, t = [], n = [], r = "", i = !1) {
let a = (e, a, o = i, s) => {
@@ -75626,7 +75682,7 @@ function t5(e, t = [], n = [], r = "", i = !1) {
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({
path: l,
- score: FWe(l, e.index),
+ score: IWe(l, e.index),
routesMeta: u.map((e, t) => {
let [n, r] = o5(e.relativePath, e.caseSensitive, t === u.length - 1);
return {
@@ -75650,18 +75706,18 @@ function n5(e) {
let o = n5(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 EWe(e) {
- e.sort((e, t) => e.score === t.score ? IWe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
+function DWe(e) {
+ e.sort((e, t) => e.score === t.score ? LWe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
}
-var DWe = /^:[\w-]+$/, OWe = /^:[\w-]+/, kWe = 3.5, AWe = 3, jWe = 2, MWe = 1, NWe = 10, PWe = -2, r5 = (e) => e === "*";
-function FWe(e, t) {
+var OWe = /^:[\w-]+$/, kWe = /^:[\w-]+/, AWe = 3.5, jWe = 3, MWe = 2, NWe = 1, PWe = 10, FWe = -2, r5 = (e) => e === "*";
+function IWe(e, t) {
let n = e.split("/"), r = n.length;
- return n.some(r5) && (r += PWe), t && (r += jWe), n.filter((e) => !r5(e)).reduce((e, t) => e + (DWe.test(t) ? AWe : OWe.test(t) ? kWe : t === "" ? MWe : NWe), r);
+ return n.some(r5) && (r += FWe), t && (r += MWe), n.filter((e) => !r5(e)).reduce((e, t) => e + (OWe.test(t) ? jWe : kWe.test(t) ? AWe : t === "" ? NWe : PWe), r);
}
-function IWe(e, t) {
+function LWe(e, t) {
return e.length === t.length && e.slice(0, -1).every((e, n) => e === t[n]) ? e[e.length - 1] - t[t.length - 1] : 0;
}
-function LWe(e, t, n = !1) {
+function RWe(e, t, n = !1) {
let { routesMeta: r } = e, i = {}, a = "/", o = [];
for (let e = 0; e < r.length; ++e) {
let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {
@@ -75677,7 +75733,7 @@ function LWe(e, t, n = !1) {
Object.assign(i, d.params), o.push({
params: i,
pathname: d5([a, d.pathname]),
- pathnameBase: UWe(d5([a, d.pathnameBase])),
+ pathnameBase: WWe(d5([a, d.pathnameBase])),
route: f
}), d.pathnameBase !== "/" && (a = d5([a, d.pathnameBase]));
}
@@ -75724,7 +75780,7 @@ function o5(e, t = !1, n = !0) {
}).replace(/\/([\w-]+)\?(?=\/|$|\()/g, "(?:/$1)?");
return e.endsWith("*") ? (r.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), r];
}
-function RWe(e) {
+function zWe(e) {
try {
return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");
} catch (t) {
@@ -75737,12 +75793,12 @@ function s5(e, t) {
let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);
return r && r !== "/" ? null : e.slice(n) || "/";
}
-function zWe(e, t = "/") {
+function BWe(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, {
pathname: a,
- search: WWe(r),
- hash: GWe(i)
+ search: GWe(r),
+ hash: KWe(i)
};
}
function c5(e, t) {
@@ -75754,14 +75810,14 @@ function c5(e, t) {
function l5(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 BWe(e) {
+function VWe(e) {
return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);
}
-function VWe(e) {
- let t = BWe(e);
+function HWe(e) {
+ let t = VWe(e);
return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);
}
-function HWe(e, t, n, r = !1) {
+function UWe(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)));
let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;
@@ -75775,7 +75831,7 @@ function HWe(e, t, n, r = !1) {
}
s = e >= 0 ? t[e] : "/";
}
- let c = zWe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
+ let c = BWe(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("/"));
@@ -75784,7 +75840,7 @@ function f5(e, t = 0) {
for (; n > t && e.charCodeAt(n - 1) === 47;) n--;
return n === e.length ? e : e.slice(0, n);
}
-var UWe = (e) => f5(e).replace(/^\/*/, "/"), WWe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, GWe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, KWe = class {
+var WWe = (e) => f5(e).replace(/^\/*/, "/"), GWe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, KWe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, qWe = class {
status;
statusText;
data;
@@ -75794,23 +75850,23 @@ var UWe = (e) => f5(e).replace(/^\/*/, "/"), WWe = (e) => !e || e === "?" ? "" :
this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;
}
};
-function qWe(e) {
+function JWe(e) {
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
}
-function JWe(e) {
+function YWe(e) {
return d5(e.map((e) => e.route.path).filter(Boolean)) || "/";
}
var p5 = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
-function YWe(e, t) {
+function XWe(e, t) {
let n = e;
- if (typeof n != "string" || !yWe.test(n)) return {
+ if (typeof n != "string" || !bWe.test(n)) return {
absoluteURL: void 0,
isExternal: !1,
to: n
};
let r = n, i = !1;
if (p5) try {
- let e = new URL(window.location.href), r = bWe.test(n) ? new URL(xWe(n, e.protocol)) : new URL(n), a = s5(r.pathname, t);
+ let e = new URL(window.location.href), r = xWe.test(n) ? new URL(SWe(n, e.protocol)) : new URL(n), a = s5(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.`);
@@ -75835,7 +75891,7 @@ function h5(e) {
function g5(e, t) {
return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);
}
-function XWe(e, t) {
+function ZWe(e, t) {
if (e.startsWith("//")) return !0;
let n = t.protocol.toLowerCase();
return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;
@@ -75848,7 +75904,7 @@ function _5(e, t, n, r) {
let a = new URL(t, n), o = i != null && !g5(i, n), s = !g5(a, n);
if (r === "reject") {
if (o || s) throw Error("External navigation is not allowed");
- } else if (s && (i == null || !XWe(e, i) || !g5(i, a))) throw Error("External navigation is not allowed");
+ } else if (s && (i == null || !ZWe(e, i) || !g5(i, a))) throw Error("External navigation is not allowed");
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/router.js
@@ -75859,9 +75915,9 @@ var v5 = [
"DELETE"
];
new Set(v5);
-var ZWe = ["GET", ...v5];
-new Set(ZWe);
-var QWe = [
+var QWe = ["GET", ...v5];
+new Set(QWe);
+var $We = [
"about:",
"blob:",
"chrome:",
@@ -75873,9 +75929,9 @@ var QWe = [
"filesystem:",
"javascript:"
];
-function $We(e) {
+function eGe(e) {
try {
- return QWe.includes(new URL(e).protocol);
+ return $We.includes(new URL(e).protocol);
} catch {
return !1;
}
@@ -75884,18 +75940,18 @@ function $We(e) {
//#region node_modules/react-router/dist/production/lib/context.js
var y5 = R.createContext(null);
y5.displayName = "DataRouter";
-var eGe = R.createContext(null);
-eGe.displayName = "DataRouterState";
+var tGe = R.createContext(null);
+tGe.displayName = "DataRouterState";
var b5 = R.createContext(null);
b5.displayName = "DataRouterData";
-var tGe = R.createContext(null);
-tGe.displayName = "DataRouterNavigation";
-var nGe = R.createContext(!1), rGe = R.createContext({ isTransitioning: !1 });
-rGe.displayName = "ViewTransition";
-var iGe = R.createContext(null);
-iGe.displayName = "Fetchers";
+var nGe = R.createContext(null);
+nGe.displayName = "DataRouterNavigation";
+var rGe = R.createContext(!1), iGe = R.createContext({ isTransitioning: !1 });
+iGe.displayName = "ViewTransition";
var aGe = R.createContext(null);
-aGe.displayName = "Await";
+aGe.displayName = "Fetchers";
+var oGe = R.createContext(null);
+oGe.displayName = "Await";
var x5 = R.createContext(null);
x5.displayName = "Navigation";
var S5 = R.createContext(null);
@@ -75914,17 +75970,17 @@ var E5 = R.createContext(null);
E5.displayName = "RouteError";
//#endregion
//#region node_modules/react-router/dist/production/lib/errors.js
-var D5 = "REACT_ROUTER_ERROR", oGe = "REDIRECT", sGe = "ROUTE_ERROR_RESPONSE";
-function cGe(e) {
- if (e.startsWith(`${D5}:${oGe}:{`)) try {
+var D5 = "REACT_ROUTER_ERROR", sGe = "REDIRECT", cGe = "ROUTE_ERROR_RESPONSE";
+function lGe(e) {
+ if (e.startsWith(`${D5}:${sGe}:{`)) 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 lGe(e) {
- if (e.startsWith(`${D5}:${sGe}:{`)) try {
+function uGe(e) {
+ if (e.startsWith(`${D5}:${cGe}:{`)) try {
let t = JSON.parse(e.slice(40));
- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new KWe(t.status, t.statusText, t.data);
+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new qWe(t.status, t.statusText, t.data);
} catch {}
}
//#endregion
@@ -75936,12 +75992,12 @@ function k5() {
return Q8(O5(), "useLocation() may be used only in the context of a <Router> component."), R.useContext(S5).location;
}
var A5 = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
-function uGe() {
- return R.useContext(w5) ? SGe() : dGe();
-}
function dGe() {
+ return R.useContext(w5) ? CGe() : fGe();
+}
+function fGe() {
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(VWe(r)), o = R.useRef(!1);
+ let e = R.useContext(y5), { basename: t, navigator: n } = R.useContext(x5), { matches: r } = R.useContext(C5), { pathname: i } = k5(), a = JSON.stringify(HWe(r)), o = R.useRef(!1);
return R.useLayoutEffect(() => {
o.current = !0;
}), R.useCallback((r, s = {}) => {
@@ -75950,8 +76006,8 @@ function dGe() {
n.go(r);
return;
}
- let c = HWe(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 : SWe(r), n.createHref(c), h5(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
+ let c = UWe(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 : CWe(r), n.createHref(c), h5(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
}, [
t,
n,
@@ -75961,7 +76017,7 @@ function dGe() {
]);
}
R.createContext(null);
-function fGe(e, t) {
+function pGe(e, t) {
return j5(e, t);
}
function j5(e, t, n) {
@@ -75981,8 +76037,8 @@ function j5(e, t, n) {
d = "/" + u.replace(/^\//, "").split("/").slice(e.length).join("/");
}
let f;
- f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : CWe(e, { pathname: d });
- let p = vGe(f && f.map((e) => Object.assign({}, e, {
+ f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : wWe(e, { pathname: d });
+ let p = yGe(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])
@@ -76000,14 +76056,14 @@ function j5(e, t, n) {
navigationType: "POP"
} }, p) : p;
}
-function pGe() {
- let e = xGe(), t = qWe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
+function mGe() {
+ let e = SGe(), t = JWe(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 mGe = /* @__PURE__ */ R.createElement(pGe, null), hGe = class extends R.Component {
+var hGe = /* @__PURE__ */ R.createElement(mGe, null), gGe = class extends R.Component {
constructor(e) {
super(e), this.state = {
location: e.location,
@@ -76015,7 +76071,7 @@ var mGe = /* @__PURE__ */ R.createElement(pGe, null), hGe = class extends R.Comp
error: e.error
};
}
- static contextType = nGe;
+ static contextType = rGe;
static getDerivedStateFromError(e) {
return { error: e };
}
@@ -76036,25 +76092,25 @@ var mGe = /* @__PURE__ */ R.createElement(pGe, null), hGe = class extends R.Comp
render() {
let e = this.state.error;
if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {
- let t = lGe(e.digest);
+ let t = uGe(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, {
value: e,
children: this.props.component
}))));
- return this.context ? /* @__PURE__ */ R.createElement(gGe, { error: e }, t) : t;
+ return this.context ? /* @__PURE__ */ R.createElement(_Ge, { error: e }, t) : t;
}
}, M5 = /* @__PURE__ */ new WeakMap();
-function gGe({ children: e, error: t }) {
+function _Ge({ children: e, error: t }) {
let { basename: n, navigator: r } = R.useContext(x5);
if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {
- let e = cGe(t.digest);
+ let e = lGe(t.digest);
if (e) {
let i = M5.get(t);
if (i) throw i;
- let a = YWe(e.location, n), o = a.absoluteURL || a.to;
- if (_5(e.location, o, h5(r), "allow-explicit"), $We(o)) throw Error("Invalid redirect location");
+ let a = XWe(e.location, n), o = a.absoluteURL || a.to;
+ if (_5(e.location, o, h5(r), "allow-explicit"), eGe(o)) throw Error("Invalid redirect location");
if (p5 && !M5.get(t)) {
if (a.isExternal || e.reloadDocument) window.location.href = o;
else {
@@ -76070,11 +76126,11 @@ function gGe({ children: e, error: t }) {
}
return e;
}
-function _Ge({ routeContext: e, match: t, children: n }) {
+function vGe({ 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 vGe(e, t = [], n) {
+function yGe(e, t = [], n) {
let r = n?.state;
if (e == null) {
if (!r) return null;
@@ -76105,16 +76161,16 @@ function vGe(e, t = [], n) {
c(e, {
location: r.location,
params: r.matches?.[0]?.params ?? {},
- pattern: JWe(r.matches),
+ pattern: YWe(r.matches),
errorInfo: t
});
} : void 0;
return i.reduceRight((e, n, c) => {
let u, d = !1, f = null, p = null;
- r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || mGe, o && (s < 0 && c === 0 ? (CGe("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 || hGe, o && (s < 0 && c === 0 ? (wGe("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(_Ge, {
+ 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(vGe, {
match: n,
routeContext: {
outlet: e,
@@ -76124,7 +76180,7 @@ function vGe(e, t = [], n) {
children: t
});
};
- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ R.createElement(hGe, {
+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ R.createElement(gGe, {
location: r.location,
revalidation: r.revalidation,
component: f,
@@ -76142,11 +76198,11 @@ function vGe(e, t = [], n) {
function N5(e) {
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
}
-function yGe(e) {
+function bGe(e) {
let t = R.useContext(y5);
return Q8(t, N5(e)), t;
}
-function bGe(e) {
+function xGe(e) {
let t = R.useContext(b5);
return Q8(t, N5(e)), t;
}
@@ -76154,12 +76210,12 @@ function P5(e) {
let t = R.useContext(T5);
return Q8(t, `${e} can only be used on routes that contain a unique "id"`), t;
}
-function xGe() {
- let e = R.useContext(E5), t = bGe("useRouteError"), n = P5("useRouteError");
+function SGe() {
+ let e = R.useContext(E5), t = xGe("useRouteError"), n = P5("useRouteError");
return e === void 0 ? t.errors?.[n] : e;
}
-function SGe() {
- let { router: e } = yGe("useNavigate"), t = P5("useNavigate"), n = R.useRef(!1);
+function CGe() {
+ let { router: e } = bGe("useNavigate"), t = P5("useNavigate"), n = R.useRef(!1);
return R.useLayoutEffect(() => {
n.current = !0;
}), R.useCallback(async (r, i = {}) => {
@@ -76170,11 +76226,11 @@ function SGe() {
}, [e, t]);
}
var F5 = {};
-function CGe(e, t, n) {
+function wGe(e, t, n) {
!t && !F5[e] && (F5[e] = !0, $8(!1, n));
}
-R.memo(wGe);
-function wGe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
+R.memo(TGe);
+function TGe({ 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, {
router: a.router,
@@ -76187,7 +76243,7 @@ function wGe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
function I5(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>.");
}
-function TGe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
+function EGe({ 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.");
let s = e.replace(/^\/*/, "/"), c = R.useMemo(() => ({
basename: s,
@@ -76231,7 +76287,7 @@ function TGe({ basename: e = "/", children: t = null, location: n, navigationTyp
}));
}
function L5({ children: e, location: t }) {
- return fGe(R5(e), t);
+ return pGe(R5(e), t);
}
R.Component;
function R5(e, t = []) {
@@ -76270,11 +76326,11 @@ function R5(e, t = []) {
//#endregion
//#region src/react/router/router.tsx
var z5 = (0, R.createContext)(0), B5 = (0, R.createContext)(null);
-function EGe({ children: e }) {
+function DGe({ children: e }) {
let [t, n] = (0, R.useState)(() => mt.navigation);
return (0, R.useLayoutEffect)(() => (n(mt.navigation), mt.listen(n)), []), /* @__PURE__ */ (0, B.jsx)(z5.Provider, {
value: t.seq,
- children: /* @__PURE__ */ (0, B.jsx)(TGe, {
+ children: /* @__PURE__ */ (0, B.jsx)(EGe, {
location: t.location,
navigationType: t.action,
navigator: mt,
@@ -76282,19 +76338,19 @@ function EGe({ children: e }) {
})
});
}
-function DGe() {
+function OGe() {
let e = (0, R.useContext)(z5);
return (0, R.useLayoutEffect)(() => {
queueMicrotask(() => ht(e));
}, [e]), null;
}
-function OGe({ target: e }) {
- let t = uGe();
+function kGe({ target: e }) {
+ let t = dGe();
return (0, R.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function kGe(e, t, n) {
+function AGe(e, t, n) {
let r = new URL(e, window.location.href);
if (!z8(r.pathname)) {
t.navigate(e);
@@ -76302,24 +76358,24 @@ function kGe(e, t, n) {
}
n(`${r.pathname}${r.search}${r.hash}`);
}
-function AGe() {
+function jGe() {
let e = (0, R.useContext)(B5), [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 && kGe(t, e, r.current);
+ e && r.current && AGe(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(OGe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, B.jsx)(jGe, {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(kGe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, B.jsx)(MGe, {
entry: t,
- children: /* @__PURE__ */ (0, B.jsx)(MGe, {
+ children: /* @__PURE__ */ (0, B.jsx)(NGe, {
entry: t,
actions: e,
go: i
})
}, t.revision)) : null] });
}
-var jGe = class extends R.Component {
+var MGe = class extends R.Component {
state = { failed: !1 };
static getDerivedStateFromError() {
return { failed: !0 };
@@ -76330,15 +76386,15 @@ var jGe = class extends R.Component {
render() {
return this.state.failed ? null : this.props.children;
}
-}, MGe = (0, R.memo)(function({ entry: e, actions: t, go: n }) {
- return X8(e.path) ? (0, rp.createPortal)(vWe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+}, NGe = (0, R.memo)(function({ entry: e, actions: t, go: n }) {
+ return X8(e.path) ? (0, rp.createPortal)(yWe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function NGe({ children: e }) {
+function PGe({ children: e }) {
let t = k5(), n = ut(t.state);
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)(L5, {
location: n ?? t,
children: [
- gWe.map((e) => /* @__PURE__ */ (0, B.jsx)(I5, {
+ _We.map((e) => /* @__PURE__ */ (0, B.jsx)(I5, {
path: e,
element: null
}, e)),
@@ -76359,24 +76415,24 @@ function NGe({ children: e }) {
element: null
})] })] });
}
-function PGe({ children: e, actions: t = null }) {
- return /* @__PURE__ */ (0, B.jsx)(AS, { children: /* @__PURE__ */ (0, B.jsx)(B5.Provider, {
+function FGe({ children: e, actions: t = null }) {
+ return /* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(B5.Provider, {
value: t,
- children: /* @__PURE__ */ (0, B.jsxs)(EGe, { children: [
- /* @__PURE__ */ (0, B.jsx)(DGe, {}),
- /* @__PURE__ */ (0, B.jsx)(AGe, {}),
- /* @__PURE__ */ (0, B.jsx)(NGe, { children: e })
+ children: /* @__PURE__ */ (0, B.jsxs)(DGe, { children: [
+ /* @__PURE__ */ (0, B.jsx)(OGe, {}),
+ /* @__PURE__ */ (0, B.jsx)(jGe, {}),
+ /* @__PURE__ */ (0, B.jsx)(PGe, { children: e })
] })
}) });
}
-var FGe = { onCaughtError: (e) => {
+var IGe = { onCaughtError: (e) => {
globalThis.reportError?.(e);
} }, V5 = null;
-function IGe(e) {
+function LGe(e) {
if (V5) return;
- V5 = (0, ip.createRoot)(document.createElement("div"), FGe);
+ V5 = (0, ip.createRoot)(document.createElement("div"), IGe);
let t = V5;
- (0, rp.flushSync)(() => t.render(/* @__PURE__ */ (0, B.jsx)(PGe, { actions: e })));
+ (0, rp.flushSync)(() => t.render(/* @__PURE__ */ (0, B.jsx)(FGe, { actions: e })));
}
//#endregion
//#region src/number-setting.ts
@@ -76385,35 +76441,35 @@ function H5(e, t, n, r) {
}
//#endregion
//#region src/react/settings/configuration-summary.tsx
-var LGe = (e) => {
+var RGe = (e) => {
let t = e.updates;
return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";
};
-function RGe({ openConfiguration: e }) {
- let t = CS({
- queryKey: yR,
- queryFn: ({ signal: e }) => bR(e)
+function zGe({ openConfiguration: e }) {
+ let t = wS({
+ queryKey: bR,
+ queryFn: ({ signal: e }) => xR(e)
}), n = t.data;
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col",
- children: [n ? /* @__PURE__ */ (0, B.jsxs)(Vk, { children: [
- /* @__PURE__ */ (0, B.jsx)(Hk, {
+ children: [n ? /* @__PURE__ */ (0, B.jsxs)(Hk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "媒体库",
children: `${n.library_count} 个`
}),
- /* @__PURE__ */ (0, B.jsx)(Hk, {
+ /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "端口",
children: String(n.port)
}),
- /* @__PURE__ */ (0, B.jsx)(Hk, {
+ /* @__PURE__ */ (0, B.jsx)(Uk, {
term: "更新",
- children: LGe(n)
+ children: RGe(n)
})
- ] }) : /* @__PURE__ */ (0, B.jsx)(Fk, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
+ ] }) : /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
title: "配置读取失败",
children: t.error ? U(t.error) : "未取得配置,请刷新页面重试。"
- }) }), /* @__PURE__ */ (0, B.jsx)(Ik, {
+ }) }), /* @__PURE__ */ (0, B.jsx)(Lk, {
status: "媒体文件夹、端口、代理与更新在配置页上改。",
children: /* @__PURE__ */ (0, B.jsx)(J, {
onClick: e,
@@ -76470,7 +76526,7 @@ function G5({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function zGe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function BGe({ 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
@@ -76505,7 +76561,7 @@ function zGe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
}
//#endregion
//#region src/react/settings-panel/glow-settings.tsx
-var BGe = [
+var VGe = [
[
"strength",
"强度",
@@ -76532,7 +76588,7 @@ var BGe = [
100
]
];
-function VGe({ host: e, spot: t, index: n, glow: r }) {
+function HGe({ 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] = [
@@ -76571,7 +76627,7 @@ function VGe({ host: e, spot: t, index: n, glow: r }) {
children: u
})]
}),
- /* @__PURE__ */ (0, B.jsx)(sT, { name: "chevron-down" })
+ /* @__PURE__ */ (0, B.jsx)(cT, { name: "chevron-down" })
]
}), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "popmenu",
@@ -76610,7 +76666,7 @@ function VGe({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function HGe({ host: e }) {
+function UGe({ host: e }) {
let t = e.store.value.homeGlow, n = E(t.preset);
return /* @__PURE__ */ (0, B.jsxs)("section", {
"data-glow-setting": "",
@@ -76629,7 +76685,7 @@ function HGe({ host: e }) {
children: T(t.preset)
})]
}),
- /* @__PURE__ */ (0, B.jsx)(IS, {
+ /* @__PURE__ */ (0, B.jsx)(LS, {
store: e.store,
label: "光晕配色"
}),
@@ -76640,7 +76696,7 @@ function HGe({ host: e }) {
}),
/* @__PURE__ */ (0, B.jsx)("div", {
"data-glow-fields": "",
- children: BGe.map(([r, i, a]) => /* @__PURE__ */ (0, B.jsx)(zGe, {
+ children: VGe.map(([r, i, a]) => /* @__PURE__ */ (0, B.jsx)(BGe, {
field: r,
label: i,
max: a,
@@ -76662,7 +76718,7 @@ function HGe({ 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)(VGe, {
+ children: v.map((n, r) => /* @__PURE__ */ (0, B.jsx)(HGe, {
host: e,
spot: n,
index: r,
@@ -76687,7 +76743,7 @@ function HGe({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/number-setting.tsx
-var UGe = {
+var WGe = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -76730,7 +76786,7 @@ var UGe = {
}
}, K5 = (e) => `peach.number.${e}`;
function q5({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = UGe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, R.useRef)(0);
+ let a = WGe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, R.useRef)(0);
d.current ||= H5(Number(localStorage.getItem(K5(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)(() => {
@@ -76809,7 +76865,7 @@ function q5({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
//#endregion
//#region src/react/sidebar/sidebar-order.ts
function J5(e) {
- let { mutate: t } = Yj();
+ let { mutate: t } = Xj();
return (0, R.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
@@ -76824,8 +76880,8 @@ function Y5(e, t, n, r) {
}
//#endregion
//#region src/react/settings-panel/sidebar-order.tsx
-var WGe = "__home__", X5 = (e) => e === "" ? WGe : e;
-function GGe({ host: e }) {
+var GGe = "__home__", X5 = (e) => e === "" ? GGe : e;
+function KGe({ host: e }) {
let t = J5(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 = Y5(n, e, r, i);
a && t(a);
@@ -76887,9 +76943,9 @@ function GGe({ host: e }) {
/* @__PURE__ */ (0, B.jsx)("i", {
"data-sidebar-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, B.jsx)(sT, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, B.jsx)(cT, { name: "grip-vertical" })
}),
- /* @__PURE__ */ (0, B.jsx)(sT, { name: a ?? "" }),
+ /* @__PURE__ */ (0, B.jsx)(cT, { name: a ?? "" }),
/* @__PURE__ */ (0, B.jsx)("b", { children: r })
]
}), /* @__PURE__ */ (0, B.jsxs)("span", {
@@ -76903,7 +76959,7 @@ function GGe({ host: e }) {
title: "上移",
disabled: o === 0,
onClick: () => _(e, -1),
- children: /* @__PURE__ */ (0, B.jsx)(sT, { name: "chevron-up" })
+ children: /* @__PURE__ */ (0, B.jsx)(cT, { name: "chevron-up" })
}),
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
@@ -76913,7 +76969,7 @@ function GGe({ host: e }) {
title: "下移",
disabled: o === i.length - 1,
onClick: () => _(e, 1),
- children: /* @__PURE__ */ (0, B.jsx)(sT, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, B.jsx)(cT, { name: "chevron-down" })
}),
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
@@ -76925,7 +76981,7 @@ function GGe({ host: e }) {
onClick: () => {
n.length > 1 && t(n.filter((t) => t !== e));
},
- children: /* @__PURE__ */ (0, B.jsx)(sT, { name: "eye-off" })
+ children: /* @__PURE__ */ (0, B.jsx)(cT, { name: "eye-off" })
})
]
})]
@@ -76945,13 +77001,13 @@ function GGe({ host: e }) {
ref: m,
onClick: b,
children: v ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
- /* @__PURE__ */ (0, B.jsx)(sT, { name: v[2] ?? "" }),
+ /* @__PURE__ */ (0, B.jsx)(cT, { name: v[2] ?? "" }),
/* @__PURE__ */ (0, B.jsx)("span", {
"data-sidebar-add-label": "",
children: v[1]
}),
- /* @__PURE__ */ (0, B.jsx)(sT, { name: "chevron-down" })
- ] }) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(sT, { name: "check" }), /* @__PURE__ */ (0, B.jsx)("span", { children: "全部页面都已显示" })] })
+ /* @__PURE__ */ (0, B.jsx)(cT, { name: "chevron-down" })
+ ] }) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(cT, { name: "check" }), /* @__PURE__ */ (0, B.jsx)("span", { children: "全部页面都已显示" })] })
}), a.length ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "popmenu",
"data-sidebar-add-menu": "",
@@ -76969,7 +77025,7 @@ function GGe({ host: e }) {
onClick: () => {
s(X5(e)), y(), m.current?.focus();
},
- children: [/* @__PURE__ */ (0, B.jsx)(sT, { name: n ?? "" }), /* @__PURE__ */ (0, B.jsx)("span", { children: t })]
+ children: [/* @__PURE__ */ (0, B.jsx)(cT, { name: n ?? "" }), /* @__PURE__ */ (0, B.jsx)("span", { children: t })]
}, X5(e)))
}) : null]
}), /* @__PURE__ */ (0, B.jsx)("button", {
@@ -76995,7 +77051,7 @@ var Z5 = [
["关注", "ri-rss-line"],
["安全", "ri-shield-check-line"],
["这台电脑", "ri-macbook-line"]
-], KGe = [
+], qGe = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -77004,16 +77060,16 @@ var Z5 = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], qGe = [["desc", "降序"], ["asc", "升序"]], JGe = [
+], JGe = [["desc", "降序"], ["asc", "升序"]], YGe = [
["off", "关闭"],
["precise", "精准"],
["coarse", "粗略"]
-], YGe = [
+], XGe = [
["7", "每周"],
["30", "每月"],
["90", "每季"],
["0", "从不"]
-], XGe = [[
+], ZGe = [[
"cover",
"官方封面",
""
@@ -77021,7 +77077,7 @@ var Z5 = [
"thumbnail",
"预览图",
""
-]], ZGe = [
+]], QGe = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -77046,19 +77102,19 @@ var Z5 = [
"feedHideExcerptDescription",
"把出过的正片剪成十几分钟单卖的,比如ハイライト厂牌。"
]
-], QGe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", Q5 = null, $5 = null, e7 = null, t7 = {
+], $Ge = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", Q5 = null, $5 = null, e7 = null, t7 = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
machine: "none"
}, n7 = 0, r7 = null;
-function $Ge() {
+function eKe() {
return (!$5 || !e7?.isConnected) && ($5?.unmount(), e7 = document.createElement("div"), e7.dataset.settingsHost = "", document.body.append(e7), $5 = (0, ip.createRoot)(e7)), $5;
}
function i7() {
let e = Q5;
- e && (0, rp.flushSync)(() => $Ge().render(/* @__PURE__ */ (0, B.jsx)(AS, { children: /* @__PURE__ */ (0, B.jsx)(aKe, {
+ e && (0, rp.flushSync)(() => eKe().render(/* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(sKe, {
host: e,
view: t7
}) })));
@@ -77069,7 +77125,7 @@ function a7(e) {
...e
}, i7();
}
-async function eKe(e) {
+async function tKe(e) {
if (t7.machine === "summary") return;
let t = await e.configurable();
if (t7.open) {
@@ -77078,16 +77134,16 @@ async function eKe(e) {
return;
}
try {
- await xR(new AbortController().signal);
+ await SR(new AbortController().signal);
} catch {}
t7.open && a7({ machine: "summary" });
}
}
-function tKe(e = "") {
+function nKe(e = "") {
let t = Q5;
if (!t) return;
Ae(), n7 += 1, r7 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let n = Z5.findIndex(([t]) => t === e), r = jue();
+ let n = Z5.findIndex(([t]) => t === e), r = Aue();
a7({
open: !0,
closing: !1,
@@ -77095,7 +77151,7 @@ function tKe(e = "") {
tab: n >= 0 ? n : t7.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), eKe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), tKe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
function o7() {
if (!t7.open || t7.closing) return;
@@ -77113,24 +77169,24 @@ function o7() {
}
e7?.querySelector("[data-settings-card]")?.addEventListener("animationend", t, { once: !0 }), setTimeout(t, 380);
}
-var nKe = {
- open: tKe,
+var rKe = {
+ open: nKe,
close: o7,
isOpen: () => t7.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function rKe(e) {
- return Q5 = e, i7(), nKe;
-}
function iKe(e) {
+ return Q5 = e, i7(), rKe;
+}
+function aKe(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(QGe)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll($Ge)].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 s7 = (e) => `settings-tab-${e}`, c7 = (e) => e === Z5.length - 1 ? "machineGroup" : `settings-group-${e}`;
-function l7({ tab: e, epoch: t, onSelect: n }) {
+function oKe({ 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;
@@ -77202,12 +77258,12 @@ function l7({ tab: e, epoch: t, onSelect: n }) {
onPointerEnter: (e) => {
e.pointerType !== "touch" && c(e.currentTarget, !0);
},
- children: [/* @__PURE__ */ (0, B.jsx)(zie, { name: r }), t]
+ children: [/* @__PURE__ */ (0, B.jsx)(Rie, { name: r }), t]
}, t))
]
});
}
-function u7({ index: e, tab: t, children: n }) {
+function l7({ index: e, tab: t, children: n }) {
return /* @__PURE__ */ (0, B.jsxs)("section", {
"data-setting-group": "",
id: c7(e),
@@ -77217,7 +77273,7 @@ function u7({ index: e, tab: t, children: n }) {
children: [/* @__PURE__ */ (0, B.jsx)("h3", { children: Z5[e][0] }), n]
});
}
-function d7({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
+function u7({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
return /* @__PURE__ */ (0, B.jsxs)("label", {
"data-setting-row": "",
children: [/* @__PURE__ */ (0, B.jsxs)("span", { children: [/* @__PURE__ */ (0, B.jsx)("b", { children: t }), /* @__PURE__ */ (0, B.jsx)("small", {
@@ -77234,7 +77290,7 @@ function d7({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se
})]
});
}
-function f7({ title: e, description: t, kind: n, children: r }) {
+function d7({ title: e, description: t, kind: n, children: r }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-setting-row": "",
"data-setting-sort": n === "sort" ? "" : void 0,
@@ -77242,11 +77298,11 @@ function f7({ title: e, description: t, kind: n, children: r }) {
children: [/* @__PURE__ */ (0, B.jsxs)("span", { children: [/* @__PURE__ */ (0, B.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, B.jsx)("small", { children: t }) : t] }), r]
});
}
-var p7 = ({ html: e, ...t }) => /* @__PURE__ */ (0, B.jsx)("small", {
+var f7 = ({ 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 aKe({ host: e, view: t }) {
+}), p7 = () => `${Qe("保存中")}<span>正在保存…</span>`, m7 = (e, t) => e instanceof Error && e.message || t;
+function sKe({ 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];
@@ -77278,7 +77334,7 @@ function aKe({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: iKe,
+ onKeyDown: aKe,
onClick: (e) => {
e.target === e.currentTarget && o7();
},
@@ -77303,7 +77359,7 @@ function aKe({ host: e, view: t }) {
})
})]
}),
- /* @__PURE__ */ (0, B.jsx)(l7, {
+ /* @__PURE__ */ (0, B.jsx)(oKe, {
tab: t.tab,
epoch: d,
onSelect: f
@@ -77312,11 +77368,11 @@ function aKe({ host: e, view: t }) {
"data-settings-scroll": "",
ref: o,
children: [
- /* @__PURE__ */ (0, B.jsxs)(u7, {
+ /* @__PURE__ */ (0, B.jsxs)(l7, {
index: 0,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, B.jsx)(f7, {
+ /* @__PURE__ */ (0, B.jsx)(d7, {
title: "主题",
description: "跟随系统,或固定用浅色、深色。",
children: /* @__PURE__ */ (0, B.jsx)(W5, {
@@ -77347,7 +77403,7 @@ function aKe({ host: e, view: t }) {
onChange: (t) => e.setHighContrast(t.target.checked)
})]
}),
- /* @__PURE__ */ (0, B.jsx)(d7, {
+ /* @__PURE__ */ (0, B.jsx)(u7, {
id: "uiSoundsSetting",
title: "界面音效",
checked: n.uiSounds,
@@ -77356,7 +77412,7 @@ function aKe({ host: e, view: t }) {
n.uiSounds = t, p(), e.changed("uiSounds");
}
}),
- /* @__PURE__ */ (0, B.jsx)(d7, {
+ /* @__PURE__ */ (0, B.jsx)(u7, {
id: "homeGlowSetting",
title: "侧栏光晕",
checked: n.homeGlow.on,
@@ -77365,44 +77421,44 @@ function aKe({ host: e, view: t }) {
n.homeGlow.on = t, p(), e.changed("glow");
}
}),
- /* @__PURE__ */ (0, B.jsx)(HGe, { host: e }),
+ /* @__PURE__ */ (0, B.jsx)(UGe, { 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)(GGe, { host: e })]
+ }), /* @__PURE__ */ (0, B.jsx)("small", { children: "直接拖动排序;可隐藏入口,也可从具体页面列表重新添加。窄栏和筛选抽屉会保持一致。" })] }), /* @__PURE__ */ (0, B.jsx)(KGe, { host: e })]
})
]
}),
- /* @__PURE__ */ (0, B.jsx)(sKe, {
+ /* @__PURE__ */ (0, B.jsx)(lKe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, B.jsx)(lKe, {
+ /* @__PURE__ */ (0, B.jsx)(dKe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, B.jsx)(u7, {
+ /* @__PURE__ */ (0, B.jsx)(l7, {
index: 3,
tab: t.tab,
- children: /* @__PURE__ */ (0, B.jsx)(dKe, {
+ children: /* @__PURE__ */ (0, B.jsx)(pKe, {
host: e,
epoch: d
})
}),
- /* @__PURE__ */ (0, B.jsx)(fKe, {
+ /* @__PURE__ */ (0, B.jsx)(mKe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, B.jsx)(u7, {
+ /* @__PURE__ */ (0, B.jsx)(l7, {
index: 5,
tab: t.tab,
- children: /* @__PURE__ */ (0, B.jsx)(d7, {
+ children: /* @__PURE__ */ (0, B.jsx)(u7, {
id: "censorSetting",
title: "SFW 模式",
describedBy: "sfwDescription",
@@ -77411,10 +77467,10 @@ function aKe({ host: e, view: t }) {
onToggle: (t) => e.setCensored(t)
})
}),
- /* @__PURE__ */ (0, B.jsx)(u7, {
+ /* @__PURE__ */ (0, B.jsx)(l7, {
index: 6,
tab: t.tab,
- children: /* @__PURE__ */ (0, B.jsx)(mKe, {
+ children: /* @__PURE__ */ (0, B.jsx)(gKe, {
host: e,
machine: t.machine
})
@@ -77425,7 +77481,7 @@ function aKe({ host: e, view: t }) {
})
});
}
-function oKe(e, t) {
+function cKe(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", {
@@ -77435,13 +77491,13 @@ function oKe(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function sKe({ host: e, tab: t, epoch: n }) {
+function lKe({ 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, {
+ return /* @__PURE__ */ (0, B.jsxs)(l7, {
index: 1,
tab: t,
children: [
- /* @__PURE__ */ (0, B.jsx)(f7, {
+ /* @__PURE__ */ (0, B.jsx)(d7, {
title: "每批作品",
description: "首页每次加载的作品数量。",
children: /* @__PURE__ */ (0, B.jsx)("div", {
@@ -77456,7 +77512,7 @@ function sKe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, B.jsx)(f7, {
+ /* @__PURE__ */ (0, B.jsx)(d7, {
title: "默认排序",
kind: "sort",
description: /* @__PURE__ */ (0, B.jsx)("small", {
@@ -77468,7 +77524,7 @@ function sKe({ host: e, tab: t, epoch: n }) {
children: [/* @__PURE__ */ (0, B.jsx)(G5, {
id: "defaultSortSetting",
label: "默认排序",
- options: KGe,
+ options: qGe,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
@@ -77477,7 +77533,7 @@ function sKe({ host: e, tab: t, epoch: n }) {
}), /* @__PURE__ */ (0, B.jsx)(G5, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: qGe,
+ options: JGe,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -77486,7 +77542,7 @@ function sKe({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => oKe(e, o)
+ decorate: (e) => cKe(e, o)
})]
})
}),
@@ -77503,25 +77559,25 @@ function sKe({ host: e, tab: t, epoch: n }) {
}
})]
}),
- /* @__PURE__ */ (0, B.jsx)(f7, {
+ /* @__PURE__ */ (0, B.jsx)(d7, {
title: "JAV 默认封面",
description: "首页、接着看和 Mix 等位置共用;缺图时使用另一种封面。",
children: /* @__PURE__ */ (0, B.jsx)(W5, {
id: "javImageSetting",
name: "jav-image",
legend: "JAV 默认封面",
- options: XGe,
+ options: ZGe,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
text: !0,
epoch: n,
onChoose: (t) => {
- r.javImage = PC(t), i(), e.changed("javImage");
+ r.javImage = FC(t), i(), e.changed("javImage");
}
})
}),
- /* @__PURE__ */ (0, B.jsx)(f7, {
+ /* @__PURE__ */ (0, B.jsx)(d7, {
title: "视频封面默认大小",
kind: "related",
description: "首页和 JAV 等视频列表共用;小图展示完整封套,大图展示完整正封。",
@@ -77538,7 +77594,7 @@ function sKe({ host: e, tab: t, epoch: n }) {
onChoose: (t) => e.setVideoLayout(t)
})
}),
- /* @__PURE__ */ (0, B.jsx)(d7, {
+ /* @__PURE__ */ (0, B.jsx)(u7, {
id: "feedAutoScrollSetting",
title: "新作自动滚动",
checked: r.feedAutoScroll,
@@ -77547,7 +77603,7 @@ function sKe({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- ZGe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, B.jsx)(cKe, {
+ QGe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, B.jsx)(uKe, {
host: e,
id: t,
settingKey: n,
@@ -77559,8 +77615,8 @@ function sKe({ host: e, tab: t, epoch: n }) {
]
});
}
-function cKe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {
- let s = Yj(), [c, l] = (0, R.useState)(null), u = (0, R.useRef)(null), d = e.store.value, f = (t) => {
+function uKe({ 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}`);
@@ -77588,13 +77644,13 @@ function cKe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a
})]
});
}
-function lKe({ host: e, tab: t, epoch: n }) {
+function dKe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
- return /* @__PURE__ */ (0, B.jsxs)(u7, {
+ return /* @__PURE__ */ (0, B.jsxs)(l7, {
index: 2,
tab: t,
children: [
- /* @__PURE__ */ (0, B.jsx)(f7, {
+ /* @__PURE__ */ (0, B.jsx)(d7, {
title: "悬停放大",
description: "转圈完成后进入放大预览。",
children: /* @__PURE__ */ (0, B.jsx)("div", {
@@ -77609,7 +77665,7 @@ function lKe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, B.jsx)(d7, {
+ /* @__PURE__ */ (0, B.jsx)(u7, {
id: "detailAutoplaySetting",
title: "打开详情自动播放",
checked: r.detailAutoplay,
@@ -77618,7 +77674,7 @@ function lKe({ host: e, tab: t, epoch: n }) {
r.detailAutoplay = e, i();
}
}),
- /* @__PURE__ */ (0, B.jsx)(d7, {
+ /* @__PURE__ */ (0, B.jsx)(u7, {
id: "miniplayerSetting",
title: "小窗播放",
checked: r.miniplayer,
@@ -77627,7 +77683,7 @@ function lKe({ host: e, tab: t, epoch: n }) {
r.miniplayer = t, i(), e.changed("miniplayer");
}
}),
- /* @__PURE__ */ (0, B.jsx)(f7, {
+ /* @__PURE__ */ (0, B.jsx)(d7, {
title: "快进 / 快退",
description: "卡片预览和详情播放器共用。",
children: /* @__PURE__ */ (0, B.jsx)("div", {
@@ -77642,8 +77698,8 @@ function lKe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, B.jsx)(uKe, { epoch: n }),
- /* @__PURE__ */ (0, B.jsx)(f7, {
+ /* @__PURE__ */ (0, B.jsx)(fKe, { epoch: n }),
+ /* @__PURE__ */ (0, B.jsx)(d7, {
title: "相关推荐",
description: "详情下方一次显示的相似作品数量。",
children: /* @__PURE__ */ (0, B.jsx)("div", {
@@ -77661,18 +77717,18 @@ function lKe({ host: e, tab: t, epoch: n }) {
]
});
}
-function uKe({ epoch: e }) {
- let t = CS({
- queryKey: Kj,
- queryFn: ({ signal: e }) => Jj(e)
- }), n = Nue(), r = n.reset;
+function fKe({ epoch: e }) {
+ let t = wS({
+ 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(Fue(t.data)) : "读取运行状态…";
- return /* @__PURE__ */ (0, B.jsx)(f7, {
+ let i = t.data?.mode || "off", a = n.isPending ? p7() : t.isFetching ? Be("正在读取状态") : n.isError ? h7(m7(n.error, "保存失败")) : t.isError ? h7(`状态未取得:${m7(t.error, String(t.error))}`) : t.data ? h7(Pue(t.data)) : "读取运行状态…";
+ return /* @__PURE__ */ (0, B.jsx)(d7, {
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, {
+ 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)(f7, {
id: "videoThumbnailState",
"aria-live": "polite",
html: a
@@ -77680,7 +77736,7 @@ function uKe({ epoch: e }) {
children: /* @__PURE__ */ (0, B.jsx)(G5, {
id: "videoThumbnailSetting",
label: "视频缩略图采集",
- options: JGe,
+ options: YGe,
value: n.isPending || n.isError ? n.variables ?? i : i,
disabled: n.isPending || t.isFetching,
epoch: e,
@@ -77688,9 +77744,9 @@ function uKe({ epoch: e }) {
})
});
}
-function dKe({ host: e, epoch: t }) {
- let n = e.store.value, r = Yj();
- return /* @__PURE__ */ (0, B.jsx)(f7, {
+function pKe({ host: e, epoch: t }) {
+ let n = e.store.value, r = Xj();
+ return /* @__PURE__ */ (0, B.jsx)(d7, {
title: "搜索记录",
description: "保存在 Peach 账本,所有访问端同步。",
children: /* @__PURE__ */ (0, B.jsx)("div", {
@@ -77706,8 +77762,8 @@ function dKe({ host: e, epoch: t }) {
})
});
}
-function fKe({ host: e, tab: t, epoch: n }) {
- let r = e.store.value, i = Yj(), a = Yj(), [o, s] = (0, R.useState)("");
+function mKe({ 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]);
@@ -77717,15 +77773,15 @@ function fKe({ host: e, tab: t, epoch: n }) {
typeof t.followInitialDays == "number" && (r.followInitialDays = t.followInitialDays), e.store.save(), s("已保存,适用于尚未开始采集的来源。"), e.receipt("已保存首次采集历史范围");
},
onError: (t) => {
- s(h7(t, "")), e.failure("保存首次采集历史范围", t);
+ s(m7(t, "")), e.failure("保存首次采集历史范围", t);
}
}));
};
- return /* @__PURE__ */ (0, B.jsxs)(u7, {
+ return /* @__PURE__ */ (0, B.jsxs)(l7, {
index: 4,
tab: t,
children: [
- /* @__PURE__ */ (0, B.jsx)(f7, {
+ /* @__PURE__ */ (0, B.jsx)(d7, {
title: "首次采集历史范围",
description: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("small", { children: "按发布时间限制新来源首次导入的内容;范围内不足 30 条时补到 30 条。没有日期的条目仍会导入;已有内容不受影响,支持历史分页的来源可手动加载更早。" }), /* @__PURE__ */ (0, B.jsx)("small", {
id: "followInitialDaysState",
@@ -77742,14 +77798,14 @@ function fKe({ host: e, tab: t, epoch: n }) {
onPick: (e) => c(Number(e))
})
}),
- /* @__PURE__ */ (0, B.jsx)(pKe, { epoch: n }),
- /* @__PURE__ */ (0, B.jsx)(f7, {
+ /* @__PURE__ */ (0, B.jsx)(hKe, { epoch: n }),
+ /* @__PURE__ */ (0, B.jsx)(d7, {
title: "头像与站点图标刷新",
description: "创作者头像、来源图标和外链圆标保存在本机,到期后下次显示时重新取一次;视频与图片不保存。",
children: /* @__PURE__ */ (0, B.jsx)(G5, {
id: "metadataRefreshSetting",
label: "头像与站点图标刷新",
- options: YGe,
+ options: XGe,
value: String(r.metadataRefreshDays),
epoch: n,
onPick: (t) => {
@@ -77761,18 +77817,18 @@ function fKe({ host: e, tab: t, epoch: n }) {
]
});
}
-function pKe({ epoch: e }) {
- let t = CS({
- queryKey: Gj,
- queryFn: ({ signal: e }) => qj(e)
- }), n = Mue(), r = n.reset;
+function hKe({ epoch: e }) {
+ let t = wS({
+ 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(Pue(i)) : "读取运行状态…";
- return /* @__PURE__ */ (0, B.jsx)(f7, {
+ let i = t.data, a = n.isPending || t.isFetching || t.isError && !n.isError, o = n.isPending ? p7() : t.isFetching ? Be("正在读取状态") : n.isError ? h7(m7(n.error, "保存失败")) : t.isError ? h7(`状态未取得:${m7(t.error, String(t.error))}`) : i ? h7(Nue(i)) : "读取运行状态…";
+ return /* @__PURE__ */ (0, B.jsx)(d7, {
title: "关注自动更新",
- description: /* @__PURE__ */ (0, B.jsx)(p7, {
+ description: /* @__PURE__ */ (0, B.jsx)(f7, {
id: "followScheduleState",
"aria-live": "polite",
html: o
@@ -77789,12 +77845,12 @@ function pKe({ epoch: e }) {
})
});
}
-function mKe({ host: e, machine: t }) {
+function gKe({ 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)(RGe, { openConfiguration: () => {
+ children: /* @__PURE__ */ (0, B.jsx)(zGe, { openConfiguration: () => {
o7(), e.openConfiguration();
} })
})
@@ -77803,55 +77859,55 @@ function mKe({ host: e, machine: t }) {
dangerouslySetInnerHTML: { __html: He("媒体文件夹、端口、代理与更新只能在运行 Peach 服务的那台设备上改:在它的浏览器里打开配置页。", { label: "在服务端设备修改" }) }
}, "note") : /* @__PURE__ */ (0, B.jsx)("div", { id: "machineSettings" }, "none");
}
-function g7(e) {
+function h7(e) {
return e.replace(/[&<>"']/g, (e) => `&#${e.charCodeAt(0)};`);
}
//#endregion
//#region src/react/sidebar/sidebar-island.tsx
-var _7 = "__home__", hKe = {
+var g7 = "__home__", _Ke = {
creator: 26,
tag: 30,
tech: 16
-}, v7 = 180, y7 = null, b7 = null, x7 = {
+}, _7 = 180, v7 = null, y7 = null, b7 = {
content: null,
filters: {},
latest: null
-}, S7 = 0;
-function C7() {
- let e = y7;
- if (!e || !b7) return;
- let t = x7, n = S7;
- (0, rp.flushSync)(() => b7.render(/* @__PURE__ */ (0, B.jsx)(AS, { children: /* @__PURE__ */ (0, B.jsx)(vKe, {
+}, x7 = 0;
+function S7() {
+ let e = v7;
+ if (!e || !y7) return;
+ let t = b7, n = x7;
+ (0, rp.flushSync)(() => y7.render(/* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(bKe, {
host: e,
props: t,
epoch: n
}) })));
}
-var gKe = {
+var vKe = {
render(e) {
- x7 = e, C7();
+ b7 = e, S7();
},
navChanged() {
- S7 += 1, C7();
+ x7 += 1, S7();
}
};
-function _Ke(e) {
- return y7 = e, x7 = {
+function yKe(e) {
+ return v7 = e, b7 = {
content: null,
filters: {},
latest: null
- }, e.scroll.replaceChildren(), b7 = (0, ip.createRoot)(e.scroll), C7(), e.attached(), gKe;
+ }, e.scroll.replaceChildren(), y7 = (0, ip.createRoot)(e.scroll), S7(), e.attached(), vKe;
}
-function vKe({ host: e, props: t, epoch: n }) {
+function bKe({ 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)(yKe, {
+ /* @__PURE__ */ (0, B.jsx)(xKe, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, B.jsx)(xKe, {
+ t.content ? /* @__PURE__ */ (0, B.jsx)(CKe, {
host: e,
content: t.content,
filters: t.filters,
@@ -77859,8 +77915,8 @@ function vKe({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function yKe({ host: e, epoch: t, version: n }) {
- let r = J5(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 xKe({ host: e, epoch: t, version: n }) {
+ let r = J5(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 || g7 : "").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 [
@@ -77878,7 +77934,7 @@ function yKe({ host: e, epoch: t, version: n }) {
}, _ = (e) => ({
draggable: !0,
onDragStart: (t) => {
- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || _7);
+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || g7);
},
onDragOver: (t) => {
if (f === null || f === e) return;
@@ -77916,16 +77972,16 @@ function yKe({ host: e, epoch: t, version: n }) {
"data-sidebar-home-logo": "",
src: "/peach-logo.png",
alt: ""
- }) : /* @__PURE__ */ (0, B.jsx)(sT, { name: r }), /* @__PURE__ */ (0, B.jsx)("span", { children: n })]
- }, t || _7))
+ }) : /* @__PURE__ */ (0, B.jsx)(cT, { name: r }), /* @__PURE__ */ (0, B.jsx)("span", { children: n })]
+ }, t || g7))
}), v ? (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)("span", {
"data-sidebar-glide": "",
"aria-hidden": "true",
ref: l
}), v) : null] });
}
-var w7 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function bKe(e) {
+var C7 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
+function SKe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -77938,7 +77994,7 @@ function bKe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function xKe({ host: e, content: t, filters: n, latest: r }) {
+function CKe({ 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");
@@ -77947,8 +78003,8 @@ function xKe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? SKe(e, t.facets, n, r, i) : [CKe(e, t.tags, new Set(t.selected))], o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, B.jsx)(wKe, {
+ let a = t.kind === "catalog" ? wKe(e, t.facets, n, r, i) : [TKe(e, t.tags, new Set(t.selected))], o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, B.jsx)(EKe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -77957,11 +78013,11 @@ function xKe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function SKe(e, t, n, r, i) {
- let a = bKe(r), o = (t, r, i) => {
+function wKe(e, t, n, r, i) {
+ let a = SKe(r), o = (t, r, i) => {
if (!t.length) return null;
- let o = w7(n, r);
- return /* @__PURE__ */ (0, B.jsx)(D7, {
+ let o = C7(n, r);
+ return /* @__PURE__ */ (0, B.jsx)(E7, {
rows: t,
filterKey: r,
multi: i,
@@ -77971,7 +78027,7 @@ function SKe(e, t, n, r, i) {
});
}, s = (t, s, c, l, u, d) => {
if (!c.length) return null;
- let f = w7(n, l), p = c.some((e) => f.includes(e.value));
+ let f = C7(n, l), p = c.some((e) => f.includes(e.value));
if (!d) return {
title: t,
kind: s,
@@ -77983,12 +78039,12 @@ function SKe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, B.jsx)(EKe, {
+ body: /* @__PURE__ */ (0, B.jsx)(OKe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: hKe[d],
+ limit: _Ke[d],
filterKey: l,
selected: f,
counts: a,
@@ -78003,7 +78059,7 @@ function SKe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, B.jsx)(DKe, {
+ body: /* @__PURE__ */ (0, B.jsx)(kKe, {
host: e,
filters: n
})
@@ -78017,7 +78073,7 @@ function SKe(e, t, n, r, i) {
title: "关注标签",
kind: "online",
active: !1,
- body: /* @__PURE__ */ (0, B.jsx)(O7, {
+ body: /* @__PURE__ */ (0, B.jsx)(D7, {
rows: t.followTags,
host: e,
selected: null,
@@ -78026,12 +78082,12 @@ function SKe(e, t, n, r, i) {
} : null
];
}
-function CKe(e, t, n) {
+function TKe(e, t, n) {
return t.length ? {
title: "内容标签",
kind: "online",
active: t.some((e) => n.has(e.value)),
- body: /* @__PURE__ */ (0, B.jsx)(O7, {
+ body: /* @__PURE__ */ (0, B.jsx)(D7, {
rows: t,
host: e,
selected: n,
@@ -78039,19 +78095,19 @@ function CKe(e, t, n) {
})
} : null;
}
-function T7(e, t) {
+function w7(e, t) {
let n = null;
try {
n = sessionStorage.getItem(`peach.sidebar.group.${e}`);
} catch {}
return n === null ? t : n === "open";
}
-function wKe({ 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);
+function EKe({ 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)(() => w7(e, n)), u = (0, R.useRef)(!1);
(0, R.useLayoutEffect)(() => {
let t = o.current, r = s.current;
if (!t || !r) return;
- let i = u.current ? T7(e, n) : c;
+ let i = u.current ? w7(e, n) : c;
u.current = !0, t.open !== i && (t.open = i, r.inert = !i, r.style.height = "", r.classList.contains("fcollapse") && r.classList.toggle("fcollapse-settled", i), l(i));
}, [i]);
let d = (t) => {
@@ -78072,7 +78128,7 @@ function wKe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
"aria-expanded": c,
"aria-controls": f,
onClick: d,
- children: [/* @__PURE__ */ (0, B.jsx)(sT, { name: "chevron-right" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, B.jsx)(cT, { name: "chevron-right" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e })]
}), /* @__PURE__ */ (0, B.jsx)("div", {
ref: s,
"data-sidebar-collapse": "",
@@ -78083,7 +78139,7 @@ function wKe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
children: /* @__PURE__ */ (0, B.jsx)("div", {
"data-sidebar-body": "",
id: `sidebar-group-${encodeURIComponent(e)}`,
- children: /* @__PURE__ */ (0, B.jsx)(E7.Provider, {
+ children: /* @__PURE__ */ (0, B.jsx)(T7.Provider, {
value: d,
children: a
})
@@ -78092,15 +78148,15 @@ function wKe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
})]
});
}
-var E7 = (0, R.createContext)(() => {});
-function TKe({ dot: e }) {
- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, B.jsx)(sT, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, B.jsx)("img", {
+var T7 = (0, R.createContext)(() => {});
+function DKe({ 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,
alt: ""
}) : /* @__PURE__ */ (0, B.jsx)("i", { "data-sidebar-cost": e.cost }) : null;
}
-function D7({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a }) {
+function E7({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => {
@@ -78117,7 +78173,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)(TKe, { dot: e.dot }),
+ /* @__PURE__ */ (0, B.jsx)(DKe, { dot: e.dot }),
/* @__PURE__ */ (0, B.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -78132,8 +78188,8 @@ function D7({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a }
})
});
}
-function EKe({ 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);
+function OKe({ 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)(T7), [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;
return (0, R.useLayoutEffect)(() => {
@@ -78148,7 +78204,7 @@ function EKe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
e.body.classList.add("fcollapse"), Ie(e.body, e.before, () => !!t?.open && !e.body.inert);
}
t(), requestAnimationFrame(t);
- }, [d, _]), /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(D7, {
+ }, [d, _]), /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(E7, {
rows: _ ? v : v.slice(0, i),
filterKey: a,
multi: !1,
@@ -78173,10 +78229,10 @@ function EKe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
all: !_
}), _ && u());
},
- children: /* @__PURE__ */ (0, B.jsx)(sT, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, B.jsx)(cT, { name: "chevron-down" })
}) : null] });
}
-function O7({ rows: e, host: t, selected: n, badges: r }) {
+function D7({ rows: e, host: t, selected: n, badges: r }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => /* @__PURE__ */ (0, B.jsxs)("button", {
@@ -78197,10 +78253,10 @@ function O7({ rows: e, host: t, selected: n, badges: r }) {
}, e.value))
});
}
-var k7 = (e, t) => e ? Math.min(v7, Number(e) / 60) : t;
-function DKe({ 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)]));
+var O7 = (e, t) => e ? Math.min(_7, Number(e) / 60) : t;
+function kKe({ host: e, filters: t }) {
+ let n = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [r, i] = (0, R.useState)(n), [a, o] = (0, R.useState)(() => [O7(t.dur_min, 0), O7(t.dur_max, _7)]), [s, c] = (0, R.useState)("max");
+ r !== n && (i(n), o([O7(t.dur_min, 0), O7(t.dur_max, _7)]));
let [l, u] = a, d = (0, R.useRef)(null), f = (0, R.useRef)(null), p = (0, R.useRef)(null), m = (0, R.useRef)(a);
m.current = a;
let h = (e, t) => {
@@ -78213,11 +78269,11 @@ function DKe({ host: e, filters: t }) {
}, [e]), (0, R.useLayoutEffect)(() => {
let e = d.current;
if (!e) return;
- e.style.setProperty("--lo", `${l / v7 * 100}%`), e.style.setProperty("--hi", `${u / v7 * 100}%`);
+ e.style.setProperty("--lo", `${l / _7 * 100}%`), e.style.setProperty("--hi", `${u / _7 * 100}%`);
let t = e.getBoundingClientRect();
e.querySelectorAll("[data-sidebar-range-tip]").forEach((e) => {
let n = e.dataset.rangeEnd === "max" ? u : l;
- e.style.left = `${n / v7 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
+ e.style.left = `${n / _7 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
let r = e.getBoundingClientRect(), i = r.right > t.right ? t.right - r.right : r.left < t.left ? t.left - r.left : 0;
i && e.style.setProperty("--range-tip-shift", `${Math.round(i)}px`);
});
@@ -78227,7 +78283,7 @@ function DKe({ host: e, filters: t }) {
"data-range-end": e,
"data-range-active": s === e ? "" : void 0,
"aria-hidden": "true",
- children: e === "max" && t >= v7 ? "不限" : `${t} 分钟`
+ children: e === "max" && t >= _7 ? "不限" : `${t} 分钟`
});
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-sidebar-duration": "",
@@ -78242,7 +78298,7 @@ function DKe({ host: e, filters: t }) {
id: "durMin",
type: "range",
min: "0",
- max: v7,
+ max: _7,
step: "5",
value: l,
"aria-label": "最短时长(分钟)",
@@ -78253,7 +78309,7 @@ function DKe({ host: e, filters: t }) {
id: "durMax",
type: "range",
min: "0",
- max: v7,
+ max: _7,
step: "5",
value: u,
"aria-label": "最长时长(分钟)",
@@ -78268,17 +78324,17 @@ function DKe({ host: e, filters: t }) {
}
//#endregion
//#region src/board-skeleton.ts
-var A7 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, OKe = () => `${A7("80%")}${A7("48%")}`, kKe = (e, t) => e.repeat(t);
-function AKe() {
- 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%")}${kKe(OKe(), 4)}</div></aside></div>`;
+var k7 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, AKe = () => `${k7("80%")}${k7("48%")}`, jKe = (e, t) => e.repeat(t);
+function MKe() {
+ 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">${k7("85%")}${k7("65%")}${jKe(AKe(), 4)}</div></aside></div>`;
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var j7 = (e) => ["follow-item", e], jKe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, MKe = "/api/follow/save", NKe = "/api/follow/media/hide";
-async function M7(e, t) {
- let n = await W(jKe(e), t);
+var A7 = (e) => ["follow-item", e], NKe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, PKe = "/api/follow/save", FKe = "/api/follow/media/hide";
+async function j7(e, t) {
+ let n = await W(NKe(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,
@@ -78288,21 +78344,21 @@ async function M7(e, t) {
}
throw Error("这条关注内容已不存在");
}
-async function PKe(e, t) {
- let n = j7(e.id), r = ehe(e.id), i = p.getQueryData(AF) ? null : p.fetchQuery({
- queryKey: AF,
- queryFn: () => jF(t)
+async function IKe(e, t) {
+ let n = A7(e.id), r = ehe(e.id), i = p.getQueryData(jF) ? null : p.fetchQuery({
+ queryKey: jF,
+ queryFn: () => MF(t)
});
r ? p.setQueryData(n, {
...r,
item: r.item
}) : await p.fetchQuery({
queryKey: n,
- queryFn: () => M7(e.id, t)
+ queryFn: () => j7(e.id, t)
}), await i;
}
-function FKe(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 LKe(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,
@@ -78316,32 +78372,32 @@ function FKe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var IKe = (e) => PF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), LKe = {
+var RKe = (e) => FF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), zKe = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, RKe = {
+}, BKe = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function zKe(e) {
+function VKe(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return LKe[t] || t;
+ return zKe[t] || t;
} catch {
return "外部文件页";
}
}
-function N7(e, t) {
- return RKe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function M7(e, t) {
+ return BKe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function BKe(e, t, n = "") {
+function HKe(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;
@@ -78350,56 +78406,56 @@ function BKe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var VKe = (e) => String(e.name || "").trim(), P7 = (e, t) => e.tag_types?.[t] || "unknown", HKe = /* @__PURE__ */ new Set([
+var UKe = (e) => String(e.name || "").trim(), N7 = (e, t) => e.tag_types?.[t] || "unknown", WKe = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function UKe(e, t) {
- let n = P7(e, t);
- return `r34-${HKe.has(n) ? n : "general"}`;
+function GKe(e, t) {
+ let n = N7(e, t);
+ return `r34-${WKe.has(n) ? n : "general"}`;
}
-var F7 = [
+var P7 = [
"copyright",
"character",
"artist",
"general",
"metadata"
];
-function WKe(e, t) {
+function KKe(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = F7.indexOf(P7(e, t));
- return n < 0 ? F7.length : n;
+ let n = P7.indexOf(N7(e, t));
+ return n < 0 ? P7.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function GKe(e, t) {
+function qKe(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 KKe = (e, t) => ({
+var JKe = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), I7 = (e) => e?.size ? { size: e.size } : {};
-function qKe(e, t) {
+}), F7 = (e) => e?.size ? { size: e.size } : {};
+function YKe(e, t) {
let { images: n, kind: r, src: i, selected: a } = t;
return n.length ? n.map((t, r) => ({
src: `/follow-stream?id=${e.id}&media=${t.index}`,
thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,
name: t.name || e.title,
- source: N7(t, e),
- ...I7(t),
+ source: M7(t, e),
+ ...F7(t),
position: r + 1,
total: n.length
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: N7(a, e),
- ...I7(a),
+ source: M7(a, e),
+ ...F7(a),
position: 1,
total: 1
}] : e.thumb_url ? [{
@@ -78411,10 +78467,10 @@ function qKe(e, t) {
total: 1
}] : [];
}
-var JKe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
+var XKe = (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 }) {
+function I7({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
return /* @__PURE__ */ (0, B.jsxs)("aside", {
"data-mix-queue": "",
"data-queue-kind": e,
@@ -78442,7 +78498,7 @@ function L7({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,
})]
});
}
-function R7({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
+function L7({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
let s = /* @__PURE__ */ (0, B.jsx)("span", {
"data-mix-item-text": "",
children: a
@@ -78465,29 +78521,29 @@ function R7({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var YKe = ({ label: e, count: t }) => /* @__PURE__ */ (0, B.jsxs)("h3", {
+var ZKe = ({ 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, XKe = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("span", {
+}), R7 = (e) => Number(e) > 0, QKe = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: L(e) }
-}), B7 = L("external-link", "externalmark");
-function ZKe(e) {
- let { id: t, actions: n } = e, r = CS({
- queryKey: j7(t),
- queryFn: ({ signal: e }) => M7(t, e)
- }), i = CS({
- queryKey: AF,
- queryFn: ({ signal: e }) => jF(e)
+}), z7 = L("external-link", "externalmark");
+function $Ke(e) {
+ let { id: t, actions: n } = e, r = wS({
+ queryKey: A7(t),
+ queryFn: ({ signal: e }) => j7(t, e)
+ }), i = wS({
+ 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)(QKe, {
+ return r.data ? /* @__PURE__ */ (0, B.jsx)(eqe, {
...e,
data: r.data,
- context: KKe(r.data, a),
+ context: JKe(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, B.jsx)("div", {
@@ -78496,9 +78552,9 @@ function ZKe(e) {
children: /* @__PURE__ */ (0, B.jsxs)("div", {
"data-stage-media": "",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, B.jsx)(V7, { onClose: n.close }), /* @__PURE__ */ (0, B.jsx)("div", {
+ children: [/* @__PURE__ */ (0, B.jsx)(B7, { 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
@@ -78506,7 +78562,7 @@ function ZKe(e) {
})
});
}
-var V7 = ({ onClose: e }) => /* @__PURE__ */ (0, B.jsx)("button", {
+var B7 = ({ onClose: e }) => /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -78515,8 +78571,8 @@ var V7 = ({ onClose: e }) => /* @__PURE__ */ (0, B.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function QKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
- let { item: s, group: c } = e, l = FKe(s, c, n, i), u = nqe(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, R.useState)({
+function eqe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
+ let { item: s, group: c } = e, l = LKe(s, c, n, i), u = iqe(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, R.useState)({
key: "",
kind: ""
}), m = {
@@ -78536,20 +78592,20 @@ function QKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
s,
l.kind
]);
- let h = !l.embedded.length && l.collection ? IKe(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, B.jsx)(G7, {
+ let h = !l.embedded.length && l.collection ? RKe(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, B.jsx)(W7, {
item: s,
current: l.selected.index,
helpers: a,
actions: o,
onMedia: r
- }) : l.collection ? h ? /* @__PURE__ */ (0, B.jsx)(G7, {
+ }) : l.collection ? h ? /* @__PURE__ */ (0, B.jsx)(W7, {
item: h,
current: null,
helpers: a,
actions: o,
onMedia: r,
currentId: s.id
- }) : /* @__PURE__ */ (0, B.jsx)(eqe, {
+ }) : /* @__PURE__ */ (0, B.jsx)(nqe, {
group: l.collection,
itemId: s.id,
helpers: a,
@@ -78560,7 +78616,7 @@ function QKe({ 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)($Ke, {
+ /* @__PURE__ */ (0, B.jsx)(tqe, {
item: s,
media: l,
helpers: a,
@@ -78569,7 +78625,7 @@ function QKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
issues: m
}, d),
g,
- /* @__PURE__ */ (0, B.jsx)(tqe, {
+ /* @__PURE__ */ (0, B.jsx)(rqe, {
item: s,
data: e,
context: t,
@@ -78582,8 +78638,8 @@ function QKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
]
});
}
-function $Ke({ 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 = qKe(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 tqe({ 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 = YKe(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);
@@ -78613,14 +78669,14 @@ function $Ke({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"--follow-image-arrow-inset": p === null ? void 0 : `${p}px`
},
children: [
- /* @__PURE__ */ (0, B.jsx)(V7, { onClose: n.close }),
+ /* @__PURE__ */ (0, B.jsx)(B7, { onClose: n.close }),
_ ? null : v ? /* @__PURE__ */ (0, B.jsx)("img", {
"data-follow-detail-poster": "",
"data-zoomable": h.length ? "" : void 0,
src: b,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: h.length ? () => void VN(Math.max(0, l), h) : void 0,
+ onClick: h.length ? () => void HN(Math.max(0, l), h) : void 0,
onError: () => {
if (y && b !== y) {
x(y), i.thumbFallback();
@@ -78632,7 +78688,7 @@ function $Ke({ 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: [
@@ -78671,11 +78727,11 @@ function $Ke({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
]
});
}
-var H7 = ({ kind: e }) => /* @__PURE__ */ (0, B.jsx)("span", {
+var V7 = ({ kind: e }) => /* @__PURE__ */ (0, B.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: L(e === "image" ? "image-off" : "play") }
});
-function U7({ src: e }) {
+function H7({ src: e }) {
let [t, n] = (0, R.useState)(!1);
return t ? null : /* @__PURE__ */ (0, B.jsx)("img", {
src: e,
@@ -78685,14 +78741,14 @@ function U7({ src: e }) {
onError: () => n(!0)
});
}
-function W7(e) {
+function U7(e) {
return (0, R.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
-function eqe({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = zF(e), a = W7(n);
- return /* @__PURE__ */ (0, B.jsx)(L7, {
+function nqe({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = BF(e), a = U7(n);
+ return /* @__PURE__ */ (0, B.jsx)(I7, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
@@ -78700,12 +78756,12 @@ function eqe({ 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 = BKe(e, n, i ? n.provider_label : ""), o = i ? GF(n.provider, n.provider_label) : "";
- return /* @__PURE__ */ (0, B.jsxs)(R7, {
+ let i = e.duplicates.includes(n), a = HKe(e, n, i ? n.provider_label : ""), o = i ? KF(n.provider, n.provider_label) : "";
+ return /* @__PURE__ */ (0, B.jsxs)(L7, {
current: n.id === t,
"data-follow-queue-item": n.id,
onClick: () => r.openItem(n.id),
- pic: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, B.jsx)(U7, { src: n.thumb_url }) : /* @__PURE__ */ (0, B.jsx)(H7, { kind: "video" }), z7(n.duration) ? /* @__PURE__ */ (0, B.jsx)("i", {
+ pic: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, B.jsx)(H7, { src: n.thumb_url }) : /* @__PURE__ */ (0, B.jsx)(V7, { kind: "video" }), R7(n.duration) ? /* @__PURE__ */ (0, B.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: ve(n.duration)
@@ -78723,15 +78779,15 @@ function eqe({ 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);
})
});
}
-function G7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = W7(r), c = [];
+function W7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = U7(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -78741,26 +78797,26 @@ function G7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, c.push(n)), n.items.push(e);
});
let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);
- return /* @__PURE__ */ (0, B.jsx)(L7, {
+ return /* @__PURE__ */ (0, B.jsx)(I7, {
kind: "media",
"data-follow-queue": "",
title: "多媒体",
onClose: i.close,
listRef: s,
summary: `${e.title || "未命名内容"} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, B.jsx)(YKe, {
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, B.jsx)(ZKe, {
label: n.label,
count: n.items.length
- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, B.jsxs)(R7, {
+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, B.jsxs)(L7, {
current: n.index === t,
"data-follow-media-owner": e.id,
"data-follow-media-item": n.index,
"data-media-kind": n.media_kind || "",
onClick: () => l(n),
- pic: n.thumb_url ? /* @__PURE__ */ (0, B.jsx)(U7, { src: n.thumb_url }) : /* @__PURE__ */ (0, B.jsx)(H7, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, B.jsx)(H7, { src: n.thumb_url }) : /* @__PURE__ */ (0, B.jsx)(V7, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, B.jsx)("b", {
"data-middle-truncate": "",
- children: VKe(n)
+ children: UKe(n)
}), /* @__PURE__ */ (0, B.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -78768,13 +78824,13 @@ function G7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function tqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function rqe({ 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, GKe(e, t.sources), n), m = p.credited ? "" : e.author && be(e.author) !== be(p.author) ? e.author : "", h = ZF(e, n), g = WKe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
+ }, f = ZF(d, e), p = YF(e, qKe(e, t.sources), n), m = p.credited ? "" : e.author && be(e.author) !== be(p.author) ? e.author : "", h = QF(e, n), g = KKe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -78790,7 +78846,7 @@ function tqe({ 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,
@@ -78798,7 +78854,7 @@ function tqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: B7 }
+ dangerouslySetInnerHTML: { __html: z7 }
}) : null]
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
@@ -78817,8 +78873,8 @@ function tqe({ 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) }),
- z7(e.duration) ? /* @__PURE__ */ (0, B.jsx)("span", { children: ve(e.duration) }) : null,
+ /* @__PURE__ */ (0, B.jsx)("span", { children: $F(e) }),
+ R7(e.duration) ? /* @__PURE__ */ (0, B.jsx)("span", { children: ve(e.duration) }) : null,
f ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: f }
@@ -78851,9 +78907,9 @@ function tqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [zKe(e), /* @__PURE__ */ (0, B.jsx)("span", {
+ children: [VKe(e), /* @__PURE__ */ (0, B.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: B7 }
+ dangerouslySetInnerHTML: { __html: z7 }
})]
}, e))
}) : null,
@@ -78960,7 +79016,7 @@ function tqe({ 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)(XKe, { name: "image-off" }), /* @__PURE__ */ (0, B.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, B.jsx)(H7, { src: e.thumb_url }) : /* @__PURE__ */ (0, B.jsx)(QKe, { name: "image-off" }), /* @__PURE__ */ (0, B.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -78974,7 +79030,7 @@ function tqe({ 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": UKe(e, t),
+ "data-tag-cat": GKe(e, t),
"data-follow-tag": t,
onClick: () => s.openTag(t),
children: o.tagLabel(t)
@@ -78984,8 +79040,8 @@ function tqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function nqe(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) => {
+function iqe(e, t, n) {
+ let r = e.id, i = A7(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;
}), u = (e) => {
@@ -78998,14 +79054,14 @@ function nqe(e, t, n) {
}), nhe(r, e);
}, d = (e) => {
c(Te(e) || "操作失败"), t.failure("更新关注状态", e);
- }, f = ES({
- mutationFn: ({ to: e }) => G(WP, {
+ }, f = DS({
+ mutationFn: ({ to: e }) => G(GP, {
item: r,
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && bL(), t.toast(JKe(n), { undo: i === "saved" ? void 0 : async () => {
- await G(WP, {
+ u(n), c(""), n === "ignored" && xL(), t.toast(XKe(n), { undo: i === "saved" ? void 0 : async () => {
+ await G(GP, {
item: r,
to: i
}), u(i);
@@ -79013,16 +79069,16 @@ function nqe(e, t, n) {
},
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
- }), m = ES({
- mutationFn: () => G(MKe, { item: r }),
+ }), m = DS({
+ mutationFn: () => G(PKe, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到账本");
},
onError: d,
onSettled: () => l("save", !1)
- }), h = ES({
+ }), h = DS({
mutationFn: async ({ index: e, hidden: t }) => {
- await G(NKe, {
+ await G(FKe, {
item: r,
media: e,
hidden: t
@@ -79037,13 +79093,13 @@ function nqe(e, t, n) {
},
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
- }), g = CS({
+ }), g = wS({
queryKey: a_e(r),
queryFn: ({ signal: e }) => c_e(r, e)
- }).data?.want ?? null, _ = ES({
- mutationFn: async (e) => (e ? await yL([e.id]) : await vL({ follow: r }), !e),
+ }).data?.want ?? null, _ = DS({
+ 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)
@@ -79083,25 +79139,25 @@ function nqe(e, t, n) {
}
//#endregion
//#region src/react/components/overlay-host.ts
-function rqe(e) {
+function aqe(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 iqe(e) {
+function oqe(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return rqe(n ?? t.body);
+ return aqe(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var aqe = "/api/cover-crop", oqe = (e, t) => G(aqe, {
+var sqe = "/api/cover-crop", cqe = (e, t) => G(sqe, {
code: e,
box: t
});
//#endregion
//#region src/react/cover-crop/cover-crop-page.tsx
-function K7({ className: e }) {
+function G7({ className: e }) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -79114,7 +79170,7 @@ function K7({ className: e }) {
children: /* @__PURE__ */ (0, B.jsx)("use", { href: "#i-crop" })
});
}
-function sqe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function lqe({ 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,
@@ -79125,15 +79181,15 @@ function sqe({ code: e, coverUrl: t, box: n, onSaved: r }) {
title: "裁剪封面:框出正封那一块",
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, B.jsx)(K7, { className: "size-3.75" })
+ children: /* @__PURE__ */ (0, B.jsx)(G7, { className: "size-3.75" })
}), /* @__PURE__ */ (0, B.jsx)(ry, {
- getContainer: () => iqe(o.current),
- children: /* @__PURE__ */ (0, B.jsx)(tP, {
+ getContainer: () => oqe(o.current),
+ children: /* @__PURE__ */ (0, B.jsx)(nP, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, B.jsx)(cqe, {
+ children: /* @__PURE__ */ (0, B.jsx)(uqe, {
code: e,
coverUrl: t,
box: n,
@@ -79143,9 +79199,9 @@ function sqe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function cqe({ 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 = MM(), f = ES({
- mutationFn: (t) => oqe(e, t),
+function uqe({ 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) => cqe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -79157,19 +79213,19 @@ function cqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : ope(e, FC);
- c(ZN(t, e, null));
+ } : ape(e, IC);
+ c(QN(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, B.jsx)(nP, { children: /* @__PURE__ */ (0, B.jsx)(K7, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, B.jsx)(rP, { children: /* @__PURE__ */ (0, B.jsx)(G7, { className: "size-6" }) }),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(tD, {
+ /* @__PURE__ */ (0, B.jsx)(nD, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -79184,8 +79240,8 @@ function cqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, B.jsx)(PM, {
- icon: vT,
+ /* @__PURE__ */ (0, B.jsx)(FM, {
+ icon: yT,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -79195,24 +79251,24 @@ function cqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, B.jsx)("div", {
ref: d,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: /* @__PURE__ */ (0, B.jsx)(iP, {
+ children: /* @__PURE__ */ (0, B.jsx)(aP, {
src: t,
- aspect: l ? FC : null,
+ aspect: l ? IC : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- YN(e) && p(e);
+ XN(e) && p(e);
},
onBox: c
})
}),
/* @__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(ZN(s, a, FC));
+ u(e), e && s && a && c(QN(s, a, IC));
},
children: /* @__PURE__ */ (0, B.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -79241,21 +79297,21 @@ function cqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}
//#endregion
//#region src/react/item-detail/item-detail-page.tsx
-var q7 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("span", {
+var K7 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: L(e) }
-}), J7 = ({ html: e }) => /* @__PURE__ */ (0, B.jsx)("span", {
+}), q7 = ({ html: e }) => /* @__PURE__ */ (0, B.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
});
-function lqe(e) {
- let { queue: t, actions: n } = e, r = CS({
- queryKey: t ? HC(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => ZC(t, e.helpers, n),
+function dqe(e) {
+ let { queue: t, actions: n } = e, r = wS({
+ queryKey: t ? UC(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => QC(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? ew(i, e.id) : t ? null : e.id, o = CS({
- queryKey: VC(a ?? 0),
- queryFn: ({ signal: e }) => XC(a, e),
+ }), i = t && r.data || null, a = i ? tw(i, e.id) : t ? null : e.id, o = wS({
+ queryKey: HC(a ?? 0),
+ queryFn: ({ signal: e }) => ZC(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -79266,9 +79322,9 @@ function lqe(e) {
children: /* @__PURE__ */ (0, B.jsxs)("div", {
"data-stage-media": "",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, B.jsx)(Y7, { onClose: n.close }), /* @__PURE__ */ (0, B.jsx)("div", {
+ children: [/* @__PURE__ */ (0, B.jsx)(J7, { 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();
@@ -79278,13 +79334,13 @@ function lqe(e) {
})
});
}
- return /* @__PURE__ */ (0, B.jsx)(uqe, {
+ return /* @__PURE__ */ (0, B.jsx)(fqe, {
...e,
- item: Bre(o.data, i),
+ item: zre(o.data, i),
queue: i
}, o.data.id);
}
-var Y7 = ({ onClose: e }) => /* @__PURE__ */ (0, B.jsx)("button", {
+var J7 = ({ onClose: e }) => /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -79293,36 +79349,36 @@ var Y7 = ({ onClose: e }) => /* @__PURE__ */ (0, B.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function uqe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = Eqe(t, r, i.tagLabel), o = (0, R.useRef)(t);
+function fqe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = Oqe(t, r, i.tagLabel), o = (0, R.useRef)(t);
(0, R.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, R.useEffect)(() => {
- n?.kind === "playlist" && G(UC, {
+ n?.kind === "playlist" && G(WC, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = eie(t, i.sourceOffline(t.location || ""));
+ let s = $re(t, i.sourceOffline(t.location || ""));
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)("div", {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
children: [
- /* @__PURE__ */ (0, B.jsx)(dqe, {
+ /* @__PURE__ */ (0, B.jsx)(pqe, {
item: t,
gate: s,
helpers: i,
actions: r
}),
- n ? /* @__PURE__ */ (0, B.jsx)(pqe, {
+ n ? /* @__PURE__ */ (0, B.jsx)(hqe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- /* @__PURE__ */ (0, B.jsx)(gqe, {
+ /* @__PURE__ */ (0, B.jsx)(vqe, {
item: t,
queue: n,
write: a,
@@ -79330,9 +79386,9 @@ function uqe(e) {
actions: r
})
]
- }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, B.jsx)(Tqe, { ...e }) : null] });
+ }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, B.jsx)(Dqe, { ...e }) : null] });
}
-function dqe({ item: e, gate: t, helpers: n, actions: r }) {
+function pqe({ 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;
@@ -79343,7 +79399,7 @@ function dqe({ 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)(fqe, {
+ children: [/* @__PURE__ */ (0, B.jsx)(J7, { onClose: r.close }), t === "offline" ? /* @__PURE__ */ (0, B.jsx)(mqe, {
item: e,
badge: c,
helpers: n,
@@ -79353,7 +79409,7 @@ function dqe({ item: e, gate: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, B.jsx)(J7, { html: c }),
+ /* @__PURE__ */ (0, B.jsx)(q7, { html: c }),
/* @__PURE__ */ (0, B.jsx)("b", { children: "在线资产" }),
/* @__PURE__ */ (0, B.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, B.jsx)("button", {
@@ -79368,11 +79424,11 @@ function dqe({ item: e, gate: t, helpers: n, actions: r }) {
id: "gate",
"data-item-gate": "metered",
onClick: () => a("clicked"),
- children: [/* @__PURE__ */ (0, B.jsx)(J7, { html: c }), /* @__PURE__ */ (0, B.jsxs)("span", { children: ["点此开始拉流 · ", ye(e.size || 0)] })]
+ children: [/* @__PURE__ */ (0, B.jsx)(q7, { html: c }), /* @__PURE__ */ (0, B.jsxs)("span", { children: ["点此开始拉流 · ", ye(e.size || 0)] })]
}) : null]
});
}
-function fqe({ item: e, badge: t, helpers: n, actions: r }) {
+function mqe({ 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);
@@ -79383,7 +79439,7 @@ function fqe({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, B.jsx)(J7, { html: t }),
+ /* @__PURE__ */ (0, B.jsx)(q7, { html: t }),
/* @__PURE__ */ (0, B.jsx)("b", { children: "脱盘模式" }),
/* @__PURE__ */ (0, B.jsx)("span", { children: n.offlineReason(e.location || "") }),
/* @__PURE__ */ (0, B.jsx)("button", {
@@ -79397,8 +79453,8 @@ function fqe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function pqe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = Xre(e), a = (0, R.useRef)(null), o = hqe(e, t, r), s = (0, R.useRef)(o);
+function hqe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = Yre(e), a = (0, R.useRef)(null), o = _qe(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, {
@@ -79406,7 +79462,7 @@ function pqe({ 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 = mqe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, B.jsx)("button", {
+ }, [n, e.kind]), l = gqe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -79425,7 +79481,7 @@ function pqe({ queue: e, itemId: t, helpers: n, actions: r }) {
seedId: e.seedId,
playlistId: e.playlistId
};
- return /* @__PURE__ */ (0, B.jsx)(L7, {
+ return /* @__PURE__ */ (0, B.jsx)(I7, {
kind: e.kind,
title: i.title,
summary: i.summary,
@@ -79434,11 +79490,11 @@ function pqe({ queue: e, itemId: t, helpers: n, actions: r }) {
listRef: c,
children: e.items.map((i) => {
let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, B.jsx)("i", {
- className: `javedition ${Jre[i.edition_label] || "censored"}`,
+ className: `javedition ${qre[i.edition_label] || "censored"}`,
"data-queue-edition": "",
children: i.edition_label
- }) : null, s = e.kind === "playlist" && $C(i);
- return /* @__PURE__ */ (0, B.jsxs)(R7, {
+ }) : null, s = e.kind === "playlist" && ew(i);
+ return /* @__PURE__ */ (0, B.jsxs)(L7, {
current: i.id === t,
"data-queue-item": i.id,
row: { "data-queue-row": i.id },
@@ -79448,25 +79504,25 @@ function pqe({ queue: e, itemId: t, helpers: n, actions: r }) {
onClick: () => {
s || r.openQueueItem(d, i.id);
},
- pic: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(J7, { html: oe(i, n.javImage()) }), /* @__PURE__ */ (0, B.jsx)("i", {
+ pic: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(q7, { html: oe(i, n.javImage()) }), /* @__PURE__ */ (0, B.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: ve(i.duration)
})] }),
- lead: /* @__PURE__ */ (0, B.jsx)(J7, { html: ae(i) }),
+ lead: /* @__PURE__ */ (0, B.jsx)(q7, { html: ae(i) }),
after: e.kind === "playlist" ? /* @__PURE__ */ (0, B.jsxs)("span", {
"data-queue-edit": "",
children: [/* @__PURE__ */ (0, B.jsx)("i", {
"data-queue-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, B.jsx)(q7, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, B.jsx)(K7, { name: "grip-vertical" })
}), /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-queue-remove": i.id,
title: "移出播放列表",
"aria-label": "移出播放列表",
onClick: () => o.remove(i.id),
- children: /* @__PURE__ */ (0, B.jsx)(q7, { name: "x" })
+ children: /* @__PURE__ */ (0, B.jsx)(K7, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, B.jsxs)("span", {
@@ -79477,14 +79533,14 @@ function pqe({ queue: e, itemId: t, helpers: n, actions: r }) {
})]
}), /* @__PURE__ */ (0, B.jsx)("span", {
"data-truncate-end": "",
- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" ? cw(i.part_label) : re(i, n.tagLabel)
+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" ? lw(i.part_label) : re(i, n.tagLabel)
})]
}, i.id);
})
});
}
-function mqe(e, t) {
- let n = ES({ mutationFn: (t) => G(UC, {
+function gqe(e, t) {
+ let n = DS({ mutationFn: (t) => G(WC, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -79497,14 +79553,14 @@ function mqe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function hqe(e, t, n) {
- let r = HC({
+function _qe(e, t, n) {
+ let r = UC({
kind: "playlist",
playlistId: e.playlistId
- }), i = (e) => (p.setQueryData(r, QC(e)), e), a = (t) => G(UC, {
+ }), i = (e) => (p.setQueryData(r, $C(e)), e), a = (t) => G(WC, {
id: e.playlistId,
...t
- }).then((e) => e.playlist), o = ES({
+ }).then((e) => e.playlist), o = DS({
mutationFn: (e) => a({
action: "reorder",
asset_ids: e
@@ -79517,8 +79573,8 @@ function hqe(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = Qre(s, t, r, c);
- if ($re(l, s)) return;
+ let l = Zre(s, t, r, c);
+ if (Qre(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -79564,7 +79620,7 @@ function hqe(e, t, n) {
}
};
}
-function gqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function vqe({ 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": "",
@@ -79572,7 +79628,7 @@ function gqe({ 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)(_qe, {
+ /* @__PURE__ */ (0, B.jsx)(yqe, {
item: e,
queue: t,
helpers: r,
@@ -79584,7 +79640,7 @@ function gqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, B.jsx)(yqe, {
+ /* @__PURE__ */ (0, B.jsx)(xqe, {
item: e,
write: n
}),
@@ -79595,7 +79651,7 @@ function gqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: [
/* @__PURE__ */ (0, B.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, B.jsx)(q7, { name: "monitor" }), /* @__PURE__ */ (0, B.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, B.jsx)(K7, { name: "monitor" }), /* @__PURE__ */ (0, B.jsxs)("span", { children: [
e.width || "?",
"×",
e.height || "?"
@@ -79603,11 +79659,11 @@ function gqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}),
/* @__PURE__ */ (0, B.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, B.jsx)(q7, { name: "hard-drive" }), /* @__PURE__ */ (0, B.jsx)("span", { children: ye(e.size || 0) })]
+ children: [/* @__PURE__ */ (0, B.jsx)(K7, { name: "hard-drive" }), /* @__PURE__ */ (0, B.jsx)("span", { children: ye(e.size || 0) })]
}),
e.release_date ? /* @__PURE__ */ (0, B.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, B.jsx)(q7, { name: "calendar" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, B.jsx)(K7, { name: "calendar" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
@@ -79615,22 +79671,22 @@ function gqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"data-open-region": e.region || "",
title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",
onClick: () => i.openRegion(e.region || ""),
- children: [/* @__PURE__ */ (0, B.jsx)(q7, { name: "globe" }), /* @__PURE__ */ (0, B.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, B.jsx)(K7, { name: "globe" }), /* @__PURE__ */ (0, B.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
}) : null
]
}),
- /* @__PURE__ */ (0, B.jsx)(bqe, {
+ /* @__PURE__ */ (0, B.jsx)(Sqe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, B.jsx)(xqe, {
+ /* @__PURE__ */ (0, B.jsx)(Cqe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, B.jsx)(Cqe, { item: e }),
+ /* @__PURE__ */ (0, B.jsx)(Tqe, { item: e }),
/* @__PURE__ */ (0, B.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -79644,7 +79700,7 @@ function gqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.liked,
...o("like"),
onClick: () => n.preference({ liked: !e.liked }),
- children: /* @__PURE__ */ (0, B.jsx)(q7, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, B.jsx)(K7, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
@@ -79656,7 +79712,7 @@ function gqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-controls": "preferencePanel",
"data-has-reason": String(!!e.like_reason),
onClick: () => c((e) => !e),
- children: /* @__PURE__ */ (0, B.jsx)(q7, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, B.jsx)(K7, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
@@ -79667,7 +79723,7 @@ function gqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "dislike",
...o("dislike"),
onClick: () => n.feedback("dislike"),
- children: /* @__PURE__ */ (0, B.jsx)(q7, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, B.jsx)(K7, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
@@ -79678,7 +79734,7 @@ function gqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "seen",
...o("seen"),
onClick: () => n.feedback("seen"),
- children: /* @__PURE__ */ (0, B.jsx)(q7, { name: "eye" })
+ children: /* @__PURE__ */ (0, B.jsx)(K7, { name: "eye" })
}),
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
@@ -79689,7 +79745,7 @@ function gqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.watch_later,
...o("later"),
onClick: n.later,
- children: /* @__PURE__ */ (0, B.jsx)(q7, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, B.jsx)(K7, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
@@ -79698,7 +79754,7 @@ function gqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, B.jsx)(q7, { name: "playlist" })
+ children: /* @__PURE__ */ (0, B.jsx)(K7, { name: "playlist" })
}),
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
@@ -79709,7 +79765,7 @@ function gqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.better_version,
...o("quality"),
onClick: n.quality,
- children: /* @__PURE__ */ (0, B.jsx)(q7, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, B.jsx)(K7, { name: "sparkles" })
}),
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
@@ -79720,11 +79776,11 @@ function gqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.disposal === "trash",
...o("dispose"),
onClick: () => n.feedback("dispose"),
- children: /* @__PURE__ */ (0, B.jsx)(q7, { name: "trash" })
+ children: /* @__PURE__ */ (0, B.jsx)(K7, { name: "trash" })
})
]
}),
- /* @__PURE__ */ (0, B.jsx)(wqe, {
+ /* @__PURE__ */ (0, B.jsx)(Eqe, {
item: e,
open: s,
write: n
@@ -79735,7 +79791,7 @@ function gqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...o("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, B.jsx)(q7, { name: "sperm" }),
+ /* @__PURE__ */ (0, B.jsx)(K7, { name: "sperm" }),
/* @__PURE__ */ (0, B.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, B.jsx)("b", {
className: "mono",
@@ -79748,7 +79804,7 @@ function gqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function _qe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+function yqe({ 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;
@@ -79758,7 +79814,7 @@ function _qe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}, n = new ResizeObserver(t);
return n.observe(e), t(), () => n.disconnect();
}, []);
- let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Zre(e, t);
+ let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Xre(e, t);
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -79785,23 +79841,23 @@ function _qe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
"aria-label": o ? "收起标题" : "展开标题",
title: o ? "收起标题" : "展开完整标题",
onClick: u,
- children: /* @__PURE__ */ (0, B.jsx)(q7, { name: o ? "chevron-up" : "chevron-down" })
+ children: /* @__PURE__ */ (0, B.jsx)(K7, { name: o ? "chevron-up" : "chevron-down" })
}),
e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, B.jsx)(sqe, {
+ children: /* @__PURE__ */ (0, B.jsx)(lqe, {
code: e.cover_key || e.code || "",
coverUrl: M(e),
box: e.poster_box || null,
onSaved: (t) => {
p.invalidateQueries({
- queryKey: VC(e.id),
+ queryKey: HC(e.id),
exact: !0
- }), BC((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
+ }), VC((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, B.jsx)(vqe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, B.jsx)(bqe, {
id: e.id,
actions: r,
onStatus: i
@@ -79811,7 +79867,7 @@ function _qe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function vqe({ id: e, actions: t, onStatus: n }) {
+function bqe({ 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 () => {
@@ -79841,17 +79897,17 @@ function vqe({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, B.jsx)(q7, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, B.jsx)(K7, { name: "folder-sync" })
})] });
}
-function yqe({ item: e, write: t }) {
- let n = nw(e.rating);
+function xqe({ item: e, write: t }) {
+ let n = rw(e.rating);
return /* @__PURE__ */ (0, B.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": tw(e.rating),
+ "data-value": nw(e.rating),
children: [/* @__PURE__ */ (0, B.jsx)("div", {
"data-rating-stars": "",
children: [
@@ -79868,17 +79924,17 @@ function yqe({ item: e, write: t }) {
"aria-label": e === n ? `取消评分(当前 ${e} 星)` : `评为 ${e} 星`,
...t.busyAttrs(`rate:${e}`),
onClick: () => t.rate(e),
- children: /* @__PURE__ */ (0, B.jsx)(q7, { name: "star" })
+ children: /* @__PURE__ */ (0, B.jsx)(K7, { name: "star" })
}, e))
}), /* @__PURE__ */ (0, B.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: Ure(e.rating)
+ children: Hre(e.rating)
})]
});
}
-function bqe({ item: e, actions: t }) {
- let n = (0, R.useMemo)(() => Hre(e), [e]), [r, i] = (0, R.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
+function Sqe({ 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": "",
dangerouslySetInnerHTML: { __html: `<span>${ge(n.name.slice(0, 1))}</span>` + te({
@@ -79941,7 +79997,7 @@ function bqe({ item: e, actions: t }) {
onClick: t.openUnowned,
children: [/* @__PURE__ */ (0, B.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, B.jsx)(q7, { name: "user-round" })
+ children: /* @__PURE__ */ (0, B.jsx)(K7, { name: "user-round" })
}), /* @__PURE__ */ (0, B.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -79953,7 +80009,7 @@ function bqe({ item: e, actions: t }) {
size: "small",
id: "castMore",
"data-cast-more": "",
- trailingIcon: pT,
+ trailingIcon: mT,
"aria-expanded": !1,
onClick: () => i(!0),
children: [
@@ -79987,19 +80043,19 @@ function bqe({ item: e, actions: t }) {
"data-entity-name": e.name,
title: e.name,
onClick: () => t.openEntity("series", e.name),
- children: [/* @__PURE__ */ (0, B.jsx)(q7, { name: "tags" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e.name })]
+ children: [/* @__PURE__ */ (0, B.jsx)(K7, { name: "tags" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e.name })]
}, e.name) : /* @__PURE__ */ (0, B.jsxs)("span", {
"data-series-link": "",
title: e.name,
- children: [/* @__PURE__ */ (0, B.jsx)(q7, { name: "tags" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e.name })]
+ children: [/* @__PURE__ */ (0, B.jsx)(K7, { name: "tags" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e.name })]
}, e.name))
})]
}) : null
]
});
}
-function xqe({ item: e, write: t, helpers: n, actions: r }) {
- let i = Gre(e, n);
+function Cqe({ item: e, write: t, helpers: n, actions: r }) {
+ let i = Wre(e, n);
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-stage-tags": "",
id: "detailTags",
@@ -80018,16 +80074,16 @@ function xqe({ item: e, write: t, helpers: n, actions: r }) {
"aria-label": `删除标签 ${n.tagLabel(e.k)}`,
...t.busyAttrs(`tag:${e.k}`),
onClick: () => t.removeTag(e),
- children: /* @__PURE__ */ (0, B.jsx)(q7, { name: "x" })
+ children: /* @__PURE__ */ (0, B.jsx)(K7, { name: "x" })
})]
- }, e.k)), /* @__PURE__ */ (0, B.jsx)(Sqe, {
+ }, e.k)), /* @__PURE__ */ (0, B.jsx)(wqe, {
item: e,
write: t,
helpers: n
})]
});
}
-function Sqe({ item: e, write: t, helpers: n }) {
+function wqe({ 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);
}, []);
@@ -80041,7 +80097,7 @@ function Sqe({ item: e, write: t, helpers: n }) {
clearTimeout(t), document.removeEventListener("pointerdown", e, !0);
};
}, [s, h]);
- let g = s ? qre(d, n.tagCandidates(), sw()) : {
+ let g = s ? Kre(d, n.tagCandidates(), cw()) : {
recent: [],
results: [],
create: ""
@@ -80069,12 +80125,12 @@ function Sqe({ item: e, write: t, helpers: n }) {
if (n.key === "Enter") {
n.preventDefault();
let r = p >= 0 ? _[p] : null;
- r ? v(r, r.n !== -1 && rw(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
+ r ? v(r, r.n !== -1 && iw(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
}
}
}, b = -1, x = (t) => {
b += 1;
- let r = b, i = rw(e, t.k);
+ let r = b, i = iw(e, t.k);
return /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
"data-pick": t.k,
@@ -80082,7 +80138,7 @@ function Sqe({ item: e, write: t, helpers: n }) {
"aria-pressed": i,
onClick: () => v(t, i),
children: [
- /* @__PURE__ */ (0, B.jsx)(q7, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, B.jsx)(K7, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, B.jsx)("span", {
"data-pick-name": "",
children: n.tagLabel(t.k)
@@ -80105,7 +80161,7 @@ function Sqe({ item: e, write: t, helpers: n }) {
onClick: () => {
i.current && (Ge(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));
},
- children: /* @__PURE__ */ (0, B.jsx)(q7, { name: "plus" })
+ children: /* @__PURE__ */ (0, B.jsx)(K7, { name: "plus" })
}), /* @__PURE__ */ (0, B.jsxs)("div", {
ref: i,
id: "tagPicker",
@@ -80115,7 +80171,7 @@ function Sqe({ item: e, write: t, helpers: n }) {
hidden: !0,
children: [/* @__PURE__ */ (0, B.jsxs)("label", {
"data-tag-search": "",
- children: [/* @__PURE__ */ (0, B.jsx)(q7, { name: "search" }), /* @__PURE__ */ (0, B.jsx)("input", {
+ children: [/* @__PURE__ */ (0, B.jsx)(K7, { name: "search" }), /* @__PURE__ */ (0, B.jsx)("input", {
ref: a,
id: "tagPickSearch",
maxLength: 80,
@@ -80156,7 +80212,7 @@ function Sqe({ item: e, write: t, helpers: n }) {
onClick: () => {
h(), t.addTag(g.create);
},
- children: [/* @__PURE__ */ (0, B.jsx)(q7, { name: "plus" }), /* @__PURE__ */ (0, B.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, B.jsx)(K7, { name: "plus" }), /* @__PURE__ */ (0, B.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -80171,8 +80227,8 @@ function Sqe({ item: e, write: t, helpers: n }) {
})]
})] });
}
-function Cqe({ item: e }) {
- let t = tie(e);
+function Tqe({ item: e }) {
+ let t = eie(e);
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
@@ -80206,7 +80262,7 @@ function Cqe({ item: e }) {
})]
});
}
-function wqe({ item: e, open: t, write: n }) {
+function Eqe({ 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();
@@ -80245,10 +80301,10 @@ function wqe({ item: e, open: t, write: n }) {
})]
});
}
-function Tqe(e) {
- let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = CS({
- queryKey: Lre(t.id, n),
- queryFn: async ({ signal: e }) => (await W(zre(t.id, n), e)).items || []
+function Dqe(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 || []
}), [o] = (0, R.useState)(() => r.relatedSkeletonHtml()), s = (0, R.useCallback)((e) => {
e && (Fe(e), r.wireDrag(e));
}, [r]);
@@ -80261,7 +80317,7 @@ function Tqe(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,
@@ -80274,12 +80330,12 @@ function Tqe(e) {
revision: 0,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : a.isError ? null : /* @__PURE__ */ (0, B.jsx)(J7, { html: o })
+ }) : a.isError ? null : /* @__PURE__ */ (0, B.jsx)(q7, { html: o })
})]
});
}
-function Eqe(e, t, n) {
- let r = e.id, i = VC(r), [a, o] = (0, R.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), d = (e, t) => o((n) => {
+function Oqe(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;
}), f = () => p.getQueryData(i) || e, m = (e) => {
@@ -80295,11 +80351,11 @@ function Eqe(e, t, n) {
rating: t.rating,
o_count: t.o_count
};
- return zC(r, n), t;
+ return BC(r, n), t;
}, h = (e, t) => G(e, {
id: r,
...t
- }), g = ES({
+ }), g = DS({
mutationFn: ({ run: e }) => e(),
onError: (e, { action: n }) => t.failure(n, e),
onSettled: (e, t, { name: n }) => d(n, !1)
@@ -80310,7 +80366,7 @@ function Eqe(e, t, n) {
run: n
}));
}, v = async (e, t) => {
- let n = await h(WC, t === void 0 ? { kind: e } : {
+ let n = await h(GC, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -80330,21 +80386,21 @@ function Eqe(e, t, n) {
"aria-disabled": !0
} : {},
rate: (e) => _(`rate:${e}`, "评分", async () => {
- let n = f().rating || 0, r = Wre(n, e);
- await v("rate", r), t.toast(r ? `已评 ${nw(r)} 星` : "已取消评分", { undo: async () => {
+ let n = f().rating || 0, r = Ure(n, e);
+ await v("rate", r), t.toast(r ? `已评 ${rw(r)} 星` : "已取消评分", { undo: async () => {
await v("rate", n);
} });
}),
feedback: (e) => _(e, "操作", async () => {
let n = { feedback: f().feedback || null }, r = await v(e);
- t.toast(lw(e, r), { undo: async () => {
+ t.toast(uw(e, r), { undo: async () => {
e === "o" ? await v("o-undo") : e === "dispose" ? await v("dispose") : (r.feedback && await v(r.feedback), n.feedback && await v(n.feedback)), await t.trashChanged(f().disposal || null, !0);
} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);
}),
later: () => _("later", "更新稍后看", async () => {
- let e = await h(KC, {});
+ let e = await h(qC, {});
m({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- m({ watch_later: (await h(KC, {})).watch_later });
+ m({ watch_later: (await h(qC, {})).watch_later });
} });
}),
quality: () => _("quality", "更新版本需求", async () => {
@@ -80354,9 +80410,9 @@ function Eqe(e, t, n) {
}, n = (e) => m({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await h(qC, { wanted: !e.wanted });
+ }), r = await h(JC, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await h(qC, e));
+ n(await h(JC, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -80370,7 +80426,7 @@ function Eqe(e, t, n) {
});
u("保存中…");
try {
- o(await h(JC, {
+ o(await h(YC, {
liked: a,
reason: i
}));
@@ -80380,7 +80436,7 @@ function Eqe(e, t, n) {
u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);
let s = f();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await h(JC, r));
+ o(await h(YC, r));
} });
});
},
@@ -80389,11 +80445,11 @@ function Eqe(e, t, n) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- m((t) => iw(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
- await h(GC, {
+ m((t) => aw(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
+ await h(KC, {
operation: "add",
tag: e.k
- }), m((t) => aw(t, e));
+ }), m((t) => ow(t, e));
} });
}),
addTag: (e) => {
@@ -80402,14 +80458,14 @@ function Eqe(e, t, n) {
(await h("/api/item-tag", {
operation: "add",
tag: r
- })).ok && (m((e) => aw(e, {
+ })).ok && (m((e) => ow(e, {
k: r,
cat: "general"
- })), Kre(r), t.toast(`已添加标签「${n(r)}」`, { undo: async () => {
- await h(GC, {
+ })), Gre(r), t.toast(`已添加标签「${n(r)}」`, { undo: async () => {
+ await h(KC, {
operation: "remove",
tag: r
- }), m((e) => iw(e, r));
+ }), m((e) => aw(e, r));
} }));
});
}
@@ -80417,31 +80473,31 @@ function Eqe(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 Dqe(e, t) {
- X7 = e, i9 = () => t.isOpen(), r9 = () => t.requestClose(), Jne({
+var Y7 = null, X7 = null, Z7 = null, Q7 = null, $7 = null, e9 = !1, t9 = 0, n9 = null, r9 = () => !1, i9 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
+function kqe(e, t) {
+ Y7 = e, r9 = () => t.isOpen(), n9 = () => t.requestClose(), qne({
...e.player,
stage: () => document.getElementById("stage")
- }), Yne({
- inMiniplayer: (e) => Z7?.player === e,
- kind: (e) => Z7?.player === e ? Z7.kind : Q7?.kind ?? $7?.kind ?? "item",
- expand: () => C9(),
- toMiniplayer: () => w9()
- }), o9 || (o9 = !0, addEventListener("pagehide", () => vC()));
-}
-var o9 = !1;
-function s9() {
- if (!X7) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
- return X7;
-}
-function c9(e) {
- $7 = e;
-}
-var Oqe = () => $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 kqe(e, Z7);
- Z7 && S9();
+ }), Jne({
+ inMiniplayer: (e) => X7?.player === e,
+ kind: (e) => X7?.player === e ? X7.kind : Z7?.kind ?? Q7?.kind ?? "item",
+ expand: () => S9(),
+ toMiniplayer: () => C9()
+ }), a9 || (a9 = !0, addEventListener("pagehide", () => yC()));
+}
+var a9 = !1;
+function o9() {
+ if (!Y7) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
+ return Y7;
+}
+function s9(e) {
+ Q7 = e;
+}
+var Aqe = () => Q7;
+function c9(e, t) {
+ let { kind: n, item: r, media: i = null } = t, a = i9(n, r.id, i?.index ?? null);
+ if (X7 && X7.key === a) return jqe(e, X7);
+ X7 && x9();
let o = {
player: null,
kind: n,
@@ -80449,28 +80505,28 @@ function l9(e, t) {
mediaIndex: i?.index ?? null,
key: a
};
- Q7 = o;
+ Z7 = o;
let s = document.createElement("video");
t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !0, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);
- let c = MC(s, {
+ let c = NC(s, {
kind: n,
item: r,
media: i,
autoplay: t.autoplay,
resume: t.resume ?? null,
onPlayer: (e) => {
- Q7 === o && (o.player = e);
+ Z7 === o && (o.player = e);
},
- handedOff: (e) => Z7?.player === e
+ handedOff: (e) => X7?.player === e
});
return () => {
- let e = !!o.player && Z7?.player === o.player;
- Q7 === o && (Q7 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), vC());
+ let e = !!o.player && X7?.player === o.player;
+ Z7 === o && (Z7 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), yC());
};
}
-function kqe(e, t) {
+function jqe(e, t) {
let { player: n } = t;
- b9(t), Z7 = null, x9(), n.el().classList.remove("vjs-peach-mini"), AC(e), e.append(n.el()), qS(n);
+ y9(t), X7 = null, b9(), n.el().classList.remove("vjs-peach-mini"), jC(e), e.append(n.el()), JS(n);
let r = {
player: n,
kind: t.kind,
@@ -80478,23 +80534,23 @@ function kqe(e, t) {
mediaIndex: t.mediaIndex,
key: t.key
};
- Q7 = r;
- let i = jC(n, e);
- return JS(n), () => {
- Q7 === r && (Q7 = null), i(), Z7?.player !== n && (KS() === n && qS(null), uC(n), vC());
+ Z7 = r;
+ let i = MC(n, e);
+ return YS(n), () => {
+ Z7 === r && (Z7 = null), i(), X7?.player !== n && (qS() === n && JS(null), dC(n), yC());
};
}
-var u9 = () => {
- let e = Q7?.player;
+var l9 = () => {
+ let e = Z7?.player;
return e && !e.isDisposed() ? e : null;
};
-function Aqe(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()) && Fqe({
+function Mqe(e) {
+ let t = e9;
+ e9 = !1, X7?.pending && x9();
+ let n = Z7, r = n?.player, i = Q7;
+ if (!n || !r || r.isDisposed() || !i || !$7) return;
+ let a = o9().player.settings();
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && Lqe({
player: r,
kind: n.kind,
item: n.item,
@@ -80502,52 +80558,52 @@ function Aqe(e) {
key: n.key
}, i);
}
-function jqe(e, t) {
- if (t9 = !1, Z7) {
- if (Z7.kind === e && Z7.item.id === t) {
- Z7.pending = !0, x9();
+function Nqe(e, t) {
+ if (e9 = !1, X7) {
+ if (X7.kind === e && X7.item.id === t) {
+ X7.pending = !0, b9();
return;
}
- S9();
+ x9();
}
}
-function d9(e) {
- e9 = e, e9 && v9();
+function u9(e) {
+ $7 = e, $7 && _9();
}
-var f9 = () => !!Z7 && !Z7.pending && !Z7.player.isDisposed();
-function Mqe() {
- return f9() ? e9?.frame.querySelector("video") ?? null : null;
+var d9 = () => !!X7 && !X7.pending && !X7.player.isDisposed();
+function Pqe() {
+ return d9() ? $7?.frame.querySelector("video") ?? null : null;
}
-function Nqe() {
- return i9() ? document.getElementById("stage")?.querySelector("video") ?? null : Mqe();
+function Fqe() {
+ return r9() ? document.getElementById("stage")?.querySelector("video") ?? null : Pqe();
}
-function p9(e) {
- e9 && (e9.title.textContent = e.title || "", e9.sub.textContent = e.sub || "", e9.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
+function f9(e) {
+ $7 && ($7.title.textContent = e.title || "", $7.sub.textContent = e.sub || "", $7.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
}
-function m9(e = Z7?.item) {
- if (!e9) return;
- let t = e9.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
- e9.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
+function p9(e = X7?.item) {
+ if (!$7) return;
+ let t = $7.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
+ $7.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
}
-function h9() {
- let e = Z7?.player;
- if (!e || e.isDisposed() || !e9) return;
+function m9() {
+ let e = X7?.player;
+ if (!e || e.isDisposed() || !$7) return;
let t = e.paused();
- e9.play.setAttribute("aria-label", t ? "播放" : "暂停"), e9.play.querySelector("[data-icon-swap]") || (e9.play.innerHTML = Le("player-pause", "player-play", t ? "b" : "a")), Ze(e9.play, t ? "b" : "a");
+ $7.play.setAttribute("aria-label", t ? "播放" : "暂停"), $7.play.querySelector("[data-icon-swap]") || ($7.play.innerHTML = Le("player-pause", "player-play", t ? "b" : "a")), Ze($7.play, t ? "b" : "a");
}
-function g9() {
- let e = Z7?.player;
- if (!e || e.isDisposed() || !e9) return;
- let t = we(Z7?.item.duration) || we(e.duration());
- e9.time.textContent = `${_e(e.currentTime())} / ${t ? _e(t) : "0:00"}`;
-}
-var _9 = () => Math.max(1, Number(s9().player.settings().seekSeconds) || 10);
-function v9() {
- if (!e9 || !X7) return;
- let e = _9();
- for (let [t, n] of [[e9.back, `后退 ${e} 秒`], [e9.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
-}
-function y9(e) {
+function h9() {
+ let e = X7?.player;
+ if (!e || e.isDisposed() || !$7) return;
+ let t = we(X7?.item.duration) || we(e.duration());
+ $7.time.textContent = `${_e(e.currentTime())} / ${t ? _e(t) : "0:00"}`;
+}
+var g9 = () => Math.max(1, Number(o9().player.settings().seekSeconds) || 10);
+function _9() {
+ if (!$7 || !Y7) return;
+ let e = g9();
+ for (let [t, n] of [[$7.back, `后退 ${e} 秒`], [$7.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
+}
+function v9(e) {
let t = (t, n) => {
e.player.on(t, n), e.off.push(() => {
try {
@@ -80559,17 +80615,17 @@ function y9(e) {
"play",
"pause",
"ended"
- ], h9), t([
+ ], m9), t([
"timeupdate",
"durationchange",
"loadedmetadata"
- ], g9), t("loadedmetadata", () => m9()), h9(), g9(), m9(), v9();
+ ], h9), t("loadedmetadata", () => p9()), m9(), h9(), p9(), _9();
}
-function b9(e) {
+function y9(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function Pqe() {
- let e = e9?.root;
+function Iqe() {
+ let e = $7?.root;
if (!e) return;
let t = e.hidden;
if (e.hidden = !1, !t) return;
@@ -80577,8 +80633,8 @@ function Pqe() {
let n = () => e.removeAttribute("data-miniplayer-enter");
e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);
}
-function x9() {
- let e = e9?.root;
+function b9() {
+ let e = $7?.root;
if (e) {
e.hidden = !0;
for (let t of [
@@ -80589,77 +80645,77 @@ function x9() {
e.style.transform = "";
}
}
-function Fqe(e, t) {
- if (!e9) return;
+function Lqe(e, t) {
+ if (!$7) return;
let n = {
...e,
meta: 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), Pqe(), JS(e.player);
+ X7 = n, t9++, e.player.el().classList.add("vjs-peach-mini"), $7.frame.prepend(e.player.el()), f9(t), v9(n), Iqe(), YS(e.player);
}
-function S9() {
- let e = Z7;
- e && b9(e), Z7 = null, n9++;
+function x9() {
+ let e = X7;
+ e && y9(e), X7 = null, t9++;
let t = e?.player ?? null;
- t && KS() === t && qS(null), uC(t), t && vC(), e9?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), WS(), x9();
+ t && qS() === t && JS(null), dC(t), t && yC(), $7?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), GS(), b9();
}
-function C9() {
- if (!f9() || !Z7) return;
- let { kind: e, item: t, mediaIndex: n } = Z7;
- s9().expand(e, t.id, n);
+function S9() {
+ if (!d9() || !X7) return;
+ let { kind: e, item: t, mediaIndex: n } = X7;
+ o9().expand(e, t.id, n);
}
-function w9() {
- if (f9() && !i9()) {
- C9();
+function C9() {
+ if (d9() && !r9()) {
+ S9();
return;
}
- i9() && u9() && r9 && (t9 = !0, r9());
+ r9() && l9() && n9 && (e9 = !0, n9());
}
-function Iqe() {
- let e = Z7?.player;
+function Rqe() {
+ let e = X7?.player;
!e || e.isDisposed() || (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
-function T9(e) {
- let t = Z7?.player;
+function w9(e) {
+ let t = X7?.player;
if (!t || t.isDisposed()) return;
- let n = we(t.duration()) || we(Z7?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + _9() * e);
+ let n = we(t.duration()) || we(X7?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + g9() * e);
t.currentTime(n ? Math.min(n, r) : r);
}
-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 Lqe(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;
- if (!E9(n)) {
- s9().openItem(e);
+function T9(e) {
+ return !(!d9() || !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 || o9().sourceOffline(String(e.location ?? "")));
+}
+async function zqe(e) {
+ if (!d9() || !X7 || !$7) return;
+ let t = ++t9, n = await pe(`/api/item?id=${e}`).catch(() => null);
+ if (t !== t9 || !d9() || !X7 || !$7 || !n || n.error) return;
+ if (!T9(n)) {
+ o9().openItem(e);
return;
}
- let r = Z7;
- b9(r), KS() === r.player && qS(null), uC(r.player), vC(), e9.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ let r = X7;
+ y9(r), qS() === r.player && JS(null), dC(r.player), yC(), $7.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", e9.frame.prepend(i);
+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", $7.frame.prepend(i);
let a = {
kind: "item",
item: n,
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- p9(a), MC(i, {
+ f9(a), NC(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
- if (t !== n9) {
- r && KS() === r && qS(null), uC(r);
+ if (t !== t9) {
+ r && qS() === r && JS(null), dC(r);
return;
}
if (!r) {
- S9(), s9().openItem(e);
+ x9(), o9().openItem(e);
return;
}
r.el().classList.add("vjs-peach-mini");
@@ -80668,26 +80724,26 @@ async function Lqe(e) {
kind: "item",
item: n,
mediaIndex: null,
- key: a9("item", n.id, null),
+ key: i9("item", n.id, null),
meta: a,
off: [],
pending: !1
};
- Z7 = i, y9(i);
+ X7 = i, v9(i);
}
- }), m9(n);
+ }), p9(n);
}
//#endregion
//#region src/react/stage/miniplayer.tsx
-var D9 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
+var E9 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, B.jsx)("use", { href: `#i-${e}` })
-}), Rqe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, O9 = (e) => (t) => {
+}), Bqe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, D9 = (e) => (t) => {
t.stopPropagation(), e();
-}, zqe = (0, R.memo)(function() {
+}, Vqe = (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({
+ return (0, R.useLayoutEffect)(() => (u9({
root: e.current,
frame: n.current,
play: r.current,
@@ -80697,7 +80753,7 @@ var D9 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => d9(null)), []), (0, R.useEffect)(() => Vqe(e.current, t.current), []), /* @__PURE__ */ (0, B.jsx)("aside", {
+ }), () => u9(null)), []), (0, R.useEffect)(() => Uqe(e.current, t.current), []), /* @__PURE__ */ (0, B.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -80721,24 +80777,24 @@ var D9 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
id: "miniplayerExpand",
"aria-label": "展开到详情",
"aria-keyshortcuts": "i",
- onClick: O9(C9),
- children: /* @__PURE__ */ (0, B.jsx)(D9, { name: "maximize-2" })
+ onClick: D9(S9),
+ children: /* @__PURE__ */ (0, B.jsx)(E9, { name: "maximize-2" })
}),
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-miniplayer-button": "close",
id: "miniplayerClose",
"aria-label": "关闭小窗",
- onClick: O9(S9),
- children: /* @__PURE__ */ (0, B.jsx)(D9, { name: "x" })
+ onClick: D9(x9),
+ children: /* @__PURE__ */ (0, B.jsx)(E9, { name: "x" })
}),
/* @__PURE__ */ (0, B.jsx)("button", {
ref: a,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerBack",
- onClick: O9(() => T9(-1)),
- children: /* @__PURE__ */ (0, B.jsx)(D9, { name: "rotate-ccw" })
+ onClick: D9(() => w9(-1)),
+ children: /* @__PURE__ */ (0, B.jsx)(E9, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, B.jsx)("button", {
ref: r,
@@ -80747,16 +80803,16 @@ var D9 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: O9(Iqe),
- dangerouslySetInnerHTML: Rqe
+ onClick: D9(Rqe),
+ dangerouslySetInnerHTML: Bqe
}),
/* @__PURE__ */ (0, B.jsx)("button", {
ref: o,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerAhead",
- onClick: O9(() => T9(1)),
- children: /* @__PURE__ */ (0, B.jsx)(D9, { name: "rotate-cw" })
+ onClick: D9(() => w9(1)),
+ children: /* @__PURE__ */ (0, B.jsx)(E9, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, B.jsx)("span", {
ref: i,
@@ -80773,7 +80829,7 @@ var D9 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
"data-miniplayer-info": "",
id: "miniplayerInfo",
"aria-label": "展开到详情",
- onClick: () => C9(),
+ onClick: () => S9(),
children: [/* @__PURE__ */ (0, B.jsx)("span", {
ref: s,
"data-miniplayer-title": "",
@@ -80787,7 +80843,7 @@ var D9 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
})
});
});
-function Bqe(e, t, n) {
+function Hqe(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
@@ -80809,7 +80865,7 @@ function Bqe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function Vqe(e, t) {
+function Uqe(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 = {
@@ -80835,7 +80891,7 @@ function Vqe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), Bqe(e, i.dx, i.dy));
+ }, 0), Hqe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -80847,65 +80903,65 @@ function Vqe(e, t) {
}
//#endregion
//#region src/react/stage/stage.tsx
-var k9 = null, A9 = null, j9 = null, M9 = null, N9 = 0, P9 = null, F9 = !1, I9 = !1, L9 = () => {
+var O9 = null, k9 = null, A9 = null, j9 = null, M9 = 0, N9 = null, P9 = !1, F9 = !1, I9 = () => {
let e = document.getElementById("stage");
return e instanceof HTMLDialogElement ? e : null;
};
-function R9() {
- if (!k9) throw Error("舞台还没有接上宿主(configureStage)");
- return k9;
+function L9() {
+ if (!O9) throw Error("舞台还没有接上宿主(configureStage)");
+ return O9;
}
-function Hqe() {
- return (!A9 || !j9?.isConnected) && (A9?.unmount(), j9 = document.createElement("div"), j9.dataset.stageHost = "", document.body.append(j9), A9 = (0, ip.createRoot)(j9)), A9;
+function Wqe() {
+ return (!k9 || !A9?.isConnected) && (k9?.unmount(), A9 = document.createElement("div"), A9.dataset.stageHost = "", document.body.append(A9), k9 = (0, ip.createRoot)(A9)), k9;
}
-function z9() {
- let e = Hqe();
- (0, rp.flushSync)(() => e.render(/* @__PURE__ */ (0, B.jsx)(AS, { children: /* @__PURE__ */ (0, B.jsx)(Uqe, { view: M9 }) })));
+function R9() {
+ let e = Wqe();
+ (0, rp.flushSync)(() => e.render(/* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(Gqe, { view: j9 }) })));
}
-function Uqe({ view: e }) {
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [e ? /* @__PURE__ */ (0, B.jsx)(Wqe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, B.jsx)(zqe, {})] });
+function Gqe({ view: e }) {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [e ? /* @__PURE__ */ (0, B.jsx)(Kqe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, B.jsx)(Vqe, {})] });
}
-var B9 = () => /* @__PURE__ */ (0, B.jsx)("div", {
+var z9 = () => /* @__PURE__ */ (0, B.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: AKe() }
+ dangerouslySetInnerHTML: { __html: MKe() }
});
-function V9(e) {
+function B9(e) {
let t = e.currentTarget;
if (e.target !== t) return !1;
let n = t.getBoundingClientRect();
return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;
}
-function Wqe({ view: e }) {
+function Kqe({ view: e }) {
let t = (0, R.useRef)(null);
(0, R.useLayoutEffect)(() => {
let e = t.current, n = (e) => {
- e.preventDefault(), H9();
+ e.preventDefault(), V9();
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, B.jsx)(lqe, { ...r.props }) : /* @__PURE__ */ (0, B.jsx)(ZKe, { ...r.props });
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, B.jsx)(dqe, { ...r.props }) : /* @__PURE__ */ (0, B.jsx)($Ke, { ...r.props });
return /* @__PURE__ */ (0, B.jsxs)("dialog", {
ref: t,
id: "stage",
"data-stage": "",
"aria-label": "作品详情",
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), H9());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), V9());
},
onPointerDown: (e) => {
- I9 = V9(e);
+ F9 = B9(e);
},
onClick: (e) => {
- I9 && V9(e) && H9();
+ F9 && B9(e) && V9();
},
children: [
- n === "skeleton" ? /* @__PURE__ */ (0, B.jsx)(B9, {}, "skeleton") : null,
+ n === "skeleton" ? /* @__PURE__ */ (0, B.jsx)(z9, {}, "skeleton") : null,
n === "reveal" ? /* @__PURE__ */ (0, B.jsx)("div", {
"data-stage-fade": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, B.jsx)(B9, {})
+ children: /* @__PURE__ */ (0, B.jsx)(z9, {})
}, "fade") : null,
n === "skeleton" ? null : /* @__PURE__ */ (0, B.jsx)("div", {
"data-stage-scroll": "",
@@ -80917,32 +80973,32 @@ function Wqe({ view: e }) {
]
});
}
-function H9() {
- !M9 || F9 || (F9 = !0, M9.request.actions.close());
+function V9() {
+ !j9 || P9 || (P9 = !0, j9.request.actions.close());
}
-function U9(e, t) {
- let n = L9();
+function H9(e, t) {
+ let n = I9();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function Gqe(e) {
+function qqe(e) {
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
- }, r = () => R9().player.settings();
+ }, r = () => L9().player.settings();
if (e.kind === "item") {
let { kind: t, resume: i, actions: a, ...o } = e, s = {
...a,
- close: H9,
+ close: V9,
present: (e, t) => {
let n = e.performers;
- c9({
+ s9({
kind: "item",
item: e,
title: String(e.title || e.name || ""),
sub: String(n?.[0] || e.creator || "未归属")
- }), U9(r().ambientMode, r().theaterMode), a.present(e, t);
+ }), H9(r().ambientMode, r().theaterMode), a.present(e, t);
},
- mountPlayer: (e, t, r, i) => l9(e, {
+ mountPlayer: (e, t, r, i) => c9(e, {
kind: "item",
item: t,
autoplay: i?.autoplay,
@@ -80960,16 +81016,16 @@ function Gqe(e) {
}
let { kind: i, resume: a, actions: o, ...s } = e, c = {
...o,
- close: H9,
+ close: V9,
present: (e, t) => {
- c9({
+ s9({
kind: "follow",
item: e,
title: e.title || "",
sub: e.author || e.source_label || ""
- }), U9(t === "video" && r().ambientMode, t === "video" && r().theaterMode), o.present(e, t);
+ }), H9(t === "video" && r().ambientMode, t === "video" && r().theaterMode), o.present(e, t);
},
- mountPlayer: (e, t, r, i) => l9(e, {
+ mountPlayer: (e, t, r, i) => c9(e, {
kind: "follow",
item: t,
media: r,
@@ -80986,48 +81042,48 @@ function Gqe(e) {
}
};
}
-function Kqe(e, t) {
+function Jqe(e, t) {
let n = e.querySelector(":scope > [data-stage-fade]");
e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");
let r = 0, i = () => {
- clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), M9?.generation === t && M9.phase === "reveal" && (M9 = {
- ...M9,
+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), j9?.generation === t && j9.phase === "reveal" && (j9 = {
+ ...j9,
phase: "content"
- }, z9());
+ }, R9());
}, a = (e) => {
e.target === n && i();
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-async function qqe(e) {
- M9 && W9({ miniplayer: !1 });
- let t = ++N9, n = new AbortController();
- P9 = n, F9 = !1, I9 = !1, jqe(e.kind, e.id ?? NaN), M9 = {
+async function Yqe(e) {
+ j9 && U9({ miniplayer: !1 });
+ let t = ++M9, n = new AbortController();
+ N9 = n, P9 = !1, F9 = !1, Nqe(e.kind, e.id ?? NaN), j9 = {
generation: t,
request: e,
- content: Gqe(e),
+ content: qqe(e),
phase: "skeleton"
- }, z9();
- let r = L9();
+ }, R9();
+ let r = I9();
if (!r) return;
Fe(r), document.body.setAttribute("data-detail-open", ""), r.open || r.showModal();
- let i = M9.content;
+ let i = j9.content;
try {
- i.kind === "item" ? await Vre(i.props, n.signal) : await PKe(i.props, n.signal);
+ i.kind === "item" ? await Bre(i.props, n.signal) : await IKe(i.props, n.signal);
} catch {
if (n.signal.aborted) return;
}
- if (t !== N9 || !M9) return;
+ if (t !== M9 || !j9) return;
let a = !!r.querySelector(".skeleton-awaiting");
- M9 = {
- ...M9,
+ j9 = {
+ ...j9,
phase: a ? "content" : "reveal"
- }, z9(), a || Kqe(r, t), Ke(r, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, R9(), a || Jqe(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 Jqe() {
- let e = L9();
+function Xqe() {
+ let e = I9();
return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {
let n = 0, r = () => {
clearTimeout(n), e.removeEventListener("animationend", i), t();
@@ -81037,77 +81093,77 @@ function Jqe() {
e.addEventListener("animationend", i), n = window.setTimeout(r, 380);
}));
}
-function W9({ miniplayer: e = !0 } = {}) {
- if (N9++, P9?.abort(), P9 = null, Aqe(e), !M9) return;
- let t = L9();
- t && ue(t), WS(), t?.open && t.close(), M9 = null, F9 = !1, I9 = !1, z9(), c9(null), document.body.removeAttribute("data-detail-open");
+function U9({ miniplayer: e = !0 } = {}) {
+ if (M9++, N9?.abort(), N9 = null, Mqe(e), !j9) return;
+ let t = I9();
+ t && ue(t), GS(), t?.open && t.close(), j9 = null, P9 = !1, F9 = !1, R9(), s9(null), document.body.removeAttribute("data-detail-open");
}
-function Yqe(e) {
- !M9 || M9.content.kind !== "item" || (M9 = {
- ...M9,
+function Zqe(e) {
+ !j9 || j9.content.kind !== "item" || (j9 = {
+ ...j9,
content: {
kind: "item",
props: {
- ...M9.content.props,
+ ...j9.content.props,
...e
}
}
- }, z9());
+ }, R9());
}
-function Xqe() {
- let e = Oqe(), t = e?.kind === "item" ? e.item : null, n = t ? N(t, R9().player.settings().javImage) : "";
+function Qqe() {
+ let e = Aqe(), t = e?.kind === "item" ? e.item : null, n = t ? N(t, L9().player.settings().javImage) : "";
if (!n) return;
- let r = u9();
+ let r = l9();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var Zqe = {
- open: qqe,
- update: Yqe,
- exit: Jqe,
- dispose: W9,
- requestClose: H9,
- repaintPoster: Xqe,
- isOpen: () => !!M9,
- activeVideo: () => Nqe(),
+var $qe = {
+ open: Yqe,
+ update: Zqe,
+ exit: Xqe,
+ dispose: U9,
+ requestClose: V9,
+ repaintPoster: Qqe,
+ isOpen: () => !!j9,
+ activeVideo: () => Fqe(),
toggleTheater: () => {
- M9 && lC(!R9().player.settings().theaterMode);
+ j9 && uC(!L9().player.settings().theaterMode);
},
- toggleMiniplayer: () => w9(),
- closeMiniplayer: () => S9(),
- miniplayerActive: () => f9(),
- miniplayerTakesCard: (e) => E9(e),
+ toggleMiniplayer: () => C9(),
+ closeMiniplayer: () => x9(),
+ miniplayerActive: () => d9(),
+ miniplayerTakesCard: (e) => T9(e),
miniplayerPlay: (e) => {
- Lqe(e);
+ zqe(e);
}
};
-function Qqe(e) {
- return k9 = e, Dqe(e, {
- isOpen: () => !!M9,
- requestClose: H9
- }), z9(), Zqe;
+function eJe(e) {
+ return O9 = e, kqe(e, {
+ isOpen: () => !!j9,
+ requestClose: V9
+ }), R9(), $qe;
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function $qe(e) {
+function tJe(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 eJe = (e) => {
+var nJe = (e) => {
switch (e) {
- case "success": return rJe;
- case "info": return aJe;
- case "warning": return iJe;
- case "error": return oJe;
+ case "success": return aJe;
+ case "info": return sJe;
+ case "warning": return oJe;
+ case "error": return cJe;
default: return null;
}
-}, tJe = Array(12).fill(0), nJe = ({ visible: e, className: t }) => /*#__PURE__*/ R.createElement("div", {
+}, rJe = Array(12).fill(0), iJe = ({ 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" }, tJe.map((e, t) => /*#__PURE__*/ R.createElement("div", {
+}, /*#__PURE__*/ R.createElement("div", { className: "sonner-spinner" }, rJe.map((e, t) => /*#__PURE__*/ R.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), rJe = /*#__PURE__*/ R.createElement("svg", {
+})))), aJe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -81118,7 +81174,7 @@ var eJe = (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"
-})), iJe = /*#__PURE__*/ R.createElement("svg", {
+})), oJe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -81129,7 +81185,7 @@ var eJe = (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"
-})), aJe = /*#__PURE__*/ R.createElement("svg", {
+})), sJe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -81140,7 +81196,7 @@ var eJe = (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"
-})), oJe = /*#__PURE__*/ R.createElement("svg", {
+})), cJe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -81151,7 +81207,7 @@ var eJe = (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"
-})), sJe = /*#__PURE__*/ R.createElement("svg", {
+})), lJe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -81172,7 +81228,7 @@ var eJe = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), cJe = () => {
+})), uJe = () => {
let [e, t] = R.useState(document.hidden);
return R.useEffect(() => {
let e = () => {
@@ -81180,7 +81236,7 @@ var eJe = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, lJe = 1, uJe = 100, G9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : lJe++, K9 = new class {
+}, dJe = 1, fJe = 100, W9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : dJe++, G9 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -81190,10 +81246,10 @@ var eJe = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - uJe;
+ let e = this.toasts.length - fJe;
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);
+ let { message: t, ...n } = e, r = W9(e), i = this.pendingDismissals.get(r);
i !== void 0 && (cancelAnimationFrame(i), this.pendingDismissals.delete(r), this.dismissedToasts.delete(r));
let a = this.dismissedToasts.has(r), o = e.dismissible === void 0 || e.dismissible;
return a && (this.dismissedToasts.delete(r), this.toasts = this.toasts.filter((e) => e.id !== r)), !a && this.toasts.find((e) => e.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({
@@ -81268,7 +81324,7 @@ var eJe = (e) => {
type: "default",
message: e
});
- else if (fJe(e) && !e.ok) {
+ else if (pJe(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({
@@ -81312,7 +81368,7 @@ var eJe = (e) => {
}), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));
return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });
}, this.custom = (e, t) => {
- let n = G9(t);
+ let n = W9(t);
return this.create({
...t,
jsx: e(n),
@@ -81321,34 +81377,34 @@ var eJe = (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();
}
-}(), dJe = (e, t) => K9.message(e, t), fJe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", q9 = Object.assign(dJe, {
- success: K9.success,
- info: K9.info,
- warning: K9.warning,
- error: K9.error,
- custom: K9.custom,
- message: K9.message,
- promise: K9.promise,
- dismiss: K9.dismiss,
- loading: K9.loading
+}(), K9 = (e, t) => G9.message(e, t), pJe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", q9 = Object.assign(K9, {
+ success: G9.success,
+ info: G9.info,
+ warning: G9.warning,
+ error: G9.error,
+ custom: G9.custom,
+ message: G9.message,
+ promise: G9.promise,
+ dismiss: G9.dismiss,
+ loading: G9.loading
}, {
- getHistory: () => K9.toasts,
- getToasts: () => K9.getActiveToasts()
+ getHistory: () => G9.toasts,
+ getToasts: () => G9.getActiveToasts()
});
-$qe("[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%)}");
+tJe("[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 pJe = 3, mJe = "24px", hJe = "16px", Y9 = 4e3, gJe = 356, _Je = 14, vJe = 45, yJe = 200;
+var mJe = 3, hJe = "24px", gJe = "16px", Y9 = 4e3, _Je = 356, vJe = 14, yJe = 45, bJe = 200;
function X9(...e) {
return e.filter(Boolean).join(" ");
}
-function bJe(e) {
+function xJe(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var xJe = (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 = cJe(), De = R.useMemo(() => e.swipeDirections ?? bJe(b), [e.swipeDirections, b]), Oe = n.invert || t, ke = I === "loading";
+var SJe = (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 = uJe(), De = R.useMemo(() => e.swipeDirections ?? xJe(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(() => {
@@ -81389,7 +81445,7 @@ var xJe = (e) => {
let Ae = R.useCallback(() => {
N(!0), ae(L.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, yJe);
+ }, bJe);
}, [
n,
d,
@@ -81422,12 +81478,12 @@ var xJe = (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(nJe, {
+ }, w.loading) : /*#__PURE__*/ R.createElement(iJe, {
className: X9(C?.loader, n?.classNames?.loader),
visible: I === "loading"
});
}
- let Me = n.icon || w?.[I] || eJe(I);
+ let Me = n.icon || w?.[I] || nJe(I);
return /*#__PURE__*/ R.createElement("li", {
tabIndex: 0,
ref: ue,
@@ -81474,7 +81530,7 @@ var xJe = (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) >= vJe || a > .11)) {
+ if ((E === "x" ? De.includes(e > 0 ? "right" : "left") : De.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= yJe || 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;
}
@@ -81515,7 +81571,7 @@ var xJe = (e) => {
Ae(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: X9(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? sJe) : null, (I || n.icon || n.promise) && n.icon !== null && (w?.[I] !== null || n.icon) ? /*#__PURE__*/ R.createElement("div", {
+ }, w?.close ?? lJe) : 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", {
@@ -81550,10 +81606,10 @@ function Z9() {
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function SJe(e, t) {
+function CJe(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? hJe : mJe;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? gJe : hJe;
function o(e) {
[
"top",
@@ -81574,11 +81630,11 @@ function SJe(e, t) {
}) : o(a);
}), n;
}
-var CJe = /*#__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 = pJe, toastOptions: g, dir: _ = Z9(), gap: v = _Je, 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)));
+var wJe = /*#__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 = mJe, toastOptions: g, dir: _ = Z9(), gap: v = vJe, 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 || G9.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
- return R.useEffect(() => K9.subscribe((e) => {
+ return R.useEffect(() => G9.subscribe((e) => {
if (e.dismiss) {
requestAnimationFrame(() => {
C((t) => t.map((t) => t.id === e.id ? {
@@ -81661,10 +81717,10 @@ var CJe = /*#__PURE__*/ R.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${gJe}px`,
+ "--width": `${_Je}px`,
"--gap": `${v}px`,
...m,
- ...SJe(l, u)
+ ...CJe(l, u)
},
onBlur: (e) => {
F.current && !e.currentTarget.contains(e.relatedTarget) && (F.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));
@@ -81682,7 +81738,7 @@ var CJe = /*#__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(xJe, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ R.createElement(SJe, {
key: n.id,
icons: y,
index: i,
@@ -81716,8 +81772,8 @@ var CJe = /*#__PURE__*/ R.forwardRef(function(e, t) {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), $9 = !1, wJe = (e, t) => {
- $9 || ($9 = !0, (0, ip.createRoot)(e).render(/* @__PURE__ */ (0, B.jsx)(CJe, {
+}), $9 = !1, TJe = (e, t) => {
+ $9 || ($9 = !0, (0, ip.createRoot)(e).render(/* @__PURE__ */ (0, B.jsx)(wJe, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -81738,7 +81794,7 @@ var CJe = /*#__PURE__*/ R.forwardRef(function(e, t) {
error: Q9(t.error, !1)
}
})));
-}, TJe = (e, t) => {
+}, EJe = (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,
@@ -81752,4 +81808,4 @@ var CJe = /*#__PURE__*/ R.forwardRef(function(e, t) {
});
};
//#endregion
-export { Wne as configureBatchDock, Kne as configureGlowPicker, Nie as configureImmerse, Hie as configureManageHeader, IGe as configureRouter, rKe as configureSettingsPanel, _Ke as configureSidebar, Qqe as configureStage, wJe as mountToaster, _We as prefetchManagedRoute, TJe as showToast };
+export { Une as configureBatchDock, Gne as configureGlowPicker, Mie as configureImmerse, Vie as configureManageHeader, LGe as configureRouter, iKe as configureSettingsPanel, yKe as configureSidebar, eJe as configureStage, TJe as mountToaster, vWe as prefetchManagedRoute, EJe as showToast };